Medical Imaging Interaction Toolkit  2022.04.99-b878213f
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 
55  itkGetConstMacro(Range, double);
56  itkSetMacro(Range, double);
57 
58  FeatureListType CalculateFeatures(const Image* image, const Image* mask, const Image* maskNoNAN) override;
59  using Superclass::CalculateFeatures;
60 
61  void AddArguments(mitkCommandLineParser& parser) const override;
62 
63  protected:
64  std::string GenerateLegacyFeatureEncoding(const FeatureID& id) const override;
65  FeatureListType DoCalculateFeatures(const Image* image, const Image* mask) override;
66  void ConfigureSettingsByParameters(const ParametersType& parameters) override;
67 
68  private:
69  double m_Range;
70  };
71 }
72 #endif //mitkGIFLocalIntensity_h
Base of all data objects.
Definition: mitkBaseData.h:42
DataCollection - Class to facilitate loading/accessing structured data.
Calculates the local intensity features.
#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