eLynx SDK v3.3.0
C++ image processing API reference

eLynx::Image::ImageEdgeProcessingImpl< Pixel > Class Template Reference

Implementation of edge processing interface. More...

#include <ImageEdgeProcessingImpl.h>

Inheritance diagram for eLynx::Image::ImageEdgeProcessingImpl< Pixel >:
eLynx::Image::IImageEdgeProcessing

List of all members.

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)

Detailed Description

template<class Pixel>
class eLynx::Image::ImageEdgeProcessingImpl< Pixel >

Implementation of edge processing interface.


Member Function Documentation

template<class Pixel >
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.

See Canny Edge Processing.

Parameters:
ioImageimage to be filtered.
iDetectordetector type to detect edges.
iGradientgradient to apply. Allowed values are: GDS_Fast, GDS_Accurate, GDS_Max2 and GDS_Max4.
iRadiusradius of the Gaussian blur filter.
iThresholdLolower pixel value.
iThresholdHihigher pixel value.
iChannelMaskselected channels to be processed. Default is all channels.
iNotifiera notifier for progression, log and cancel.
Returns:
Method running status.

Implements eLynx::Image::IImageEdgeProcessing.

template<class Pixel >
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.

Parameters:
ioImageimage to be filtered.
iDetectordetector type to detect edges.
iGradientgradient to apply.
iChannelMaskselected channels to be processed. Default is all.
iNotifiera notifier for progression, log and cancel.
Returns:
Method running status.

Implements eLynx::Image::IImageEdgeProcessing.

template<class Pixel >
virtual bool eLynx::Image::ImageEdgeProcessingImpl< Pixel >::ApplyRoberts ( AbstractImage ioImage,
bool  ibFast,
uint32  iChannelMask,
ProgressNotifier iNotifier 
) const [virtual]

Roberts Cross 2x2 edge detection.

Parameters:
ioImageimage to be filtered.
ibFasttrue to use fast approximation.
iChannelMaskselected channels to be processed. Default is all.
iNotifiera notifier for progression, log and cancel.
Returns:
Method running status.

Implements eLynx::Image::IImageEdgeProcessing.

template<class Pixel >
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.

Parameters:
ioImageedge image to be enhanced.
iThresholdLolow threshold.
iThresholdHihigh threshold.
iChannelMaskselected channels to be processed. Default is all channels.
iNotifiera notifier for progression, log and cancel.
Returns:
Method running status.

Implements eLynx::Image::IImageEdgeProcessing.

template<class Pixel >
virtual bool eLynx::Image::ImageEdgeProcessingImpl< Pixel >::ApplyZeroCrossing ( AbstractImage ioImage,
double  iRadius,
uint32  iChannelMask,
ProgressNotifier iNotifier 
) const [virtual]

Zero Crossing edge detection.

Parameters:
ioImageimage to be filtered.
iRadiusradius of the Laplacian of Gaussian kernel. Recommended 3.0 or greater.
iChannelMaskselected channels to be processed. Default is all channels.
iNotifiera notifier for progression, log and cancel.
Returns:
Method running status.

Implements eLynx::Image::IImageEdgeProcessing.

template<class Pixel >
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.

Parameters:
ioImageimage to be segmented.
iStepflood increment.
iChannelMaskselected channels to be processed. Default is all.
iNotifiera notifier for progression, log and cancel.
Returns:
Method running status.

Implements eLynx::Image::IImageEdgeProcessing.


The documentation for this class was generated from the following file:

Generated on Thu Dec 9 2010 by doxygen 1.7.2