ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::Functor::ThresholdLabeler< TInput, TOutput > Class Template Reference

#include <itkThresholdLabelerImageFilter.h>

Detailed Description

template<typename TInput, typename TOutput>
class itk::Functor::ThresholdLabeler< TInput, TOutput >

Definition at line 46 of file itkThresholdLabelerImageFilter.h.

+ Collaboration diagram for itk::Functor::ThresholdLabeler< TInput, TOutput >:

Public Types

using RealThresholdType = typename NumericTraits<TInput>::RealType
 
using RealThresholdVector = std::vector<RealThresholdType>
 

Public Member Functions

 ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (ThresholdLabeler)
 
TOutput operator() (const TInput &A) const
 
bool operator== (const ThresholdLabeler &other) const
 
void SetLabelOffset (const TOutput &labelOffset)
 
void SetThresholds (const RealThresholdVector &thresholds)
 
 ThresholdLabeler ()
 
 ~ThresholdLabeler ()=default
 

Private Attributes

TOutput m_LabelOffset
 
RealThresholdVector m_Thresholds
 

Member Typedef Documentation

◆ RealThresholdType

template<typename TInput, typename TOutput>
using itk::Functor::ThresholdLabeler< TInput, TOutput >::RealThresholdType = typename NumericTraits<TInput>::RealType

Definition at line 53 of file itkThresholdLabelerImageFilter.h.

◆ RealThresholdVector

template<typename TInput, typename TOutput>
using itk::Functor::ThresholdLabeler< TInput, TOutput >::RealThresholdVector = std::vector<RealThresholdType>

Definition at line 54 of file itkThresholdLabelerImageFilter.h.

Constructor & Destructor Documentation

◆ ThresholdLabeler()

template<typename TInput, typename TOutput>
itk::Functor::ThresholdLabeler< TInput, TOutput >::ThresholdLabeler ( )
inline

◆ ~ThresholdLabeler()

template<typename TInput, typename TOutput>
itk::Functor::ThresholdLabeler< TInput, TOutput >::~ThresholdLabeler ( )
default

Member Function Documentation

◆ ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION()

template<typename TInput, typename TOutput>
itk::Functor::ThresholdLabeler< TInput, TOutput >::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION ( ThresholdLabeler< TInput, TOutput > )

References ThresholdLabeler().

◆ operator()()

template<typename TInput, typename TOutput>
TOutput itk::Functor::ThresholdLabeler< TInput, TOutput >::operator() ( const TInput & A) const
inline

Definition at line 80 of file itkThresholdLabelerImageFilter.h.

References m_LabelOffset, and m_Thresholds.

◆ operator==()

template<typename TInput, typename TOutput>
bool itk::Functor::ThresholdLabeler< TInput, TOutput >::operator== ( const ThresholdLabeler< TInput, TOutput > & other) const
inline

Definition at line 72 of file itkThresholdLabelerImageFilter.h.

References m_LabelOffset, m_Thresholds, and ThresholdLabeler().

◆ SetLabelOffset()

template<typename TInput, typename TOutput>
void itk::Functor::ThresholdLabeler< TInput, TOutput >::SetLabelOffset ( const TOutput & labelOffset)
inline

Set the offset which labels have to start from.

Definition at line 65 of file itkThresholdLabelerImageFilter.h.

References m_LabelOffset.

◆ SetThresholds()

template<typename TInput, typename TOutput>
void itk::Functor::ThresholdLabeler< TInput, TOutput >::SetThresholds ( const RealThresholdVector & thresholds)
inline

Set the vector of thresholds.

Definition at line 58 of file itkThresholdLabelerImageFilter.h.

References m_Thresholds.

Member Data Documentation

◆ m_LabelOffset

template<typename TInput, typename TOutput>
TOutput itk::Functor::ThresholdLabeler< TInput, TOutput >::m_LabelOffset
private

◆ m_Thresholds

template<typename TInput, typename TOutput>
RealThresholdVector itk::Functor::ThresholdLabeler< TInput, TOutput >::m_Thresholds
private

Definition at line 107 of file itkThresholdLabelerImageFilter.h.

Referenced by operator()(), operator==(), and SetThresholds().


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