Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
Medical Imaging Interaction Toolkit
mitkConvolutionHelper.h File Reference
#include "itkArray.h"
#include "mitkAIFBasedModelBase.h"
#include <iostream>
#include "MitkPharmacokineticsExports.h"

Go to the source code of this file.

Namespaces

 mitk
 DataCollection - Class to facilitate loading/accessing structured data.
 
 convolution
 Helper for itk implementation of vnl fourier transformation This namespace provides functions for the preperation of vnl_fft_1d, including a wrapper for wrapping the convolution kernel (turning it inside out) and a function for zeropadding to avoid convolution artefacts.
 
 mitk::convolution
 

Functions

itk::Array< double > mitk::convolution::wrap1d (itk::Array< double > kernel)
 Function that wraps the kernel. More...
 
itk::Array< double > mitk::convolution::zeropadding1d (itk::Array< double > unpaddedSpectrum, int paddedDimension)
 Fuction for zeropadding (adding zeros) of an Array/vnl_vector, so that is has size paddedDimensions. More...
 
itk::Array< double > mitk::convolution::unpadAndScale (itk::Array< double > convolutionResult, int initialDimension)
 Follow up function after back transformation from fourier space bwd_transform. removes padding and scales (transformed values have to be divided by transformation dimensions) More...
 
void mitk::convolution::prepareConvolution (const itk::Array< double > &kernel, const itk::Array< double > &spectrum, itk::Array< double > &preparedKernel, itk::Array< double > &preparedSpectrum)
 Convinience function for preparing 2 array for convolution with each other. Takes both arrays of type itk::Array, zeropadds them to the sum of their sizes and wraps the one specified as kernel. Returns them as vnl_vector<vcl_complex<double> >, ready to be entered in fwd_transform. More...
 
itk::Array< double > mitk::convoluteAIFWithExponential (mitk::ModelBase::TimeGridType timeGrid, mitk::AIFBasedModelBase::AterialInputFunctionType aif, double lambda)
 
itk::Array< double > mitk::convoluteAIFWithConstant (mitk::ModelBase::TimeGridType timeGrid, mitk::AIFBasedModelBase::AterialInputFunctionType aif, double constant)