MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Harris corner detector. More...
#include <mdsHarris.h>
Public Types | |
enum | { TEMPLATE_PARAMETER_IS_NOT_IMAGE = I::CLASS_IMAGE } |
Check that I is an image. More... | |
typedef CImageCornerDetector< I > | base |
Image corner detector base. | |
typedef base::tImage | tImage |
Image type. | |
typedef base::tPixel | tPixel |
Image pixel type. | |
Public Member Functions | |
CHarris (double dSigma, double dThreshold, double dKappa) | |
Constructor. | |
double | getKappa () |
Returns width of the filter for getting corners. | |
double | getThreshold () |
Returns threshold of the non-maximal suppression algorithm. | |
bool | operator() (const tImage &SrcImage, tImage &DstImage) |
Corner detection in a given image. | |
void | setKappa (double dKappa) |
Sets width of the filter for gettig corners. | |
void | setThreshold (double dThreshold) |
Sets threshold of the non-maximal suppression algorithm. | |
~CHarris () | |
Destructor. | |
Protected Member Functions | |
bool | checkNeighbours (CFImage &Image, tSize x, tSize y, tFloatPixel T) |
Returns true if any neighbouring pixel has greater value than a given threshold. | |
Protected Attributes | |
double | m_dKappa |
double | m_dThreshold |
Harris corner detector parameters. | |
CGaussFilter< CFImage > | m_GaussFilter |
Gaussian filter. | |
CSobelX< CFImage > | m_SobelX |
CSobelY< CFImage > | m_SobelY |
Harris corner detector.
typedef CImageCornerDetector<I> mds::img::CHarris< I >::base |
Image corner detector base.
typedef base::tImage mds::img::CHarris< I >::tImage |
Image type.
Reimplemented from mds::img::CImageCornerDetector< I >.
typedef base::tPixel mds::img::CHarris< I >::tPixel |
Image pixel type.
Reimplemented from mds::img::CImageCornerDetector< I >.
anonymous enum [inherited] |
mds::img::CHarris< I >::CHarris | ( | double | dSigma, |
double | dThreshold, | ||
double | dKappa | ||
) |
Constructor.
mds::img::CHarris< I >::~CHarris | ( | ) |
Destructor.
bool CHarris::checkNeighbours | ( | CFImage & | Image, |
tSize | x, | ||
tSize | y, | ||
tFloatPixel | T | ||
) | [protected] |
Returns true if any neighbouring pixel has greater value than a given threshold.
double mds::img::CHarris< I >::getKappa | ( | ) |
Returns width of the filter for getting corners.
double mds::img::CHarris< I >::getThreshold | ( | ) |
Returns threshold of the non-maximal suppression algorithm.
bool CHarris::operator() | ( | const tImage & | SrcImage, |
tImage & | DstImage | ||
) | [virtual] |
Corner detection in a given image.
Implements mds::img::CImageCornerDetector< I >.
void CHarris::setKappa | ( | double | dKappa | ) |
Sets width of the filter for gettig corners.
void CHarris::setThreshold | ( | double | dThreshold | ) |
Sets threshold of the non-maximal suppression algorithm.
double mds::img::CHarris< I >::m_dKappa [protected] |
double mds::img::CHarris< I >::m_dThreshold [protected] |
Harris corner detector parameters.
CGaussFilter<CFImage> mds::img::CHarris< I >::m_GaussFilter [protected] |
Gaussian filter.
CSobelX<CFImage> mds::img::CHarris< I >::m_SobelX [protected] |
CSobelY<CFImage> mds::img::CHarris< I >::m_SobelY [protected] |