Medical Imaging Interaction Toolkit  2018.4.99-1bab67a2
Medical Imaging Interaction Toolkit
mitkGIFLocalIntensity.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 mitkGIFLocalIntensity_h
14 #define mitkGIFLocalIntensity_h
15 
17 #include <mitkBaseData.h>
18 #include <MitkCLUtilitiesExports.h>
19 
20 namespace mitk
21 {
47  {
48  public:
50  itkFactorylessNewMacro(Self);
51  itkCloneMacro(Self);
52 
54 
58  FeatureListType CalculateFeatures(const Image::Pointer & image, const Image::Pointer &feature) override;
59 
63  FeatureNameListType GetFeatureNames() override;
64 
65  void CalculateFeaturesUsingParameters(const Image::Pointer & feature, const Image::Pointer &mask, const Image::Pointer &maskNoNAN, FeatureListType &featureList) override;
66  void AddArguments(mitkCommandLineParser &parser) override;
67 
68  std::string GetCurrentFeatureEncoding() override;
69 
70  itkGetConstMacro(Range, double);
71  itkSetMacro(Range, double);
72 
73  private:
74 
75  double m_Range;
76  };
77 }
78 #endif //mitkGIFLocalIntensity_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
Calculates the local intensity features.
#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)