Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel > Class Template Reference
[NumericsOptimizers]

Represents the base class of maximum aprior (MAP) cost function used ShapePriorSegmentationLevelSetImageFilter to estimate the shape paramaeters. More...

#include <itkShapePriorMAPCostFunctionBase.h>

Inheritance diagram for itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >:

Inheritance graph
[legend]
Collaboration diagram for itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ShapePriorMAPCostFunctionBase Self
typedef SingleValuedCostFunction Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::MeasureType MeasureType
typedef Superclass::DerivativeType DerivativeType
typedef Superclass::ParametersType ParametersType
typedef TFeatureImage FeatureImageType
typedef FeatureImageType::ConstPointer FeatureImagePointer
typedef TOutputPixel PixelType
typedef LevelSetNode< PixelType,
itkGetStaticConstMacro(ImageDimension) 
NodeType )
typedef VectorContainer< unsigned
int, NodeType
NodeContainerType
typedef NodeContainerType::ConstPointer NodeContainerPointer
typedef ShapeSignedDistanceFunction<
double, itkGetStaticConstMacro(ImageDimension) 
ShapeFunctionType )
typedef ShapeFunctionType::Pointer ShapeFunctionPointer

Public Member Functions

virtual const char * GetNameOfClass () const
 itkStaticConstMacro (ImageDimension, unsigned int, TFeatureImage::ImageDimension)
virtual MeasureType GetValue (const ParametersType &parameters) const
virtual void GetDerivative (const ParametersType &, DerivativeType &) const
virtual unsigned int GetNumberOfParameters (void) const
virtual MeasureType ComputeLogInsideTerm (const ParametersType &) const=0
virtual MeasureType ComputeLogGradientTerm (const ParametersType &) const=0
virtual MeasureType ComputeLogShapePriorTerm (const ParametersType &) const=0
virtual MeasureType ComputeLogPosePriorTerm (const ParametersType &) const=0
virtual void Initialize (void) throw ( ExceptionObject )
virtual void SetShapeFunction (ShapeFunctionType *_arg)
virtual ShapeFunctionTypeGetShapeFunction ()
virtual void SetActiveRegion (const NodeContainerType *_arg)
virtual const NodeContainerTypeGetActiveRegion ()
virtual void SetFeatureImage (const FeatureImageType *_arg)
virtual const FeatureImageTypeGetFeatureImage ()

Protected Member Functions

 ShapePriorMAPCostFunctionBase ()
virtual ~ShapePriorMAPCostFunctionBase ()
void PrintSelf (std::ostream &os, Indent indent) const

Protected Attributes

ShapeFunctionPointer m_ShapeFunction
NodeContainerPointer m_ActiveRegion
FeatureImagePointer m_FeatureImage

Detailed Description

template<class TFeatureImage, class TOutputPixel>
class itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >

Represents the base class of maximum aprior (MAP) cost function used ShapePriorSegmentationLevelSetImageFilter to estimate the shape paramaeters.

This class follows the shape and pose parameters estimation developed in [1].

This class has two template parameters, the feature image type representing the edge potential map and the pixel type used to represent the output level set in the ShapePriorSegmentationLevelSetImageFilter.

See also:
ShapePriorSegmentationLevelSetImageFilter
REFERENCES
[1] Leventon, M.E. et al. "Statistical Shape Influence in Geodesic Active Contours", CVPR 2000.

Definition at line 47 of file itkShapePriorMAPCostFunctionBase.h.


Member Typedef Documentation

template<class TFeatureImage, class TOutputPixel>
typedef SmartPointer<const Self> itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::ConstPointer
 

Reimplemented from itk::SingleValuedCostFunction.

Reimplemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

Definition at line 55 of file itkShapePriorMAPCostFunctionBase.h.

template<class TFeatureImage, class TOutputPixel>
typedef Superclass::DerivativeType itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::DerivativeType
 

DerivativeType typedef. It defines a type used to return the cost function derivative.

Reimplemented from itk::SingleValuedCostFunction.

Definition at line 66 of file itkShapePriorMAPCostFunctionBase.h.

template<class TFeatureImage, class TOutputPixel>
typedef FeatureImageType::ConstPointer itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::FeatureImagePointer
 

Reimplemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

