|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Computes per-label image statistics including histogram, moments, and entropy. More...
#include <mitkLabelStatisticsImageFilter.h>


Classes | |
| class | LabelStatistics |
Public Types | |
| using | Self = LabelStatisticsImageFilter |
| using | Superclass = itk::ImageSink< TInputImage > |
| using | Pointer = itk::SmartPointer< Self > |
| using | ConstPointer = itk::SmartPointer< const Self > |
| using | IndexType = typename TInputImage::IndexType |
| using | SizeType = typename TInputImage::SizeType |
| using | RegionType = typename TInputImage::RegionType |
| using | PixelType = typename TInputImage::PixelType |
| using | LabelPixelType = typename mitk::Label::PixelType |
| using | RealType = typename itk::NumericTraits< PixelType >::RealType |
| using | DataObjectPointer = typename itk::DataObject::Pointer |
| using | RealObjectType = itk::SimpleDataObjectDecorator< RealType > |
| using | BoundingBoxType = std::vector< itk::IndexValueType > |
| using | HistogramType = itk::Statistics::Histogram< RealType > |
| using | HistogramPointer = typename HistogramType::Pointer |
| using | MapType = std::unordered_map< LabelPixelType, LabelStatistics > |
| using | MapIterator = typename MapType::iterator |
| using | MapConstIterator = typename MapType::const_iterator |
| using | ValidLabelValuesContainerType = std::vector< LabelPixelType > |
| using | LabelImageType = itk::Image< LabelPixelType, ImageDimension > |
| using | ProcessObject = itk::ProcessObject |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Attributes | |
| static constexpr unsigned int | ImageDimension |
Protected Member Functions | |
| LabelStatisticsImageFilter () | |
| ~LabelStatisticsImageFilter () | |
| void | BeforeStreamedGenerateData () override |
| void | ThreadedStreamedGenerateData (const RegionType &) override |
| void | AfterStreamedGenerateData () override |
| void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
Computes per-label image statistics including histogram, moments, and entropy.
This filter is a MITK-specific replacement for ITK's itkLabelStatisticsImageFilter. It computes, for each label in a label image, a comprehensive set of statistics: count, min, max, mean, sigma, variance, sum, sum of squares/cubes/quadruples, skewness, kurtosis, MPP, median, uniformity, UPP, entropy, and a histogram.
The filter is streaming-capable via itk::ImageSink and supports multi-threaded processing.
| TInputImage | The type of the input intensity image. |
Definition at line 49 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::BoundingBoxType = std::vector<itk::IndexValueType> |
Definition at line 75 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 55 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::DataObjectPointer = typename itk::DataObject::Pointer |
Definition at line 71 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::HistogramPointer = typename HistogramType::Pointer |
Definition at line 78 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::HistogramType = itk::Statistics::Histogram<RealType> |
Definition at line 77 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::IndexType = typename TInputImage::IndexType |
Definition at line 61 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::LabelImageType = itk::Image<LabelPixelType, ImageDimension> |
Definition at line 136 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::LabelPixelType = typename mitk::Label::PixelType |
Definition at line 65 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::MapConstIterator = typename MapType::const_iterator |
Definition at line 112 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::MapIterator = typename MapType::iterator |
Definition at line 111 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::MapType = std::unordered_map<LabelPixelType, LabelStatistics> |
Definition at line 110 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::PixelType = typename TInputImage::PixelType |
Definition at line 64 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::Pointer = itk::SmartPointer<Self> |
Definition at line 54 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::ProcessObject = itk::ProcessObject |
Definition at line 137 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::RealObjectType = itk::SimpleDataObjectDecorator<RealType> |
Definition at line 73 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::RealType = typename itk::NumericTraits<PixelType>::RealType |
Definition at line 69 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::RegionType = typename TInputImage::RegionType |
Definition at line 63 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::Self = LabelStatisticsImageFilter |
Definition at line 52 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::SizeType = typename TInputImage::SizeType |
Definition at line 62 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::Superclass = itk::ImageSink<TInputImage> |
Definition at line 53 of file mitkLabelStatisticsImageFilter.h.
| using mitk::LabelStatisticsImageFilter< TInputImage >::ValidLabelValuesContainerType = std::vector<LabelPixelType> |
Definition at line 114 of file mitkLabelStatisticsImageFilter.h.
|
protected |
|
protected |
|
overrideprotected |
|
overrideprotected |
| BoundingBoxType mitk::LabelStatisticsImageFilter< TInputImage >::GetBoundingBox | ( | LabelPixelType | label | ) | const |
|
virtual |
| itk::SizeValueType mitk::LabelStatisticsImageFilter< TInputImage >::GetCount | ( | LabelPixelType | label | ) | const |
| RealType mitk::LabelStatisticsImageFilter< TInputImage >::GetEntropy | ( | LabelPixelType | label | ) | const |
| HistogramPointer mitk::LabelStatisticsImageFilter< TInputImage >::GetHistogram | ( | LabelPixelType | label | ) | const |
| RealType mitk::LabelStatisticsImageFilter< TInputImage >::GetKurtosis | ( | LabelPixelType | label | ) | const |
| PixelType mitk::LabelStatisticsImageFilter< TInputImage >::GetMaximum | ( | LabelPixelType | label | ) | const |
| RealType mitk::LabelStatisticsImageFilter< TInputImage >::GetMean | ( | LabelPixelType | label | ) | const |
| RealType mitk::LabelStatisticsImageFilter< TInputImage >::GetMedian | ( | LabelPixelType | label | ) | const |
| PixelType mitk::LabelStatisticsImageFilter< TInputImage >::GetMinimum | ( | LabelPixelType | label | ) | const |
| RealType mitk::LabelStatisticsImageFilter< TInputImage >::GetMPP | ( | LabelPixelType | label | ) | const |
| unsigned int mitk::LabelStatisticsImageFilter< TInputImage >::GetNumberOfLabels | ( | ) | const |
| unsigned int mitk::LabelStatisticsImageFilter< TInputImage >::GetNumberOfObjects | ( | ) | const |
| RegionType mitk::LabelStatisticsImageFilter< TInputImage >::GetRegion | ( | LabelPixelType | label | ) | const |
| RealType mitk::LabelStatisticsImageFilter< TInputImage >::GetSigma | ( | LabelPixelType | label | ) | const |
| RealType mitk::LabelStatisticsImageFilter< TInputImage >::GetSkewness | ( | LabelPixelType | label | ) | const |
| RealType mitk::LabelStatisticsImageFilter< TInputImage >::GetSum | ( | LabelPixelType | label | ) | const |
| RealType mitk::LabelStatisticsImageFilter< TInputImage >::GetSumOfCubes | ( | LabelPixelType | label | ) | const |
| RealType mitk::LabelStatisticsImageFilter< TInputImage >::GetSumOfQuadruples | ( | LabelPixelType | label | ) | const |
| RealType mitk::LabelStatisticsImageFilter< TInputImage >::GetSumOfSquares | ( | LabelPixelType | label | ) | const |
| RealType mitk::LabelStatisticsImageFilter< TInputImage >::GetUniformity | ( | LabelPixelType | label | ) | const |
| RealType mitk::LabelStatisticsImageFilter< TInputImage >::GetUPP | ( | LabelPixelType | label | ) | const |
| const ValidLabelValuesContainerType& mitk::LabelStatisticsImageFilter< TInputImage >::GetValidLabelValues | ( | ) | const |
Get the list of label values that were found during processing.
| RealType mitk::LabelStatisticsImageFilter< TInputImage >::GetVariance | ( | LabelPixelType | label | ) | const |
| bool mitk::LabelStatisticsImageFilter< TInputImage >::HasLabel | ( | LabelPixelType | label | ) | const |
| mitk::LabelStatisticsImageFilter< TInputImage >::itkGetInputMacro | ( | LabelInput | , |
| LabelImageType | |||
| ) |
| mitk::LabelStatisticsImageFilter< TInputImage >::itkSetInputMacro | ( | LabelInput | , |
| LabelImageType | |||
| ) |
|
static |
|
overrideprotected |
| void mitk::LabelStatisticsImageFilter< TInputImage >::SetHistogramParameters | ( | const std::unordered_map< LabelPixelType, unsigned int > & | sizes, |
| const std::unordered_map< LabelPixelType, RealType > & | lowerBounds, | ||
| const std::unordered_map< LabelPixelType, RealType > & | upperBounds | ||
| ) |
Set per-label histogram parameters.
Configures the number of bins, lower bound, and upper bound for the histogram of each label individually. Must be called before Update().
| [in] | sizes | Map from label value to number of histogram bins. |
| [in] | lowerBounds | Map from label value to histogram lower bound. |
| [in] | upperBounds | Map from label value to histogram upper bound. |
|
overrideprotected |
|
staticconstexpr |
Definition at line 67 of file mitkLabelStatisticsImageFilter.h.