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

itk::MedianImageFunction< TInputImage, TCoordRep > Class Template Reference
[Image Functions]

#include <itkMedianImageFunction.h>

Inheritance diagram for itk::MedianImageFunction< TInputImage, TCoordRep >:

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

Collaboration graph
[legend]

List of all members.


Detailed Description

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

Calculate the median value in the neighborhood of a pixel.

Calculate the median pixel value over the standard 8, 26, etc. connected neighborhood. This calculation uses a ZeroFluxNeumannBoundaryCondition.

If called with a ContinuousIndex or Point, the calculation is performed at the nearest neighbor.

This class is templated over the input image type and the coordinate representation type (e.g. float or double ).

Definition at line 42 of file itkMedianImageFunction.h.


Public Types

typedef SmartPointer< const SelfConstPointer
typedef
Superclass::ContinuousIndexType 
ContinuousIndexType
typedef TCoordRep CoordRepType
typedef Superclass::IndexType IndexType
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef TInputImage InputImageType
typedef Superclass::InputPixelType InputPixelType
typedef TInput InputType
typedef Superclass::OutputType OutputType
typedef SmartPointer< SelfPointer
typedef Superclass::PointType PointType
typedef MedianImageFunction Self
typedef ImageFunction
< TInputImage, typename
TInputImage::PixelType,
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 OutputType Evaluate (const InputType &input) const =0
virtual TInputImage::PixelType Evaluate (const PointType &point) const =0
virtual TInputImage::PixelType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const =0
virtual TInputImage::PixelType EvaluateAtIndex (const IndexType &index) const =0
virtual OutputType EvaluateAtIndex (const IndexType &index) const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
virtual const ContinuousIndexTypeGetEndContinuousIndex ()
virtual const IndexTypeGetEndIndex ()
const InputImageTypeGetInputImage () const
const MetaDataDictionaryGetMetaDataDictionary (void) const
MetaDataDictionaryGetMetaDataDictionary (void)
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 &) const
void InvokeEvent (const EventObject &)
 itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension)
 itkStaticConstMacro (ImageDimension, unsigned int, InputImageType::ImageDimension)
virtual void Modified () const
void Print (std::ostream &os, Indent indent=0) const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
virtual void SetInputImage (const InputImageType *ptr)
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () const
unsigned long AddObserver (const EventObject &event, Command *) const
unsigned long AddObserver (const EventObject &event, Command *)
void ConvertPointToContinousIndex (const PointType &point, ContinuousIndexType &cindex) const
void ConvertPointToNearestIndex (const PointType &point, IndexType &index) const
virtual OutputType Evaluate (const PointType &point) const
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const
virtual bool IsInsideBuffer (const PointType &point) const
virtual bool IsInsideBuffer (const ContinuousIndexType &index) const
virtual bool IsInsideBuffer (const IndexType &index) const

Static Public Member Functions

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

Protected Types

typedef int InternalReferenceCountType

Protected Member Functions

 MedianImageFunction ()
bool PrintObservers (std::ostream &os, Indent indent) const
void PrintSelf (std::ostream &os, Indent indent) const
 ~MedianImageFunction ()
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

Member Typedef Documentation

template<class TInputImage, class TCoordRep = float>
typedef SmartPointer<const Self> itk::MedianImageFunction< TInputImage, TCoordRep >::ConstPointer

template<class TInputImage, class TCoordRep = float>
typedef Superclass::ContinuousIndexType itk::MedianImageFunction< TInputImage, TCoordRep >::ContinuousIndexType

typedef TCoordRep itk::ImageFunction< TInputImage , TInputImage::PixelType , TCoordRep >::CoordRepType [inherited]

CoordRepType typedef support.

Definition at line 94 of file itkImageFunction.h.

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

Index typedef support.

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

Definition at line 69 of file itkMedianImageFunction.h.

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

InputImagePointer typedef support

Definition at line 88 of file itkImageFunction.h.

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

InputImageType typedef support.

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

Definition at line 59 of file itkMedianImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef Superclass::InputPixelType itk::MedianImageFunction< TInputImage, TCoordRep >::InputPixelType

InputPixel typedef support

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

Definition at line 63 of file itkMedianImageFunction.h.

