mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Tools for using the eigen library for image processing. More...
Tools for using the eigen library for image processing.
Definition in file eigenImage.hpp.
Go to the source code of this file.
Classes | |
struct | mx::improc::is_eigenCube< T > |
Test whether a type is an eigenCube by testing whether it has a typedef of "is_eigenCube". More... | |
struct | mx::improc::eigenArrPlanes< arrT, isCube > |
Function object to return the number of planes for any Eigen like object, whether 2D or a 3D cube. More... | |
Namespaces | |
mx | |
The mxlib c++ namespace. | |
Typedefs | |
template<typename scalarT > | |
using | mx::improc::eigenImage = Eigen::Array< scalarT, -1, -1 > |
Definition of the eigenImage type, which is an alias for Eigen::Array. More... | |
template<typename scalarT > | |
using | mx::improc::eigenMap = Eigen::Map< Eigen::Array< scalarT, -1, -1 > > |
Definition of the eigenMap type, which is an alias for Eigen::Map<Array>. More... | |
Functions | |
template<typename imageT , typename maskT = imageT> | |
imageT::Scalar | mx::improc::imageMedian (const imageT &mat, const maskT *mask, std::vector< typename imageT::Scalar > *work=0) |
Calculate the median of an Eigen-like array. More... | |
template<typename imageT > | |
imageT::Scalar | mx::improc::imageMedian (const imageT &mat, std::vector< typename imageT::Scalar > *work=0) |
Calculate the median of an Eigen-like array. More... | |