18#ifndef itkPCAShapeSignedDistanceFunction_h
19#define itkPCAShapeSignedDistanceFunction_h
66template <
typename TCoordinate,
unsigned int VSpaceDimension,
typename TImage = Image<
double, VSpaceDimension>>
132 itkGetConstMacro(NumberOfPrincipalComponents,
unsigned int);
212#ifndef ITK_MANUAL_INSTANTIATION
213# include "itkPCAShapeSignedDistanceFunction.hxx"
Evaluates a function of an image at specified position.
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
Base class for all image interpolators.
SmartPointer< Self > Pointer
static constexpr unsigned int SpaceDimension
std::vector< ImagePointer > ImagePointerVector
SmartPointer< Self > Pointer
void Initialize() override
unsigned int GetNumberOfShapeParameters() const override
ExtrapolatorPointerVector m_Extrapolators
typename ExtrapolatorType::Pointer ExtrapolatorPointer
TransformType::Pointer m_Transform
unsigned int m_NumberOfPrincipalComponents
std::vector< FunctionPointer > FunctionPointerVector
void SetParameters(const ParametersType &) override
InterpolatorPointerVector m_Interpolators
ParametersType m_PrincipalComponentStandardDeviations
ImageFunction< ImageType, double, CoordinateType > FunctionType
ExtrapolateImageFunction< ImageType, CoordinateType > ExtrapolatorType
unsigned int m_NumberOfTransformParameters
PCAShapeSignedDistanceFunction()
SmartPointer< const Self > ConstPointer
void SetPrincipalComponentImages(ImagePointerVector v)
typename InterpolatorType::Pointer InterpolatorPointer
ParametersType m_TransformParameters
ParametersType m_WeightOfPrincipalComponents
ImagePointerVector m_PrincipalComponentImages
void PrintSelf(std::ostream &os, Indent indent) const override
std::vector< ExtrapolatorPointer > ExtrapolatorPointerVector
ShapeSignedDistanceFunction< TCoordinate, VSpaceDimension > Superclass
~PCAShapeSignedDistanceFunction() override=default
typename ImageType::Pointer ImagePointer
InterpolateImageFunction< ImageType, CoordinateType > InterpolatorType
void SetNumberOfPrincipalComponents(unsigned int n)
typename FunctionType::Pointer FunctionPointer
OptimizerParameters< double > ParametersType
std::vector< InterpolatorPointer > InterpolatorPointerVector
OutputType Evaluate(const PointType &point) const override
PCAShapeSignedDistanceFunction Self
Transform< CoordinateType, Self::SpaceDimension, Self::SpaceDimension > TransformType
unsigned int GetNumberOfPoseParameters() const override
Point< TCoordinate, VSpaceDimension > InputType
static constexpr unsigned int SpaceDimension
ShapeSignedDistanceFunction()=default
TCoordinate CoordinateType
OptimizerParameters< double > ParametersType
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
*par Constraints *The filter image with at least two dimensions and a vector *length of at least The theory supports extension to scalar but *the implementation of the itk vector classes do not **The template parameter TRealType must be floating point(float or double) or *a user-defined "real" numerical type with arithmetic operations defined *sufficient to compute derivatives. **\par Performance *This filter will automatically multithread if run with *SetUsePrincipleComponents