18 #ifndef __itkPCAShapeSignedDistanceFunction_h
19 #define __itkPCAShapeSignedDistanceFunction_h
65 template<
typename TCoordRep,
66 unsigned int VSpaceDimension,
67 typename TImage = Image< double, VSpaceDimension > >
87 itkStaticConstMacro(SpaceDimension,
unsigned int, Superclass::SpaceDimension);
111 itkGetStaticConstMacro(SpaceDimension),
131 void SetNumberOfPrincipalComponents(
unsigned int n);
133 itkGetConstMacro(NumberOfPrincipalComponents,
unsigned int);
137 itkGetModifiableObjectMacro(MeanImage,
ImageType);
142 { m_PrincipalComponentImages = v; }
149 itkSetMacro(PrincipalComponentStandardDeviations, ParametersType);
150 itkGetConstMacro(PrincipalComponentStandardDeviations, ParametersType);
154 itkSetObjectMacro(
Transform, TransformType);
155 itkGetModifiableObjectMacro(
Transform, TransformType);
159 virtual void SetParameters(
const ParametersType &);
161 virtual unsigned int GetNumberOfShapeParameters(
void)
const
162 {
return m_NumberOfPrincipalComponents; }
163 virtual unsigned int GetNumberOfPoseParameters(
void)
const
164 {
return m_Transform ? m_Transform->GetNumberOfParameters() : 0; }
167 virtual OutputType Evaluate(
const PointType & point)
const;
171 virtual void Initialize()
176 ~PCAShapeSignedDistanceFunction(){}
178 void PrintSelf(std::ostream & os,
Indent indent)
const;
182 void operator=(
const Self &);
205 #ifndef ITK_MANUAL_INSTANTIATION
206 #include "itkPCAShapeSignedDistanceFunction.hxx"