Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage > Class Template Reference

#include <mitkMinMaxLabelmageFilterWithIndex.h>

Inheritance diagram for itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >:
Collaboration diagram for itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >:

Classes

class  LabelExtrema
 The LabelExtrema class is just a container for global min/max values and their indices as well as all min and max values (+indices) of the mask labels. More...
 

Public Types

typedef MinMaxLabelImageFilterWithIndex Self
 
typedef ImageToImageFilter< TInputImage, TInputImage > Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef TInputImage::RegionType RegionType
 
typedef TInputImage::SizeType SizeType
 
typedef TInputImage::IndexType IndexType
 
typedef TInputImage::PixelType PixelType
 
typedef NumericTraits< PixelType >::RealType RealType
 
typedef TLabelImage::RegionType LabelRegionType
 
typedef TLabelImage::SizeType LabelSizeType
 
typedef TLabelImage::IndexType LabelIndexType
 
typedef TLabelImage::PixelType LabelPixelType
 
typedef std::unordered_map< LabelPixelType, LabelExtremaExtremaMapType
 
typedef ExtremaMapType::iterator ExtremaMapTypeIterator
 
typedef ExtremaMapType::const_iterator ExtremaMapTypeConstIterator
 
typedef ExtremaMapType::value_type MapValueType
 

Public Member Functions

virtual const char * GetClassName () const
 
PixelType GetMin (LabelPixelType label) const
 
PixelType GetMax (LabelPixelType label) const
 
std::vector< LabelPixelTypeGetRelevantLabels () const
 Returns a std::vector containing all labels for which min and max values (and indices) have been computed. More...
 
IndexType GetMinIndex (LabelPixelType label) const
 
IndexType GetMaxIndex (LabelPixelType label) const
 
PixelType GetGlobalMin () const
 
PixelType GetGlobalMax () const
 
IndexType GetGlobalMinIndex () const
 
IndexType GetGlobalMaxIndex () const
 
void SetLabelInput (const TLabelImage *input)
 
const TLabelImage * GetLabelInput () const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 MinMaxLabelImageFilterWithIndex ()
 
void AllocateOutputs () override
 
void ThreadedGenerateData (const RegionType &outputRegionForThread, ThreadIdType threadId) override
 
void BeforeThreadedGenerateData () override
 
void AfterThreadedGenerateData () override
 

Detailed Description

template<typename TInputImage, typename TLabelImage>
class itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >

Definition at line 27 of file mitkMinMaxLabelmageFilterWithIndex.h.

Member Typedef Documentation

◆ ConstPointer

template<typename TInputImage , typename TLabelImage >
typedef SmartPointer< const Self > itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::ConstPointer

Definition at line 34 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ ExtremaMapType

template<typename TInputImage , typename TLabelImage >
typedef std::unordered_map<LabelPixelType, LabelExtrema> itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::ExtremaMapType

Definition at line 68 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ ExtremaMapTypeConstIterator

template<typename TInputImage , typename TLabelImage >
typedef ExtremaMapType::const_iterator itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::ExtremaMapTypeConstIterator

Definition at line 70 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ ExtremaMapTypeIterator

template<typename TInputImage , typename TLabelImage >
typedef ExtremaMapType::iterator itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::ExtremaMapTypeIterator

Definition at line 69 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ IndexType

template<typename TInputImage , typename TLabelImage >
typedef TInputImage::IndexType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::IndexType

Definition at line 44 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ LabelIndexType

template<typename TInputImage , typename TLabelImage >
typedef TLabelImage::IndexType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::LabelIndexType

Definition at line 50 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ LabelPixelType

template<typename TInputImage , typename TLabelImage >
typedef TLabelImage::PixelType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::LabelPixelType

Definition at line 51 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ LabelRegionType

template<typename TInputImage , typename TLabelImage >
typedef TLabelImage::RegionType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::LabelRegionType

Definition at line 48 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ LabelSizeType

template<typename TInputImage , typename TLabelImage >
typedef TLabelImage::SizeType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::LabelSizeType

Definition at line 49 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ MapValueType

template<typename TInputImage , typename TLabelImage >
typedef ExtremaMapType::value_type itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::MapValueType

Definition at line 71 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ PixelType

template<typename TInputImage , typename TLabelImage >
typedef TInputImage::PixelType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::PixelType

Definition at line 45 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ Pointer

template<typename TInputImage , typename TLabelImage >
typedef SmartPointer< Self > itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::Pointer

Definition at line 33 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ RealType

