Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkStandardToftsModelFactory.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_ve, 0.0);
25  constraints->SetUpperBarrier(ModelType::POSITION_PARAMETER_ve, 1.0);
26 
27  return constraints.GetPointer();
28 };
29 
32 {
33  return StandardToftsModelParameterizer::New()->GetDefaultInitialParameterization();
34 };
35 
37 = default;
38 
40 = default;
ConstraintCheckerBase::Pointer CreateDefaultConstraints() const override
ModelBaseType::ParametersType ParametersType
ParametersType GetDefaultInitialParameterization() const override