15 #include <vnl/algo/vnl_fft_1d.h> 38 return "Perfusion.MR";
81 result.push_back(
"kep");
95 result.insert(std::make_pair(
"kep",
"1/min"));
105 itkExceptionMacro(
"No Time Grid Set! Cannot Calculate Signal");
113 unsigned int timeSteps = this->
m_TimeGrid.GetSize();
120 double lambda = ktrans / ve;
123 aterialInputFunction, lambda);
129 mitk::ModelBase::ModelResultType::iterator signalPos = signal.begin();
130 mitk::ModelBase::ModelResultType::const_iterator res = convolution.begin();
133 for (AterialInputFunctionType::iterator Cp = aterialInputFunction.begin();
134 Cp != aterialInputFunction.end(); ++res, ++signalPos, ++Cp)
136 *signalPos = ktrans * (*res);
149 result.insert(std::make_pair(
"kep", kep));
159 return newClone.GetPointer();
static const unsigned int NUMBER_OF_PARAMETERS
static const std::string UNIT_PARAMETER_Ktrans
ModelTraitsInterface::ParametersType ParametersType
Helper for itk implementation of vnl fourier transformation This namespace provides functions for the...
std::string GetModelDisplayName() const override
ParameterNamesType GetParameterNames() const override
itk::LightObject::Pointer InternalClone() const override
static const unsigned int POSITION_PARAMETER_Ktrans
ParamterUnitMapType GetParameterUnits() const override
void PrintSelf(std::ostream &os, ::itk::Indent indent) const override
~StandardToftsModel() override
ParametersSizeType GetNumberOfDerivedParameters() const override
const AterialInputFunctionType GetAterialInputFunction(TimeGridType currentTimeGrid) const
static const std::string MODEL_DISPLAY_NAME
ModelTraitsInterface::ParametersSizeType ParametersSizeType
static const std::string UNIT_PARAMETER_ve
std::map< ParameterNameType, DerivedParameterValueType > DerivedParameterMapType
ModelTraitsInterface::ModelResultType ModelResultType
static const std::string NAME_PARAMETER_Ktrans
std::string GetModelType() const override
itk::Array< double > AterialInputFunctionType
ParameterNamesType GetDerivedParameterNames() const override
static const std::string NAME_PARAMETER_ve
static const unsigned int POSITION_PARAMETER_ve
ModelTraitsInterface::ParameterNamesType ParameterNamesType
ParametersSizeType GetNumberOfParameters() const override
ModelResultType ComputeModelfunction(const ParametersType ¶meters) const override
DerivedParameterMapType ComputeDerivedParameters(const mitk::ModelBase::ParametersType ¶meters) const override
ParamterUnitMapType GetDerivedParameterUnits() const override
itk::Array< double > convoluteAIFWithExponential(mitk::ModelBase::TimeGridType timeGrid, mitk::AIFBasedModelBase::AterialInputFunctionType aif, double lambda)
std::map< ParameterNameType, std::string > ParamterUnitMapType
void PrintSelf(std::ostream &os, ::itk::Indent indent) const override