18 #ifndef itkPCAShapeSignedDistanceFunction_h
19 #define itkPCAShapeSignedDistanceFunction_h
66 template <
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;
130 SetNumberOfPrincipalComponents(
unsigned int n);
132 itkGetConstMacro(NumberOfPrincipalComponents,
unsigned int);
136 itkGetModifiableObjectMacro(MeanImage,
ImageType);
143 m_PrincipalComponentImages = v;
151 itkSetMacro(PrincipalComponentStandardDeviations, ParametersType);
152 itkGetConstMacro(PrincipalComponentStandardDeviations, ParametersType);
156 itkSetObjectMacro(
Transform, TransformType);
157 itkGetModifiableObjectMacro(
Transform, TransformType);
162 SetParameters(
const ParametersType &)
override;
167 return m_NumberOfPrincipalComponents;
172 return m_Transform ? m_Transform->GetNumberOfParameters() : 0;
182 Initialize()
override;
189 PrintSelf(std::ostream & os,
Indent indent)
const override;
193 unsigned int m_NumberOfPrincipalComponents{};
194 unsigned int m_NumberOfTransformParameters{};
212 #ifndef ITK_MANUAL_INSTANTIATION
213 # include "itkPCAShapeSignedDistanceFunction.hxx"