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

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

#include <itkShapePriorMAPCostFunction.h>

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

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

Collaboration graph
[legend]

List of all members.


Detailed Description

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

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

This class follows the shape and pose parameters estimation developed in [1]. Note that this class returns the negative log of the MAP function. Using the negative function make this cost function compatible with generic optimizers which seeks the minimum of a cost function.

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 49 of file itkShapePriorMAPCostFunction.h.

typedef FixedArray< double, 4 > WeightsType
virtual const WeightsTypeGetWeights ()
virtual void SetWeights (WeightsType _arg)

Public Types

typedef Array< double > ArrayType
typedef SmartPointer< const SelfConstPointer
typedef Superclass::DerivativeType DerivativeType
typedef
Superclass::FeatureImagePointer 
FeatureImagePointer
typedef
Superclass::FeatureImageType 
FeatureImageType
typedef Superclass::MeasureType MeasureType
typedef
NodeContainerType::ConstPointer 
NodeContainerPointer
typedef
Superclass::NodeContainerType 
NodeContainerType
typedef Superclass::NodeType NodeType
typedef Superclass::ParametersType ParametersType
typedef double ParametersValueType
typedef Superclass::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef ShapePriorMAPCostFunction Self
typedef ShapeFunctionType::Pointer ShapeFunctionPointer
typedef
Superclass::ShapeFunctionType 
ShapeFunctionType
typedef
ShapePriorMAPCostFunctionBase
< TFeatureImage, TOutputPixel > 
Superclass

Public Member Functions

virtual MeasureType ComputeLogGradientTerm (const ParametersType &parameters) const
virtual MeasureType ComputeLogInsideTerm (const ParametersType &parameters) const
virtual MeasureType ComputeLogPosePriorTerm (const ParametersType &parameters) const
virtual MeasureType ComputeLogShapePriorTerm (const ParametersType &parameters) const
virtual LightObject::Pointer CreateAnother () const
virtual void DebugOff () const
virtual void DebugOn () const
virtual void Delete ()
CommandGetCommand (unsigned long tag)
bool GetDebug () const
virtual void GetDerivative (const ParametersType &parameters, DerivativeType &derivative) const =0
virtual void GetDerivative (const ParametersType &, DerivativeType &) const
const MetaDataDictionaryGetMetaDataDictionary (void) const
MetaDataDictionaryGetMetaDataDictionary (void)
virtual unsigned long GetMTime () const
virtual const char * GetNameOfClass () const
virtual unsigned int GetNumberOfParameters (void) const
virtual int GetReferenceCount () const
virtual MeasureType GetValue (const ParametersType &parameters) const =0
virtual MeasureType GetValue (const ParametersType &parameters) const
bool HasObserver (const EventObject &event) const
virtual void Initialize (void) throw ( ExceptionObject )
void InvokeEvent (const EventObject &) const
void InvokeEvent (const EventObject &)
 itkStaticConstMacro (ImageDimension, unsigned int, TFeatureImage::ImageDimension)
