18 #ifndef itkShapePriorMAPCostFunction_h
19 #define itkShapePriorMAPCostFunction_h
49 template <
typename TFeatureImage,
typename TOutputPixel>
79 static constexpr
unsigned int ImageDimension = TFeatureImage::ImageDimension;
85 using NodeType =
typename Superclass::NodeType;
99 itkSetMacro(ShapeParameterMeans,
ArrayType);
100 itkGetConstMacro(ShapeParameterMeans,
ArrayType);
104 itkSetMacro(ShapeParameterStandardDeviations,
ArrayType);
105 itkGetConstMacro(ShapeParameterStandardDeviations,
ArrayType);
123 ComputeLogInsideTerm(
const ParametersType & parameters)
const override;
131 ComputeLogGradientTerm(
const ParametersType & parameters)
const override;
138 ComputeLogShapePriorTerm(
const ParametersType & parameters)
const override;
144 ComputeLogPosePriorTerm(
const ParametersType & parameters)
const override;
149 Initialize()
override;
156 PrintSelf(std::ostream & os,
Indent indent)
const override;
167 #ifndef ITK_MANUAL_INSTANTIATION
168 # include "itkShapePriorMAPCostFunction.hxx"