MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
mds::img::CRohrLandmarks< V > Class Template Reference

#include <mdsRohr.h>

Inheritance diagram for mds::img::CRohrLandmarks< V >:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { TEMPLATE_PARAMETER_IS_NOT_VOLUME = V::CLASS_VOLUME }
 Check that V is volume. More...
enum  { BLOCK_SIZE = 64 }
 Size of the processing block (volume window). 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

 CRohrLandmarks (tSize Size, double dThreshold, double dEdgeThreshold)
 Default constructor.
double getEdgeThreshold () const
 Returns threshold used for suppression of landmarks lying on edges.
double getThreshold () const
 Returns cornerness threshold.
bool operator() (const tVolume &SrcVolume, tCorners &Corners)
 Volume landmark detection.
bool operator() (const tVolume &SrcVolume, tVolume &DstVolume)
 Evaluates cornerness function of all voxels.
void setEdgeThreshold (double dEdgeThreshold)
 Sets threshold used for suppression of landmarks lying on edges.
void setThreshold (double dThreshold)
 Sets cornerness threshold.
 ~CRohrLandmarks ()
 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.

Protected Attributes

double m_dEdgeThreshold
double m_dThreshold
 Corner detector parameters.
CVolumeDiffXFilter< CFVolumem_SobelX
 Sobel operators.
CVolumeDiffYFilter< CFVolumem_SobelY
CVolumeDiffZFilter< CFVolumem_SobelZ
tSize m_WindowSize
 Size of the window used to estimate eigen values.

Detailed Description

template<class V>
class mds::img::CRohrLandmarks< V >


Member Typedef Documentation

template<class V >
typedef CLandmarkDetector<V> mds::img::CRohrLandmarks< V >::base

Volume filter base.

template<class V >
typedef base::tCorners mds::img::CRohrLandmarks< V >::tCorners

Vector of found corners.

Reimplemented from mds::img::CLandmarkDetector< V >.

template<class V >
typedef base::tVolume mds::img::CRohrLandmarks< V >::tVolume

Volume type.

Reimplemented from mds::img::CLandmarkDetector< V >.

template<class V >
typedef base::tVoxel mds::img::CRohrLandmarks< V >::tVoxel

Voxel type.

Reimplemented from mds::img::CLandmarkDetector< V >.


Member Enumeration Documentation

template<class V >
anonymous enum [inherited]

Check that V is volume.

You will see name of this enum somewhere in compiler error message if the type V is not volume.

Enumerator:
TEMPLATE_PARAMETER_IS_NOT_VOLUME 
template<class V >
anonymous enum

Size of the processing block (volume window).

The input volume is divided into smaller blocks - cubes for the processing.

  • This is used to reduce amount of the memory required by the filtering.
Enumerator:
BLOCK_SIZE 

Constructor & Destructor Documentation

template<class V >
mds::img::CRohrLandmarks< V >::CRohrLandmarks ( tSize  Size,
double  dThreshold,
double  dEdgeThreshold 
)

Default constructor.

  • Size of the window (must be an odd number) used to estimate eigen values.
  • Cornerness threshold.
  • Threshold used to suppress landmarks on edges.
template<class V >
mds::img::CRohrLandmarks< V >::~CRohrLandmarks ( )

Destructor.


Member Function Documentation

template<class V >
bool CRohrLandmarks::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.

template<class V >
double mds::img::CRohrLandmarks< V >::getEdgeThreshold ( ) const

Returns threshold used for suppression of landmarks lying on edges.

template<class V >
double mds::img::CRohrLandmarks< V >::getThreshold ( ) const

Returns cornerness threshold.

template<class V >
bool CRohrLandmarks::operator() ( const tVolume SrcVolume,
tCorners Corners 
) [virtual]

Volume landmark detection.

  • Returns false on failure.

Implements mds::img::CLandmarkDetector< V >.

template<class V >
bool CRohrLandmarks::operator() ( const tVolume SrcVolume,
tVolume DstVolume 
)

Evaluates cornerness function of all voxels.

  • Returns false on failure.
template<class V >
void CRohrLandmarks::setEdgeThreshold ( double  dEdgeThreshold)

Sets threshold used for suppression of landmarks lying on edges.

template<class V >
void CRohrLandmarks::setThreshold ( double  dThreshold)

Sets cornerness threshold.


Member Data Documentation

template<class V >
double mds::img::CRohrLandmarks< V >::m_dEdgeThreshold [protected]
template<class V >
double mds::img::CRohrLandmarks< V >::m_dThreshold [protected]

Corner detector parameters.

template<class V >
CVolumeDiffXFilter<CFVolume> mds::img::CRohrLandmarks< V >::m_SobelX [protected]

Sobel operators.

template<class V >
CVolumeDiffYFilter<CFVolume> mds::img::CRohrLandmarks< V >::m_SobelY [protected]
template<class V >
CVolumeDiffZFilter<CFVolume> mds::img::CRohrLandmarks< V >::m_SobelZ [protected]
template<class V >
tSize mds::img::CRohrLandmarks< V >::m_WindowSize [protected]

Size of the window used to estimate eigen values.


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