template<class TInput, class TOutput>
typedef TInput itk::FunctionBase< TInput, TOutput >::InputType [inherited]

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 Superclass::OutputType itk::MedianImageFunction< TInputImage, TCoordRep >::OutputType

OutputType typedef support.

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

Definition at line 66 of file itkMedianImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef SmartPointer<Self> itk::MedianImageFunction< TInputImage, TCoordRep >::Pointer

template<class TInputImage, class TCoordRep = float>
typedef Superclass::PointType itk::MedianImageFunction< TInputImage, TCoordRep >::PointType

Point typedef support.

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

Definition at line 75 of file itkMedianImageFunction.h.

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

Standard class typedefs.

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

Definition at line 49 of file itkMedianImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef ImageFunction<TInputImage, typename TInputImage::PixelType, TCoordRep > itk::MedianImageFunction< TInputImage, TCoordRep >::Superclass


Constructor & Destructor Documentation

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

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

Definition at line 102 of file itkMedianImageFunction.h.


Member Function Documentation

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

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

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

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

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

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

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

Convert continuous index to nearest index.

Definition at line 210 of file itkImageFunction.h.

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

Convert point to continuous index

Definition at line 191 of file itkImageFunction.h.

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

Convert point to continuous index

Definition at line 203 of file itkImageFunction.h.

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

Convert point to nearest index.

Definition at line 181 of file itkImageFunction.h.

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 TInput, class TOutput>
virtual OutputType itk::FunctionBase< TInput, TOutput >::Evaluate ( const InputType input  )  const [pure virtual, inherited]

Evaluate at the specified input position

Implemented in itk::BinaryThresholdSpatialFunction< TFunction >, itk::BSplineDerivativeKernelFunction< VSplineOrder >, itk::BSplineKernelFunction< VSplineOrder >, itk::GaussianDerivativeSpatialFunction< TOutput, VImageDimension, TInput >, itk::GaussianKernelFunction, itk::GaussianSpatialFunction< TOutput, VImageDimension, TInput >, itk::KernelFunction, itk::Statistics::ErrorFunctionBase< TMeasurementVector, TTargetVector >, itk::Statistics::GaussianRadialBasisFunction< ScalarType >, itk::Statistics::GaussianTransferFunction< ScalarType >, itk::Statistics::HardLimitTransferFunction< ScalarType >, itk::Statistics::IdentityTransferFunction< ScalarType >, itk::Statistics::InputFunctionBase< TMeasurementVector, TTargetVector >, itk::Statistics::LogSigmoidTransferFunction< ScalarType >, itk::Statistics::MeanSquaredErrorFunction< TMeasurementVector, ScalarType >, itk::Statistics::MultiquadricRadialBasisFunction< ScalarType >, itk::Statistics::NNetDistanceMetricBase< TMeasurementVector >, itk::Statistics::ProductInputFunction< TMeasurementVector, ScalarType >, itk::Statistics::RadialBasisFunctionBase< ScalarType >, itk::Statistics::SigmoidTransferFunction< ScalarType >, itk::Statistics::SignedHardLimitTransferFunction< ScalarType >, itk::Statistics::SquaredDifferenceErrorFunction< TMeasurementVector, ScalarType >, itk::Statistics::SumInputFunction< TMeasurementVector, ScalarType >, itk::Statistics::SymmetricSigmoidTransferFunction< ScalarType >, itk::Statistics::TanHTransferFunction< ScalarType >, itk::Statistics::TanSigmoidTransferFunction< ScalarType >, itk::Statistics::TransferFunctionBase< ScalarType >, itk::Statistics::DensityFunction< TMeasurementVector >, itk::Statistics::DistanceMetric< TVector >, itk::Statistics::DistanceToCentroidMembershipFunction< TVector >, itk::Statistics::EuclideanDistance< TVector >, itk::Statistics::GaussianDensityFunction< TMeasurementVector >, itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >, itk::Statistics::MembershipFunctionBase< TVector >, itk::CoxDeBoorBSplineKernelFunction< VSplineOrder >, itk::SpatialFunction< double, VSpaceDimension, itk::Point< TCoordRep, VSpaceDimension > >, itk::Statistics::ErrorFunctionBase< TMeasurementVector, ScalarType >, itk::Statistics::InputFunctionBase< TMeasurementVector, ScalarType >, itk::Statistics::DistanceMetric< itk::Array< double > >, itk::Statistics::EuclideanDistance< itk::Array< double > >, itk::Statistics::MembershipFunctionBase< itk::Array< double > >, and itk::Statistics::MembershipFunctionBase< TMeasurementVector >.

