|
eLynx SDK
v3.3.0 C++ image processing API reference |
Implementation of image operators interface. More...
#include <ImageOperatorsImpl.h>
Public Member Functions | |
Generic virtual services | |
| virtual bool | Operator (AbstractImage &ioImage, EImageOperator iOperator, double iValue, uint32 iChannelMask=CM_All, ProgressNotifier &iNotifier=ProgressNotifier_NULL) const |
| Apply operator with const value. | |
| virtual bool | Operator (AbstractImage &ioImage, EImageOperator iOperator, const AbstractImage &iImage, uint32 iChannelMask=CM_All, ProgressNotifier &iNotifier=ProgressNotifier_NULL) const |
| Apply operator with another image, ioImage = ioImage (operator) iImage ioImage and iImage must have the same format and size. | |
| virtual bool | Operator (AbstractImage &ioImage, EImageOperator iOperator, const AbstractImage &iImage, const ImageLub &iImageMask, uint32 iChannelMask=CM_All, ProgressNotifier &iNotifier=ProgressNotifier_NULL) const |
| Apply operator with another image, ioImage = ioImage (operator) iImage ioImage and iImage must have the same format and size. | |
| virtual bool | Operator (AbstractImage &ioImage, EImageOperator iOperator, const std::vector< const AbstractImage * > &iImageList, uint32 iChannelMask=CM_All, ProgressNotifier &iNotifier=ProgressNotifier_NULL) const |
| Apply operator on image list, oImage = operator iImageList. | |
|
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 |
Creates an image from the list of images by using one of the following methods:
| |
| virtual boost::shared_ptr < AbstractImage > | CreateWeightedEntropy (const std::vector< const AbstractImage * > &iImageList, uint32 iW, uint32 iH, uint32 iChannelMask, ProgressNotifier &iNotifier) const |
| Creates an image from the list of images by using Weighted Entropy method. | |
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) |
Implementation of image operators interface.
| 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:
So all the values are kept but the weight of each value depends on how far the value is from the mean.
| 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.
| 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 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 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.