Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkGIFGreyLevelDistanceZone.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 mitkGIFGreyLevelDistanceZone_h
14 #define mitkGIFGreyLevelDistanceZone_h
15 
17 #include <mitkBaseData.h>
18 #include <MitkCLUtilitiesExports.h>
19 
20 #include <Eigen/src/Core/Array.h>
21 
22 namespace mitk
23 {
25  {
39  ZonePercentage(0),
40  GreyLevelMean(0),
45  {
46  }
47 
48  public:
62  double GreyLevelMean;
67  };
68 
69 
71  {
151  public:
153  itkFactorylessNewMacro(Self);
154  itkCloneMacro(Self);
155 
157 
161  FeatureListType CalculateFeatures(const Image::Pointer & image, const Image::Pointer &feature) override;
162 
166  FeatureNameListType GetFeatureNames() override;
167 
168  void CalculateFeaturesUsingParameters(const Image::Pointer & feature, const Image::Pointer &mask, const Image::Pointer &maskNoNAN, FeatureListType &featureList) override;
169  void AddArguments(mitkCommandLineParser &parser) override;
170 
171  std::string GetCurrentFeatureEncoding() override;
172 
174  {
176 
178 
179  unsigned int direction;
182  int Bins;
183  std::string prefix;
184  };
185 
186  private:
187  };
188 
189 }
190 #endif //mitkGIFGreyLevelDistanceZone_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)