#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 113 of file itkThresholdLabelerImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static double | GetGlobalDefaultCoordinateTolerance () |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static void | SetGlobalDefaultDirectionTolerance (double) |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Private Attributes | |
OutputPixelType | m_LabelOffset {} |
RealThresholdVector | m_RealThresholds {} |
ThresholdVector | m_Thresholds {} |
Additional Inherited Members | |
![]() | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
static constexpr unsigned int | OutputImageDimension |
![]() | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
![]() | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
![]() | |
using | InputToOutputRegionCopierType |
using | OutputToInputRegionCopierType |
![]() | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
![]() | |
template<typename TSourceObject> | |
static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
![]() | |
bool | m_DynamicMultiThreading { true } |
![]() | |
TimeStamp | m_OutputInformationMTime {} |
bool | m_Updating {} |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 130 of file itkThresholdLabelerImageFilter.h.
using itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::InputPixelType = typename TInputImage::PixelType |
Pixel types.
Definition at line 139 of file itkThresholdLabelerImageFilter.h.
using itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::OutputPixelType = typename TOutputImage::PixelType |
Definition at line 140 of file itkThresholdLabelerImageFilter.h.
using itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 129 of file itkThresholdLabelerImageFilter.h.
using itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::RealThresholdType = typename NumericTraits<InputPixelType>::RealType |
Definition at line 144 of file itkThresholdLabelerImageFilter.h.
using itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::RealThresholdVector = std::vector<RealThresholdType> |
Definition at line 145 of file itkThresholdLabelerImageFilter.h.
using itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::Self = ThresholdLabelerImageFilter |
Standard class type aliases.
Definition at line 123 of file itkThresholdLabelerImageFilter.h.
using itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 124 of file itkThresholdLabelerImageFilter.h.
using itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::ThresholdVector = std::vector<InputPixelType> |
Threshold vector types.
Definition at line 143 of file itkThresholdLabelerImageFilter.h.
|
protected |
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
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.
|
overridevirtual |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
References ThresholdLabelerImageFilter().
|
inline |
Get the vector of real thresholds.
Definition at line 194 of file itkThresholdLabelerImageFilter.h.
References m_RealThresholds.
|
inline |
Get the vector of thresholds.
Definition at line 171 of file itkThresholdLabelerImageFilter.h.
References m_Thresholds.
|
static |
Method for creation through the object factory.
|
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 178 of file itkThresholdLabelerImageFilter.h.
References m_RealThresholds, m_Thresholds, and itk::Object::Modified().
|
inline |
The input and output pixel types must support comparison operators. Set the vector of thresholds.
Definition at line 155 of file itkThresholdLabelerImageFilter.h.
References m_RealThresholds, m_Thresholds, and itk::Object::Modified().
|
private |
Definition at line 218 of file itkThresholdLabelerImageFilter.h.
|
private |
Definition at line 217 of file itkThresholdLabelerImageFilter.h.
Referenced by GetRealThresholds(), SetRealThresholds(), and SetThresholds().
|
private |
Definition at line 216 of file itkThresholdLabelerImageFilter.h.
Referenced by GetThresholds(), SetRealThresholds(), and SetThresholds().