Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkGIFGreyLevelDistanceZone.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkGIFGreyLevelDistanceZone_h
14 #define mitkGIFGreyLevelDistanceZone_h
15 
17 #include <mitkBaseData.h>
18 #include <MitkCLUtilitiesExports.h>
19 
20 #include <itkeigen/Eigen/src/Core/Array.h>
21 
22 namespace mitk
23 {
30  {
44  ZonePercentage(0),
45  GreyLevelMean(0),
50  {
51  }
52 
53  public:
66  double ZonePercentage;
67  double GreyLevelMean;
72  };
73 
74 
76  {
156  public:
158  itkFactorylessNewMacro(Self);
159  itkCloneMacro(Self);
160 
162 
171  FeatureListType CalculateFeatures(const Image* image, const Image* mask, const Image* maskNoNAN) override;
172  using Superclass::CalculateFeatures;
173 
178  void AddArguments(mitkCommandLineParser& parser) const override;
179 
180  protected:
181  FeatureListType DoCalculateFeatures(const Image* image, const Image* mask) override;
182  };
183 
184 }
185 #endif
#define MITKCLUTILITIES_EXPORT
Command line argument parser for MITK applications, based on the CTK command line parser.
std::vector< std::pair< FeatureID, double > > FeatureListType
mitkClassMacro(GIFGreyLevelDistanceZone, AbstractGlobalImageFeature)
Calculates the Grey Level Distance Zone.
void AddArguments(mitkCommandLineParser &parser) const override
Add command line arguments for configuring this feature class.
FeatureListType CalculateFeatures(const Image *image, const Image *mask, const Image *maskNoNAN) override
Calculate grey level distance zone features for the given image and mask.
FeatureListType DoCalculateFeatures(const Image *image, const Image *mask) override
Image class for storing multi-dimensional medical image data.
Definition: mitkImage.h:76
Find image slices visible on a given plane.
Data structure holding all Grey Level Distance Zone feature values.
double GreyLevelMean
Mean grey level of all zones.
double SmallDistanceLowGreyLevelEmphasis
Combined emphasis on small distance and low grey level.
double LargeDistanceHighGreyLevelEmphasis
Combined emphasis on large distance and high grey level.
double GreyLevelNonUniformity
Measures variability in grey level distribution.
double LargeDistanceLowGreyLevelEmphasis
Combined emphasis on large distance and low grey level.
double GreyLevelNonUniformityNormalized
Normalized grey level non-uniformity.
double ZoneDistanceNoneUniformityNormalized
Normalized zone distance non-uniformity.
double ZoneDistanceVariance
Variance of zone distances.
double SmallDistanceEmphasis
Emphasis on zones with small distance to the border.
double HighGreyLevelEmphasis
Emphasis on zones with high grey level values.
double ZoneDistanceEntropy
Entropy of the zone distance distribution.
double ZonePercentage
Ratio of realized zones to total voxels.
double ZoneDistanceNonUniformity
Measures variability in zone distance distribution.
double LargeDistanceEmphasis
Emphasis on zones with large distance to the border.
double LowGreyLevelEmphasis
Emphasis on zones with low grey level values.
double SmallDistanceHighGreyLevelEmphasis
Combined emphasis on small distance and high grey level.
double ZoneDistanceMean
Mean distance of all zones.
double GreyLevelVariance
Variance of grey levels across zones.