|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Computes per-label and global minimum/maximum pixel values with their indices. More...
#include <mitkMinMaxLabelmageFilterWithIndex.h>


Classes | |
| class | LabelExtrema |
| Container holding minimum/maximum values and their indices for a single label. More... | |
Public Types | |
| typedef MinMaxLabelImageFilterWithIndex | Self |
| typedef ImageToImageFilter< TInputImage, TInputImage > | Superclass |
| typedef SmartPointer< Self > | Pointer |
| typedef SmartPointer< const Self > | ConstPointer |
| 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, LabelExtrema > | ExtremaMapType |
| 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 |
| Get the minimum pixel value for the given label. More... | |
| PixelType | GetMax (LabelPixelType label) const |
| Get the maximum pixel value for the given label. More... | |
| std::vector< LabelPixelType > | GetRelevantLabels () const |
| Get all labels for which extrema have been computed. More... | |
| IndexType | GetMinIndex (LabelPixelType label) const |
| Get the index of the minimum pixel value for the given label. More... | |
| IndexType | GetMaxIndex (LabelPixelType label) const |
| Get the index of the maximum pixel value for the given label. More... | |
| PixelType | GetGlobalMin () const |
| Get the global minimum pixel value across all labels. More... | |
| PixelType | GetGlobalMax () const |
| Get the global maximum pixel value across all labels. More... | |
| IndexType | GetGlobalMinIndex () const |
| Get the index of the global minimum pixel value. More... | |
| IndexType | GetGlobalMaxIndex () const |
| Get the index of the global maximum pixel value. More... | |
| void | SetLabelInput (const TLabelImage *input) |
| Set the label image defining label regions. More... | |
| const TLabelImage * | GetLabelInput () const |
| Get the label image. More... | |
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 |
Computes per-label and global minimum/maximum pixel values with their indices.
This ITK filter computes the minimum and maximum pixel values (and their indices) for each label in a label image, as well as the global extrema across all labels. It uses multi-threaded processing for performance.
| TInputImage | The type of the input intensity image. |
| TLabelImage | The type of the label image. |
Definition at line 40 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef SmartPointer< const Self > itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::ConstPointer |
Definition at line 47 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef std::unordered_map<LabelPixelType, LabelExtrema> itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::ExtremaMapType |
Definition at line 81 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef ExtremaMapType::const_iterator itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::ExtremaMapTypeConstIterator |
Definition at line 83 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef ExtremaMapType::iterator itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::ExtremaMapTypeIterator |
Definition at line 82 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef TInputImage::IndexType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::IndexType |
Definition at line 57 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef TLabelImage::IndexType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::LabelIndexType |
Definition at line 63 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef TLabelImage::PixelType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::LabelPixelType |
Definition at line 64 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef TLabelImage::RegionType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::LabelRegionType |
Definition at line 61 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef TLabelImage::SizeType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::LabelSizeType |
Definition at line 62 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef ExtremaMapType::value_type itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::MapValueType |
Definition at line 84 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef TInputImage::PixelType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::PixelType |
Definition at line 58 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef SmartPointer< Self > itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::Pointer |
Definition at line 46 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef NumericTraits< PixelType >::RealType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::RealType |
Definition at line 59 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef TInputImage::RegionType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::RegionType |
Definition at line 55 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef MinMaxLabelImageFilterWithIndex itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::Self |
Standard Self typedef
Definition at line 44 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef TInputImage::SizeType itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::SizeType |
Definition at line 56 of file mitkMinMaxLabelmageFilterWithIndex.h.
| typedef ImageToImageFilter< TInputImage, TInputImage > itk::MinMaxLabelImageFilterWithIndex< TInputImage, TLabelImage >::Superclass |
Definition at line 45 of file mitkMinMaxLabelmageFilterWithIndex.h.
|
inlineprotected |
Definition at line 222 of file mitkMinMaxLabelmageFilterWithIndex.h.
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
virtual |
Runtime information support.
|
inline |
Get the global maximum pixel value across all labels.
Definition at line 179 of file mitkMinMaxLabelmageFilterWithIndex.h.
|
inline |
Get the index of the global maximum pixel value.
Definition at line 197 of file mitkMinMaxLabelmageFilterWithIndex.h.
|
inline |
Get the global minimum pixel value across all labels.
Definition at line 170 of file mitkMinMaxLabelmageFilterWithIndex.h.
|
inline |
Get the index of the global minimum pixel value.
Definition at line 188 of file mitkMinMaxLabelmageFilterWithIndex.h.
|
inline |
Get the label image.
Definition at line 216 of file mitkMinMaxLabelmageFilterWithIndex.h.
|
inline |
Get the maximum pixel value for the given label.
| [in] | label | The label value to query. |
Definition at line 107 of file mitkMinMaxLabelmageFilterWithIndex.h.
References MITK_ERROR.
|
inline |
Get the index of the maximum pixel value for the given label.
| [in] | label | The label value to query. |
Definition at line 154 of file mitkMinMaxLabelmageFilterWithIndex.h.
References MITK_ERROR.
|
inline |
Get the minimum pixel value for the given label.
| [in] | label | The label value to query. |
Definition at line 91 of file mitkMinMaxLabelmageFilterWithIndex.h.
References MITK_ERROR.
|
inline |
Get the index of the minimum pixel value for the given label.
| [in] | label | The label value to query. |
Definition at line 137 of file mitkMinMaxLabelmageFilterWithIndex.h.
References MITK_ERROR.
|
inline |
Get all labels for which extrema have been computed.
Definition at line 122 of file mitkMinMaxLabelmageFilterWithIndex.h.
|
static |
Method for creation through the object factory.
|
inline |
Set the label image defining label regions.
| [in] | input | Pointer to the label image. |
Definition at line 206 of file mitkMinMaxLabelmageFilterWithIndex.h.
|
overrideprotected |