Medical Imaging Interaction Toolkit  2018.4.99-08619e4f
Medical Imaging Interaction Toolkit
mitkDescriptivePharmacokineticBrixModelParameterizer.cpp
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 #include <mitkImageAccessByItk.h>
14 
17 
20 {
23  values.push_back(m_Tau);
24  result.insert(std::make_pair(ModelType::NAME_STATIC_PARAMETER_Tau, values));
25  return result;
26 };
27 
30  const IndexType& currentPosition) const
31 {
33 
34  double s0 = m_BaseImage->GetPixel(currentPosition);
35 
37  values.push_back(s0);
38  result.insert(std::make_pair(ModelType::NAME_STATIC_PARAMETER_S0, values));
39 
40  return result;
41 };
42 
45 {
46  ParametersType initialParameters;
47  initialParameters.SetSize(4);
52 
53  return initialParameters;
54 }
55 
57 {
58 };
59 
61 {
62 };
StaticParameterMapType GetLocalStaticParameters(const IndexType &currentPosition) const override
ModelBaseType::StaticParameterValuesType StaticParameterValuesType
ModelBaseType::ParametersType ParametersType
ModelBaseType::StaticParameterMapType StaticParameterMapType