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::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep > Class Template Reference
[Image Functions]

Returns true if the pixel value of a vector image has a Mahalanobis distance below the value specified by the threshold. More...

#include <itkMahalanobisDistanceThresholdImageFunction.h>

Inheritance diagram for itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >:
Inheritance graph
[legend]
Collaboration diagram for itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
Superclass::ContinuousIndexType 
ContinuousIndexType
typedef TCoordRep CoordRepType
typedef vnl_matrix< double > CovarianceMatrixType
typedef Superclass::IndexType IndexType
typedef
InputImageType::IndexValueType 
IndexValueType
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef Superclass::InputImageType InputImageType
typedef InputImageType::PixelType InputPixelType
typedef Point< TCoordRep,::itk::GetImageDimension
< TInputImage >
::ImageDimension
InputType
typedef vnl_vector< double > MeanVectorType
typedef bool OutputType
typedef TInputImage::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef Superclass::PointType PointType
typedef
MahalanobisDistanceThresholdImageFunction 
Self
typedef ImageFunction
< TInputImage, bool, TCoordRep > 
Superclass

Public Member Functions

void ConvertContinuousIndexToNearestIndex (const ContinuousIndexType &cindex, IndexType &index) const
void ConvertPointToContinuousIndex (const PointType &point, ContinuousIndexType &cindex) const
virtual LightObject::Pointer CreateAnother () const
virtual void DebugOff () const
virtual void DebugOn () const
virtual void Delete ()
virtual bool Evaluate (const PointType &point) const
virtual bool EvaluateAtContinuousIndex (const ContinuousIndexType &index) const
virtual bool EvaluateAtIndex (const IndexType &index) const =0
virtual bool EvaluateAtIndex (const IndexType &index) const
virtual double EvaluateDistance (const PointType &point) const
virtual double EvaluateDistanceAtIndex (const IndexType &index) const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
virtual const ContinuousIndexTypeGetEndContinuousIndex ()
virtual const IndexTypeGetEndIndex ()
const InputImageTypeGetInputImage () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const char * GetNameOfClass () const
virtual int GetReferenceCount () const
virtual const ContinuousIndexTypeGetStartContinuousIndex ()
virtual const IndexTypeGetStartIndex ()
bool HasObserver (const EventObject &event) const
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
virtual void SetInputImage (const InputImageType *ptr)
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () const

virtual const double & GetThreshold ()
virtual void SetThreshold (double _arg)

void SetMean (const MeanVectorType &mean)
const MeanVectorTypeGetMean () const

void SetCovariance (const CovarianceMatrixType &cov)
const CovarianceMatrixTypeGetCovariance () const

virtual bool IsInsideBuffer (const IndexType &index) const

virtual bool IsInsideBuffer (const ContinuousIndexType &index) const

virtual bool IsInsideBuffer (const PointType &point) const

void ConvertPointToNearestIndex (const PointType &point, IndexType &index) const

void ConvertPointToContinousIndex (const PointType &point, ContinuousIndexType &cindex) 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 = Superclass::ImageDimension

Protected Types

typedef int InternalReferenceCountType

Protected Member Functions

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

virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const

Protected Attributes

ContinuousIndexType m_EndContinuousIndex
IndexType m_EndIndex
InputImageConstPointer m_Image
InternalReferenceCountType m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock
ContinuousIndexType m_StartContinuousIndex
IndexType m_StartIndex

Detailed Description

template<class TInputImage, class TCoordRep = float>
class itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >

Returns true if the pixel value of a vector image has a Mahalanobis distance below the value specified by the threshold.

This ImageFunction returns true if the pixel value of a vector image has a Mahalanobis distance below the value specided by the threshold. The Mahalanobis distance is computed with the MahalanobisDistanceMembershipFunction class which has to be initialized with the mean an covariance to be used. This class is intended to be used only with images whose pixel type is a vector (array).

The input image is set via method SetInputImage().

Methods Evaluate, EvaluateAtIndex and EvaluateAtContinuousIndex respectively evaluate the function at an geometric point, image index and continuous image index.

