ITK
4.9.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.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ThresholdLabeler< TInputImage::PixelType, TOutputImage::PixelType > > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Private Member Functions | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
ThresholdLabelerImageFilter (const Self &) ITK_DELETE_FUNCTION | |
Private Attributes | |
OutputPixelType | m_LabelOffset |
RealThresholdVector | m_RealThresholds |
ThresholdVector | m_Thresholds |
Additional Inherited Members | |
Static Public Attributes inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::ConstPointer |
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 |
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.
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 |
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 |
|
inlineprotectedvirtual |
Definition at line 202 of file itkThresholdLabelerImageFilter.h.
|
private |
|
overrideprotectedvirtual |
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::Object.
|
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 191 of file itkThresholdLabelerImageFilter.h.
References itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_RealThresholds.
|
inline |
Get the vector of thresholds.
Definition at line 172 of file itkThresholdLabelerImageFilter.h.
References itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_Thresholds.
|
static |
Method for creation through the object factory.
|
private |
|
overrideprotectedvirtual |
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::InPlaceImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set the offset which labels have to start from.
|
inline |
Set the vector of real type thresholds.
Definition at line 176 of file itkThresholdLabelerImageFilter.h.
References itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_RealThresholds, itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::m_Thresholds, and itk::Object::Modified().
|
inline |
Set the vector of thresholds.
Definition at line 157 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. 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().