MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Zero crossings of the LoG filter. More...
#include <mdsZeroCrossings.h>
Public Types | |
enum | { TEMPLATE_PARAMETER_IS_NOT_IMAGE = I::CLASS_IMAGE } |
Check that I is an image. More... | |
typedef CImageEdgeDetector< I > | base |
Image edge detector base. | |
typedef base::tImage | tImage |
Image type. | |
typedef base::tPixel | tPixel |
Image pixel type. | |
Public Member Functions | |
CZeroCrossDetector (double dSigma, double dThreshold) | |
Default constructor. | |
double | getSigma () const |
Returns LoG filter standard deviation. | |
double | getThreshold () |
Return threshold for the gradient magnitude. | |
bool | operator() (const tImage &SrcImage, tImage &DstImage) |
Edge detection in a given image. | |
void | setSigma (double dSigma) |
Sets the LoG filter standard deviation. | |
void | setThreshold (double dThreshold) |
Returns gradient magnitude threshold. | |
~CZeroCrossDetector () | |
Destructor. | |
Protected Member Functions | |
double | computeGradient (const tImage &Image, tSize x, tSize y) |
Computes the gradient magnitude. | |
bool | isEdge (const tImage &Image, tSize x, tSize y) |
Checks if the pixel is on edge. | |
Protected Attributes | |
double | m_dThreshold |
Magnitude threshold. | |
CLoGFilter< tImage, CShiftZero2Gray > | m_Filter |
LoG filter. |
Zero crossings of the LoG filter.
typedef CImageEdgeDetector<I> mds::img::CZeroCrossDetector< I >::base |
Image edge detector base.
typedef base::tImage mds::img::CZeroCrossDetector< I >::tImage |
Image type.
Reimplemented from mds::img::CImageEdgeDetector< I >.
typedef base::tPixel mds::img::CZeroCrossDetector< I >::tPixel |
Image pixel type.
Reimplemented from mds::img::CImageEdgeDetector< I >.
anonymous enum [inherited] |
mds::img::CZeroCrossDetector< I >::CZeroCrossDetector | ( | double | dSigma, |
double | dThreshold | ||
) |
Default constructor.
mds::img::CZeroCrossDetector< I >::~CZeroCrossDetector | ( | ) |
Destructor.
double CZeroCrossDetector::computeGradient | ( | const tImage & | Image, |
tSize | x, | ||
tSize | y | ||
) | [protected] |
Computes the gradient magnitude.
double mds::img::CZeroCrossDetector< I >::getSigma | ( | ) | const |
Returns LoG filter standard deviation.
double mds::img::CZeroCrossDetector< I >::getThreshold | ( | ) |
Return threshold for the gradient magnitude.
bool CZeroCrossDetector::isEdge | ( | const tImage & | Image, |
tSize | x, | ||
tSize | y | ||
) | [protected] |
Checks if the pixel is on edge.
bool CZeroCrossDetector::operator() | ( | const tImage & | SrcImage, |
tImage & | DstImage | ||
) | [virtual] |
Edge detection in a given image.
Implements mds::img::CImageEdgeDetector< I >.
void mds::img::CZeroCrossDetector< I >::setSigma | ( | double | dSigma | ) |
Sets the LoG filter standard deviation.
void CZeroCrossDetector::setThreshold | ( | double | dThreshold | ) |
Returns gradient magnitude threshold.
double mds::img::CZeroCrossDetector< I >::m_dThreshold [protected] |
Magnitude threshold.
CLoGFilter<tImage, CShiftZero2Gray> mds::img::CZeroCrossDetector< I >::m_Filter [protected] |
LoG filter.