Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitkGIFNeighbourhoodGreyLevelDifference.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 mitkGIFNeighbourhoodGreyLevelDifference_h
14 #define mitkGIFNeighbourhoodGreyLevelDifference_h
15 
17 #include <mitkBaseData.h>
18 #include <MitkCLUtilitiesExports.h>
19 
20 namespace mitk
21 {
23  {
24  public:
26  itkFactorylessNewMacro(Self)
27  itkCloneMacro(Self)
28 
30 
34  FeatureListType CalculateFeatures(const Image::Pointer & image, const Image::Pointer &feature) override;
35 
39  FeatureNameListType GetFeatureNames() override;
40 
41  itkGetConstMacro(Range,double);
42  itkSetMacro(Range, double);
43 
44  itkGetConstMacro(UseCtRange, bool);
45  itkSetMacro(UseCtRange, bool);
46 
47  void CalculateFeaturesUsingParameters(const Image::Pointer & feature, const Image::Pointer &mask, const Image::Pointer &maskNoNAN, FeatureListType &featureList) override;
48  void AddArguments(mitkCommandLineParser &parser) override;
49 
50 
52  {
54  double m_Range;
55  unsigned int m_Direction;
56  };
57 
58  private:
59  double m_Range;
60  bool m_UseCtRange;
61  };
62 }
63 #endif //mitkGIFNeighbourhoodGreyLevelDifference_h
Base of all data objects.
Definition: mitkBaseData.h:37
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
#define MITKCLUTILITIES_EXPORT
mitk::Image::Pointer image
mitk::Image::Pointer mask
void CalculateFeatures(mitk::CoocurenceMatrixHolder &holder, mitk::CoocurenceMatrixFeatures &results)