Definition at line 47 of file itkMahalanobisDistanceThresholdImageFunction.h.


Member Typedef Documentation

template<class TInputImage , class TCoordRep = float>
typedef SmartPointer<const Self> itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::ConstPointer
template<class TInputImage , class TCoordRep = float>
typedef Superclass::ContinuousIndexType itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::ContinuousIndexType
typedef TCoordRep itk::ImageFunction< TInputImage, bool , TCoordRep >::CoordRepType [inherited]

CoordRepType typedef support.

Definition at line 94 of file itkImageFunction.h.

template<class TInputImage , class TCoordRep = float>
typedef vnl_matrix<double> itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::CovarianceMatrixType

Type used to represent the Covariance matrix of the vector population

Definition at line 82 of file itkMahalanobisDistanceThresholdImageFunction.h.

template<class TInputImage , class TCoordRep = float>
typedef Superclass::IndexType itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::IndexType

Index typedef support.

Reimplemented from itk::ImageFunction< TInputImage, bool, TCoordRep >.

Definition at line 76 of file itkMahalanobisDistanceThresholdImageFunction.h.

typedef InputImageType::IndexValueType itk::ImageFunction< TInputImage, bool , TCoordRep >::IndexValueType [inherited]

Definition at line 98 of file itkImageFunction.h.

typedef InputImageType::ConstPointer itk::ImageFunction< TInputImage, bool , TCoordRep >::InputImageConstPointer [inherited]

InputImagePointer typedef support

Definition at line 88 of file itkImageFunction.h.

template<class TInputImage , class TCoordRep = float>
typedef Superclass::InputImageType itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::InputImageType

InputImageType typedef support.

Reimplemented from itk::ImageFunction< TInputImage, bool, TCoordRep >.

Definition at line 61 of file itkMahalanobisDistanceThresholdImageFunction.h.

typedef InputImageType::PixelType itk::ImageFunction< TInputImage, bool , TCoordRep >::InputPixelType [inherited]

InputPixel typedef support

Definition at line 85 of file itkImageFunction.h.

typedef Point< TCoordRep,::itk::GetImageDimension< TInputImage >::ImageDimension > itk::FunctionBase< Point< TCoordRep,::itk::GetImageDimension< TInputImage >::ImageDimension > , bool >::InputType [inherited]

Input type

Definition at line 54 of file itkFunctionBase.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 TInputImage , class TCoordRep = float>
typedef vnl_vector<double> itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::MeanVectorType

Type used to represent the Mean Vector of the vector population

Definition at line 85 of file itkMahalanobisDistanceThresholdImageFunction.h.

typedef bool itk::ImageFunction< TInputImage, bool , TCoordRep >::OutputType [inherited]
template<class TInputImage , class TCoordRep = float>
typedef TInputImage::PixelType itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::PixelType

Typedef to describe the type of pixel.

Definition at line 67 of file itkMahalanobisDistanceThresholdImageFunction.h.

template<class TInputImage , class TCoordRep = float>
typedef SmartPointer<Self> itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::Pointer
template<class TInputImage , class TCoordRep = float>
typedef Superclass::PointType itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::PointType

Point typedef support.

Reimplemented from itk::ImageFunction< TInputImage, bool, TCoordRep >.

Definition at line 73 of file itkMahalanobisDistanceThresholdImageFunction.h.

template<class TInputImage , class TCoordRep = float>
typedef MahalanobisDistanceThresholdImageFunction itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::Self

Standard class typedefs.

Reimplemented from itk::ImageFunction< TInputImage, bool, TCoordRep >.

Definition at line 52 of file itkMahalanobisDistanceThresholdImageFunction.h.

template<class TInputImage , class TCoordRep = float>
typedef ImageFunction<TInputImage,bool,TCoordRep> itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::Superclass

Constructor & Destructor Documentation

template<class TInputImage , class TCoordRep = float>
itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::MahalanobisDistanceThresholdImageFunction (  )  [protected]
template<class TInputImage , class TCoordRep = float>
itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::~MahalanobisDistanceThresholdImageFunction (  )  [inline, protected]

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.

