Medical Imaging Interaction Toolkit  2018.4.99-b585543d
Medical Imaging Interaction Toolkit
mitkGIFFirstOrderStatistics.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 mitkGIFFirstOrderStatistics_h
14 #define mitkGIFFirstOrderStatistics_h
15 
17 #include <mitkBaseData.h>
18 #include <MitkCLUtilitiesExports.h>
19 
20 namespace mitk
21 {
23  {
24  public:
131  itkFactorylessNewMacro(Self);
132  itkCloneMacro(Self);
133 
135 
139  FeatureListType CalculateFeatures(const Image::Pointer & image, const Image::Pointer &feature) override;
140 
144  FeatureNameListType GetFeatureNames() override;
145  std::string GetCurrentFeatureEncoding() override;
146 
147  void CalculateFeaturesUsingParameters(const Image::Pointer & feature, const Image::Pointer &mask, const Image::Pointer &maskNoNAN, FeatureListType &featureList) override;
148  void AddArguments(mitkCommandLineParser &parser) override;
149 
150 
154  int Bins;
155  std::string prefix;
156  };
157 
158  };
159 }
160 #endif //mitkGIFFirstOrderStatistics_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)