Medical Imaging Interaction Toolkit  2018.4.99-1bab67a2
Medical Imaging Interaction Toolkit
mitkGIFCooccurenceMatrix.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 mitkGIFCooccurenceMatrix_h
14 #define mitkGIFCooccurenceMatrix_h
15 
17 #include <mitkBaseData.h>
18 #include <MitkCLUtilitiesExports.h>
19 
20 namespace mitk
21 {
22 
24  {
33  public:
35  itkFactorylessNewMacro(Self);
36  itkCloneMacro(Self);
37 
39 
43  FeatureListType CalculateFeatures(const Image::Pointer & image, const Image::Pointer &feature) override;
44 
48  FeatureNameListType GetFeatureNames() override;
49 
50  itkGetConstMacro(Range,double);
51  itkSetMacro(Range, double);
52 
53  void CalculateFeaturesUsingParameters(const Image::Pointer & feature, const Image::Pointer &mask, const Image::Pointer &maskNoNAN, FeatureListType &featureList) override;
54  void AddArguments(mitkCommandLineParser &parser) override;
55 
56 
58  {
59  double range;
60  unsigned int direction;
61 
66  int Bins;
67  };
68 
69  private:
70  double m_Range;
71  };
72 
73 }
74 #endif //mitkGIFCooccurenceMatrix_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
mitk::Image::Pointer mask
void CalculateFeatures(mitk::CoocurenceMatrixHolder &holder, mitk::CoocurenceMatrixFeatures &results)