Public Types | Public Member Functions | Public Attributes | Protected Member Functions

cmtk::ActiveShapeModel Class Reference
[cmtkBase Library]

Class for a three-dimensional active shape model. More...

#include <cmtkActiveShapeModel.h>

Inheritance diagram for cmtk::ActiveShapeModel:
Inheritance graph
[legend]
Collaboration diagram for cmtk::ActiveShapeModel:
Collaboration graph
[legend]

List of all members.

Public Types

typedef SmartPointer
< ActiveShapeModel
SmartPtr
 Smart pointer to active shape model.

Public Member Functions

unsigned int GetNumberOfPoints () const
 Get number of points.
unsigned int GetNumberOfModes () const
 Get number of modes.
 ActiveShapeModel ()
 Default constructor.
 ActiveShapeModel (CoordinateVector::SmartPtr &mean, DirectionSet::SmartPtr &modes, CoordinateVector::SmartPtr &modeVariances)
 Construct using given mean and modes.
 ActiveShapeModel (const Types::Coordinate *const *trainingSet, const unsigned int numberOfSamples, const unsigned int numberOfPoints, const unsigned int numberOfModes)
 Generative constructor.
float Construct (const Types::Coordinate *const *trainingSet, const unsigned int numberOfSamples, const unsigned int numberOfPoints, const unsigned int numberOfModes)
 Construct model.
Types::CoordinateGenerate (Types::Coordinate *const instance, const Types::Coordinate *modeWeights) const
 Generate a model instance.
float Decompose (const CoordinateVector *input, Types::Coordinate *const weights=NULL) const
 Decompose a vector into mean and modes of this model.

Public Attributes

unsigned int NumberOfPoints
 Number of points in this model.
CoordinateVector::SmartPtr Mean
 Point positions of the mean shape.
unsigned int NumberOfModes
 Number of modes of variation in this model.
DirectionSet::SmartPtr Modes
 Delta vectors for the modes of variation.
CoordinateVector::SmartPtr ModeVariances
 Eigenvalue (= variance) associated with each mode.

Protected Member Functions

void Allocate (const unsigned int numberOfPoints, const unsigned int numberOfModes)
 Allocate data structures.

Detailed Description

Class for a three-dimensional active shape model.

Definition at line 51 of file cmtkActiveShapeModel.h.


Member Typedef Documentation

Smart pointer to active shape model.

Reimplemented in cmtk::ActiveDeformationModel< W >.

Definition at line 55 of file cmtkActiveShapeModel.h.


Constructor & Destructor Documentation

cmtk::ActiveShapeModel::ActiveShapeModel (  ) [inline]

Default constructor.

Definition at line 79 of file cmtkActiveShapeModel.h.

cmtk::ActiveShapeModel::ActiveShapeModel ( const Types::Coordinate *const *  trainingSet,
const unsigned int  numberOfSamples,
const unsigned int  numberOfPoints,
const unsigned int  numberOfModes 
) [inline]

Generative constructor.

For a description of the parameters, see the Construct() member function.

See also:
ActiveShapeModel::Construct

Definition at line 89 of file cmtkActiveShapeModel.h.


Member Function Documentation

unsigned int cmtk::ActiveShapeModel::GetNumberOfModes (  ) const [inline]

Get number of modes.

Definition at line 70 of file cmtkActiveShapeModel.h.

unsigned int cmtk::ActiveShapeModel::GetNumberOfPoints (  ) const [inline]

Get number of points.

Definition at line 61 of file cmtkActiveShapeModel.h.


Member Data Documentation

Point positions of the mean shape.

Definition at line 64 of file cmtkActiveShapeModel.h.

Delta vectors for the modes of variation.

Definition at line 73 of file cmtkActiveShapeModel.h.

Eigenvalue (= variance) associated with each mode.

Definition at line 76 of file cmtkActiveShapeModel.h.

Number of modes of variation in this model.

Definition at line 67 of file cmtkActiveShapeModel.h.

Number of points in this model.

Definition at line 58 of file cmtkActiveShapeModel.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines