12 #ifndef mitkTwoCompartmentExchangeModelFactoryBase_h
13 #define mitkTwoCompartmentExchangeModelFactoryBase_h
30 template <
class TModelParameterizer>
37 itkFactorylessNewMacro(Self);
48 constraints->SetLowerBarrier(ModelType::POSITION_PARAMETER_ve, 0.0);
49 constraints->SetUpperBarrier(ModelType::POSITION_PARAMETER_ve, 1.0);
50 constraints->SetLowerBarrier(ModelType::POSITION_PARAMETER_vp, 0.0);
51 constraints->SetUpperBarrier(ModelType::POSITION_PARAMETER_vp, 1.0);
54 indices.push_back(ModelType::POSITION_PARAMETER_ve);
55 indices.push_back(ModelType::POSITION_PARAMETER_vp);
57 constraints->SetUpperSumBarrier(indices, 1.0);
59 return constraints.GetPointer();
64 typename ModelParameterizerType::Pointer modelParameterizer =
65 ModelParameterizerType::New();
67 return modelParameterizer->GetDefaultInitialParameterization();
84 void operator=(
const Self&);
Template factory class for AIF-based pharmacokinetic models.
itk::Array< ParameterValueType > ParametersType
Type representing a vector of parameter values.
std::vector< ParameterIndexType > ParameterIndexVectorType
Template base factory for TwoCompartmentExchangeModel variants.
Superclass::ModelType ModelType
ParametersType GetDefaultInitialParameterization() const override
Returns the default initial parameterization defined by the model developer.
mitkClassMacro(TwoCompartmentExchangeModelFactoryBase, ConcreteAIFBasedModelFactory< TModelParameterizer >)
ConstraintCheckerBase::Pointer CreateDefaultConstraints() const override
Creates default constraints for the model fitting process.
Superclass::ModelParameterizerType ModelParameterizerType
Superclass::ParametersType ParametersType
TwoCompartmentExchangeModelFactoryBase()
~TwoCompartmentExchangeModelFactoryBase() override
Find image slices visible on a given plane.