ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes
itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep > Class Template Reference

#include <itkNeighborhoodBinaryThresholdImageFunction.h>

+ Inheritance diagram for itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >:
+ Collaboration diagram for itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
Superclass::ContinuousIndexType 
ContinuousIndexType
typedef Superclass::IndexType IndexType
typedef TInputImage InputImageType
typedef InputImageType::SizeType InputSizeType
typedef Superclass::OutputType OutputType
typedef Superclass::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef Superclass::PointType PointType
typedef
NeighborhoodBinaryThresholdImageFunction 
Self
typedef
BinaryThresholdImageFunction
< TInputImage, TCoordRep > 
Superclass
- Public Types inherited from itk::BinaryThresholdImageFunction< TInputImage, TCoordRep >
- Public Types inherited from itk::ImageFunction< TInputImage, bool, TCoordRep >
typedef TCoordRep CoordRepType
typedef
InputImageType::IndexValueType 
IndexValueType
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef InputImageType::PixelType InputPixelType
- Public Types inherited from itk::FunctionBase< Point< TCoordRep, TInputImage::ImageDimension >, bool >
typedef Point< TCoordRep,
TInputImage::ImageDimension > 
InputType
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual bool Evaluate (const PointType &point) const
virtual bool EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const
virtual bool EvaluateAtIndex (const IndexType &index) const
virtual const char * GetNameOfClass () const
virtual const InputSizeTypeGetRadius ()
virtual void SetRadius (InputSizeType _arg)
- Public Member Functions inherited from itk::BinaryThresholdImageFunction< TInputImage, TCoordRep >
virtual const PixelTypeGetLower ()
virtual const PixelTypeGetUpper ()
void ThresholdAbove (PixelType thresh)
void ThresholdBelow (PixelType thresh)
void ThresholdBetween (PixelType lower, PixelType upper)
- Public Member Functions inherited from itk::ImageFunction< TInputImage, bool, TCoordRep >
void ConvertContinuousIndexToNearestIndex (const ContinuousIndexType &cindex, IndexType &index) const
void ConvertPointToContinuousIndex (const PointType &point, ContinuousIndexType &cindex) const
void ConvertPointToNearestIndex (const PointType &point, IndexType &index) const
virtual bool Evaluate (const PointType &point) const =0
virtual bool EvaluateAtContinuousIndex (const ContinuousIndexType &index) const =0
virtual bool EvaluateAtIndex (const IndexType &index) const =0
virtual const ContinuousIndexTypeGetEndContinuousIndex ()
virtual const IndexTypeGetEndIndex ()
const InputImageTypeGetInputImage () const
virtual const ContinuousIndexTypeGetStartContinuousIndex ()
virtual const IndexTypeGetStartIndex ()
virtual void SetInputImage (const InputImageType *ptr)
virtual bool IsInsideBuffer (const IndexType &index) const
virtual bool IsInsideBuffer (const ContinuousIndexType &index) const
virtual bool IsInsideBuffer (const PointType &point) const

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = InputImageType::ImageDimension
- Static Public Attributes inherited from itk::BinaryThresholdImageFunction< TInputImage, TCoordRep >
- Static Public Attributes inherited from itk::ImageFunction< TInputImage, bool, TCoordRep >

Protected Member Functions

 NeighborhoodBinaryThresholdImageFunction ()
void PrintSelf (std::ostream &os, Indent indent) const
 ~NeighborhoodBinaryThresholdImageFunction ()
- Protected Member Functions inherited from itk::BinaryThresholdImageFunction< TInputImage, TCoordRep >
 BinaryThresholdImageFunction ()
 ~BinaryThresholdImageFunction ()
- Protected Member Functions inherited from itk::ImageFunction< TInputImage, bool, TCoordRep >
 ImageFunction ()
 ~ImageFunction ()
- Protected Member Functions inherited from itk::FunctionBase< Point< TCoordRep, TInputImage::ImageDimension >, bool >
 FunctionBase ()
 ~FunctionBase ()
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

Private Member Functions

 NeighborhoodBinaryThresholdImageFunction (const Self &)
void operator= (const Self &)

Private Attributes

InputSizeType m_Radius

Detailed Description

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

Determine whether all the pixels in the specified neighborhood meet a threshold criteria.

Determine whether all the pixels in the specified neighborhood meet a threshold criteria.

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


Member Typedef Documentation

