Medical Imaging Interaction Toolkit  2018.4.99-eed36131
Medical Imaging Interaction Toolkit
mitkGlobalImageFeaturesParameter.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 mitkGlobalImageFeaturesParameter_h
14 #define mitkGlobalImageFeaturesParameter_h
15 
16 #include "MitkCLUtilitiesExports.h"
17 #include "mitkCommandLineParser.h"
18 
19 #include <string>
20 
21 namespace mitk
22 {
23  namespace cl
24  {
26  {
27  public:
28  void AddParameter(mitkCommandLineParser &parser);
29  void ParseParameter(std::map<std::string, us::Any> parsedArgs);
30 
31  std::string imagePath;
32  std::string imageName;
33  std::string imageFolder;
34  std::string maskPath;
35  std::string maskName;
36  std::string maskFolder;
37  std::string outputPath;
38  std::string outputXMLPath;
39 
40  std::string morphPath;
41  std::string morphName;
43 
44  bool useLogfile;
45  std::string logfilePath;
47  std::string anaylsisImagePath;
49  std::string analysisMaskPath;
51  std::string pngScreenshotsPath;
52 
53  bool useHeader;
55 
60 
71  std::string pipelineUID;
73 
74  private:
75  void ParseFileLocations(std::map<std::string, us::Any> &parsedArgs);
76  void ParseAdditionalOutputs(std::map<std::string, us::Any> &parsedArgs);
77  void ParseHeaderInformation(std::map<std::string, us::Any> &parsedArgs);
78  void ParseMaskAdaptation(std::map<std::string, us::Any> &parsedArgs);
79  void ParseGlobalFeatureParameter(std::map<std::string, us::Any> &parsedArgs);
80 
81  };
82  }
83 }
84 
85 
86 
87 #endif //mitkGlobalImageFeaturesParameter_h
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKCLUTILITIES_EXPORT