ITK  4.9.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage > Class Template Reference

#include <itkPCAShapeSignedDistanceFunction.h>

+ Inheritance diagram for itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >:
+ Collaboration diagram for itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >:

Detailed Description

template<typename TCoordRep, unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
class itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >

Compute the signed distance from a N-dimensional PCA Shape.

This class computes the signed distance from a N-dimensional shape defined by: (1) a mean signed distance image $ M(x) $, (2) the first $ q $ principal components images $ P_i(x) $ and (3) a transform $ T(x) $ to define the pose (i.e. position or orientation of the shape).

A particular instance of the shape is defined by a set of parameters $ p $. The first $ q $ parameters defines the weights applied to each principal components and the remaining parameters is used to define the transform. The user should refer to the documentation of the particular Transform class being used. The first set of parameters are called the ShapeParameters and the remaining parameters the PoseParameters.

The method Evaluate( point x ) returns the approximate signed to the shape at point x such that:

\[ s = M(T(x)) + \sum_i^{q} p[i] * \sigma[i] * P_i(T(x)) \]

Where $\sigma[i]$ are the square root of the eigenvalues. These are defined using method SetPrincipalComponentStandardDeviations().

This class is templated over the coordinate representation type (e.g. float or double) and the space dimension.

See Also
ShapeSignedDistanceFunction
Transform
Examples:
Examples/Segmentation/GeodesicActiveContourShapePriorLevelSetImageFilter.cxx.

Definition at line 68 of file itkPCAShapeSignedDistanceFunction.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::CoordRepType CoordRepType
 
typedef ExtrapolatorType::Pointer ExtrapolatorPointer
 
typedef std::vector
< ExtrapolatorPointer
ExtrapolatorPointerVector
 
typedef
ExtrapolateImageFunction
< ImageType, CoordRepType
ExtrapolatorType
 
typedef FunctionType::Pointer FunctionPointer
 
typedef std::vector
< FunctionPointer
FunctionPointerVector
 
typedef ImageFunction
< ImageType, double,
CoordRepType
FunctionType
 
typedef ImageType::Pointer ImagePointer
 
typedef std::vector< ImagePointerImagePointerVector
 
typedef TImage ImageType
 
typedef Superclass::InputType InputType
 
typedef InterpolatorType::Pointer InterpolatorPointer
 
typedef std::vector
< InterpolatorPointer
InterpolatorPointerVector
 
typedef
InterpolateImageFunction
< ImageType, CoordRepType
InterpolatorType
 
typedef Superclass::OutputType OutputType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::PointType PointType
 
typedef
PCAShapeSignedDistanceFunction 
Self
 
typedef
ShapeSignedDistanceFunction
< TCoordRep, VSpaceDimension > 
Superclass
 
typedef Transform
< CoordRepType,
itkGetStaticConstMacro(SpaceDimension),
itkGetStaticConstMacro(SpaceDimension) > 
TransformType
 
- Public Types inherited from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >
typedef SmartPointer< const SelfConstPointer
 
typedef TCoordRep CoordRepType
 
typedef Superclass::InputType InputType
 
typedef Superclass::OutputType OutputType
 
typedef OptimizerParameters
< double > 
ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef InputType PointType
 
typedef ShapeSignedDistanceFunction Self
 
typedef SpatialFunction
< double, VSpaceDimension,
Point< TCoordRep,
VSpaceDimension > > 
Superclass
 
- Public Types inherited from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::InputType InputType
 
typedef Superclass::OutputType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef SpatialFunction Self
 
typedef FunctionBase< Point
< TCoordRep, VSpaceDimension >
, double > 
Superclass
 
- Public Types inherited from itk::FunctionBase< Point< TCoordRep, VSpaceDimension >, double >
typedef SmartPointer< const SelfConstPointer
 
typedef Point< TCoordRep,
VSpaceDimension > 
InputType
 
typedef double OutputType
 
typedef SmartPointer< SelfPointer
 
typedef FunctionBase Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual OutputType Evaluate (const PointType &point) const override
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetNumberOfPoseParameters (void) const override
 
virtual unsigned int GetNumberOfPrincipalComponents () const
 
virtual unsigned int GetNumberOfShapeParameters (void) const override
 
virtual void Initialize () override throw ( ExceptionObject )
 
void SetNumberOfPrincipalComponents (unsigned int n)
 
virtual void SetParameters (const ParametersType &) override
 