virtual void Modified () const
void Print (std::ostream &os, Indent indent=0) const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () const
unsigned long AddObserver (const EventObject &event, Command *) const
unsigned long AddObserver (const EventObject &event, Command *)
virtual const NodeContainerTypeGetActiveRegion ()
virtual void SetActiveRegion (const NodeContainerType *_arg)
virtual const FeatureImageTypeGetFeatureImage ()
virtual void SetFeatureImage (const FeatureImageType *_arg)
virtual ShapeFunctionTypeGetShapeFunction ()
virtual void SetShapeFunction (ShapeFunctionType *_arg)
virtual ArrayType GetShapeParameterMeans ()
virtual void SetShapeParameterMeans (ArrayType _arg)
virtual ArrayType GetShapeParameterStandardDeviations ()
virtual void SetShapeParameterStandardDeviations (ArrayType _arg)
virtual void GetValueAndDerivative (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const

Static Public Member Functions

static void BreakOnError ()
static Pointer New ()
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static void SetGlobalWarningDisplay (bool flag)

Protected Types

typedef int InternalReferenceCountType

Protected Member Functions

bool PrintObservers (std::ostream &os, Indent indent) const
void PrintSelf (std::ostream &os, Indent indent) const
 ShapePriorMAPCostFunction ()
virtual ~ShapePriorMAPCostFunction ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const

Protected Attributes

NodeContainerPointer m_ActiveRegion
FeatureImagePointer m_FeatureImage
InternalReferenceCountType m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock
ShapeFunctionPointer m_ShapeFunction

Member Typedef Documentation

template<class TFeatureImage, class TOutputPixel>
typedef Array<double> itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::ArrayType

Type of the array for storing shape parameter mean and standard deivation.

Definition at line 93 of file itkShapePriorMAPCostFunction.h.

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

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

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 Superclass::FeatureImagePointer itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::FeatureImagePointer

template<class TFeatureImage, class TOutputPixel>
typedef Superclass::FeatureImageType itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::FeatureImageType

Type of the feature image representing the edge potential map.

Reimplemented from itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >.

Definition at line 71 of file itkShapePriorMAPCostFunction.h.

typedef int itk::LightObject::InternalReferenceCountType [protected, inherited]

Define the type of the reference count according to the target. This allows the use of atomic operations

Definition at line 139 of file itkLightObject.h.

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

Type of the return measure value.

Reimplemented from itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >.

Definition at line 75 of file itkShapePriorMAPCostFunction.h.

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

Definition at line 87 of file itkShapePriorMAPCostFunctionBase.h.

template<class TFeatureImage, class TOutputPixel>
typedef Superclass::NodeContainerType itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::NodeContainerType

Type of container used to store the level set nodes.

Reimplemented from itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >.

Definition at line 87 of file itkShapePriorMAPCostFunction.h.

template<class TFeatureImage, class TOutputPixel>
typedef Superclass::NodeType itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::NodeType

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

Reimplemented from itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >.

Definition at line 84 of file itkShapePriorMAPCostFunction.h.

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

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

Reimplemented from itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >.

Definition at line 64 of file itkShapePriorMAPCostFunction.h.

typedef double itk::CostFunction::ParametersValueType [inherited]

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

Definition at line 46 of file itkCostFunction.h.

template<class TFeatureImage, class TOutputPixel>
typedef Superclass::PixelType itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::PixelType

Type of pixel used to represent the level set.

Reimplemented from itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >.

Definition at line 81 of file itkShapePriorMAPCostFunction.h.

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

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

Standard class typedefs.

Reimplemented from itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >.

Definition at line 54 of file itkShapePriorMAPCostFunction.h.

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

Definition at line 92 of file itkShapePriorMAPCostFunctionBase.h.

template<class TFeatureImage, class TOutputPixel>
typedef Superclass::ShapeFunctionType itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::ShapeFunctionType

Type of the shape signed distance function.

Reimplemented from itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >.

Definition at line 90 of file itkShapePriorMAPCostFunction.h.

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

template<class TFeatureImage, class TOutputPixel>
typedef FixedArray<double,4> itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::WeightsType

Set/Get the weights for each term. Default is a vector of all ones. The weights are applied to terms in the following order: LogInsideTerm, LogGradientTerm, LogShapePriorTerm and LogPosePriorTerm.

Definition at line 102 of file itkShapePriorMAPCostFunction.h.


Constructor & Destructor Documentation

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

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

Definition at line 145 of file itkShapePriorMAPCostFunction.h.


Member Function Documentation

unsigned long itk::Object::AddObserver ( const EventObject event,
Command  
) const [inherited]

Allow people to add/remove/invoke observers (callbacks) to any ITK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects

unsigned long itk::Object::AddObserver ( const EventObject event,
Command  
) [inherited]

Allow people to add/remove/invoke observers (callbacks) to any ITK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects

static void itk::LightObject::BreakOnError (  )  [static, inherited]

This method is called when itkExceptionMacro executes. It allows the debugger to break on error.

template<class TFeatureImage, class TOutputPixel>
virtual MeasureType itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::ComputeLogGradientTerm ( const ParametersType parameters  )  const [virtual]

Compute the gradient term component of the MAP cost function. In particular, this method assume that ( 1 - FeatureImage ) approximates a Gaussian (zero mean, unit variance) algon the normal of the evolving contour. The gradient term is then given by a Laplacian of the goodness of fit of the Gaussian.

Implements itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >.

template<class TFeatureImage, class TOutputPixel>
virtual MeasureType itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::ComputeLogInsideTerm ( const ParametersType parameters  )  const [virtual]

Compute the inside term component of the MAP cost function. In particular, the method sums the number of pixels inside the current contour (defined by nodes of the active region that are less than zero) which are outside the shape specified by the input parameters.

Implements itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >.

template<class TFeatureImage, class TOutputPixel>
virtual MeasureType itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::ComputeLogPosePriorTerm ( const ParametersType parameters  )  const [virtual]

Compute the pose prior component of the MAP cost function. In particular, this method assumes that the pose parameters are uniformly distributed and returns a constant of zero.

Implements itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >.

template<class TFeatureImage, class TOutputPixel>
virtual MeasureType itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::ComputeLogShapePriorTerm ( const ParametersType parameters  )  const [virtual]

Compute the shape prior component of the MAP cost function. In particular, the method assumes that the shape parameters comes from independent Gaussian distributions defined by the ShapeParameterMeans and ShapeParameterVariances array.

Implements itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >.

virtual LightObject::Pointer itk::Object::CreateAnother (  )  const [virtual, inherited]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::LightObject.

virtual void itk::Object::DebugOff (  )  const [virtual, inherited]

Turn debugging output off.

virtual void itk::Object::DebugOn (  )  const [virtual, inherited]

Turn debugging output on.

virtual void itk::LightObject::Delete (  )  [virtual, inherited]

Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.

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

Set/Get the active region.

Command* itk::Object::GetCommand ( unsigned long  tag  )  [inherited]

Get the command associated with the given tag. NOTE: This returns a pointer to a Command, but it is safe to asign this to a Command::Pointer. Since Command inherits from LightObject, at this point in the code, only a pointer or a reference to the Command can be used.

bool itk::Object::GetDebug (  )  const [inherited]

Get the value of the debug flag.

virtual void itk::SingleValuedCostFunction::GetDerivative ( const ParametersType parameters,
DerivativeType derivative 
) const [pure virtual, inherited]

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

Implemented in itk::Statistics::GoodnessOfFitMixtureModelCostFunction< TInputSample >.

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

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

Definition at line 116 of file itkShapePriorMAPCostFunctionBase.h.

References itkExceptionMacro.

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

Set/Get the feature image.

static bool itk::Object::GetGlobalWarningDisplay (  )  [static, inherited]

This is a global flag that controls whether any debug, warning or error messages are displayed.

const MetaDataDictionary& itk::Object::GetMetaDataDictionary ( void   )  const [inherited]

Returns:
A constant reference to this objects MetaDataDictionary.

MetaDataDictionary& itk::Object::GetMetaDataDictionary ( void   )  [inherited]

Returns:
A reference to this objects MetaDataDictionary.
Warning:
This reference may be changed.

virtual unsigned long itk::Object::GetMTime (  )  const [virtual, inherited]

Return this objects modified time.

Reimplemented in itk::ImageRegistrationMethod< TFixedImage, TMovingImage >, itk::ImageToSpatialObjectRegistrationMethod< TFixedImage, TMovingSpatialObject >, itk::MultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >, itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >, itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >, itk::DeformationFieldSource< TOutputImage >, itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >, itk::ImageAdaptor< TImage, TAccessor >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >, itk::ImageSpatialObject< TDimension, TPixelType >, itk::MeshSpatialObject< TMesh >, itk::SceneSpatialObject< TSpaceDimension >, itk::SpatialObject< TDimension >, itk::ImageAdaptor< TImage, itk::Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< itk::VectorImage< TPixelType, Dimension >, itk::Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, itk::PixelAccessor< TInternalType, TExternalType > >, itk::ImageAdaptor< TImage, itk::Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, itk::Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageSpatialObject< TDimension, unsigned char >, itk::SpatialObject< 3 >, and itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >.

Referenced by itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >::GetObjectMTime().

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

Run-time type information (and related methods).

Reimplemented from itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >.

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

Return the number of parameters.

Implements itk::CostFunction.

Definition at line 120 of file itkShapePriorMAPCostFunctionBase.h.

virtual int itk::LightObject::GetReferenceCount (  )  const [inline, virtual, inherited]

Gets the reference count on this object.

Definition at line 106 of file itkLightObject.h.

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

Set/Get the shape distance function.

template<class TFeatureImage, class TOutputPixel>
virtual ArrayType itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::GetShapeParameterMeans (  )  [virtual]

Set/Get the array of shape parameters mean.

template<class TFeatureImage, class TOutputPixel>
virtual ArrayType itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::GetShapeParameterStandardDeviations (  )  [virtual]

Set/Get the array of shape parameters standard deviation.

virtual MeasureType itk::SingleValuedCostFunction::GetValue ( const ParametersType parameters  )  const [pure virtual, inherited]

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

Implemented in itk::Statistics::GoodnessOfFitMixtureModelCostFunction< TInputSample >.

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

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

virtual void itk::SingleValuedCostFunction::GetValueAndDerivative ( const ParametersType parameters,
MeasureType value,
DerivativeType derivative 
) const [inline, virtual, inherited]

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

Definition at line 71 of file itkSingleValuedCostFunction.h.

template<class TFeatureImage, class TOutputPixel>
virtual const WeightsType& itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::GetWeights (  )  [virtual]

Set/Get the weights for each term. Default is a vector of all ones. The weights are applied to terms in the following order: LogInsideTerm, LogGradientTerm, LogShapePriorTerm and LogPosePriorTerm.

static void itk::Object::GlobalWarningDisplayOff (  )  [inline, static, inherited]

This is a global flag that controls whether any debug, warning or error messages are displayed.

Definition at line 100 of file itkObject.h.

References itk::Object::SetGlobalWarningDisplay().

static void itk::Object::GlobalWarningDisplayOn (  )  [inline, static, inherited]

This is a global flag that controls whether any debug, warning or error messages are displayed.

Definition at line 98 of file itkObject.h.

References itk::Object::SetGlobalWarningDisplay().

bool itk::Object::HasObserver ( const EventObject event  )  const [inherited]

Return true if an observer is registered for this event.

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

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

Reimplemented from itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >.

void itk::Object::InvokeEvent ( const EventObject  )  const [inherited]

Call Execute on all the Commands observing this event id. The actions triggered by this call doesn't modify this object.

void itk::Object::InvokeEvent ( const EventObject  )  [inherited]

Call Execute on all the Commands observing this event id.

template<class TFeatureImage, class TOutputPixel>
itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
TFeatureImage::ImageDimension   
)

