18#ifndef itkPCAShapeSignedDistanceFunction_h
19#define itkPCAShapeSignedDistanceFunction_h
66template <
typename TCoordinate,
unsigned int VSpaceDimension,
typename TImage = Image<
double, VSpaceDimension>>
87 static constexpr unsigned int SpaceDimension = Superclass::SpaceDimension;
90 using typename Superclass::CoordinateType;
93 using typename Superclass::InputType;
96 using typename Superclass::OutputType;
102 using typename Superclass::ParametersType;
132 itkGetConstMacro(NumberOfPrincipalComponents,
unsigned int);
143 m_PrincipalComponentImages = v;
167 return m_NumberOfPrincipalComponents;
172 return m_Transform ? m_Transform->GetNumberOfParameters() : 0;
193 unsigned int m_NumberOfPrincipalComponents{};
194 unsigned int m_NumberOfTransformParameters{};
212#ifndef ITK_MANUAL_INSTANTIATION
213# include "itkPCAShapeSignedDistanceFunction.hxx"
Evaluates a function of an image at specified position.
Control indentation during Print() invocation.
Base class for all image interpolators.
Light weight base class for most itk classes.
Compute the signed distance from a N-dimensional PCA Shape.
std::vector< ImagePointer > ImagePointerVector
void Initialize() override
unsigned int GetNumberOfShapeParameters() const override
typename ExtrapolatorType::Pointer ExtrapolatorPointer
std::vector< FunctionPointer > FunctionPointerVector
void SetParameters(const ParametersType &) override
PCAShapeSignedDistanceFunction()
void SetPrincipalComponentImages(ImagePointerVector v)
typename InterpolatorType::Pointer InterpolatorPointer
void PrintSelf(std::ostream &os, Indent indent) const override
std::vector< ExtrapolatorPointer > ExtrapolatorPointerVector
~PCAShapeSignedDistanceFunction() override=default
typename ImageType::Pointer ImagePointer
void SetNumberOfPrincipalComponents(unsigned int n)
typename FunctionType::Pointer FunctionPointer
std::vector< InterpolatorPointer > InterpolatorPointerVector
OutputType Evaluate(const PointType &point) const override
unsigned int GetNumberOfPoseParameters() const override
A templated class holding a geometric point in n-Dimensional space.
Base class for functions which evaluates the signed distance from a shape.
SmartPointer< Self > Pointer
ImageBaseType::PointType PointType
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