void itk::ImageFunction< TInputImage, bool , TCoordRep >::ConvertContinuousIndexToNearestIndex ( const ContinuousIndexType cindex,
IndexType index 
) const [inline, inherited]

Convert continuous index to nearest index.

Definition at line 219 of file itkImageFunction.h.

void itk::ImageFunction< TInputImage, bool , TCoordRep >::ConvertPointToContinousIndex ( const PointType point,
ContinuousIndexType cindex 
) const [inline, inherited]

Convert point to continuous index

Definition at line 200 of file itkImageFunction.h.

void itk::ImageFunction< TInputImage, bool , TCoordRep >::ConvertPointToContinuousIndex ( const PointType point,
ContinuousIndexType cindex 
) const [inline, inherited]

Convert point to continuous index

Definition at line 212 of file itkImageFunction.h.

void itk::ImageFunction< TInputImage, bool , TCoordRep >::ConvertPointToNearestIndex ( const PointType point,
IndexType index 
) const [inline, inherited]

Convert point to nearest index.

Definition at line 190 of file itkImageFunction.h.

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 TInputImage , class TCoordRep = float>
virtual bool itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::Evaluate ( const PointType point  )  const [virtual]

BinaryThreshold the image at a point position

Returns true if the image intensity at the specified point position satisfies the threshold criteria. The point is assumed to lie within the image buffer.

ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

Implements itk::ImageFunction< TInputImage, bool, TCoordRep >.

template<class TInputImage , class TCoordRep = float>
virtual bool itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex ( const ContinuousIndexType index  )  const [virtual]

BinaryThreshold the image at a continuous index position

Returns true if the image intensity at the specified point position satisfies the threshold criteria. The point is assumed to lie within the image buffer.

ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

Implements itk::ImageFunction< TInputImage, bool, TCoordRep >.

virtual bool itk::ImageFunction< TInputImage, bool , TCoordRep >::EvaluateAtIndex ( const IndexType index  )  const [pure virtual, inherited]

Evaluate the function at specified Index position. Subclasses must provide this method.

template<class TInputImage , class TCoordRep = float>
virtual bool itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex ( const IndexType index  )  const [virtual]

BinaryThreshold the image at an index position.

Returns true if the image intensity at the specified point position satisfies the threshold criteria. The point is assumed to lie within the image buffer.

ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

template<class TInputImage , class TCoordRep = float>
virtual double itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::EvaluateDistance ( const PointType point  )  const [virtual]

Returns the actual value of the MahalanobisDistance at that point. The point is assumed to lie within the image buffer. ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

template<class TInputImage , class TCoordRep = float>
virtual double itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::EvaluateDistanceAtIndex ( const IndexType index  )  const [virtual]

Returns the actual value of the MahalanobisDistance at that Index. The point is assumed to lie within the image buffer. ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

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.

template<class TInputImage , class TCoordRep = float>
const CovarianceMatrixType& itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::GetCovariance (  )  const

Method to set covariance matrix Also, this function calculates inverse covariance and pre factor of MahalanobisDistance Distribution to speed up GetProbability

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

Get the value of the debug flag.

virtual const ContinuousIndexType& itk::ImageFunction< TInputImage, bool , TCoordRep >::GetEndContinuousIndex (  )  [virtual, inherited]
virtual const IndexType& itk::ImageFunction< TInputImage, bool , TCoordRep >::GetEndIndex (  )  [virtual, inherited]
static bool itk::Object::GetGlobalWarningDisplay (  )  [static, inherited]

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

const InputImageType* itk::ImageFunction< TInputImage, bool , TCoordRep >::GetInputImage (  )  const [inline, inherited]

Get the input image.

Definition at line 114 of file itkImageFunction.h.

template<class TInputImage , class TCoordRep = float>
const MeanVectorType& itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::GetMean (  )  const

Method to set mean

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 TInputImage , class TCoordRep = float>
virtual const char* itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::GetNameOfClass (  )  const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ImageFunction< TInputImage, bool, TCoordRep >.

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

Gets the reference count on this object.

Definition at line 106 of file itkLightObject.h.

