13 #ifndef mitkConcreteModelParameterizerBase_h
14 #define mitkConcreteModelParameterizerBase_h
32 template <
class TModel>
42 itkFactorylessNewMacro(
Self);
84 params.insert(locals.begin(), locals.end());
86 newModel->SetStaticParameters(params);
88 return newModel.GetPointer();
97 newModel->SetStaticParameters(params,
false);
99 return newModel.GetPointer();
109 params.SetSize(newModel->GetNumberOfParameters());
213 void operator=(
const Self&);
Template base class for parameterizers operating on a specific model type.
ParameterNamesType GetDerivedParameterNames() const override
Returns the names of derived parameters that can be computed by the model.
ModelBasePointer GenerateParameterizedModel(const IndexType ¤tPosition) const override
Generates a fully parameterized model instance for the given position.
itk::SmartPointer< const Self > ConstPointer
~ConcreteModelParameterizerBase() override
StaticParameterMapType GetLocalStaticParameters(const IndexType &) const override
Returns the local static parameters specific to the given image position.
ConcreteModelParameterizerBase< TModel > Self
ParametersSizeType GetNumberOfDerivedParameters() const override
Returns the number of derived parameters that can be computed by the model.
Superclass::ModelBaseType ModelBaseType
std::string GetXAxisUnit() const override
Returns the unit of the x-axis (e.g. "s", "ms").
Superclass::StaticParameterValueType StaticParameterValueType
itk::SmartPointer< Self > Pointer
std::string GetXName() const override
Returns the name of the independent variable used by the model (e.g. "x").
ModelBasePointer GenerateParameterizedModel() const override
Generates a model instance with only global static parameterization.
std::string GetModelDisplayName() const override
Returns the human-readable display name of the model.
std::string GetModelType() const override
Returns the type/category string of the model (e.g. "Linear", "Pharmacokinetic").
ParametersSizeType GetNumberOfParameters() const override
Returns the number of parameters that must be defined when using the model to compute the signal (Get...
std::string GetXAxisName() const override
Returns the display name of the x-axis (e.g. "Time").
Superclass::StaticParameterValuesType StaticParameterValuesType
ParamterScaleMapType GetParameterScales() const override
Returns the scaling factors for all model parameters.
DerivedParamterUnitMapType GetDerivedParameterUnits() const override
Returns the unit strings for all derived parameters.
ConcreteModelParameterizerBase()
Superclass::ModelBasePointer ModelBasePointer
DerivedParamterScaleMapType GetDerivedParameterScales() const override
Returns the scaling factors for all derived parameters.
ParamterUnitMapType GetParameterUnits() const override
Returns the unit strings for all model parameters.
std::string GetYAxisName() const override
Returns the display name of the y-axis (e.g. "Signal Intensity").
ParametersType GetDefaultInitialParameterization() const override
Returns the default initial parameterization defined by the model developer.
ModelParameterizerBase Superclass
ModellClassIDType GetClassID() const override
Returns the unique class identifier for this model type.
std::string GetYAxisUnit() const override
Returns the unit of the y-axis.
StaticParameterMapType GetGlobalStaticParameters() const override
Returns the global static parameters that are the same for all positions.
Superclass::IndexType IndexType
ModelType::Pointer ModelPointer
Superclass::StaticParameterMapType StaticParameterMapType
ParameterNamesType GetParameterNames() const override
Returns the names of parameters that must be defined when using the model to compute the signal (GetS...
FunctionStringType GetFunctionString() const override
Returns a parsable function string representing the model equation.
Base class for (dynamic) models.
TimeGridType m_DefaultTimeGrid
ModelBaseType::StaticParameterValueType StaticParameterValueType
ModelBaseType::ParametersType ParametersType
::itk::Index< 3 > IndexType
ModelBaseType::StaticParameterValuesType StaticParameterValuesType
ModelBaseType::StaticParameterMapType StaticParameterMapType
std::map< ParameterNameType, double > ParamterScaleMapType
Map type associating parameter names to their scaling factors.
std::string FunctionStringType
Type for the function string representation of the model.
ParametersType::SizeValueType ParametersSizeType
Type for the count of parameters.
std::map< ParameterNameType, std::string > ParamterUnitMapType
Map type associating parameter names to their unit strings.
std::string ModellClassIDType
Type for the unique class identifier of the model.
std::map< ParameterNameType, std::string > DerivedParamterUnitMapType
Map type associating derived parameter names to their unit strings.
std::map< ParameterNameType, double > DerivedParamterScaleMapType
Map type associating derived parameter names to their scaling factors.
std::vector< ParameterNameType > ParameterNamesType
Type for a list of parameter names.
Find image slices visible on a given plane.