template<typename TInputImage , typename TLabelImage >
typedef NumericTraits< PixelType >::RealType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::RealType

Definition at line 46 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ RegionType

template<typename TInputImage , typename TLabelImage >
typedef TInputImage::RegionType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::RegionType

Definition at line 40 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ Self

template<typename TInputImage , typename TLabelImage >
typedef MinMaxLabelImageFilterWithIndex itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::Self

Standard Self typedef

Definition at line 31 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ SizeType

template<typename TInputImage , typename TLabelImage >
typedef TInputImage::SizeType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::SizeType

Definition at line 43 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ Superclass

template<typename TInputImage , typename TLabelImage >
typedef ImageToImageFilter< TInputImage, TInputImage > itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::Superclass

Definition at line 32 of file mitkMinMaxLabelmageFilterWithIndex.h.

Constructor & Destructor Documentation

◆ MinMaxLabelImageFilterWithIndex()

template<typename TInputImage , typename TLabelImage >
itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::MinMaxLabelImageFilterWithIndex ( )
inlineprotected

Definition at line 166 of file mitkMinMaxLabelmageFilterWithIndex.h.

Member Function Documentation

◆ AfterThreadedGenerateData()

template<typename TInputImage , typename TLabelImage >
void itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::AfterThreadedGenerateData ( )
overrideprotected

◆ AllocateOutputs()

template<typename TInputImage , typename TLabelImage >
void itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::AllocateOutputs ( )
overrideprotected

◆ BeforeThreadedGenerateData()

template<typename TInputImage , typename TLabelImage >
void itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::BeforeThreadedGenerateData ( )
overrideprotected

◆ GetClassName()

template<typename TInputImage , typename TLabelImage >
virtual const char* itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::GetClassName ( ) const
virtual

Runtime information support.

◆ GetGlobalMax()

template<typename TInputImage , typename TLabelImage >
PixelType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::GetGlobalMax ( ) const
inline

Definition at line 137 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ GetGlobalMaxIndex()

template<typename TInputImage , typename TLabelImage >
IndexType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::GetGlobalMaxIndex ( ) const
inline

Definition at line 147 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ GetGlobalMin()

template<typename TInputImage , typename TLabelImage >
PixelType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::GetGlobalMin ( ) const
inline

Definition at line 132 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ GetGlobalMinIndex()

template<typename TInputImage , typename TLabelImage >
IndexType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::GetGlobalMinIndex ( ) const
inline

Definition at line 142 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ GetLabelInput()

template<typename TInputImage , typename TLabelImage >
const TLabelImage* itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::GetLabelInput ( ) const
inline

Get the label image

Definition at line 160 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ GetMax()

template<typename TInputImage , typename TLabelImage >
PixelType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::GetMax ( LabelPixelType  label) const
inline

Definition at line 84 of file mitkMinMaxLabelmageFilterWithIndex.h.

References MITK_ERROR.

◆ GetMaxIndex()

template<typename TInputImage , typename TLabelImage >
IndexType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::GetMaxIndex ( LabelPixelType  label) const
inline

Definition at line 120 of file mitkMinMaxLabelmageFilterWithIndex.h.

References MITK_ERROR.

◆ GetMin()

template<typename TInputImage , typename TLabelImage >
PixelType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::GetMin ( LabelPixelType  label) const
inline

Definition at line 73 of file mitkMinMaxLabelmageFilterWithIndex.h.

References MITK_ERROR.

◆ GetMinIndex()

template<typename TInputImage , typename TLabelImage >
IndexType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::GetMinIndex ( LabelPixelType  label) const
inline

Definition at line 108 of file mitkMinMaxLabelmageFilterWithIndex.h.

References MITK_ERROR.

◆ GetRelevantLabels()

template<typename TInputImage , typename TLabelImage >
std::vector<LabelPixelType> itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::GetRelevantLabels ( ) const
inline

Returns a std::vector containing all labels for which min and max values (and indices) have been computed.

Definition at line 98 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ New()

template<typename TInputImage , typename TLabelImage >
static Pointer itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::New ( )
static

Method for creation through the object factory.

◆ SetLabelInput()

template<typename TInputImage , typename TLabelImage >
void itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::SetLabelInput ( const TLabelImage *  input)
inline

Set the label image

Definition at line 153 of file mitkMinMaxLabelmageFilterWithIndex.h.

◆ ThreadedGenerateData()

template<typename TInputImage , typename TLabelImage >
void itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::ThreadedGenerateData ( const RegionType outputRegionForThread,
ThreadIdType  threadId 
)
overrideprotected

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