Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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 
39  std::string morphPath;
40  std::string morphName;
42 
43  bool useLogfile;
44  std::string logfilePath;
46  std::string anaylsisImagePath;
48  std::string analysisMaskPath;
50  std::string pngScreenshotsPath;
51 
52  bool useHeader;
54 
59 
70 
71  private:
72  void ParseFileLocations(std::map<std::string, us::Any> &parsedArgs);
73  void ParseAdditionalOutputs(std::map<std::string, us::Any> &parsedArgs);
74  void ParseHeaderInformation(std::map<std::string, us::Any> &parsedArgs);
75  void ParseMaskAdaptation(std::map<std::string, us::Any> &parsedArgs);
76  void ParseGlobalFeatureParameter(std::map<std::string, us::Any> &parsedArgs);
77 
78  };
79  }
80 }
81 
82 
83 
84 #endif //mitkGlobalImageFeaturesParameter_h
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKCLUTILITIES_EXPORT