ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage > Class Template Reference

#include <itkImagePCAShapeModelEstimator.h>

+ Inheritance diagram for itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >:

Detailed Description

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
class itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >

Base class for ImagePCAShapeModelEstimator object.

itkImagePCAShapeModelEstimator performs a principal component analysis (PCA) on a set of images. The user specifies the number of training images and also the number of desired largest principal components needed. The ITK pipeline mechanism sets up the storage for both input and output images. The number of output images are the user specified number of desired largest principal components plus 1 (for the mean image).

The algorithm uses the VNL library to perform the eigen analysis. To speed the computation of the instead of performing the eigen analysis of the covariance vector A*A' where A is a matrix with p x t, p = number of pixels or voxels in each images and t = number of training images, we calculate the eigen vectors of the inner product matrix A'*A. The resulting eigen vectors (E) are then multiplied with the the matrix A to get the principal compoenets. The covariance matrix has a dimension of p x p. Since number of pixels in any image being typically very high the eigen decomposition becomes computationally expensive. The inner product on the other hand has the dimension of t x t, where t is typically much smaller that p. Hence the eigen decomposition (most compute intensive part) is an orders of magnitude faster.

The Update() function enables the calculation of the various models, creates the membership function objects and populates them.

Wiki Examples:

Definition at line 77 of file itkImagePCAShapeModelEstimator.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
ImageRegionConstIterator
< TInputImage > 
InputImageConstIterator
 
typedef TInputImage::ConstPointer InputImageConstPointer
 
typedef ImageRegionIterator
< TInputImage > 
InputImageIterator
 
typedef TInputImage::PixelType InputImagePixelType
 
typedef TInputImage::Pointer InputImagePointer
 
typedef TInputImage InputImageType
 
typedef vnl_matrix< double > MatrixOfDoubleType
 
typedef vnl_matrix< int > MatrixOfIntegerType
 
typedef ImageRegionIterator
< TOutputImage > 
OutputImageIterator
 
typedef TOutputImage::Pointer OutputImagePointer
 
typedef TOutputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef ImagePCAShapeModelEstimator Self
 
typedef
ImageShapeModelEstimatorBase
< TInputImage, TOutputImage > 
Superclass
 
typedef vnl_vector< double > VectorOfDoubleType
 
- Public Types inherited from itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef TInputImage::Pointer InputImagePointer
 
typedef TInputImage InputImageType
 
typedef SmartPointer< SelfPointer
 
typedef
ImageShapeModelEstimatorBase 
Self
 
typedef ImageToImageFilter
< TInputImage, TOutputImage > 
Superclass
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource< TOutputImage > Superclass
 
- Public Types inherited from itk::ImageSource< TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef ImageSource Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject 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 (void) const
 
virtual VectorOfDoubleType GetEigenValues () const
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetNumberOfPrincipalComponentsRequired () const
 
virtual unsigned int GetNumberOfTrainingImages () const
 
virtual void SetNumberOfPrincipalComponentsRequired (unsigned int n)
 
virtual void SetNumberOfTrainingImages (unsigned int n)
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int InputImageDimension = TInputImage::ImageDimension
 

Protected Member Functions

virtual void EnlargeOutputRequestedRegion (DataObject *)
 
void GenerateData ()
 
virtual void GenerateInputRequestedRegion ()
 
 ImagePCAShapeModelEstimator ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
 ~ImagePCAShapeModelEstimator ()
 
- Protected Member Functions inherited from itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >
 ImageShapeModelEstimatorBase ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
 ~ImageShapeModelEstimatorBase ()
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
virtual void VerifyInputInformation ()
 
void PushBackInput (const DataObject *input)
 
void PushFrontInput (const DataObject *input)
 
 ImageToImageFilter ()
 
 ~ImageToImageFilter ()
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int num, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual ~ImageSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs ()
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs ()
 
- 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 Types

typedef TInputImage::SizeType ImageSizeType
 
typedef std::vector
< InputImageConstIterator
InputImageIteratorArray
 
typedef std::vector
< InputImageConstPointer
InputImagePointerArray
 
typedef TInputImage::PixelType InputPixelType
 

Private Member Functions

void CalculateInnerProduct ()
 
void EstimatePCAShapeModelParameters ()
 
virtual void EstimateShapeModels ()
 
 ImagePCAShapeModelEstimator (const Self &)
 
void operator= (const Self &)
 

Private Attributes

VectorOfDoubleType m_EigenValues
 
VectorOfDoubleType m_EigenVectorNormalizedEnergy
 
MatrixOfDoubleType m_EigenVectors
 
MatrixOfDoubleType m_InnerProduct
 
InputImageIteratorArray m_InputImageIteratorArray
 
ImageSizeType m_InputImageSize
 
VectorOfDoubleType m_Means
 
unsigned int m_NumberOfPixels
 
unsigned int m_NumberOfPrincipalComponentsRequired
 
unsigned int m_NumberOfTrainingImages
 

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension) > 
InputToOutputRegionCopierType
 
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension) > 
OutputToInputRegionCopierType
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 

Member Typedef Documentation

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef SmartPointer< const Self > itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::ConstPointer

Definition at line 85 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef TInputImage::SizeType itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::ImageSizeType
private

Definition at line 169 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef ImageRegionConstIterator< TInputImage > itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::InputImageConstIterator