template<class TInputImage , class TCoordRep = float>
typedef SmartPointer< const Self > itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::ConstPointer
template<class TInputImage , class TCoordRep = float>
typedef Superclass::ContinuousIndexType itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::ContinuousIndexType
template<class TInputImage , class TCoordRep = float>
typedef Superclass::IndexType itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::IndexType
template<class TInputImage , class TCoordRep = float>
typedef TInputImage itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::InputImageType

InputImageType typedef support.

Reimplemented from itk::BinaryThresholdImageFunction< TInputImage, TCoordRep >.

Definition at line 57 of file itkNeighborhoodBinaryThresholdImageFunction.h.

template<class TInputImage , class TCoordRep = float>
typedef InputImageType::SizeType itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::InputSizeType

SizeType of the input image

Definition at line 82 of file itkNeighborhoodBinaryThresholdImageFunction.h.

template<class TInputImage , class TCoordRep = float>
typedef Superclass::OutputType itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::OutputType

OutputType typdef support.

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

Definition at line 63 of file itkNeighborhoodBinaryThresholdImageFunction.h.

template<class TInputImage , class TCoordRep = float>
typedef Superclass::PixelType itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::PixelType

PixelType typedef support.

Reimplemented from itk::BinaryThresholdImageFunction< TInputImage, TCoordRep >.

Definition at line 75 of file itkNeighborhoodBinaryThresholdImageFunction.h.

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

Standard class typedefs.

Reimplemented from itk::BinaryThresholdImageFunction< TInputImage, TCoordRep >.

Definition at line 48 of file itkNeighborhoodBinaryThresholdImageFunction.h.

template<class TInputImage , class TCoordRep = float>
typedef BinaryThresholdImageFunction< TInputImage, TCoordRep > itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::Superclass

Constructor & Destructor Documentation

template<class TInputImage , class TCoordRep = float>
itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::NeighborhoodBinaryThresholdImageFunction ( )
protected
template<class TInputImage , class TCoordRep = float>
itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::~NeighborhoodBinaryThresholdImageFunction ( )
inlineprotected
template<class TInputImage , class TCoordRep = float>
itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::NeighborhoodBinaryThresholdImageFunction ( const Self )
private

Member Function Documentation

template<class TInputImage , class TCoordRep = float>
virtual::itk::LightObject::Pointer itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::CreateAnother ( void  ) const
virtual

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

template<class TInputImage , class TCoordRep = float>
virtual bool itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::Evaluate ( const PointType point) const
inlinevirtual

Evaluate the function at non-integer positions

Reimplemented from itk::BinaryThresholdImageFunction< TInputImage, TCoordRep >.

Definition at line 94 of file itkNeighborhoodBinaryThresholdImageFunction.h.

template<class TInputImage , class TCoordRep = float>
virtual bool itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex ( const ContinuousIndexType index) const
inlinevirtual

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.

Reimplemented from itk::BinaryThresholdImageFunction< TInputImage, TCoordRep >.

Definition at line 102 of file itkNeighborhoodBinaryThresholdImageFunction.h.

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

Evalulate the function at specified index

Reimplemented from itk::BinaryThresholdImageFunction< TInputImage, TCoordRep >.

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

Run-time type information (and related methods).

Reimplemented from itk::BinaryThresholdImageFunction< TInputImage, TCoordRep >.

template<class TInputImage , class TCoordRep = float>
virtual const InputSizeType& itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::GetRadius ( )
virtual

Get the radius of the neighborhood used in computation

template<class TInputImage , class TCoordRep = float>
static Pointer itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::New ( )
static

Method for creation through the object factory.

Reimplemented from itk::BinaryThresholdImageFunction< TInputImage, TCoordRep >.

template<class TInputImage , class TCoordRep = float>
void itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::operator= ( const Self )
private

Mutex lock to protect modification to the reference count

Reimplemented from itk::BinaryThresholdImageFunction< TInputImage, TCoordRep >.

template<class TInputImage , class TCoordRep = float>
void itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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

template<class TInputImage , class TCoordRep = float>
virtual void itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::SetRadius ( InputSizeType  _arg)
virtual

Set the radius of the neighborhood used in computation.


Member Data Documentation

template<class TInputImage , class TCoordRep = float>
const unsigned int itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::ImageDimension = InputImageType::ImageDimension
static

Dimension of the underlying image.

Reimplemented from itk::BinaryThresholdImageFunction< TInputImage, TCoordRep >.

Definition at line 79 of file itkNeighborhoodBinaryThresholdImageFunction.h.

template<class TInputImage , class TCoordRep = float>
InputSizeType itk::NeighborhoodBinaryThresholdImageFunction< TInputImage, TCoordRep >::m_Radius
private

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