12 #ifndef mitkTwoTissueCompartmentModelFactoryBase_h
13 #define mitkTwoTissueCompartmentModelFactoryBase_h
30 template <
class TModelParameterizer>
37 itkFactorylessNewMacro(Self);
48 constraints->SetLowerBarrier(ModelType::POSITION_PARAMETER_K1, 0, 0);
49 constraints->SetLowerBarrier(ModelType::POSITION_PARAMETER_k2, 0, 0);
50 constraints->SetLowerBarrier(ModelType::POSITION_PARAMETER_k3, 0, 0);
51 constraints->SetLowerBarrier(ModelType::POSITION_PARAMETER_k4, 0, 0);
52 constraints->SetLowerBarrier(ModelType::POSITION_PARAMETER_vb, 0, 0);
53 constraints->SetUpperBarrier(ModelType::POSITION_PARAMETER_vb, 1, 0);
55 constraints->SetUpperBarrier(ModelType::POSITION_PARAMETER_K1, 1.0, 0);
56 constraints->SetUpperBarrier(ModelType::POSITION_PARAMETER_k2, 1.0, 0);
57 constraints->SetUpperBarrier(ModelType::POSITION_PARAMETER_k3, 1.0, 0);
58 constraints->SetUpperBarrier(ModelType::POSITION_PARAMETER_k4, 1.0, 0);
61 return constraints.GetPointer();
66 typename ModelParameterizerType::Pointer modelParameterizer =
67 ModelParameterizerType::New();
69 return modelParameterizer->GetDefaultInitialParameterization();
86 void operator=(
const Self&);
Template factory class for AIF-based pharmacokinetic models.
itk::Array< ParameterValueType > ParametersType
Type representing a vector of parameter values.
Template base factory for TwoTissueCompartmentModel variants.
ParametersType GetDefaultInitialParameterization() const override
Returns the default initial parameterization defined by the model developer.
Superclass::ParametersType ParametersType
Superclass::ModelParameterizerType ModelParameterizerType
~TwoTissueCompartmentModelFactoryBase() override
TwoTissueCompartmentModelFactoryBase()
Superclass::ModelType ModelType
ConstraintCheckerBase::Pointer CreateDefaultConstraints() const override
Creates default constraints for the model fitting process.
mitkClassMacro(TwoTissueCompartmentModelFactoryBase, ConcreteAIFBasedModelFactory< TModelParameterizer >)
Find image slices visible on a given plane.