|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkImagePCADecompositionCalculator_h
19 #define itkImagePCADecompositionCalculator_h
23 #include "vnl/vnl_vector.h"
24 #include "vnl/vnl_matrix.h"
58 template <
typename TInputImage,
typename TBasisImage = Image<
double, TInputImage::ImageDimension>>
92 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
95 static constexpr
unsigned int BasisImageDimension = TBasisImage::ImageDimension;
121 return m_BasisImages;
142 PrintSelf(std::ostream & os,
Indent indent)
const override;
145 CalculateBasisMatrix();
148 CalculateRecenteredImageAsVector();
165 #ifndef ITK_MANUAL_INSTANTIATION
166 # include "itkImagePCADecompositionCalculator.hxx"
typename BasisImageType::SizeType BasisSizeType
vnl_matrix< BasisPixelType > BasisMatrixType
InputImageConstPointer m_Image
std::vector< BasisImagePointer > BasisImagePointerVector
bool m_BasisMatrixCalculated
typename TBasisImage::Pointer BasisImagePointer
ImageBaseType::SizeType SizeType
Control indentation during Print() invocation.
BasisImageConstPointer m_MeanImage
BasisVectorType m_ImageAsVector
typename TBasisImage::PixelType BasisPixelType
typename TInputImage::Pointer InputImagePointer
typename TBasisImage::ConstPointer BasisImageConstPointer
TInputImage InputImageType
TBasisImage BasisImageType
Light weight base class for most itk classes.
BasisMatrixType m_BasisMatrix
BasisVectorType m_Projection
Decomposes an image into directions along basis components.
vnl_vector< BasisPixelType > BasisVectorType
typename TInputImage::ConstPointer InputImageConstPointer
typename ImagePCAShapeModelEstimator< TInputImage, TBasisImage >::Pointer ModelPointerType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Base class for most ITK classes.
BasisImagePointerVector GetBasisImages()
Templated n-dimensional image class.
SizeValueType m_NumPixels
unsigned long SizeValueType
BasisImagePointerVector m_BasisImages