virtual const ContinuousIndexType& itk::ImageFunction< TInputImage, bool , TCoordRep >::GetStartContinuousIndex (  )  [virtual, inherited]
virtual const IndexType& itk::ImageFunction< TInputImage, bool , TCoordRep >::GetStartIndex (  )  [virtual, inherited]
template<class TInputImage , class TCoordRep = float>
virtual const double& itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::GetThreshold (  )  [virtual]

Get the lower threshold value.

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.

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

Call Execute on all the Commands observing this event id.

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.

virtual bool itk::ImageFunction< TInputImage, bool , TCoordRep >::IsInsideBuffer ( const IndexType index  )  const [inline, virtual, inherited]

Check if an index is inside the image buffer. If ITK_USE_CENTERED_PIXEL_COORDINATES_CONSISTENTLY is on, we take into account the fact that each voxel has its center at the integer coordinate and extends half way to the next integer coordinate.

Warning:
For efficiency, no validity checking of the input image is done.

Definition at line 137 of file itkImageFunction.h.

virtual bool itk::ImageFunction< TInputImage, bool , TCoordRep >::IsInsideBuffer ( const ContinuousIndexType index  )  const [inline, virtual, inherited]

Check if a continuous index is inside the image buffer.

Warning:
For efficiency, no validity checking of the input image is done.

Definition at line 157 of file itkImageFunction.h.

virtual bool itk::ImageFunction< TInputImage, bool , TCoordRep >::IsInsideBuffer ( const PointType point  )  const [inline, virtual, inherited]

Check if a point is inside the image buffer.

Warning:
For efficiency, no validity checking of the input image pointer is done.

Definition at line 181 of file itkImageFunction.h.

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 TInputImage , class TCoordRep = float>
static Pointer itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::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 TInputImage , class TCoordRep = float>
void itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::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::ImageFunction< TInputImage, bool, TCoordRep >.

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 TInputImage , class TCoordRep = float>
void itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::SetCovariance ( const CovarianceMatrixType cov  ) 

Method to set covariance matrix Also, this function calculates inverse covariance and pre factor of MahalanobisDistance Distribution to speed up GetProbability

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

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

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

virtual void itk::ImageFunction< TInputImage, bool , TCoordRep >::SetInputImage ( const InputImageType ptr  )  [virtual, inherited]

Set the input image.

Warning:
this method caches BufferedRegion information. If the BufferedRegion has changed, user must call SetInputImage again to update cached values.
template<class TInputImage , class TCoordRep = float>
void itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::SetMean ( const MeanVectorType mean  ) 

Method to set mean

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 TInputImage , class TCoordRep = float>
virtual void itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::SetThreshold ( double  _arg  )  [virtual]

Get the lower threshold value.

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 TInputImage , class TCoordRep = float>
const unsigned int itk::MahalanobisDistanceThresholdImageFunction< TInputImage, TCoordRep >::ImageDimension = Superclass::ImageDimension [static]

Dimension underlying input image.

Reimplemented from itk::ImageFunction< TInputImage, bool, TCoordRep >.

Definition at line 70 of file itkMahalanobisDistanceThresholdImageFunction.h.

ContinuousIndexType itk::ImageFunction< TInputImage, bool , TCoordRep >::m_EndContinuousIndex [protected, inherited]

Definition at line 243 of file itkImageFunction.h.

IndexType itk::ImageFunction< TInputImage, bool , TCoordRep >::m_EndIndex [protected, inherited]

Definition at line 241 of file itkImageFunction.h.

InputImageConstPointer itk::ImageFunction< TInputImage, bool , TCoordRep >::m_Image [protected, inherited]

Const pointer to the input image.

Definition at line 237 of file itkImageFunction.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.

ContinuousIndexType itk::ImageFunction< TInputImage, bool , TCoordRep >::m_StartContinuousIndex [protected, inherited]

Definition at line 242 of file itkImageFunction.h.

IndexType itk::ImageFunction< TInputImage, bool , TCoordRep >::m_StartIndex [protected, inherited]

Cache some values for testing if indices are inside buffered region.

Definition at line 240 of file itkImageFunction.h.


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

Generated at Tue Jul 13 2010 00:00:34 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000