Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitkOneTissueCompartmentModelFactory.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 
14 
15 #include <mitkImageTimeSelector.h>
16 #include <mitkImageCast.h>
18 
21 {
23 
24  constraints->SetLowerBarrier(ModelType::POSITION_PARAMETER_k1, 0.0);
25  constraints->SetLowerBarrier(ModelType::POSITION_PARAMETER_k2, 0.0);
26 
27  constraints->SetUpperBarrier (ModelType::POSITION_PARAMETER_k1, 1.0);
28  constraints->SetUpperBarrier(ModelType::POSITION_PARAMETER_k2, 1.0);
29 
30 
31  return constraints.GetPointer();
32 };
33 
36 {
37  return OneTissueCompartmentModelParameterizer::New()->GetDefaultInitialParameterization();
38 };
39 
41 {
42 };
43 
45 {
46 };
ConstraintCheckerBase::Pointer CreateDefaultConstraints() const override
ModelBaseType::ParametersType ParametersType