functor to convert an image with an abitrary pixel type to single floating point pixels More...
#include <mia/2d/image.hh>
Public Member Functions | |
template<typename T > | |
T2DImage< O > | operator() (const T2DImage< T > &image) const |
T2DImage< O > | operator() (const C2DImage &image) const |
T2DImage< O > | operator() (P2DImage image) const |
Additional Inherited Members | |
Public Types inherited from TFilter< T2DImage< O > > | |
typedef T2DImage< O > | result_type |
defines the return type of the filter function More... | |
functor to convert an image with an abitrary pixel type to single floating point pixels
This functor provides the often used funcionality to convert a 2D image from any pixel representation to a pixel type O representation. The data is just copied. For conversion with scaling and proepry clamping you should use the convert filter provided through C2DFilterPluginHandler.
O | output pixel type |
Definition at line 479 of file 2d/image.hh.
|
inline |
Operator to do the actual conversion.
image | input image |
Definition at line 487 of file 2d/image.hh.
References T2DImage< T >::begin(), T2DImage< T >::end(), and C2DImage::get_size().
|
inline |
Operator to do redirect the base class representation through mia::filter
image | input image |
Definition at line 499 of file 2d/image.hh.
References filter().
|
inline |
Operator to do redirect the pointer representation through mia::filter
image | input image pointer |
Definition at line 509 of file 2d/image.hh.
References filter().