18 #ifndef itkShapePriorMAPCostFunctionBase_h
19 #define itkShapePriorMAPCostFunctionBase_h
47 template<
typename TFeatureImage,
typename TOutputPixel >
78 itkStaticConstMacro(
ImageDimension,
unsigned int, TFeatureImage::ImageDimension);
117 { itkExceptionMacro(<<
"This function is currently not supported."); }
146 virtual ~ShapePriorMAPCostFunctionBase() {}
148 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
157 void operator=(const
Self &) ITK_DELETE_FUNCTION;
161 #ifndef ITK_MANUAL_INSTANTIATION
162 #include "itkShapePriorMAPCostFunctionBase.hxx"
Array class with size defined at construction time.
TFeatureImage FeatureImageType
NodeContainerType::ConstPointer NodeContainerPointer
Superclass::DerivativeType DerivativeType
This class is a base for the CostFunctions returning a single value.
Light weight base class for most itk classes.
VectorContainer< unsigned int, NodeType > NodeContainerType
ShapePriorMAPCostFunctionBase()
Superclass::ParametersType ParametersType
virtual void Initialize(void)
Superclass::MeasureType MeasureType
SmartPointer< const Self > ConstPointer
virtual MeasureType GetValue(const ParametersType ¶meters) const override
ShapeFunctionType::Pointer ShapeFunctionPointer
virtual void PrintSelf(std::ostream &os, Indent indent) const override
Base class for functions which evaluates the signed distance from a shape.
static const unsigned int ImageDimension
FeatureImagePointer m_FeatureImage
virtual MeasureType ComputeLogPosePriorTerm(const ParametersType &) const =0
Array< ParametersValueType > DerivativeType
Represent a node in a level set.
virtual MeasureType ComputeLogInsideTerm(const ParametersType &) const =0
Standard exception handling object.
SmartPointer< Self > Pointer
ShapePriorMAPCostFunctionBase Self
Represents the base class of maximum aprior (MAP) cost function used ShapePriorSegmentationLevelSetIm...
Superclass::ParametersType ParametersType
virtual MeasureType ComputeLogShapePriorTerm(const ParametersType &) const =0
FeatureImageType::ConstPointer FeatureImagePointer
virtual void GetDerivative(const ParametersType &, DerivativeType &) const override
virtual unsigned int GetNumberOfParameters(void) const override
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
ShapeFunctionPointer m_ShapeFunction
Control indentation during Print() invocation.
SingleValuedCostFunction Superclass
LevelSetNode< PixelType, itkGetStaticConstMacro(ImageDimension) > NodeType
virtual MeasureType ComputeLogGradientTerm(const ParametersType &) const =0
NodeContainerPointer m_ActiveRegion
ShapeSignedDistanceFunction< double, itkGetStaticConstMacro(ImageDimension) > ShapeFunctionType