Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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 
31  const mitk::Point3D& position, unsigned int timestep = 0, bool noThrow = true);
32 
37  const ::itk::Index<3>& index, unsigned int timestep = 0, bool noThrow = true);
38 
39  using ParameterValueMapType = std::map<ModelTraitsInterface::ParameterNameType, double>;
40 
46  const mitk::Point3D& position);
48  const ::itk::Index<3>& index);
49 
56 
57 }
58 
59 #endif
MITKMODELFIT_EXPORT ModelTraitsInterface::ParameterValueType ReadVoxel(const mitk::Image *image, const mitk::Point3D &position, unsigned int timestep=0, bool noThrow=true)
MITKMODELFIT_EXPORT ModelTraitsInterface::ParametersType ConvertParameterMapToParameterVector(const ParameterValueMapType &valueMap, const ModelTraitsInterface *pTraitInterface)
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKMODELFIT_EXPORT
std::map< ModelTraitsInterface::ParameterNameType, double > ParameterValueMapType
itk::Array< ParameterValueType > ParametersType
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 ParameterValueMapType ExtractParameterValueMapFromModelFit(const mitk::modelFit::ModelFitInfo *fitInfo, const mitk::Point3D &position)