Medical Imaging Interaction Toolkit  2018.4.99-18ddd2ed
Medical Imaging Interaction Toolkit
mitkModelFitCmdAppsHelper.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 _MITK_MODEL_FIT_CMD_APPS_HELPER_H_
14 #define _MITK_MODEL_FIT_CMD_APPS_HELPER_H_
15 
16 // std includes
17 #include <string>
18 
19 // itk includes
20 #include "itksys/SystemTools.hxx"
21 
22 // MITK includes
24 #include <mitkModelFitInfo.h>
26 #include <mitkIOUtil.h>
27 
28 #include "MitkModelFitExports.h"
29 
30 namespace mitk
31 {
32 
36  MITKMODELFIT_EXPORT std::string generateModelFitResultImagePath(const std::string& outputPathTemplate, const std::string& parameterName);
37 
41  MITKMODELFIT_EXPORT void storeParameterResultImage(const std::string& outputPathTemplate, const std::string& parameterName, mitk::Image* image, mitk::modelFit::Parameter::Type parameterType = mitk::modelFit::Parameter::ParameterType);
42 
46  MITKMODELFIT_EXPORT void storeModelFitResultImage(const std::string& outputPathTemplate, const std::string& parameterName, mitk::Image* image, mitk::modelFit::Parameter::Type nodeType, const mitk::modelFit::ModelFitInfo* modelFitInfo);
47 
50  MITKMODELFIT_EXPORT void storeModelFitGeneratorResults(const std::string& outputPathTemplate, mitk::ParameterFitImageGeneratorBase* generator, const mitk::modelFit::ModelFitInfo* fitSession);
51 
53  MITKMODELFIT_EXPORT void previewModelFitGeneratorResults(const std::string& outputPathTemplate, mitk::ParameterFitImageGeneratorBase* generator);
54 
55 }
56 #endif
MITKMODELFIT_EXPORT std::string generateModelFitResultImagePath(const std::string &outputPathTemplate, const std::string &parameterName)
DataCollection - Class to facilitate loading/accessing structured data.
MITKMODELFIT_EXPORT void previewModelFitGeneratorResults(const std::string &outputPathTemplate, mitk::ParameterFitImageGeneratorBase *generator)
#define MITKMODELFIT_EXPORT
Image class for storing images.
Definition: mitkImage.h:72
mitk::Image::Pointer image
Data class that stores all information about a modelfit that is relevant to the visualization and sto...
MITKMODELFIT_EXPORT void storeModelFitResultImage(const std::string &outputPathTemplate, const std::string &parameterName, mitk::Image *image, mitk::modelFit::Parameter::Type nodeType, const mitk::modelFit::ModelFitInfo *modelFitInfo)
MITKMODELFIT_EXPORT void storeParameterResultImage(const std::string &outputPathTemplate, const std::string &parameterName, mitk::Image *image, mitk::modelFit::Parameter::Type parameterType=mitk::modelFit::Parameter::ParameterType)
MITKMODELFIT_EXPORT void storeModelFitGeneratorResults(const std::string &outputPathTemplate, mitk::ParameterFitImageGeneratorBase *generator, const mitk::modelFit::ModelFitInfo *fitSession)