Main Page
Groups
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File
List
Namespace Members
Compound Members
File Members
Concepts
itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage > Class Template Reference
[Operators]
Decomposes an image into directions along basis components.
More...
#include <itkImagePCADecompositionCalculator.h>
Inheritance diagram for itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >:
[legend]Collaboration diagram for itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >:
[legend]List of all members.
Detailed Description
template<class TInputImage, class TBasisImage = Image<double, ::itk::GetImageDimension<TInputImage>::ImageDimension>>
class itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >
Decomposes an image into directions along basis components.
This calculator computes the projection of an image into a subspace specified by some basis set of images, and, optionally, a mean image (e.g a translation to a new origin). Typically, this basis/mean image will be the mean and principal components of an image data set, as calculated by an ImagePCAShapeModelEstimator. The output of the calculator is a vnl_vector containing the coefficients along each dimension of the provided basis set. To use this calculator, set the basis images with the SetBasisImage method, and optionally set the mean image with the SetMeanImage method. In the PCA case, the zeroth output of the ImagePCAShapeModelEstimator is the mean image and subsequent outputs are the basis images. SetBasisFromModel is a convenience method to set all of this information from a given ImagePCAShapeModelEstimator instance.
This class is templated over the input image type and the type of images used to describe the basis.
- Warning:
- This method assumes that the input image consists of scalar pixel types.
All images (input, basis, and mean) must be the same size.
- Author:
- Zachary Pincus
Definition at line 60 of file itkImagePCADecompositionCalculator.h.
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
|
template<class TInputImage, class TBasisImage = Image<double, ::itk::GetImageDimension<TInputImage>::ImageDimension>> |
| void itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::CalculateBasisMatrix |
( |
void |
|
) |
[protected] |
|
|
template<class TInputImage, class TBasisImage = Image<double, ::itk::GetImageDimension<TInputImage>::ImageDimension>> |
| void itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::CalculateRecenteredImageAsVector |
( |
void |
|
) |
[protected] |
|
|
template<class TInputImage, class TBasisImage = Image<double, ::itk::GetImageDimension<TInputImage>::ImageDimension>> |
| void itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::Compute |
( |
void |
|
) |
|
|
|
|
Compute the PCA decomposition of the input image. |
|
|
Set and get the input image. |
|
|
Set and get the mean image. |
|
template<class TInputImage, class TBasisImage = Image<double, ::itk::GetImageDimension<TInputImage>::ImageDimension>> |
| virtual const char* itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::GetNameOfClass |
( |
|
) |
const [virtual] |
|
|
|
Run-time type information (and related methods).
Reimplemented from itk::Object. |
|
|
Return the projection of the image. |
|
template<class TInputImage, class TBasisImage = Image<double, ::itk::GetImageDimension<TInputImage>::ImageDimension>> |
| itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::itkStaticConstMacro |
( |
BasisImageDimension |
, |
|
|
unsigned |
int, |
|
|
TBasisImage::ImageDimension |
|
|
) |
|
|
|
template<class TInputImage, class TBasisImage = Image<double, ::itk::GetImageDimension<TInputImage>::ImageDimension>> |
| itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::itkStaticConstMacro |
( |
InputImageDimension |
, |
|
|
unsigned |
int, |
|
|
TInputImage::ImageDimension |
|
|
) |
|
|
|
template<class TInputImage, class TBasisImage = Image<double, ::itk::GetImageDimension<TInputImage>::ImageDimension>> |
| static Pointer itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::New |
( |
|
) |
[static] |
|
|
|
Method for creation through the object factory.
Reimplemented from itk::Object. |
|
template<class TInputImage, class TBasisImage = Image<double, ::itk::GetImageDimension<TInputImage>::ImageDimension>> |
| void itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::PrintSelf |
( |
std::ostream & |
os, |
|
|
Indent |
indent |
|
) |
const [protected, virtual] |
|
|
|
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. |
|
|
Set and get the basis images. |
|
|
Set and get the input image. |
|
template<class TInputImage, class TBasisImage = Image<double, ::itk::GetImageDimension<TInputImage>::ImageDimension>> |
| virtual void itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::SetMeanImage |
( |
const BasisImageType * |
_arg |
) |
[virtual] |
|
|
|
Set and get the mean image. |
The documentation for this class was generated from the following file:
Generated at Tue Aug 30 16:49:02 2005 for ITK by
1.4.1 written by Dimitri van Heesch,
© 1997-2000