MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
#include <mdsSusan.h>
Public Types | |
enum | { BLOCK_SIZE = 64 } |
Size of the processing block (volume window). More... | |
enum | { MAX_LUT = 255 } |
Maximal value stored in the internal lookup table. More... | |
enum | { LUT_SIZE = 2 * MAX_LUT + 1 } |
Size of the internal lookup table. More... | |
enum | { DIFF_THRESHOLD = 700 } |
Threshold used to suppress non-corner points. More... | |
enum | { TEMPLATE_PARAMETER_IS_NOT_VOLUME = V::CLASS_VOLUME } |
Check that V is volume. More... | |
typedef CLandmarkDetector< V > | base |
Volume filter base. | |
typedef base::tCorners | tCorners |
Vector of found corners. | |
typedef base::tVolume | tVolume |
Volume type. | |
typedef base::tVoxel | tVoxel |
Voxel type. | |
Public Member Functions | |
CSusanLandmarks (double dThreshold, double dWidth=20.0) | |
Default constructor. | |
double | getThreshold () |
Returns cornerness threshold. | |
double | getWidth () |
Returns the width parameter. | |
bool | operator() (const tVolume &SrcVolume, tCorners &Corners) |
Volume landmark detection. | |
void | setThreshold (double dThreshold) |
Sets cornerness threshold. | |
void | setWidth (double dWidth) |
Sets the width parameter. | |
~CSusanLandmarks () | |
Destructor. | |
Protected Member Functions | |
bool | checkNeighbours (CFVolume &Volume, tSize x, tSize y, tSize z, tFloatPixel T) |
Returns true if any neighbouring voxel has greater value than a given threshold. | |
int | getDiff (tPixel8 a, tPixel8 b) |
Returns difference of two given pixels. | |
void | initLUT () |
Initializes internal lookup table. | |
Protected Attributes | |
double | m_dInvWidth |
double | m_dThreshold |
Corner detector parameters. | |
double | m_dWidth |
mds::math::CStaticVector< int, LUT_SIZE > | m_LUT |
Internal lookup table used for fast computation of the exp() function. |
typedef CLandmarkDetector<V> mds::img::CSusanLandmarks< V >::base |
Volume filter base.
typedef base::tCorners mds::img::CSusanLandmarks< V >::tCorners |
Vector of found corners.
Reimplemented from mds::img::CLandmarkDetector< V >.
typedef base::tVolume mds::img::CSusanLandmarks< V >::tVolume |
Volume type.
Reimplemented from mds::img::CLandmarkDetector< V >.
typedef base::tVoxel mds::img::CSusanLandmarks< V >::tVoxel |
Voxel type.
Reimplemented from mds::img::CLandmarkDetector< V >.
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum [inherited] |
CSusanLandmarks::CSusanLandmarks | ( | double | dThreshold, |
double | dWidth = 20.0 |
||
) |
Default constructor.
mds::img::CSusanLandmarks< V >::~CSusanLandmarks | ( | ) |
Destructor.
bool CSusanLandmarks::checkNeighbours | ( | CFVolume & | Volume, |
tSize | x, | ||
tSize | y, | ||
tSize | z, | ||
tFloatPixel | T | ||
) | [protected] |
Returns true if any neighbouring voxel has greater value than a given threshold.
int CSusanLandmarks::getDiff | ( | tPixel8 | a, |
tPixel8 | b | ||
) | [protected] |
Returns difference of two given pixels.
double mds::img::CSusanLandmarks< V >::getThreshold | ( | ) |
Returns cornerness threshold.
double mds::img::CSusanLandmarks< V >::getWidth | ( | ) |
Returns the width parameter.
void CSusanLandmarks::initLUT | ( | ) | [protected] |
Initializes internal lookup table.
void CSusanLandmarks::setThreshold | ( | double | dThreshold | ) |
Sets cornerness threshold.
void CSusanLandmarks::setWidth | ( | double | dWidth | ) |
Sets the width parameter.
double mds::img::CSusanLandmarks< V >::m_dInvWidth [protected] |
double mds::img::CSusanLandmarks< V >::m_dThreshold [protected] |
Corner detector parameters.
double mds::img::CSusanLandmarks< V >::m_dWidth [protected] |
mds::math::CStaticVector<int, LUT_SIZE> mds::img::CSusanLandmarks< V >::m_LUT [protected] |
Internal lookup table used for fast computation of the exp() function.