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"
void CalculateBasisMatrix()
TInputImage::ConstPointer InputImageConstPointer
static const unsigned int InputImageDimension
ImagePCADecompositionCalculator()
Light weight base class for most itk classes.
void CalculateRecenteredImageAsVector()
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
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.
virtual void PrintSelf(std::ostream &os, Indent indent) const override
Templated n-dimensional image class.
bool m_BasisMatrixCalculated