virtual void SetMeanImage (ImageType *_arg)
 
virtual ImageTypeGetModifiableMeanImage ()
 
virtual const ImageTypeGetMeanImage () const
 
void SetPrincipalComponentImages (ImagePointerVector v)
 
virtual void SetPrincipalComponentStandardDeviations (ParametersType _arg)
 
virtual ParametersType GetPrincipalComponentStandardDeviations () const
 
virtual void SetTransform (TransformType *_arg)
 
virtual TransformTypeGetModifiableTransform ()
 
virtual const TransformTypeGetTransform () const
 
- Public Member Functions inherited from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >
virtual OutputType Evaluate (const PointType &point) const override=0
 
virtual unsigned int GetNumberOfParameters (void) const
 
virtual ParametersTypeGetParameters (void)
 
- Public Member Functions inherited from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > >
virtual OutputType Evaluate (const InputType &input) const override=0
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int SpaceDimension = Superclass::SpaceDimension
 
- Static Public Attributes inherited from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >
static const unsigned int SpaceDimension = VSpaceDimension
 
- Static Public Attributes inherited from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > >
static const unsigned int ImageDimension
 

Protected Member Functions

 PCAShapeSignedDistanceFunction ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~PCAShapeSignedDistanceFunction ()
 
- Protected Member Functions inherited from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ShapeSignedDistanceFunction ()
 
 ~ShapeSignedDistanceFunction ()
 
- Protected Member Functions inherited from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > >
void PrintSelf (std::ostream &os, Indent indent) const override
 
 SpatialFunction ()
 
virtual ~SpatialFunction ()
 
- Protected Member Functions inherited from itk::FunctionBase< Point< TCoordRep, VSpaceDimension >, double >
 FunctionBase ()
 
 ~FunctionBase ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

void operator= (const Self &) ITK_DELETE_FUNCTION
 
 PCAShapeSignedDistanceFunction (const Self &) ITK_DELETE_FUNCTION
 

Private Attributes

ExtrapolatorPointerVector m_Extrapolators
 
InterpolatorPointerVector m_Interpolators
 
ImagePointer m_MeanImage
 
unsigned int m_NumberOfPrincipalComponents
 
unsigned int m_NumberOfTransformParameters
 
ImagePointerVector m_PrincipalComponentImages
 
ParametersType m_PrincipalComponentStandardDeviations
 
TransformType::Pointer m_Transform
 
ParametersType m_TransformParameters
 
ParametersType m_WeightOfPrincipalComponents
 

Additional Inherited Members

- Protected Attributes inherited from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >
ParametersType m_Parameters
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef SmartPointer< const Self > itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::ConstPointer

Definition at line 78 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef Superclass::CoordRepType itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::CoordRepType

CoordRep typedef support.

Definition at line 90 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef ExtrapolatorType::Pointer itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::ExtrapolatorPointer

Definition at line 121 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef std::vector< ExtrapolatorPointer > itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::ExtrapolatorPointerVector

Definition at line 122 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef ExtrapolateImageFunction< ImageType, CoordRepType > itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::ExtrapolatorType

extrapolator typedef support.

Definition at line 120 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef FunctionType::Pointer itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::FunctionPointer

Definition at line 126 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef std::vector< FunctionPointer > itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::FunctionPointerVector

Definition at line 127 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef ImageFunction< ImageType, double, CoordRepType > itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::FunctionType

function typedef support.

Definition at line 125 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef ImageType::Pointer itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::ImagePointer

Definition at line 106 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef std::vector< ImagePointer > itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::ImagePointerVector

Definition at line 107 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef TImage itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::ImageType

Image typedef support.

Definition at line 105 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef Superclass::InputType itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::InputType

InputeType typedef support.

Definition at line 93 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef InterpolatorType::Pointer itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::InterpolatorPointer

Definition at line 116 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef std::vector< InterpolatorPointer > itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::InterpolatorPointerVector

Definition at line 117 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef InterpolateImageFunction< ImageType, CoordRepType > itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::InterpolatorType

Interpolator typedef support.

Definition at line 115 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef Superclass::OutputType itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::OutputType

OutputType typedef support.

Definition at line 96 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef Superclass::ParametersType itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::ParametersType

Parameters typedef support.

Definition at line 102 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef SmartPointer< Self > itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::Pointer

