eLynx SDK
v3.3.0 C++ image processing API reference |
Implementation of edge processing interface. More...
#include <ImageEdgeProcessingImpl.h>
Public Member Functions | |
Edges detection services | |
virtual bool | ApplyGradient (AbstractImage &ioImage, EEdgeDetector iDetector, EEdgeGradient iGradient, uint32 iChannelMask, ProgressNotifier &iNotifier) const |
Edge detection using a gradient of filter. | |
virtual bool | ApplyCanny (AbstractImage &ioImage, EEdgeDetector iDetector, EEdgeGradient iGradient, double iRadius, double iThresholdLo, double iThresholdHi, uint32 iChannelMask, ProgressNotifier &iNotifier) const |
Canny edge detection. | |
virtual bool | ApplyZeroCrossing (AbstractImage &ioImage, double iRadius, uint32 iChannelMask, ProgressNotifier &iNotifier) const |
Zero Crossing edge detection. | |
virtual bool | ApplyRoberts (AbstractImage &ioImage, bool ibFast, uint32 iChannelMask, ProgressNotifier &iNotifier) const |
Roberts Cross 2x2 edge detection. | |
virtual bool | SegmentImage (AbstractImage &ioImage, double iStep, uint32 iChannelMask, ProgressNotifier &iNotifier) const |
Image Segmentation by morphological watersheds. | |
Edges enhancement services | |
virtual bool | ApplyThreshold (AbstractImage &ioImage, double iThresholdLo, double iThresholdHi, uint32 iChannelMask, ProgressNotifier &iNotifier) const |
Threshold edges to eliminate `insignificant' ones. | |
Static Public Member Functions | |
Specialized static services | |
static bool | ApplyGradient (ImageImpl< Pixel > &ioImage, EEdgeDetector iDetector, EEdgeGradient iGradient, uint32 iChannelMask=CM_All, ProgressNotifier &iNotifier=ProgressNotifier_NULL) |
static bool | ApplyGradientDirection (ImageImpl< Pixel > &ioImage, boost::shared_array< float > &ospOrientation, EEdgeDetector iDetector, EEdgeGradient iGradient, uint32 iChannelMask=CM_All, ProgressNotifier &iNotifier=ProgressNotifier_NULL) |
static bool | ApplyCanny (ImageImpl< Pixel > &ioImage, EEdgeDetector iDetector, EEdgeGradient iGradient, double iRadius, double iThresholdLo, double iThresholdHi, uint32 iChannelMask=CM_All, ProgressNotifier &iNotifier=ProgressNotifier_NULL) |
static bool | ApplyNonMaxSuppression (ImageImpl< Pixel > &ioImage, const float *iprEdgeOrientation, uint32 iChannelMask=CM_All, ProgressNotifier &iNotifier=ProgressNotifier_NULL) |
static bool | ApplyThreshold (ImageImpl< Pixel > &ioImage, double iThresholdLo, double iThresholdHi, uint32 iChannelMask=CM_All, ProgressNotifier &iNotifier=ProgressNotifier_NULL) |
static bool | SegmentImage (ImageImpl< Pixel > &ioImage, double iStep, uint32 iChannelMask, ProgressNotifier &iNotifier=ProgressNotifier_NULL) |
Implementation of edge processing interface.
virtual bool eLynx::Image::ImageEdgeProcessingImpl< Pixel >::ApplyCanny | ( | AbstractImage & | ioImage, |
EEdgeDetector | iDetector, | ||
EEdgeGradient | iGradient, | ||
double | iRadius, | ||
double | iThresholdLo, | ||
double | iThresholdHi, | ||
uint32 | iChannelMask, | ||
ProgressNotifier & | iNotifier | ||
) | const [virtual] |
Canny edge detection.
ioImage | image to be filtered. |
iDetector | detector type to detect edges. |
iGradient | gradient to apply. Allowed values are: GDS_Fast, GDS_Accurate, GDS_Max2 and GDS_Max4. |
iRadius | radius of the Gaussian blur filter. |
iThresholdLo | lower pixel value. |
iThresholdHi | higher pixel value. |
iChannelMask | selected channels to be processed. Default is all channels. |
iNotifier | a notifier for progression, log and cancel. |
Implements eLynx::Image::IImageEdgeProcessing.
virtual bool eLynx::Image::ImageEdgeProcessingImpl< Pixel >::ApplyGradient | ( | AbstractImage & | ioImage, |
EEdgeDetector | iDetector, | ||
EEdgeGradient | iGradient, | ||
uint32 | iChannelMask, | ||
ProgressNotifier & | iNotifier | ||
) | const [virtual] |
Edge detection using a gradient of filter.
ioImage | image to be filtered. |
iDetector | detector type to detect edges. |
iGradient | gradient to apply. |
iChannelMask | selected channels to be processed. Default is all. |
iNotifier | a notifier for progression, log and cancel. |
Implements eLynx::Image::IImageEdgeProcessing.
virtual bool eLynx::Image::ImageEdgeProcessingImpl< Pixel >::ApplyRoberts | ( | AbstractImage & | ioImage, |
bool | ibFast, | ||
uint32 | iChannelMask, | ||
ProgressNotifier & | iNotifier | ||
) | const [virtual] |
Roberts Cross 2x2 edge detection.
ioImage | image to be filtered. |
ibFast | true to use fast approximation. |
iChannelMask | selected channels to be processed. Default is all. |
iNotifier | a notifier for progression, log and cancel. |
Implements eLynx::Image::IImageEdgeProcessing.
virtual bool eLynx::Image::ImageEdgeProcessingImpl< Pixel >::ApplyThreshold | ( | AbstractImage & | ioImage, |
double | iThresholdLo, | ||
double | iThresholdHi, | ||
uint32 | iChannelMask, | ||
ProgressNotifier & | iNotifier | ||
) | const [virtual] |
Threshold edges to eliminate `insignificant' ones.
See Edge Processing.
ioImage | edge image to be enhanced. |
iThresholdLo | low threshold. |
iThresholdHi | high threshold. |
iChannelMask | selected channels to be processed. Default is all channels. |
iNotifier | a notifier for progression, log and cancel. |
Implements eLynx::Image::IImageEdgeProcessing.
virtual bool eLynx::Image::ImageEdgeProcessingImpl< Pixel >::ApplyZeroCrossing | ( | AbstractImage & | ioImage, |
double | iRadius, | ||
uint32 | iChannelMask, | ||
ProgressNotifier & | iNotifier | ||
) | const [virtual] |
Zero Crossing edge detection.
ioImage | image to be filtered. |
iRadius | radius of the Laplacian of Gaussian kernel. Recommended 3.0 or greater. |
iChannelMask | selected channels to be processed. Default is all channels. |
iNotifier | a notifier for progression, log and cancel. |
Implements eLynx::Image::IImageEdgeProcessing.
virtual bool eLynx::Image::ImageEdgeProcessingImpl< Pixel >::SegmentImage | ( | AbstractImage & | ioImage, |
double | iStep, | ||
uint32 | iChannelMask, | ||
ProgressNotifier & | iNotifier | ||
) | const [virtual] |
Image Segmentation by morphological watersheds.
See Image Segmentation.
ioImage | image to be segmented. |
iStep | flood increment. |
iChannelMask | selected channels to be processed. Default is all. |
iNotifier | a notifier for progression, log and cancel. |
Implements eLynx::Image::IImageEdgeProcessing.