#include <itkImagePCAShapeModelEstimator.h>
Inheritance diagram for itk::ImagePCAShapeModelEstimator< TInputImage, TOutputImage >:
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 a(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.
Definition at line 72 of file itkImagePCAShapeModelEstimator.h.
|
Reimplemented from itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >. Definition at line 80 of file itkImagePCAShapeModelEstimator.h. |
|
Definition at line 101 of file itkImagePCAShapeModelEstimator.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 91 of file itkImagePCAShapeModelEstimator.h. |
|
Type definition for the input image iterator type. Definition at line 98 of file itkImagePCAShapeModelEstimator.h. |
|
Type definition for the input image pixel type. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 94 of file itkImagePCAShapeModelEstimator.h. |
|
Reimplemented from itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >. Definition at line 90 of file itkImagePCAShapeModelEstimator.h. |
|
Type definition for the input image. Reimplemented from itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >. Definition at line 89 of file itkImagePCAShapeModelEstimator.h. |
|
Type definition for a double matrix. Definition at line 116 of file itkImagePCAShapeModelEstimator.h. |
|
Type definition for an integer vector. Definition at line 119 of file itkImagePCAShapeModelEstimator.h. |
|
Type definition for the input image iterator type. Definition at line 113 of file itkImagePCAShapeModelEstimator.h. |
|
Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 109 of file itkImagePCAShapeModelEstimator.h. |
|
Type definition for the output image Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 108 of file itkImagePCAShapeModelEstimator.h. |
|
Reimplemented from itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >. Definition at line 79 of file itkImagePCAShapeModelEstimator.h. |
|
Standard class typedefs. Reimplemented from itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >. Definition at line 77 of file itkImagePCAShapeModelEstimator.h. |
|
Reimplemented from itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >. Definition at line 78 of file itkImagePCAShapeModelEstimator.h. |
|
Type definition for a double vector. Definition at line 122 of file itkImagePCAShapeModelEstimator.h. |
|
Execute the function (over-ride the base clase update function) |
|
|
|
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.
|
|
Starts the image modelling process Reimplemented from itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >.
|
|
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 >.
|
|
Run-time type information (and related methods). Reimplemented from itk::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >.
|
|
Get the eigen values |
|
Set/Get the number of input training images. The filter produces the same number of output images. The Set method modifies this filter's NumberOfRequiredInputs and NumberOfRequiredOutputs and calls MakeOutput to create the extra outputs. |
|
Set/Get the number of training images in the input |
|
Input Image dimension Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
|
Method for creation through the object factory. Reimplemented from itk::Object.
|
|
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::ImageShapeModelEstimatorBase< TInputImage, TOutputImage >.
|
|
Set/Get the number of input training images. The filter produces the same number of output images. The Set method modifies this filter's NumberOfRequiredInputs and NumberOfRequiredOutputs and calls MakeOutput to create the extra outputs. |
|
Set/Get the number of training images in the input |