18 #ifndef itkPCAShapeSignedDistanceFunction_h 19 #define itkPCAShapeSignedDistanceFunction_h 65 template<
typename TCoordRep,
66 unsigned int VSpaceDimension,
67 typename TImage = Image< double, VSpaceDimension > >
133 itkGetConstMacro(NumberOfPrincipalComponents,
unsigned int);
136 itkSetObjectMacro(MeanImage, ImageType);
137 itkGetModifiableObjectMacro(MeanImage, ImageType);
149 itkSetMacro(PrincipalComponentStandardDeviations, ParametersType);
150 itkGetConstMacro(PrincipalComponentStandardDeviations, ParametersType);
159 virtual void SetParameters(
const ParametersType &) ITK_OVERRIDE;
167 virtual OutputType
Evaluate(
const PointType & point)
const ITK_OVERRIDE;
182 void operator=(
const Self &) ITK_DELETE_FUNCTION;
204 #ifndef ITK_MANUAL_INSTANTIATION 205 #include "itkPCAShapeSignedDistanceFunction.hxx" ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension > Superclass
SmartPointer< Self > Pointer
Superclass::CoordRepType CoordRepType
virtual unsigned int GetNumberOfPoseParameters(void) const override
~PCAShapeSignedDistanceFunction()
ParametersType m_WeightOfPrincipalComponents
static const unsigned int SpaceDimension
std::vector< FunctionPointer > FunctionPointerVector
virtual void SetParameters(const ParametersType &) override
static const unsigned int SpaceDimension
InterpolateImageFunction< ImageType, CoordRepType > InterpolatorType
ExtrapolatorType::Pointer ExtrapolatorPointer
FunctionType::Pointer FunctionPointer
unsigned int m_NumberOfTransformParameters
Superclass::OutputType OutputType
virtual unsigned int GetNumberOfShapeParameters(void) const override
InterpolatorType::Pointer InterpolatorPointer
Compute the signed distance from a N-dimensional PCA Shape.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
ImagePointerVector m_PrincipalComponentImages
virtual void Initialize() override
Superclass::PointType PointType
virtual OutputType Evaluate(const PointType &point) const override
Base class for functions which evaluates the signed distance from a shape.
ImageFunction< ImageType, double, CoordRepType > FunctionType
Transform< CoordRepType, itkGetStaticConstMacro(SpaceDimension), itkGetStaticConstMacro(SpaceDimension) > TransformType
ImageType::Pointer ImagePointer
std::vector< InterpolatorPointer > InterpolatorPointerVector
Superclass::InputType InputType
void SetNumberOfPrincipalComponents(unsigned int n)
Superclass::InputType InputType
void operator=(const Self &) ITK_DELETE_FUNCTION
Standard exception handling object.
PCAShapeSignedDistanceFunction Self
unsigned int m_NumberOfPrincipalComponents
ParametersType m_TransformParameters
ExtrapolateImageFunction< ImageType, CoordRepType > ExtrapolatorType
ExtrapolatorPointerVector m_Extrapolators
Base class for all image interpolaters.
Superclass::ParametersType ParametersType
InterpolatorPointerVector m_Interpolators
std::vector< ExtrapolatorPointer > ExtrapolatorPointerVector
Superclass::OutputType OutputType
Control indentation during Print() invocation.
SmartPointer< const Self > ConstPointer
void PrintSelf(std::ostream &os, Indent indent) const override
std::vector< ImagePointer > ImagePointerVector
TransformType::Pointer m_Transform
Evaluates a function of an image at specified position.
PCAShapeSignedDistanceFunction()
void SetPrincipalComponentImages(ImagePointerVector v)
ParametersType m_PrincipalComponentStandardDeviations