Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkModelFitResultHelper.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 mitkModelFitResultHelper_h
14 #define mitkModelFitResultHelper_h
15 
16 #include <mitkImage.h>
17 #include <mitkDataNode.h>
18 
20 #include "mitkModelBase.h"
21 #include "mitkModelFitParameter.h"
23 
24 #include "MitkModelFitExports.h"
25 
26 namespace mitk
27 {
28  class DataStorage;
29  class ModelTraitsInterface;
30  class ModelBase;
31 
32  namespace modelFit
33  {
34  class ModelFitInfo;
35 
36  typedef std::map<ModelBase::ParameterNameType,Image::Pointer> ModelFitResultImageMapType;
37  typedef std::vector<DataNode::Pointer> ModelFitResultNodeVectorType;
38 
48 
49  MITKMODELFIT_EXPORT mitk::ScalarListLookupTableProperty::Pointer ConvertStaticParametersToProperty(const mitk::modelFit::StaticParameterMap& params);
50 
52 
54 
55  MITKMODELFIT_EXPORT void StoreResultsInDataStorage(DataStorage* storage, const ModelFitResultNodeVectorType& resultNodes, DataNode* parentNode = nullptr);
56 
57  }
58 
59 }
60 
61 #endif
mitkImage.h
mitk::modelFit::CreateResultNodeMap
MITKMODELFIT_EXPORT ModelFitResultNodeVectorType CreateResultNodeMap(const ModelFitResultImageMapType &results, const ModelFitResultImageMapType &derivedResults, const ModelFitResultImageMapType &criterionResults, const ModelFitResultImageMapType &evaluationResults, const ModelFitInfo *fitInfo)
MitkModelFitExports.h
mitk::modelFit::ModelFitInfo
Data class that stores all information about a modelfit that is relevant to the visualization and sto...
Definition: mitkModelFitInfo.h:36
mitkModelFitStaticParameterMap.h
mitk::ModelBase::ParameterNameType
ModelTraitsInterface::ParameterNameType ParameterNameType
Definition: mitkModelBase.h:63
mitk::Image
Image class for storing images.
Definition: mitkImage.h:69
mitk::modelFit::ModelFitResultImageMapType
std::map< ModelBase::ParameterNameType, Image::Pointer > ModelFitResultImageMapType
Definition: mitkModelFitResultHelper.h:34
mitk::modelFit::CreateResultNode
MITKMODELFIT_EXPORT DataNode::Pointer CreateResultNode(const ModelBase::ParameterNameType &name, modelFit::Parameter::Type nodeType, Image *parameterImage, const ModelFitInfo *modelFitInfo)
itk::SmartPointer< Self >
mitkScalarListLookupTableProperty.h
mitk::modelFit::StoreResultsInDataStorage
MITKMODELFIT_EXPORT void StoreResultsInDataStorage(DataStorage *storage, const ModelFitResultNodeVectorType &resultNodes, DataNode *parentNode=nullptr)
mitk::modelFit::Parameter::Type
Type
Definition: mitkModelFitParameter.h:34
MITKMODELFIT_EXPORT
#define MITKMODELFIT_EXPORT
Definition: MitkModelFitExports.h:15
mitkModelBase.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::modelFit::ConvertStaticParametersToProperty
MITKMODELFIT_EXPORT mitk::ScalarListLookupTableProperty::Pointer ConvertStaticParametersToProperty(const mitk::modelFit::StaticParameterMap &params)
mitk::BaseData
Base of all data objects.
Definition: mitkBaseData.h:42
mitk::DataStorage
Data management class that handles 'was created by' relations.
Definition: mitkDataStorage.h:43
mitkDataNode.h
mitk::modelFit::ModelFitResultNodeVectorType
std::vector< DataNode::Pointer > ModelFitResultNodeVectorType
Definition: mitkModelFitResultHelper.h:37
mitk::modelFit::StaticParameterMap
Definition: mitkModelFitStaticParameterMap.h:28
mitk::modelFit::SetModelFitDataProperties
MITKMODELFIT_EXPORT void SetModelFitDataProperties(mitk::BaseData *data, const ModelBase::ParameterNameType &name, modelFit::Parameter::Type dataType, const modelFit::ModelFitInfo *fitInfo)
mitkModelFitParameter.h
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63