Definition at line 77 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef Superclass::PointType itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::PointType

Point typedef support.

Definition at line 99 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef PCAShapeSignedDistanceFunction itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::Self

Standard class typedefs.

Definition at line 73 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension > itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::Superclass

Definition at line 75 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
typedef Transform< CoordRepType, itkGetStaticConstMacro(SpaceDimension), itkGetStaticConstMacro(SpaceDimension) > itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::TransformType

Transform typedef support.

Definition at line 112 of file itkPCAShapeSignedDistanceFunction.h.

Constructor & Destructor Documentation

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::PCAShapeSignedDistanceFunction ( )
protected
template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::~PCAShapeSignedDistanceFunction ( )
inlineprotected

Definition at line 176 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::PCAShapeSignedDistanceFunction ( const Self )
private

Member Function Documentation

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
virtual::itk::LightObject::Pointer itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
virtual OutputType itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::Evaluate ( const PointType point) const
overridevirtual

Evaluate the signed distance from a shape at a given position.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
virtual const ImageType* itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::GetMeanImage ( ) const
virtual

Set/Get the mean image.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
virtual ImageType* itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::GetModifiableMeanImage ( )
virtual

Set/Get the mean image.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
virtual TransformType* itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::GetModifiableTransform ( )
virtual

Set/Get transform.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
virtual const char* itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
virtual unsigned int itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::GetNumberOfPoseParameters ( void  ) const
inlineoverridevirtual
template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
virtual unsigned int itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::GetNumberOfPrincipalComponents ( ) const
virtual
template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
virtual unsigned int itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::GetNumberOfShapeParameters ( void  ) const
inlineoverridevirtual
template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
virtual ParametersType itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::GetPrincipalComponentStandardDeviations ( ) const
virtual

Set/Get the principal component standard deviations. These values corresponds to the square root of the eigenvalues of the principal components.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
virtual const TransformType* itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::GetTransform ( ) const
virtual

Set/Get transform.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
virtual void itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::Initialize ( )
throw (ExceptionObject
)
overridevirtual

Initialize must be called before the first call of Evaluate() to allow the class to validate any inputs.

Reimplemented from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
static Pointer itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::New ( )
static

New macro for creation of through the object factory.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
void itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::operator= ( const Self )
private
template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
void itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Object.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
virtual void itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::SetMeanImage ( ImageType _arg)
virtual

Set/Get the mean image.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
void itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::SetNumberOfPrincipalComponents ( unsigned int  n)

Set/Get the number of principal components SetNumberOfPrincipalComponents must be called before SetParameters

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
virtual void itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::SetParameters ( const ParametersType )
overridevirtual

A PCAShape is defined by a set of shape and pose parameters.

Implements itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
void itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::SetPrincipalComponentImages ( ImagePointerVector  v)
inline
template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
virtual void itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::SetPrincipalComponentStandardDeviations ( ParametersType  _arg)
virtual

Set/Get the principal component standard deviations. These values corresponds to the square root of the eigenvalues of the principal components.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
virtual void itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::SetTransform ( TransformType _arg)
virtual

Set/Get transform.

Member Data Documentation

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
ExtrapolatorPointerVector itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::m_Extrapolators
private

Definition at line 196 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
InterpolatorPointerVector itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::m_Interpolators
private

Definition at line 195 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
ImagePointer itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::m_MeanImage
private

Definition at line 188 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
unsigned int itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::m_NumberOfPrincipalComponents
private
template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
unsigned int itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::m_NumberOfTransformParameters
private

Definition at line 186 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
ImagePointerVector itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::m_PrincipalComponentImages
private
template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
ParametersType itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::m_PrincipalComponentStandardDeviations
private

Definition at line 190 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
TransformType::Pointer itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::m_Transform
private

transform and interpolator/extrapolator for image interpolation

Definition at line 193 of file itkPCAShapeSignedDistanceFunction.h.

Referenced by itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::GetNumberOfPoseParameters().

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
ParametersType itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::m_TransformParameters
private

Definition at line 200 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
ParametersType itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::m_WeightOfPrincipalComponents
private

shape and pose parameters

Definition at line 199 of file itkPCAShapeSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension, typename TImage = Image< double, VSpaceDimension >>
const unsigned int itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >::SpaceDimension = Superclass::SpaceDimension
static

Dimension underlying input image.

Definition at line 87 of file itkPCAShapeSignedDistanceFunction.h.


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