15 #include <vnl/algo/vnl_fft_1d.h> 88 itkExceptionMacro(
"No Time Grid Set! Cannot Calculate Signal");
96 unsigned int timeSteps = this->
m_TimeGrid.GetSize();
106 aterialInputFunction, k2);
112 mitk::ModelBase::ModelResultType::iterator signalPos = signal.begin();
114 AterialInputFunctionType::const_iterator aifPos = aterialInputFunction.begin();
117 for (mitk::ModelBase::ModelResultType::const_iterator res = convolution.begin(); res != convolution.end(); ++res, ++signalPos, ++aifPos)
119 *signalPos = VB * (*aifPos) + (1 - VB) * K1 * (*res);
135 return newClone.GetPointer();
static const std::string UNIT_PARAMETER_VB
ParamterUnitMapType GetParameterUnits() const override
ModelTraitsInterface::ParametersType ParametersType
Helper for itk implementation of vnl fourier transformation This namespace provides functions for the...
ExtendedOneTissueCompartmentModel()
static const std::string NAME_PARAMETER_k2
static const unsigned int POSITION_PARAMETER_VB
static const std::string UNIT_PARAMETER_k2
static const std::string UNIT_PARAMETER_k1
void PrintSelf(std::ostream &os, ::itk::Indent indent) const override
ModelResultType ComputeModelfunction(const ParametersType ¶meters) const override
const AterialInputFunctionType GetAterialInputFunction(TimeGridType currentTimeGrid) const
void PrintSelf(std::ostream &os, ::itk::Indent indent) const override
ParameterNamesType GetParameterNames() const override
static const unsigned int POSITION_PARAMETER_k1
static const std::string NAME_PARAMETER_k1
ModelTraitsInterface::ParametersSizeType ParametersSizeType
ParametersSizeType GetNumberOfParameters() const override
~ExtendedOneTissueCompartmentModel() override
ModelTraitsInterface::ModelResultType ModelResultType
itk::Array< double > AterialInputFunctionType
std::string GetModelType() const override
static const std::string NAME_PARAMETER_VB
std::string GetModelDisplayName() const override
static const std::string MODEL_DISPLAY_NAME
ModelTraitsInterface::ParameterNamesType ParameterNamesType
static const unsigned int POSITION_PARAMETER_k2
static const unsigned int NUMBER_OF_PARAMETERS
itk::Array< double > convoluteAIFWithExponential(mitk::ModelBase::TimeGridType timeGrid, mitk::AIFBasedModelBase::AterialInputFunctionType aif, double lambda)
std::map< ParameterNameType, std::string > ParamterUnitMapType
itk::LightObject::Pointer InternalClone() const override