Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
Medical Imaging Interaction Toolkit
mitkModelFitParameterValueExtraction.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 mitkModelFitParameterValueExtraction_h
14 #define mitkModelFitParameterValueExtraction_h
15 
16 #include <mitkPoint.h>
17 
18 #include "mitkModelFitInfo.h"
20 
21 #include "MitkModelFitExports.h"
22 
23 
24 namespace mitk
25 {
26 
34  const mitk::Point3D& position, unsigned int timestep = 0, bool noThrow = true);
35 
43  const ::itk::Index<3>& index, unsigned int timestep = 0, bool noThrow = true);
44 
45  using ParameterValueMapType = std::map<ModelTraitsInterface::ParameterNameType, double>;
46 
52  const mitk::Point3D& position);
54  const ::itk::Index<3>& index);
55 
62 
63 }
64 
65 #endif
DataCollection - Class to facilitate loading/accessing structured data.
MITKMODELFIT_EXPORT ParameterValueMapType ExtractParameterValueMapFromModelFit(const mitk::modelFit::ModelFitInfo *fitInfo, const mitk::Point3D &position)
#define MITKMODELFIT_EXPORT
std::map< ModelTraitsInterface::ParameterNameType, double > ParameterValueMapType
itk::Array< ParameterValueType > ParametersType
MITKMODELFIT_EXPORT ModelTraitsInterface::ParameterValueType ReadVoxel(const mitk::Image *image, const mitk::Point3D &position, unsigned int timestep=0, bool noThrow=true)
Image class for storing images.
Definition: mitkImage.h:69
Data class that stores all information about a modelfit that is relevant to the visualization and sto...
MITKMODELFIT_EXPORT ModelTraitsInterface::ParametersType ConvertParameterMapToParameterVector(const ParameterValueMapType &valueMap, const ModelTraitsInterface *pTraitInterface)