18#ifndef itkPCAShapeSignedDistanceFunction_h
19#define itkPCAShapeSignedDistanceFunction_h
66template <
typename TCoordRep,
unsigned int VSpaceDimension,
typename TImage = Image<
double, VSpaceDimension>>
87 static constexpr unsigned int SpaceDimension = Superclass::SpaceDimension;
90 using typename Superclass::CoordRepType;
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.
void Initialize() override
std::vector< FunctionPointer > FunctionPointerVector
std::vector< ExtrapolatorPointer > ExtrapolatorPointerVector
std::vector< InterpolatorPointer > InterpolatorPointerVector
typename ExtrapolatorType::Pointer ExtrapolatorPointer
void SetParameters(const ParametersType &) override
void PrintSelf(std::ostream &os, Indent indent) const override
OutputType Evaluate(const PointType &point) const override
void SetNumberOfPrincipalComponents(unsigned int n)
unsigned int GetNumberOfPoseParameters() const override
PCAShapeSignedDistanceFunction()
typename ImageType::Pointer ImagePointer
typename InterpolatorType::Pointer InterpolatorPointer
void SetPrincipalComponentImages(ImagePointerVector v)
unsigned int GetNumberOfShapeParameters() const override
typename FunctionType::Pointer FunctionPointer
~PCAShapeSignedDistanceFunction() override=default
std::vector< ImagePointer > ImagePointerVector
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