Definition at line 103 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef TInputImage::ConstPointer itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::InputImageConstPointer

Definition at line 96 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef ImageRegionIterator< TInputImage > itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::InputImageIterator

Type definition for the input image iterator type.

Definition at line 102 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef std::vector< InputImageConstIterator > itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::InputImageIteratorArray
private

Definition at line 167 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef TInputImage::PixelType itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::InputImagePixelType

Type definition for the input image pixel type.

Definition at line 99 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef TInputImage::Pointer itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::InputImagePointer

Definition at line 95 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef std::vector< InputImageConstPointer > itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::InputImagePointerArray
private

Local variable typedefs

Definition at line 166 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef TInputImage itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::InputImageType

Type definition for the input image.

Definition at line 91 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef TInputImage::PixelType itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::InputPixelType
private

Set up the vector to store the image data.

Definition at line 172 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef vnl_matrix< double > itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::MatrixOfDoubleType

Type definition for a double matrix.

Definition at line 117 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef vnl_matrix< int > itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::MatrixOfIntegerType

Type definition for an integer vector.

Definition at line 120 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef ImageRegionIterator< TOutputImage > itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::OutputImageIterator

Type definition for the input image iterator type.

Definition at line 114 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef TOutputImage::Pointer itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::OutputImagePointer

Definition at line 111 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef TOutputImage itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::OutputImageType

Type definition for the output image

Definition at line 110 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef SmartPointer< Self > itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::Pointer

Definition at line 84 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef ImagePCAShapeModelEstimator itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::Self

Standard class typedefs.

Definition at line 82 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef ImageShapeModelEstimatorBase< TInputImage, TOutputImage > itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::Superclass

Definition at line 83 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
typedef vnl_vector< double > itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::VectorOfDoubleType

Type definition for a double vector.

Definition at line 123 of file itkImagePCAShapeModelEstimator.h.

Constructor & Destructor Documentation

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::ImagePCAShapeModelEstimator ( )
protected
template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::~ImagePCAShapeModelEstimator ( )
protected
template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::ImagePCAShapeModelEstimator ( const Self )
private

Member Function Documentation

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
void itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::CalculateInnerProduct ( )
private
template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
virtual::itk::LightObject::Pointer itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::CreateAnother ( void  ) 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<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
virtual void itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion ( DataObject )
protectedvirtual

This filter must produce all of the outputs at once, as such it must override the EnlargeOutputRequestedRegion method to enlarge the output request region.

Reimplemented from itk::ProcessObject.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
void itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::EstimatePCAShapeModelParameters ( )
private
template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
virtual void itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::EstimateShapeModels ( )
privatevirtual

Local functions A function that generates the cluster centers (model) corresponding to the estimates of the cluster centers (in the initial codebook). If no codebook is provided, then use the number of classes to determine the cluster centers or the Shape model. This is the the base function to call the K-means classifier.

Implements itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
void itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::GenerateData ( )
protectedvirtual

Starts the image modelling process

Reimplemented from itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
virtual void itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::GenerateInputRequestedRegion ( )
protectedvirtual

This filter requires all the input image at once, as such it must override the GenerateInputRequestedRegion method. Additionally, this filter assumes that the input images are at least the size as the first input image.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
virtual VectorOfDoubleType itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::GetEigenValues ( ) const
virtual

Get the eigen values

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
virtual const char* itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
virtual unsigned int itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::GetNumberOfPrincipalComponentsRequired ( ) const
virtual
template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
virtual unsigned int itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::GetNumberOfTrainingImages ( ) const
virtual
template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
static Pointer itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
void itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::operator= ( const Self )
private
template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
virtual void itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
virtual void itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::SetNumberOfPrincipalComponentsRequired ( unsigned int  n)
virtual

Set/Get the number of required largest principal components. The filter produces the required number of principal components plus one outputs. Output index 0 represents the mean image and the remaining outputs the requested principal components.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
virtual void itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::SetNumberOfTrainingImages ( unsigned int  n)
virtual

Set/Get the number of training images in the input.

Member Data Documentation

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
const unsigned int itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension
static

Input Image dimension

Definition at line 107 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
VectorOfDoubleType itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::m_EigenValues
private

Definition at line 197 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
VectorOfDoubleType itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::m_EigenVectorNormalizedEnergy
private

Definition at line 199 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
MatrixOfDoubleType itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::m_EigenVectors
private

Definition at line 195 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
MatrixOfDoubleType itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::m_InnerProduct
private

Definition at line 193 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
InputImageIteratorArray itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::m_InputImageIteratorArray
private

Local storage variables

Definition at line 189 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
ImageSizeType itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::m_InputImageSize
private

Definition at line 201 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
VectorOfDoubleType itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::m_Means
private

Definition at line 191 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
unsigned int itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::m_NumberOfPixels
private

Definition at line 203 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
unsigned int itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::m_NumberOfPrincipalComponentsRequired
private

Definition at line 209 of file itkImagePCAShapeModelEstimator.h.

template<class TInputImage, class TOutputImage = Image< double, TInputImage::ImageDimension >>
unsigned int itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >::m_NumberOfTrainingImages
private

Definition at line 206 of file itkImagePCAShapeModelEstimator.h.


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