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 > >
91 itkStaticConstMacro(InputImageDimension,
unsigned int,
92 TInputImage::ImageDimension);
95 itkStaticConstMacro(BasisImageDimension,
unsigned int,
96 TBasisImage::ImageDimension);
136 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
138 void CalculateBasisMatrix();
140 void CalculateRecenteredImageAsVector();
159 #ifndef ITK_MANUAL_INSTANTIATION
160 #include "itkImagePCADecompositionCalculator.hxx"
TInputImage::ConstPointer InputImageConstPointer
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
virtual ~ImagePCADecompositionCalculator() override
SmartPointer< Self > Pointer
std::vector< BasisImagePointer > BasisImagePointerVector
unsigned long SizeValueType
ImagePCADecompositionCalculator Self
Base class for ImagePCAShapeModelEstimator object.
BasisVectorType m_Projection
TBasisImage::Pointer BasisImagePointer
vnl_matrix< BasisPixelType > BasisMatrixType
SmartPointer< const Self > ConstPointer
TInputImage::Pointer InputImagePointer
BasisMatrixType m_BasisMatrix
BasisImageType::SizeType BasisSizeType
Control indentation during Print() invocation.
vnl_vector< BasisPixelType > BasisVectorType
ImageBaseType::SizeType SizeType
SizeValueType m_NumPixels
TInputImage InputImageType
TBasisImage::PixelType BasisPixelType
ImagePCAShapeModelEstimator< TInputImage, TBasisImage >::Pointer ModelPointerType
Base class for most ITK classes.
Templated n-dimensional image class.
bool m_BasisMatrixCalculated