Medical Imaging Interaction Toolkit  2018.4.99-b585543d
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 
76  FeatureListType CalculateFeatures(const Image::Pointer & image, const Image::Pointer &feature) override;
77 
81  FeatureNameListType GetFeatureNames() override;
82 
83  std::string GetCurrentFeatureEncoding() override;
84 
85  void CalculateFeaturesUsingParameters(const Image::Pointer & feature, const Image::Pointer &mask, const Image::Pointer &maskNoNAN, FeatureListType &featureList) override;
86  void AddArguments(mitkCommandLineParser &parser) override;
87 
88  itkSetMacro(Range, int);
89  itkGetConstMacro(Range, int);
90 
91  private:
92  int m_Range;
93  };
94 }
95 #endif //mitkGIFNeighbourhoodGreyToneDifferenceFeatures_h
Base of all data objects.
Definition: mitkBaseData.h:37
DataCollection - Class to facilitate loading/accessing structured data.
std::vector< std::pair< std::string, double > > FeatureListType
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
#define MITKCLUTILITIES_EXPORT
mitk::Image::Pointer image
Calculates the Neighbourhood Grey Tone Difference Features.
mitk::Image::Pointer mask
void CalculateFeatures(mitk::CoocurenceMatrixHolder &holder, mitk::CoocurenceMatrixFeatures &results)