ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkThresholdLabelerImageFilter.h>
Static Public Member Functions | |
static Pointer | New () |
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 |
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.
|
protected |
Set the offset which labels have to start from.
|
inlineprotectedvirtual |
Set the offset which labels have to start from.
Definition at line 201 of file itkThresholdLabelerImageFilter.h.
|
private |
|
protectedvirtual |
This method is used to set the state of the filter before multi-threading.
Reimplemented from itk::ImageSource< TOutputImage >.
|
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 |
Set the offset which labels have to start from.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ThresholdLabeler< TInputImage::PixelType, TOutputImage::PixelType > >.
|
inline |
Get the vector of real thresholds.
Definition at line 192 of file itkThresholdLabelerImageFilter.h.
References itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_RealThresholds.
|
inline |
Get the vector of thresholds.
Definition at line 173 of file itkThresholdLabelerImageFilter.h.
References itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_Thresholds.
|
static |
Method for creation through the object factory.
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ThresholdLabeler< TInputImage::PixelType, TOutputImage::PixelType > >.
|
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 > >.
|
protectedvirtual |
Set the offset which labels have to start from.
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set the offset which labels have to start from.
|
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().
|
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 > )
|
private |
Definition at line 215 of file itkThresholdLabelerImageFilter.h.
|
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().
|
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().