Medical Imaging Interaction Toolkit  2022.04.99-b878213f
Medical Imaging Interaction Toolkit
mitkGIFNeighbourhoodGreyToneDifferenceFeatures.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 mitkGIFNeighbourhoodGreyToneDifferenceFeatures_h
14 #define mitkGIFNeighbourhoodGreyToneDifferenceFeatures_h
15 
17 #include <mitkBaseData.h>
18 #include <MitkCLUtilitiesExports.h>
19 
20 namespace mitk
21 {
65  {
66  public:
68  itkFactorylessNewMacro(Self);
69  itkCloneMacro(Self);
70 
72 
73  itkSetMacro(Range, int);
74  itkGetConstMacro(Range, int);
75 
76  FeatureListType CalculateFeatures(const Image* image, const Image* mask, const Image* maskNoNAN) override;
77  using Superclass::CalculateFeatures;
78 
79  void AddArguments(mitkCommandLineParser& parser) const override;
80 
81  protected:
82  std::string GenerateLegacyFeatureEncoding(const FeatureID& id) const override;
83  FeatureListType DoCalculateFeatures(const Image* image, const Image* mask) override;
84  void ConfigureSettingsByParameters(const ParametersType& parameters) override;
85 
86  private:
87  int m_Range;
88  };
89 }
90 #endif //mitkGIFNeighbourhoodGreyToneDifferenceFeatures_h
Base of all data objects.
Definition: mitkBaseData.h:42
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
Image class for storing images.
Definition: mitkImage.h:69
std::vector< std::pair< FeatureID, double > > FeatureListType
#define MITKCLUTILITIES_EXPORT
Calculates the Neighbourhood Grey Tone Difference Features.