virtual void itk::Object::Modified (  )  const [virtual, inherited]

Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data.

Reimplemented in itk::NormalizeImageFilter< TInputImage, TOutputImage >, itk::ImageAdaptor< TImage, TAccessor >, itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, TFilter >, itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleErodeImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >, itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >, itk::ImageAdaptor< TImage, itk::Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< itk::VectorImage< TPixelType, Dimension >, itk::Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, itk::PixelAccessor< TInternalType, TExternalType > >, itk::ImageAdaptor< TImage, itk::Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, itk::Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, itk::RankImageFilter< TInputImage, TInputImage, itk::FlatStructuringElement< ::itk::GetImageDimension< TInputImage >::ImageDimension > > >.

Referenced by itk::NarrowBandImageFilterBase< TInputImage, itk::Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::InsertNarrowBandNode(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetCenter(), itk::HistogramAlgorithmBase< TInputHistogram >::SetInputHistogram(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetMatrix(), itk::NarrowBandImageFilterBase< TInputImage, itk::Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBand(), itk::NarrowBandImageFilterBase< TInputImage, itk::Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBandInnerRadius(), itk::NarrowBandImageFilterBase< TInputImage, itk::Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBandTotalRadius(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetOffset(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds(), itk::CollidingFrontsImageFilter< TInputImage, TOutputImage >::SetSeedPoints1(), itk::CollidingFrontsImageFilter< TInputImage, TOutputImage >::SetSeedPoints2(), itk::NonUniformBSpline< TDimension >::SetSplineOrder(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds(), itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::SetTotalObservedScale(), and itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetTranslation().

template<class TFeatureImage, class TOutputPixel>
static Pointer itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::New (  )  [static]

Method for creation through the object factory.

Reimplemented from itk::Object.

void itk::LightObject::Print ( std::ostream &  os,
Indent  indent = 0 
) const [inherited]

virtual void itk::LightObject::PrintHeader ( std::ostream &  os,
Indent  indent 
) const [protected, virtual, inherited]

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.

bool itk::Object::PrintObservers ( std::ostream &  os,
Indent  indent 
) const [protected, inherited]

template<class TFeatureImage, class TOutputPixel>
void itk::ShapePriorMAPCostFunction< 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::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >.

virtual void itk::LightObject::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const [protected, virtual, inherited]

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.

virtual void itk::Object::Register (  )  const [virtual, inherited]

Increase the reference count (mark as used by another object).

Reimplemented from itk::LightObject.

void itk::Object::RemoveAllObservers (  )  [inherited]

Remove all observers .

void itk::Object::RemoveObserver ( unsigned long  tag  )  [inherited]

Remove the observer with this tag value.

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

Set/Get the active region.

void itk::Object::SetDebug ( bool  debugFlag  )  const [inherited]

Set the value of the debug flag. A non-zero value turns debugging on.

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

Set/Get the feature image.

static void itk::Object::SetGlobalWarningDisplay ( bool  flag  )  [static, inherited]

This is a global flag that controls whether any debug, warning or error messages are displayed.

Referenced by itk::Object::GlobalWarningDisplayOff(), and itk::Object::GlobalWarningDisplayOn().

void itk::Object::SetMetaDataDictionary ( const MetaDataDictionary rhs  )  [inherited]

Returns:
Set the MetaDataDictionary

virtual void itk::Object::SetReferenceCount ( int   )  [virtual, inherited]

Sets the reference count (use with care)

Reimplemented from itk::LightObject.

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

Set/Get the shape distance function.

template<class TFeatureImage, class TOutputPixel>
virtual void itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::SetShapeParameterMeans ( ArrayType  _arg  )  [virtual]

Set/Get the array of shape parameters mean.

template<class TFeatureImage, class TOutputPixel>
virtual void itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::SetShapeParameterStandardDeviations ( ArrayType  _arg  )  [virtual]

Set/Get the array of shape parameters standard deviation.

template<class TFeatureImage, class TOutputPixel>
virtual void itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::SetWeights ( WeightsType  _arg  )  [virtual]

Set/Get the weights for each term. Default is a vector of all ones. The weights are applied to terms in the following order: LogInsideTerm, LogGradientTerm, LogShapePriorTerm and LogPosePriorTerm.

virtual void itk::Object::UnRegister (  )  const [virtual, inherited]

Decrease the reference count (release by another object).

Reimplemented from itk::LightObject.

Referenced by itk::SmartPointer< itk::MutualInformationImageToImageMetric >::operator=().


Member Data Documentation

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

Definition at line 152 of file itkShapePriorMAPCostFunctionBase.h.

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

Definition at line 153 of file itkShapePriorMAPCostFunctionBase.h.

Number of uses of this object by other objects.

Definition at line 144 of file itkLightObject.h.

Mutex lock to protect modification to the reference count

Definition at line 147 of file itkLightObject.h.

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

Definition at line 151 of file itkShapePriorMAPCostFunctionBase.h.


The documentation for this class was generated from the following file:

Generated at Sat Feb 28 17:50:39 2009 for ITK by doxygen 1.5.6 written by Dimitri van Heesch, © 1997-2000