Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes

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

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

#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.

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 &, DerivativeType &) const
virtual void GetDerivative (const ParametersType &parameters, DerivativeType &derivative) const =0
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 &)
void InvokeEvent (const EventObject &) const
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

virtual void SetShapeParameterMeans (ArrayType _arg)
virtual ArrayType GetShapeParameterMeans () const

virtual void SetShapeParameterStandardDeviations (ArrayType _arg)
virtual ArrayType GetShapeParameterStandardDeviations () const

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 ()

virtual void GetValueAndDerivative (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const

unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const

Static Public Member Functions

static void BreakOnError ()
static Pointer New ()

static void SetGlobalWarningDisplay (bool flag)
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOn ()
static void GlobalWarningDisplayOff ()

Static Public Attributes

static const unsigned int ImageDimension = TFeatureImage::ImageDimension

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



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

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.


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  
) [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  
) 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

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]
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.

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.

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 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.

MetaDataDictionary& itk::Object::GetMetaDataDictionary ( void   )  [inherited]
Returns:
A reference to this objects MetaDataDictionary.
Warning:
This reference may be changed.
const MetaDataDictionary& itk::Object::GetMetaDataDictionary ( void   )  const [inherited]
Returns:
A constant reference to this objects MetaDataDictionary.
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, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, 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 (  )  const [virtual]

Set/Get the array of shape parameters mean.

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

Set/Get the array of shape parameters standard deviation.

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 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 >.

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.

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, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, and itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, RankImageFilter< TInputImage, TInputImage, FlatStructuringElement< ::itk::GetImageDimension< TInputImage >::ImageDimension > > >.

Referenced by itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::InsertNarrowBandNode(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetCenter(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetMatrix(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBand(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBandInnerRadius(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBandTotalRadius(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetOffset(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds(), 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]

Cause the object to print itself out.

Referenced by itk::WeakPointer< ProcessObject >::Print().

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.


Member Data Documentation

template<class TFeatureImage , class TOutputPixel >
const unsigned int itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::ImageDimension = TFeatureImage::ImageDimension [static]

Dimension constant.

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

Definition at line 78 of file itkShapePriorMAPCostFunction.h.

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 Tue Jul 13 2010 01:46:41 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000