ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkThresholdLabelerImageFilter.h>
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.
typedef SmartPointer< const Self > itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ThresholdLabeler< TInputImage::PixelType, TOutputImage::PixelType > >.
Definition at line 126 of file itkThresholdLabelerImageFilter.h.
typedef TInputImage::PixelType itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::InputPixelType |
Pixel types.
Definition at line 132 of file itkThresholdLabelerImageFilter.h.
typedef TOutputImage::PixelType itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Definition at line 136 of file itkThresholdLabelerImageFilter.h.
typedef SmartPointer< Self > itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ThresholdLabeler< TInputImage::PixelType, TOutputImage::PixelType > >.
Definition at line 125 of file itkThresholdLabelerImageFilter.h.
typedef NumericTraits< InputPixelType >::RealType itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::RealThresholdType |
Definition at line 140 of file itkThresholdLabelerImageFilter.h.
typedef std::vector< RealThresholdType > itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::RealThresholdVector |
Definition at line 141 of file itkThresholdLabelerImageFilter.h.
typedef ThresholdLabelerImageFilter itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ThresholdLabeler< TInputImage::PixelType, TOutputImage::PixelType > >.
Definition at line 117 of file itkThresholdLabelerImageFilter.h.
typedef UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ThresholdLabeler< typename TInputImage::PixelType, typename TOutputImage::PixelType > > itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ThresholdLabeler< TInputImage::PixelType, TOutputImage::PixelType > >.
Definition at line 123 of file itkThresholdLabelerImageFilter.h.
typedef std::vector< InputPixelType > itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::ThresholdVector |
Threshold vector types.
Definition at line 139 of file itkThresholdLabelerImageFilter.h.
itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::ThresholdLabelerImageFilter | ( | ) | [protected] |
Set the offset which labels have to start from.
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.
itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::ThresholdLabelerImageFilter | ( | const Self & | ) | [private] |
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 >.
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 > >.
virtual OutputPixelType itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::GetLabelOffset | ( | ) | const [virtual] |
Set the offset which labels have to start from.
virtual const char* itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ThresholdLabeler< TInputImage::PixelType, TOutputImage::PixelType > >.
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.
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.
static Pointer itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ThresholdLabeler< TInputImage::PixelType, TOutputImage::PixelType > >.
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 > >.
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 >.
virtual void itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetLabelOffset | ( | OutputPixelType | _arg | ) | [virtual] |
Set the offset which labels have to start from.
void itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds | ( | const RealThresholdVector & | thresholds | ) | [inline] |
Set the vector of real type thresholds.
Definition at line 177 of file itkThresholdLabelerImageFilter.h.
References itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_RealThresholds, itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_Thresholds, and itk::Object::Modified().
void itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds | ( | const ThresholdVector & | thresholds | ) | [inline] |
End concept checking Set the vector of thresholds.
Definition at line 158 of file itkThresholdLabelerImageFilter.h.
References itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_RealThresholds, itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_Thresholds, and itk::Object::Modified().
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 > )
itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Comparable< OutputPixelType > | ) |
This class requires OutputPixelTypeComparable in the form of ( Concept::Comparable< OutputPixelType > )
itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::OStreamWritable< OutputPixelType > | ) |
This class requires OutputPixelTypeOStreamWritable in the form of ( Concept::OStreamWritable< OutputPixelType > )
OutputPixelType itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_LabelOffset [private] |
Definition at line 215 of file itkThresholdLabelerImageFilter.h.
RealThresholdVector itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_RealThresholds [private] |
Definition at line 214 of file itkThresholdLabelerImageFilter.h.
Referenced by itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::GetRealThresholds(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds(), and itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds().
ThresholdVector itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_Thresholds [private] |
Definition at line 213 of file itkThresholdLabelerImageFilter.h.
Referenced by itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::GetThresholds(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds(), and itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds().