eLynx SDK
v3.0.1 C++ image processing API reference |
#include <IImageMorphologicalProcessing.h>
Public Member Functions | |
virtual | ~IImageMorphologicalProcessing () |
virtual bool | Apply (AbstractImage &ioImage, EMorphologicalFilterType iType, const ImageLub &iKernelMask, bool ibLuminance, uint32 iIteration, uint32 iChannelMask, ProgressNotifier &iNotifier) const =0 |
virtual bool | Apply (AbstractImage &ioImage, EMorphologicalFilterType iType, uint32 iWidth, bool ibCircular, bool ibLuminance, uint32 iIteration, uint32 iChannelMask, ProgressNotifier &iNotifier) const =0 |
virtual bool | ApplyMedian (AbstractImage &ioImage, uint32 iWidth, uint32 iHeight, uint32 iIteration, uint32 iChannelMask, ProgressNotifier &iNotifier) const =0 |
virtual bool | ApplyAdaptiveMedian (AbstractImage &ioImage, uint32 iWMax, uint32 iIteration, uint32 iChannelMask, ProgressNotifier &iNotifier) const =0 |
Definition at line 49 of file IImageMorphologicalProcessing.h.
virtual eLynx::Image::IImageMorphologicalProcessing::~IImageMorphologicalProcessing | ( | ) | [virtual] |
virtual bool eLynx::Image::IImageMorphologicalProcessing::Apply | ( | AbstractImage & | ioImage, | |
EMorphologicalFilterType | iType, | |||
const ImageLub & | iKernelMask, | |||
bool | ibLuminance, | |||
uint32 | iIteration, | |||
uint32 | iChannelMask, | |||
ProgressNotifier & | iNotifier | |||
) | const [pure virtual] |
Morphological filter with mask as kernel.
ioImage | image to be filtered. | |
iType | Morphological filter type. | |
iKernelMask | grey mask, use values 0 to exclude pixel, >0 to use pixel. | |
ibLuminance | true to sort pixels using by luminance, false to process each channel as grey. | |
iIteration | number of iterations. | |
iChannelMask | selected channels to be processed. Default is all. | |
iNotifier | a notifier for progression, log and cancel. |
Implemented in eLynx::Image::ImageMorphologicalProcessingImpl< Pixel >.
virtual bool eLynx::Image::IImageMorphologicalProcessing::Apply | ( | AbstractImage & | ioImage, | |
EMorphologicalFilterType | iType, | |||
uint32 | iWidth, | |||
bool | ibCircular, | |||
bool | ibLuminance, | |||
uint32 | iIteration, | |||
uint32 | iChannelMask, | |||
ProgressNotifier & | iNotifier | |||
) | const [pure virtual] |
Morphological filter with squared or circular kernel.
ioImage | image to be filtered. | |
iType | Morphological filter type. | |
iWidth | width of squared local area. | |
ibCircular | false to use square kernel, true to use circular. | |
ibLuminance | true to sort pixels using by luminance, false to process each channel as grey. | |
iIteration | number of iterations. | |
iChannelMask | selected channels to be processed. Default is all. | |
iNotifier | a notifier for progression, log and cancel. |
Implemented in eLynx::Image::ImageMorphologicalProcessingImpl< Pixel >.
virtual bool eLynx::Image::IImageMorphologicalProcessing::ApplyMedian | ( | AbstractImage & | ioImage, | |
uint32 | iWidth, | |||
uint32 | iHeight, | |||
uint32 | iIteration, | |||
uint32 | iChannelMask, | |||
ProgressNotifier & | iNotifier | |||
) | const [pure virtual] |
Median filter on WxH window
ioImage | image to be filtered. | |
iWidth | width of local area. | |
iHeight | height of local area. | |
iIteration | number of iterations. | |
iChannelMask | selected channels to be processed. Default is all. | |
iNotifier | a notifier for progression, log and cancel. |
Implemented in eLynx::Image::ImageMorphologicalProcessingImpl< Pixel >.
virtual bool eLynx::Image::IImageMorphologicalProcessing::ApplyAdaptiveMedian | ( | AbstractImage & | ioImage, | |
uint32 | iWMax, | |||
uint32 | iIteration, | |||
uint32 | iChannelMask, | |||
ProgressNotifier & | iNotifier | |||
) | const [pure virtual] |
Adaptive Median filter on square window. Based on Salt-and-Pepper Noise Removal by Median-type Noise Detectors and Detail-preserving Regularization.
ioImage | image to be filtered. | |
iWMax | max size of the median window. | |
iIteration | number of iterations. | |
iChannelMask | selected channels to be processed. Default is all. | |
iNotifier | a notifier for progression, log and cancel. |
Implemented in eLynx::Image::ImageMorphologicalProcessingImpl< Pixel >.