18 #ifndef itkShapePriorMAPCostFunctionBase_h
19 #define itkShapePriorMAPCostFunctionBase_h
47 template <
typename TFeatureImage,
typename TOutputPixel>
79 static constexpr
unsigned int ImageDimension = TFeatureImage::ImageDimension;
120 itkExceptionMacro(<<
"This function is currently not supported.");
127 return m_ShapeFunction->GetNumberOfParameters();
133 ComputeLogInsideTerm(
const ParametersType &)
const = 0;
138 ComputeLogGradientTerm(
const ParametersType &)
const = 0;
143 ComputeLogShapePriorTerm(
const ParametersType &)
const = 0;
148 ComputeLogPosePriorTerm(
const ParametersType &)
const = 0;
160 PrintSelf(std::ostream & os,
Indent indent)
const override;
169 #ifndef ITK_MANUAL_INSTANTIATION
170 # include "itkShapePriorMAPCostFunctionBase.hxx"