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

Base class for all 3D landmark detectors. More...

#include <mdsLandmarkDetector.h>

Inheritance diagram for mds::img::CLandmarkDetector< 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...
typedef std::vector< CPoint3DtCorners
 Vector of found corners.
typedef V::tVolume tVolume
 Volume type.
typedef V::tVoxel tVoxel
 Voxel type.

Public Member Functions

 CLandmarkDetector ()
 Default constructor.
virtual bool operator() (const tVolume &SrcVolume, tCorners &Corners)=0
 Detects 3D corners in a given volume.
virtual ~CLandmarkDetector ()
 Virtual destructor.

Detailed Description

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

Base class for all 3D landmark detectors.


Member Typedef Documentation

template<class V >
typedef std::vector<CPoint3D> mds::img::CLandmarkDetector< V >::tCorners

Vector of found corners.

Reimplemented in mds::img::CRohrLandmarks< V >, and mds::img::CSusanLandmarks< V >.

template<class V >
typedef V::tVolume mds::img::CLandmarkDetector< V >::tVolume
template<class V >
typedef V::tVoxel mds::img::CLandmarkDetector< V >::tVoxel

Member Enumeration Documentation

template<class V >
anonymous enum

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 

Constructor & Destructor Documentation

template<class V >
mds::img::CLandmarkDetector< V >::CLandmarkDetector ( )

Default constructor.

template<class V >
virtual mds::img::CLandmarkDetector< V >::~CLandmarkDetector ( ) [virtual]

Virtual destructor.


Member Function Documentation

template<class V >
virtual bool mds::img::CLandmarkDetector< V >::operator() ( const tVolume SrcVolume,
tCorners Corners 
) [pure virtual]

Detects 3D corners in a given volume.

  • Returns false on failure.

Implemented in mds::img::CRohrLandmarks< V >, and mds::img::CSusanLandmarks< V >.


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