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;
161 #ifndef ITK_MANUAL_INSTANTIATION
162 #include "itkShapePriorMAPCostFunctionBase.hxx"
Array class with size defined at construction time.
TFeatureImage FeatureImageType
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
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
ShapeFunctionType::Pointer ShapeFunctionPointer
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
void operator=(const Self &)
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
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
ShapeFunctionPointer m_ShapeFunction
Control indentation during Print() invocation.
virtual MeasureType GetValue(const ParametersType ¶meters) const ITK_OVERRIDE
virtual unsigned int GetNumberOfParameters(void) const ITK_OVERRIDE
SingleValuedCostFunction Superclass
LevelSetNode< PixelType, itkGetStaticConstMacro(ImageDimension) > NodeType
virtual MeasureType ComputeLogGradientTerm(const ParametersType &) const =0
NodeContainerPointer m_ActiveRegion
ShapeSignedDistanceFunction< double, itkGetStaticConstMacro(ImageDimension) > ShapeFunctionType
virtual void GetDerivative(const ParametersType &, DerivativeType &) const ITK_OVERRIDE