Definition at line 74 of file itkShapePriorMAPCostFunctionBase.h.

Referenced by itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::~ShapePriorMAPCostFunctionBase().

template<class TFeatureImage, class TOutputPixel>
typedef TFeatureImage itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::FeatureImageType
 

Type of the feature image representing the edge potential map.

Reimplemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

Definition at line 73 of file itkShapePriorMAPCostFunctionBase.h.

template<class TFeatureImage, class TOutputPixel>
typedef Superclass::MeasureType itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::MeasureType
 

MeasureType typedef. It defines a type used to return the cost function value.

Reimplemented from itk::SingleValuedCostFunction.

Reimplemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

Definition at line 62 of file itkShapePriorMAPCostFunctionBase.h.

Referenced by itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::GetNumberOfParameters().

template<class TFeatureImage, class TOutputPixel>
typedef NodeContainerType::ConstPointer itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::NodeContainerPointer
 

Definition at line 87 of file itkShapePriorMAPCostFunctionBase.h.

Referenced by itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::~ShapePriorMAPCostFunctionBase().

template<class TFeatureImage, class TOutputPixel>
typedef VectorContainer<unsigned int, NodeType> itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::NodeContainerType
 

Type of container used to store the level set nodes.

Reimplemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

Definition at line 86 of file itkShapePriorMAPCostFunctionBase.h.

template<class TFeatureImage, class TOutputPixel>
typedef LevelSetNode<PixelType, itkGetStaticConstMacro(ImageDimension) itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::NodeType)
 

Type of node used to represent the active region around the zero set.

Reimplemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

Definition at line 83 of file itkShapePriorMAPCostFunctionBase.h.

template<class TFeatureImage, class TOutputPixel>
typedef Superclass::ParametersType itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::ParametersType
 

ParametersType typedef. It defines a position in the optimization search space.

Reimplemented from itk::SingleValuedCostFunction.

Reimplemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

Definition at line 70 of file itkShapePriorMAPCostFunctionBase.h.

Referenced by itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::GetNumberOfParameters().

template<class TFeatureImage, class TOutputPixel>
typedef TOutputPixel itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::PixelType
 

Type of pixel used to represent the level set.

Reimplemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

Definition at line 80 of file itkShapePriorMAPCostFunctionBase.h.

template<class TFeatureImage, class TOutputPixel>
typedef SmartPointer<Self> itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::Pointer
 

Reimplemented from itk::SingleValuedCostFunction.

Reimplemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

Definition at line 54 of file itkShapePriorMAPCostFunctionBase.h.

template<class TFeatureImage, class TOutputPixel>
typedef ShapePriorMAPCostFunctionBase itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::Self
 

Standard class typedefs.

Reimplemented from itk::SingleValuedCostFunction.

Reimplemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

Definition at line 52 of file itkShapePriorMAPCostFunctionBase.h.

template<class TFeatureImage, class TOutputPixel>
typedef ShapeFunctionType::Pointer itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::ShapeFunctionPointer
 

Definition at line 92 of file itkShapePriorMAPCostFunctionBase.h.

Referenced by itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::~ShapePriorMAPCostFunctionBase().

template<class TFeatureImage, class TOutputPixel>
typedef ShapeSignedDistanceFunction<double, itkGetStaticConstMacro(ImageDimension) itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::ShapeFunctionType)
 

Type of the shape signed distance function.

Reimplemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

Definition at line 91 of file itkShapePriorMAPCostFunctionBase.h.

template<class TFeatureImage, class TOutputPixel>
typedef SingleValuedCostFunction itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::Superclass
 

Reimplemented from itk::SingleValuedCostFunction.

Reimplemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

Definition at line 53 of file itkShapePriorMAPCostFunctionBase.h.


Constructor & Destructor Documentation

template<class TFeatureImage, class TOutputPixel>
itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::ShapePriorMAPCostFunctionBase  )  [protected]
 

template<class TFeatureImage, class TOutputPixel>
virtual itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::~ShapePriorMAPCostFunctionBase  )  [inline, protected, virtual]
 

Definition at line 147 of file itkShapePriorMAPCostFunctionBase.h.

References itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::FeatureImagePointer, itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::NodeContainerPointer, and itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::ShapeFunctionPointer.


Member Function Documentation

