Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkGIFLocalIntensity.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 mitkGIFLocalIntensity_h
14 #define mitkGIFLocalIntensity_h
15 
17 #include <mitkBaseData.h>
18 #include <MitkCLUtilitiesExports.h>
19 
20 namespace mitk
21 {
47  {
48  public:
50  itkFactorylessNewMacro(Self);
51  itkCloneMacro(Self);
52 
54 
56  itkGetConstMacro(Range, double);
58  itkSetMacro(Range, double);
59 
68  FeatureListType CalculateFeatures(const Image* image, const Image* mask, const Image* maskNoNAN) override;
69  using Superclass::CalculateFeatures;
70 
75  void AddArguments(mitkCommandLineParser& parser) const override;
76 
77  protected:
78  std::string GenerateLegacyFeatureEncoding(const FeatureID& id) const override;
79  FeatureListType DoCalculateFeatures(const Image* image, const Image* mask) override;
80  void ConfigureSettingsByParameters(const ParametersType& parameters) override;
81 
82  private:
83  double m_Range;
84  };
85 }
86 #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
Calculates the local intensity features.
mitkClassMacro(GIFLocalIntensity, AbstractGlobalImageFeature)
FeatureListType CalculateFeatures(const Image *image, const Image *mask, const Image *maskNoNAN) override
Calculate local intensity features for the given image and mask.
void ConfigureSettingsByParameters(const ParametersType &parameters) override
std::string GenerateLegacyFeatureEncoding(const FeatureID &id) const override
FeatureListType DoCalculateFeatures(const Image *image, const Image *mask) override
void AddArguments(mitkCommandLineParser &parser) const override
Add command line arguments for configuring this feature class.
Image class for storing multi-dimensional medical image data.
Definition: mitkImage.h:76
Find image slices visible on a given plane.
Unique identifier for a computed image feature.