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

Label an input image according to a set of thresholds. More...

#include <itkThresholdLabelerImageFilter.h>

Inheritance diagram for itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >:
Collaboration diagram for itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef TInputImage::PixelType InputPixelType
typedef TOutputImage::PixelType OutputPixelType
typedef SmartPointer< SelfPointer
typedef NumericTraits
< InputPixelType >::RealType 
RealThresholdType
typedef std::vector
< RealThresholdType
RealThresholdVector
typedef ThresholdLabelerImageFilter Self
typedef
UnaryFunctorImageFilter
< TInputImage, TOutputImage,
Functor::ThresholdLabeler
< typename
TInputImage::PixelType,
typename
TOutputImage::PixelType > > 
Superclass
typedef std::vector
< InputPixelType
ThresholdVector

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
const RealThresholdVectorGetRealThresholds () const
const ThresholdVectorGetThresholds () const
 typedef (Concept::Comparable< OutputPixelType >) OutputPixelTypeComparable
 typedef (Concept::Comparable< InputPixelType >) PixelTypeComparable
 typedef (Concept::OStreamWritable< OutputPixelType >) OutputPixelTypeOStreamWritable
void SetThresholds (const ThresholdVector &thresholds)
void SetRealThresholds (const RealThresholdVector &thresholds)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

virtual void BeforeThreadedGenerateData ()

Private Member Functions

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

Private Attributes

OutputPixelType m_LabelOffset
RealThresholdVector m_RealThresholds
ThresholdVector m_Thresholds
virtual void SetLabelOffset (OutputPixelType _arg)
virtual OutputPixelType GetLabelOffset () const
 ThresholdLabelerImageFilter ()
virtual ~ThresholdLabelerImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >

Label an input image according to a set of thresholds.

This filter produces an output image whose pixels are labeled progressively according to the classes identified by a set of thresholds. Values equal to a threshold is considered to be in the lower class.

This filter is templated over the input image type and the output image type.

The filter expect both images to have the same number of dimensions.

Definition at line 108 of file itkThresholdLabelerImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef SmartPointer< const Self > itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::ConstPointer
template<class TInputImage , class TOutputImage >
typedef TInputImage::PixelType itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::InputPixelType

Pixel types.

Definition at line 132 of file itkThresholdLabelerImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef TOutputImage::PixelType itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::OutputPixelType

Definition at line 136 of file itkThresholdLabelerImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef SmartPointer< Self > itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::Pointer
template<class TInputImage , class TOutputImage >
typedef NumericTraits< InputPixelType >::RealType itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::RealThresholdType

Definition at line 140 of file itkThresholdLabelerImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef std::vector< RealThresholdType > itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::RealThresholdVector

Definition at line 141 of file itkThresholdLabelerImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef ThresholdLabelerImageFilter itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::Self
template<class TInputImage , class TOutputImage >
typedef UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ThresholdLabeler< typename TInputImage::PixelType, typename TOutputImage::PixelType > > itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::Superclass
template<class TInputImage , class TOutputImage >
typedef std::vector< InputPixelType > itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::ThresholdVector

Threshold vector types.

Definition at line 139 of file itkThresholdLabelerImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::ThresholdLabelerImageFilter ( ) [protected]

Set the offset which labels have to start from.

template<class TInputImage , class TOutputImage >
virtual itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::~ThresholdLabelerImageFilter ( ) [inline, protected, virtual]

Set the offset which labels have to start from.

Definition at line 201 of file itkThresholdLabelerImageFilter.h.

template<class TInputImage , class TOutputImage >
itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::ThresholdLabelerImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TOutputImage >
virtual void itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData ( ) [protected, virtual]

This method is used to set the state of the filter before multi-threading.

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::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::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ThresholdLabeler< TInputImage::PixelType, TOutputImage::PixelType > >.

template<class TInputImage , class TOutputImage >
virtual OutputPixelType itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::GetLabelOffset ( ) const [virtual]

Set the offset which labels have to start from.

template<class TInputImage , class TOutputImage >
virtual const char* itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]
template<class TInputImage , class TOutputImage >
const RealThresholdVector& itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::GetRealThresholds ( ) const [inline]

Get the vector of real thresholds.

Definition at line 192 of file itkThresholdLabelerImageFilter.h.

References itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_RealThresholds.

template<class TInputImage , class TOutputImage >
const ThresholdVector& itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::GetThresholds ( ) const [inline]

Get the vector of thresholds.

Definition at line 173 of file itkThresholdLabelerImageFilter.h.

References itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_Thresholds.

template<class TInputImage , class TOutputImage >
static Pointer itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::New ( ) [static]
template<class TInputImage , class TOutputImage >
void itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::operator= ( const Self ) [private]

PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ThresholdLabeler< TInputImage::PixelType, TOutputImage::PixelType > >.

template<class TInputImage , class TOutputImage >
void itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

Set the offset which labels have to start from.

Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
virtual void itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetLabelOffset ( OutputPixelType  _arg) [virtual]

Set the offset which labels have to start from.

template<class TInputImage , class TOutputImage >
void itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds ( const RealThresholdVector thresholds) [inline]
template<class TInputImage , class TOutputImage >
void itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds ( const ThresholdVector thresholds) [inline]
template<class TInputImage , class TOutputImage >
itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::typedef ( Concept::Comparable< InputPixelType )

The input and output pixel types must support comparison operators. Begin concept checking This class requires PixelTypeComparable in the form of ( Concept::Comparable< InputPixelType > )

template<class TInputImage , class TOutputImage >
itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::typedef ( Concept::Comparable< OutputPixelType )

This class requires OutputPixelTypeComparable in the form of ( Concept::Comparable< OutputPixelType > )

template<class TInputImage , class TOutputImage >
itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::typedef ( Concept::OStreamWritable< OutputPixelType )

This class requires OutputPixelTypeOStreamWritable in the form of ( Concept::OStreamWritable< OutputPixelType > )


Member Data Documentation

template<class TInputImage , class TOutputImage >
OutputPixelType itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_LabelOffset [private]

Definition at line 215 of file itkThresholdLabelerImageFilter.h.

template<class TInputImage , class TOutputImage >
RealThresholdVector itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_RealThresholds [private]
template<class TInputImage , class TOutputImage >
ThresholdVector itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_Thresholds [private]

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