template<class TFeatureImage, class TOutputPixel>
virtual MeasureType itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::ComputeLogGradientTerm const ParametersType  )  const [pure virtual]
 

Compute the gradient term component of the MAP cost function. Subclasses should override this function

Implemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

template<class TFeatureImage, class TOutputPixel>
virtual MeasureType itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::ComputeLogInsideTerm const ParametersType  )  const [pure virtual]
 

Compute the inside term component of the MAP cost function. Subclasses should override this function

Implemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

template<class TFeatureImage, class TOutputPixel>
virtual MeasureType itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::ComputeLogPosePriorTerm const ParametersType  )  const [pure virtual]
 

Compute the pose prior component of the MAP cost function. Subclasses should override this function

Implemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

template<class TFeatureImage, class TOutputPixel>
virtual MeasureType itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::ComputeLogShapePriorTerm const ParametersType  )  const [pure virtual]
 

Compute the shape prior component of the MAP cost function. Subclasses should override this function

Implemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

template<class TFeatureImage, class TOutputPixel>
virtual const NodeContainerType* itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::GetActiveRegion  )  [virtual]
 

Set/Get the active region.

template<class TFeatureImage, class TOutputPixel>
virtual void itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::GetDerivative const ParametersType ,
DerivativeType
const [inline, virtual]
 

This method returns the derivative of the cost function corresponding to the specified parameters.

Implements itk::SingleValuedCostFunction.

Definition at line 116 of file itkShapePriorMAPCostFunctionBase.h.

template<class TFeatureImage, class TOutputPixel>
virtual const FeatureImageType* itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::GetFeatureImage  )  [virtual]
 

Set/Get the feature image.

template<class TFeatureImage, class TOutputPixel>
virtual const char* itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::SingleValuedCostFunction.

Reimplemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

template<class TFeatureImage, class TOutputPixel>
virtual unsigned int itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::GetNumberOfParameters void   )  const [inline, virtual]
 

Return the number of parameters.

Implements itk::CostFunction.

Definition at line 120 of file itkShapePriorMAPCostFunctionBase.h.

References itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::MeasureType, and itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::ParametersType.

template<class TFeatureImage, class TOutputPixel>
virtual ShapeFunctionType* itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::GetShapeFunction  )  [virtual]
 

Set/Get the shape distance function.

template<class TFeatureImage, class TOutputPixel>
virtual MeasureType itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::GetValue const ParametersType parameters  )  const [virtual]
 

This method returns the value of the cost function corresponding to the specified parameters.

Implements itk::SingleValuedCostFunction.

template<class TFeatureImage, class TOutputPixel>
virtual void itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::Initialize void   )  throw ( ExceptionObject ) [virtual]
 

Initialize the cost function by making sure that all the components are present.

Reimplemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

template<class TFeatureImage, class TOutputPixel>
itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
TFeatureImage::ImageDimension 
 

Dimension constant.

Reimplemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

template<class TFeatureImage, class TOutputPixel>
void itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::CostFunction.

Reimplemented in itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >.

template<class TFeatureImage, class TOutputPixel>
virtual void itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::SetActiveRegion const NodeContainerType _arg  )  [virtual]
 

Set/Get the active region.

template<class TFeatureImage, class TOutputPixel>
virtual void itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::SetFeatureImage const FeatureImageType _arg  )  [virtual]
 

Set/Get the feature image.

template<class TFeatureImage, class TOutputPixel>
virtual void itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::SetShapeFunction ShapeFunctionType _arg  )  [virtual]
 

Set/Get the shape distance function.


Member Data Documentation

template<class TFeatureImage, class TOutputPixel>
NodeContainerPointer itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::m_ActiveRegion [protected]
 

Definition at line 152 of file itkShapePriorMAPCostFunctionBase.h.

template<class TFeatureImage, class TOutputPixel>
FeatureImagePointer itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::m_FeatureImage [protected]
 

Definition at line 153 of file itkShapePriorMAPCostFunctionBase.h.

template<class TFeatureImage, class TOutputPixel>
ShapeFunctionPointer itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::m_ShapeFunction [protected]
 

Definition at line 151 of file itkShapePriorMAPCostFunctionBase.h.


The documentation for this class was generated from the following file:
Generated at Thu May 25 02:18:44 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000