virtual TInputImage::PixelType itk::ImageFunction< TInputImage , TInputImage::PixelType , TCoordRep >::Evaluate ( const PointType point  )  const [pure virtual, inherited]

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

template<class TInputImage, class TCoordRep = float>
virtual OutputType itk::MedianImageFunction< TInputImage, TCoordRep >::Evaluate ( const PointType point  )  const [inline, virtual]

Evaluate the function at non-integer positions

Definition at line 85 of file itkMedianImageFunction.h.

virtual TInputImage::PixelType itk::ImageFunction< TInputImage , TInputImage::PixelType , TCoordRep >::EvaluateAtContinuousIndex ( const ContinuousIndexType index  )  const [pure virtual, inherited]

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

template<class TInputImage, class TCoordRep = float>
virtual OutputType itk::MedianImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex ( const ContinuousIndexType cindex  )  const [inline, virtual]

Evaluate the function at non-integer positions

Definition at line 91 of file itkMedianImageFunction.h.

virtual TInputImage::PixelType itk::ImageFunction< TInputImage , TInputImage::PixelType , 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 OutputType itk::MedianImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex ( const IndexType index  )  const [virtual]

Evalulate the function at specified index

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

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

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

Get the value of the debug flag.

virtual const ContinuousIndexType& itk::ImageFunction< TInputImage , TInputImage::PixelType , TCoordRep >::GetEndContinuousIndex (  )  [virtual, inherited]

virtual const IndexType& itk::ImageFunction< TInputImage , TInputImage::PixelType , 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 , TInputImage::PixelType , TCoordRep >::GetInputImage (  )  const [inline, inherited]

Get the input image.

Definition at line 113 of file itkImageFunction.h.

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

Returns:
A constant reference to this objects MetaDataDictionary.

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

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

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

Return this objects modified time.

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

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

template<class TInputImage, class TCoordRep = float>
virtual const char* itk::MedianImageFunction< TInputImage, TCoordRep >::GetNameOfClass (  )  const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ImageFunction< TInputImage, TInputImage::PixelType, 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 , TInputImage::PixelType , TCoordRep >::GetStartContinuousIndex (  )  [virtual, inherited]

virtual const IndexType& itk::ImageFunction< TInputImage , TInputImage::PixelType , TCoordRep >::GetStartIndex (  )  [virtual, inherited]

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  )  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 bool itk::ImageFunction< TInputImage , TInputImage::PixelType , 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 172 of file itkImageFunction.h.

virtual bool itk::ImageFunction< TInputImage , TInputImage::PixelType , 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 152 of file itkImageFunction.h.

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

Check if an index is inside the image buffer.

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

Definition at line 132 of file itkImageFunction.h.

itk::ImageFunction< TInputImage , TInputImage::PixelType , TCoordRep >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
TInputImage ::ImageDimension   
) [inherited]

Dimension underlying input image.

template<class TInputImage, class TCoordRep = float>
itk::MedianImageFunction< TInputImage, TCoordRep >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
InputImageType::ImageDimension   
)

Dimension of the underlying image.

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

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

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

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

template<class TInputImage, class TCoordRep = float>
static Pointer itk::MedianImageFunction< 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]

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::MedianImageFunction< 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, TInputImage::PixelType, 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.

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 , TInputImage::PixelType , 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.

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.

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

Decrease the reference count (release by another object).

Reimplemented from itk::LightObject.

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


Member Data Documentation

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

Definition at line 234 of file itkImageFunction.h.

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

Definition at line 232 of file itkImageFunction.h.

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

Const pointer to the input image.

Definition at line 228 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 , TInputImage::PixelType , TCoordRep >::m_StartContinuousIndex [protected, inherited]

Definition at line 233 of file itkImageFunction.h.

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

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

Definition at line 231 of file itkImageFunction.h.


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

Generated at Sat Feb 28 16:45:34 2009 for ITK by doxygen 1.5.6 written by Dimitri van Heesch, © 1997-2000