eLynx SDK
v3.0.1 C++ image processing API reference |
#include <ImageOperatorsImpl.h>
Public Types | |
typedef Pixel | Pixel_t |
Public Member Functions | |
Generic virtual services | |
virtual bool | Operator (AbstractImage &ioImage, EImageOperator iOperator, double iValue, uint32 iChannelMask=CM_All, ProgressNotifier &iNotifier=ProgressNotifier_NULL) const |
virtual bool | Operator (AbstractImage &ioImage, EImageOperator iOperator, const AbstractImage &iImage, uint32 iChannelMask=CM_All, ProgressNotifier &iNotifier=ProgressNotifier_NULL) const |
virtual bool | Operator (AbstractImage &ioImage, EImageOperator iOperator, const AbstractImage &iImage, const ImageLub &iImageMask, uint32 iChannelMask=CM_All, ProgressNotifier &iNotifier=ProgressNotifier_NULL) const |
virtual bool | Operator (AbstractImage &ioImage, EImageOperator iOperator, const std::vector< const AbstractImage * > &iImageList, uint32 iChannelMask=CM_All, ProgressNotifier &iNotifier=ProgressNotifier_NULL) const |
virtual boost::shared_ptr < AbstractImage > | CreateImage (EImageListOperator iOperator, const std::vector< const AbstractImage * > &iImageList, uint32 iChannelMask, ProgressNotifier &iNotifier) const |
Image factory. | |
virtual boost::shared_ptr < AbstractImage > | CreateClipped (EImageListOperator iOperator, const std::vector< const AbstractImage * > &iImageList, uint32 iIteration, double iKappa, uint32 iChannelMask, ProgressNotifier &iNotifier) const |
virtual boost::shared_ptr < AbstractImage > | CreateWeightedEntropy (const std::vector< const AbstractImage * > &iImageList, uint32 iW, uint32 iH, uint32 iChannelMask, ProgressNotifier &iNotifier) const |
Static Public Member Functions | |
Specialized static services | |
static bool | Operator (ImageImpl< Pixel > &ioImage, EImageOperator iOperator, const ImageImpl< Pixel > &iImage, uint32 iChannelMask=CM_All, ProgressNotifier &iNotifier=ProgressNotifier_NULL) |
static bool | OperatorMedian (AbstractImage &oImage, const std::vector< const AbstractImage * > &iImageList, uint32 iChannelMask=CM_All, ProgressNotifier &iNotifier=ProgressNotifier_NULL) |
static bool | OperatorMean (AbstractImage &oImage, const std::vector< const AbstractImage * > &iImageList, uint32 iChannelMask=CM_All, ProgressNotifier &iNotifier=ProgressNotifier_NULL) |
Definition at line 32 of file ImageOperatorsImpl.h.
typedef Pixel eLynx::Image::ImageOperatorsImpl< Pixel >::Pixel_t |
Definition at line 35 of file ImageOperatorsImpl.h.
virtual bool eLynx::Image::ImageOperatorsImpl< Pixel >::Operator | ( | AbstractImage & | ioImage, | |
EImageOperator | iOperator, | |||
double | iValue, | |||
uint32 | iChannelMask = CM_All , |
|||
ProgressNotifier & | iNotifier = ProgressNotifier_NULL | |||
) | const [virtual] |
Apply operator with const value.
ioImage | image to process. | |
iOperator | Operator to apply. | |
iValue | double value as argument of operator. | |
iChannelMask | selected channels to be processed. Default is all. | |
iNotifier | a notifier for progression, log and cancel. |
Implements eLynx::Image::IImageOperators.
virtual bool eLynx::Image::ImageOperatorsImpl< Pixel >::Operator | ( | AbstractImage & | ioImage, | |
EImageOperator | iOperator, | |||
const AbstractImage & | iImage, | |||
uint32 | iChannelMask = CM_All , |
|||
ProgressNotifier & | iNotifier = ProgressNotifier_NULL | |||
) | const [virtual] |
Apply operator with another image, ioImage = ioImage (operator) iImage ioImage and iImage must have the same format and size.
ioImage | image to process. | |
iOperator | Operator to apply. | |
iImage | 2nd image as operator argument. | |
iChannelMask | selected channels to be processed. Default is all. | |
iNotifier | a notifier for progression, log and cancel. |
Implements eLynx::Image::IImageOperators.
virtual bool eLynx::Image::ImageOperatorsImpl< Pixel >::Operator | ( | AbstractImage & | ioImage, | |
EImageOperator | iOperator, | |||
const AbstractImage & | iImage, | |||
const ImageLub & | iImageMask, | |||
uint32 | iChannelMask = CM_All , |
|||
ProgressNotifier & | iNotifier = ProgressNotifier_NULL | |||
) | const [virtual] |
Apply operator with another image, ioImage = ioImage (operator) iImage ioImage and iImage must have the same format and size.
ioImage | image to process. | |
iOperator | Operator to apply. | |
iImage | 2nd image as operator argument. | |
iImageMask | image mask, operator is not applied where value is 0. | |
iChannelMask | selected channels to be processed. Default is all. | |
iNotifier | a notifier for progression, log and cancel. |
Implements eLynx::Image::IImageOperators.
virtual bool eLynx::Image::ImageOperatorsImpl< Pixel >::Operator | ( | AbstractImage & | ioImage, | |
EImageOperator | iOperator, | |||
const std::vector< const AbstractImage * > & | iImageList, | |||
uint32 | iChannelMask = CM_All , |
|||
ProgressNotifier & | iNotifier = ProgressNotifier_NULL | |||
) | const [virtual] |
Apply operator on image list, oImage = operator iImageList. All images including the output one must have the same format and size.
ioImage | image to process. | |
iOperator | Operator to apply. | |
iImageList | collection of the input images to compute the average. | |
iChannelMask | selected channels to be processed. Default is all. | |
iNotifier | a notifier for progression, log and cancel. |
Implements eLynx::Image::IImageOperators.
virtual boost::shared_ptr< AbstractImage > eLynx::Image::ImageOperatorsImpl< Pixel >::CreateImage | ( | EImageListOperator | iOperator, | |
const std::vector< const AbstractImage * > & | iImageList, | |||
uint32 | iChannelMask, | |||
ProgressNotifier & | iNotifier | |||
) | const [virtual] |
virtual boost::shared_ptr< AbstractImage > eLynx::Image::ImageOperatorsImpl< Pixel >::CreateClipped | ( | EImageListOperator | iOperator, | |
const std::vector< const AbstractImage * > & | iImageList, | |||
uint32 | iIteration, | |||
double | iKappa, | |||
uint32 | iChannelMask, | |||
ProgressNotifier & | iNotifier | |||
) | const [virtual] |
Creates an image from the list of images by using one of the following methods:
iOperator | Method to apply. | |
iImageList | Vector of pointers to input images. | |
iIteration | Number of iterations. | |
iKappa | Kappa parameter. | |
iChannelMask | selected channels to be processed. Default is all. | |
iNotifier | a notifier for progression, log and cancel. |
Implements eLynx::Image::IImageOperators.
virtual boost::shared_ptr< AbstractImage > eLynx::Image::ImageOperatorsImpl< Pixel >::CreateWeightedEntropy | ( | const std::vector< const AbstractImage * > & | iImageList, | |
uint32 | iW, | |||
uint32 | iH, | |||
uint32 | iChannelMask, | |||
ProgressNotifier & | iNotifier | |||
) | const [virtual] |
Creates an image from the list of images by using Weighted Entropy method.
iImageList | Vector of pointers to input images. | |
iW | Width of the window to calculate the entropy. | |
iH | Height of the window to calculate the entropy. | |
iChannelMask | selected channels to be processed. Default is all. | |
iNotifier | a notifier for progression, log and cancel. |
Implements eLynx::Image::IImageOperators.
static bool eLynx::Image::ImageOperatorsImpl< Pixel >::Operator | ( | ImageImpl< Pixel > & | ioImage, | |
EImageOperator | iOperator, | |||
const ImageImpl< Pixel > & | iImage, | |||
uint32 | iChannelMask = CM_All , |
|||
ProgressNotifier & | iNotifier = ProgressNotifier_NULL | |||
) | [static] |
static bool eLynx::Image::ImageOperatorsImpl< Pixel >::OperatorMedian | ( | AbstractImage & | oImage, | |
const std::vector< const AbstractImage * > & | iImageList, | |||
uint32 | iChannelMask = CM_All , |
|||
ProgressNotifier & | iNotifier = ProgressNotifier_NULL | |||
) | [static] |
static bool eLynx::Image::ImageOperatorsImpl< Pixel >::OperatorMean | ( | AbstractImage & | oImage, | |
const std::vector< const AbstractImage * > & | iImageList, | |||
uint32 | iChannelMask = CM_All , |
|||
ProgressNotifier & | iNotifier = ProgressNotifier_NULL | |||
) | [static] |