Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkGIFFirstOrderStatistics.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 mitkGIFFirstOrderStatistics_h
14 #define mitkGIFFirstOrderStatistics_h
15 
17 #include <mitkBaseData.h>
18 #include <MitkCLUtilitiesExports.h>
19 
20 namespace mitk
21 {
23  {
24  public:
131  itkFactorylessNewMacro(Self);
132  itkCloneMacro(Self);
133 
135 
136  FeatureListType CalculateFeatures(const Image* image, const Image* mask, const Image* maskNoNAN) override;
137  using Superclass::CalculateFeatures;
138 
139  void AddArguments(mitkCommandLineParser& parser) const override;
140 
141  protected:
142  FeatureListType DoCalculateFeatures(const Image* image, const Image* mask) override;
143  };
144 }
145 #endif
#define MITKCLUTILITIES_EXPORT
std::vector< std::pair< FeatureID, double > > FeatureListType
FeatureListType DoCalculateFeatures(const Image *image, const Image *mask) override
mitkClassMacro(GIFFirstOrderStatistics, AbstractGlobalImageFeature)
Calculates first order statistics of the given image.
void AddArguments(mitkCommandLineParser &parser) const override
FeatureListType CalculateFeatures(const Image *image, const Image *mask, const Image *maskNoNAN) override
Image class for storing images.
Definition: mitkImage.h:70
Find image slices visible on a given plane.