Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkGIFNeighbouringGreyLevelDependenceFeatures.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 mitkGIFNeighbouringGreyLevelDependenceFeatures_h
14 #define mitkGIFNeighbouringGreyLevelDependenceFeatures_h
15 
17 #include <mitkBaseData.h>
18 #include <MitkCLUtilitiesExports.h>
19 
20 #include <itkeigen/Eigen/src/Core/Array.h>
21 
22 namespace mitk
23 {
117  {
118  public:
120  itkFactorylessNewMacro(Self);
121  itkCloneMacro(Self);
122 
124 
125  FeatureListType CalculateFeatures(const Image* image, const Image* mask, const Image* maskNoNAN) override;
126  using Superclass::CalculateFeatures;
127 
128  itkGetConstMacro(Ranges, std::vector<double>);
129  void SetRanges(std::vector<double> ranges);
130  void SetRange(double range);
131  itkGetConstMacro(Alpha, int);
132  itkSetMacro(Alpha, int);
133 
134  void AddArguments(mitkCommandLineParser& parser) const override;
135 
136  protected:
137  std::string GenerateLegacyFeatureEncoding(const FeatureID& id) const override;
138 
139  FeatureListType DoCalculateFeatures(const Image* image, const Image* mask) override;
140 
141  void ConfigureSettingsByParameters(const ParametersType& parameters) override;
142 
143  private:
144  std::vector<double> m_Ranges;
145  int m_Alpha;
146  };
147 
148 }
149 #endif
mitkAbstractGlobalImageFeature.h
MITKCLUTILITIES_EXPORT
#define MITKCLUTILITIES_EXPORT
Definition: MitkCLUtilitiesExports.h:15
mitk::FeatureID
Definition: mitkAbstractGlobalImageFeature.h:38
mitk::Image
Image class for storing images.
Definition: mitkImage.h:69
mitk::GIFNeighbouringGreyLevelDependenceFeature
Calculates the Neighbouring Grey Level Dependence Features.
Definition: mitkGIFNeighbouringGreyLevelDependenceFeatures.h:116
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::AbstractGlobalImageFeature
Definition: mitkAbstractGlobalImageFeature.h:151
mitk::BaseData
Base of all data objects.
Definition: mitkBaseData.h:42
mitkCommandLineParser
Definition: mitkCommandLineParser.h:50
mitkBaseData.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::AbstractGlobalImageFeature::FeatureListType
std::vector< std::pair< FeatureID, double > > FeatureListType
Definition: mitkAbstractGlobalImageFeature.h:156
mitk::AbstractGlobalImageFeature::ParametersType
FeatureID::ParametersType ParametersType
Definition: mitkAbstractGlobalImageFeature.h:157
MitkCLUtilitiesExports.h