18 #ifndef __itkImagePCADecompositionCalculator_h
19 #define __itkImagePCADecompositionCalculator_h
23 #include "vnl/vnl_vector.h"
24 #include "vnl/vnl_matrix.h"
58 template<
typename TInputImage,
59 typename TBasisImage = Image< double, TInputImage::ImageDimension > >
92 TInputImage::ImageDimension);
96 TBasisImage::ImageDimension);
136 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
160 #ifndef ITK_MANUAL_INSTANTIATION
161 #include "itkImagePCADecompositionCalculator.hxx"
TInputImage::ConstPointer InputImageConstPointer
static const unsigned int InputImageDimension
ImagePCADecompositionCalculator()
Light weight base class for most itk classes.
BasisImageConstPointer m_MeanImage
TBasisImage BasisImageType
TBasisImage::ConstPointer BasisImageConstPointer
Decomposes an image into directions along basis components.
BasisVectorType m_ImageAsVector
BasisImagePointerVector GetBasisImages()
BasisImagePointerVector m_BasisImages
InputImageConstPointer m_Image
SmartPointer< Self > Pointer
std::vector< BasisImagePointer > BasisImagePointerVector
unsigned long SizeValueType
ImagePCADecompositionCalculator Self
Base class for ImagePCAShapeModelEstimator object.
BasisVectorType m_Projection
virtual ~ImagePCADecompositionCalculator()
static const unsigned int BasisImageDimension
TBasisImage::Pointer BasisImagePointer
vnl_matrix< BasisPixelType > BasisMatrixType
SmartPointer< const Self > ConstPointer
TInputImage::Pointer InputImagePointer
void CalculateRecenteredImageAsVector(void)
BasisMatrixType m_BasisMatrix
void operator=(const Self &)
BasisImageType::SizeType BasisSizeType
Control indentation during Print() invocation.
void SetBasisFromModel(ModelPointerType model)
vnl_vector< BasisPixelType > BasisVectorType
SizeValueType m_NumPixels
void SetBasisImages(const BasisImagePointerVector &)
TInputImage InputImageType
TBasisImage::PixelType BasisPixelType
ImagePCAShapeModelEstimator< TInputImage, TBasisImage >::Pointer ModelPointerType
Base class for most ITK classes.
void CalculateBasisMatrix(void)
Templated n-dimensional image class.
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
bool m_BasisMatrixCalculated