Medical Imaging Interaction Toolkit  2018.4.99-3e3f1a6e
Medical Imaging Interaction Toolkit
mitkGIFGreyLevelRunLength.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 mitkGIFGreyLevelRunLength_h
14 #define mitkGIFGreyLevelRunLength_h
15 
17 #include <mitkBaseData.h>
18 #include <MitkCLUtilitiesExports.h>
19 
20 namespace mitk
21 {
94  {
95  public:
97  itkFactorylessNewMacro(Self);
98  itkCloneMacro(Self);
99 
101 
105  FeatureListType CalculateFeatures(const Image::Pointer & image, const Image::Pointer &feature) override;
106 
110  FeatureNameListType GetFeatureNames() override;
111 
112  void CalculateFeaturesUsingParameters(const Image::Pointer & feature, const Image::Pointer &mask, const Image::Pointer &maskNoNAN, FeatureListType &featureList) override;
113  void AddArguments(mitkCommandLineParser &parser) override;
114 
115  std::string GetCurrentFeatureEncoding() override;
116 
118  {
119  unsigned int m_Direction;
120 
123  int Bins;
124  std::string featurePrefix;
125  };
126 
127  private:
128 
129  };
130 }
131 #endif //mitkGIFGreyLevelRunLength_h
Base of all data objects.
Definition: mitkBaseData.h:37
Calculates the Run Length based features.
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)