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
[Numerics]

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

Definition at line 49 of file itkShapePriorMAPCostFunction.h.

Public Types

typedef Array< double > ArrayType
typedef SmartPointer< const
Self
ConstPointer
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 ()
virtual const NodeContainerTypeGetActiveRegion ()
CommandGetCommand (unsigned long tag)
bool GetDebug () const
virtual void GetDerivative (const ParametersType &, DerivativeType &) const
virtual const FeatureImageTypeGetFeatureImage ()
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 ShapeFunctionTypeGetShapeFunction ()
virtual ArrayType GetShapeParameterMeans ()
virtual ArrayType GetShapeParameterStandardDeviations ()
virtual MeasureType GetValue (const ParametersType &parameters) const
This method returns the value
and derivative of the cost
function corresponding *to
the specified parameters
*virtual void 
GetValueAndDerivative (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const
virtual const WeightsTypeGetWeights ()
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)
Set Get the active region
*virtual void 
SetActiveRegion (const NodeContainerType *_arg)
void SetDebug (bool debugFlag) const
Set Get the feature image
*virtual void 
SetFeatureImage (const FeatureImageType *_arg)
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
Set Get the shape distance
function *virtual void 
SetShapeFunction (ShapeFunctionType *_arg)
Set Get the array of shape
parameters mean *virtual void 
SetShapeParameterMeans (ArrayType _arg)
Set Get the array of shape
parameters standard deviation
*virtual void 
SetShapeParameterStandardDeviations (ArrayType _arg)
virtual void SetWeights (WeightsType _arg)
virtual void UnRegister () const

Static Public Member Functions

static void BreakOnError ()
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static Pointer New ()
This is a global flag that
controls whether any warning
*or error messages are displayed
*static void 
SetGlobalWarningDisplay (bool flag)

Public Attributes

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 unsigned lon 
AddObserver )(const EventObject &event, Command *) const
This is a global flag that
controls whether any 
debug
Set Get the weights for each
term Default is a vector of
all ones *The weights are
applied to terms in the following 
LogGradientTerm
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
Set Get the weights for each
term Default is a vector of
all ones *The weights are
applied to terms in the following
LogShapePriorTerm and LogPosePriorTerm
*typedef FixedArray< double, 4 > 
WeightsType

Protected Member Functions

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

Protected Attributes

NodeContainerPointer m_ActiveRegion
FeatureImagePointer m_FeatureImage
int m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock
ShapeFunctionPointer m_ShapeFunction
Methods invoked by virtual
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 PrintSelf(std voi 
PrintHeader )(std::ostream &os, Indent indent) const


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

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

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

Definition at line 57 of file itkShapePriorMAPCostFunction.h.

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
 

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

Definition at line 71 of file itkShapePriorMAPCostFunction.h.

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 70 of file itkShapePriorMAPCostFunction.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 74 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 86 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 83 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 63 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 80 of file itkShapePriorMAPCostFunction.h.

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

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

Definition at line 56 of file itkShapePriorMAPCostFunction.h.

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

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

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

Definition at line 55 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 143 of file itkShapePriorMAPCostFunction.h.


Member Function Documentation

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]
 

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.

Implements itk::SingleValuedCostFunction.

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]
 

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

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::DeformationFieldSource< TOutputImage >, itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >, itk::SceneSpatialObject< SpaceDimension >, and itk::SceneSpatialObject< NDimensions >.

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 98 of file itkLightObject.h.

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

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

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

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.

Implements itk::SingleValuedCostFunction.

This method returns the value and derivative 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]
 

Reimplemented in itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >, itk::MattesMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, and itk::MutualInformationImageToImageMetric< TFixedImage, TMovingImage >.

Definition at line 71 of file itkSingleValuedCostFunction.h.

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

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

Definition at line 100 of file itkObject.h.

References itk::Object::SetGlobalWarningDisplay().

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

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 
 

Dimension constant.

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

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.

Referenced by itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetCenter(), itk::HistogramAlgorithmBase< TInputHistogram >::SetInputHistogram(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetMatrix(), 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< typename ComponentType::HistogramType >::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.

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]
 

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>
Set Get the active region* virtual void itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::SetActiveRegion const NodeContainerType _arg  )  [virtual, inherited]
 

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>
Set Get the feature image* virtual void itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::SetFeatureImage const FeatureImageType _arg  )  [virtual, inherited]
 

This is a global flag that controls whether any warning* or error messages are displayed* static void itk::Object::SetGlobalWarningDisplay bool  flag  )  [static, inherited]
 

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>
Set Get the shape distance function* virtual void itk::ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixel >::SetShapeFunction ShapeFunctionType _arg  )  [virtual, inherited]
 

template<class TFeatureImage, class TOutputPixel>
Set Get the array of shape parameters mean* virtual void itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::SetShapeParameterMeans ArrayType  _arg  )  [virtual]
 

template<class TFeatureImage, class TOutputPixel>
Set Get the array of shape parameters standard deviation* virtual void itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::SetShapeParameterStandardDeviations ArrayType  _arg  )  [virtual]
 

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

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

Decrease the reference count (release by another object).

Reimplemented from itk::LightObject.


Member Data Documentation

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 unsigned lon itk::Object::AddObserver)(const EventObject &event, Command *) const [inherited]
 

This is a global flag that controls whether any itk::Object::debug [inherited]
 

Definition at line 94 of file itkObject.h.

template<class TFeatureImage, class TOutputPixel>
Set Get the weights for each term Default is a vector of all ones* The weights are applied to terms in the following itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::LogGradientTerm
 

Definition at line 101 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.

int itk::LightObject::m_ReferenceCount [mutable, protected, inherited]
 

Number of uses of this object by other objects.

Definition at line 119 of file itkLightObject.h.

SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock [mutable, protected, inherited]
 

Mutex lock to protect modification to the reference count

Definition at line 122 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.

template<class TFeatureImage, class TOutputPixel>
Set Get the weights for each term Default is a vector of all ones* The weights are applied to terms in the following itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::order
 

Definition at line 101 of file itkShapePriorMAPCostFunction.h.

Methods invoked by virtual 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 PrintSelf(std voi itk::LightObject::PrintHeader)(std::ostream &os, Indent indent) const [protected, inherited]
 

template<class TFeatureImage, class TOutputPixel>
Set Get the weights for each term Default is a vector of all ones* The weights are applied to terms in the following LogShapePriorTerm and LogPosePriorTerm* typedef FixedArray<double,4> itk::ShapePriorMAPCostFunction< TFeatureImage, TOutputPixel >::WeightsType
 

Definition at line 101 of file itkShapePriorMAPCostFunction.h.


The documentation for this class was generated from the following file:
Generated at Sun Jul 9 21:24:35 2006 for ITK by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2000