- Research article
- Open Access
- Open Peer Review

# Data-driven haemodynamic response function extraction using Fourier-wavelet regularised deconvolution

- Alle Meije Wink
^{1}Email author, - Hans Hoogduin
^{2}and - Jos BTM Roerdink
^{2, 3}

**8**:7

https://doi.org/10.1186/1471-2342-8-7

© Wink et al; licensee BioMed Central Ltd. 2008

**Received:**17 October 2007**Accepted:**10 April 2008**Published:**10 April 2008

## Abstract

### Background

We present a simple, data-driven method to extract haemodynamic response functions (HRF) from functional magnetic resonance imaging (fMRI) time series, based on the Fourier-wavelet regularised deconvolution (*ForWaRD*) technique. HRF data are required for many fMRI applications, such as defining region-specific HRFs, effciently representing a general HRF, or comparing subject-specific HRFs.

### Results

*ForWaRD* is applied to fMRI time signals, after removing low-frequency trends by a wavelet-based method, and the output of *ForWaRD* is a time series of volumes, containing the HRF in each voxel. Compared to more complex methods, this extraction algorithm requires few assumptions (separability of signal and noise in the frequency and wavelet domains and the general linear model) and it is fast (HRF extraction from a single fMRI data set takes about the same time as spatial resampling). The extraction method is tested on simulated event-related activation signals, contaminated with noise from a time series of real MRI images. An application for HRF data is demonstrated in a simple event-related experiment: data are extracted from a region with significant effects of interest in a first time series. A continuous-time HRF is obtained by fitting a nonlinear function to the discrete HRF coeffcients, and is then used to analyse a later time series.

### Conclusion

With the parameters used in this paper, the extraction method presented here is very robust to changes in signal properties. Comparison of analyses with fitted HRFs and with a canonical HRF shows that a subject-specific, regional HRF significantly improves detection power. Sensitivity and specificity increase not only in the region from which the HRFs are extracted, but also in other regions of interest.

## Keywords

- Mean Square Error
- Blood Oxygenation Level Dependent
- Local Field Potential
- Stimulus Pattern
- Wavelet Domain

## 1 Background

In functional magnetic resonance imaging (fMRI), local brain activation temporally changes blood oxygenation, which induces a blood oxygenation level dependent (BOLD) contrast in MR images [1]. Given a model of the BOLD response to a stimulus pattern, statistics can be used to quantify the match between the predicted and measured signals in a voxel, and significant activation is assessed via hypothesis testing. Statistical parametric mapping (SPM) estimates parameters of the noise distribution in every voxel to determine a threshold for the computed statistic [2]. It uses the general linear model (GLM): the response to a stimulus pattern is modelled as the output of a linear, time invariant (LTI) system [3]. The response to one type of stimulus is modelled by convolving its temporal distribution with the response function of that type of stimulus. The total response is the sum of responses to all individual stimulus types. The stimulus pattern is known from the experimental setup. However, the haemodynamic response function (HRF), i.e., the temporal BOLD impulse response, is unknown. Essentially, it is a smooth curve that starts to rise two seconds after the stimulus, peaks after six seconds, and returns to baseline within 30 seconds.

The resolution of discrete fMRI time samples yields a coarse description of the HRF, which is a problem for designs with short and/or randomised stimuli. In slice-wise MRI acquisition, there is no optimal sampling for all slices, and slight differences in temporal onset between voxels in different slices must be accurately modelled to obtain good sensitivity. This requires a continuous-time HRF model. It is sometimes preferable to use a common HRF for many experiments and many regions. In many cases though, a common HRF cannot be assumed [4, 5]. Two ways to solve this problem are (*i*) including a HRF model with more basis functions [5], and (*ii*) estimating the shape of the HRF in the statistical analysis [4, 6]. A drawback of the first and simple approach is that it covers only limited variation in the HRF shape, while more advanced approaches suffer from high complexity and long computation times. For previous work on the variability of the BOLD response between brain areas and even across repeated measurements of the same subject, see Neumann et al. [7].

Extracting a HRF from fMRI data requires assumptions about its shape, and is computationally expensive. A simple method described in the literature is selective averaging with a long interstimulus interval (ISI), assuming non-overlapping responses [8, 9]. Trials *with* overlapping responses are also averaged, ignoring the fact that the overlaps introduce errors [3, 10, 11]. Other studies use a functional description of the HRF, whose parameters are determined by curve fitting (examples in [12–14]), one of which [12] uses frequency-domain deconvolution. Another technique based on the GLM expands the HRF into a set of basis functions [15, 16].

Ciuciu et al. [4] use a Bayesian method to extract the HRF. The method can simultaneously extract multiple HRFs from multiple experiments. Woolrich et al. [6] use a fully Bayesian approach to fMRI modelling, including the HRF. Both these approaches use certain prior assumptions for the shape of the HRF: in the first case, causality, smoothness, and starting and ending at baseline level, and Gaussian temporal autocorrelations; in the second case, a set of predefined prior HRF shapes, and many priors for modelling the noise distribution and autocorrelation.

The HRF extraction method described here is *data-driven* instead of model-driven. It is based on Fourier-wavelet regularised deconvolution, *ForWaRD* for short, developed originally for denoising and deblurring of images [17]. *ForWaRD* combines frequency-domain deconvolution for identifying overlapping signals, frequency-domain regularisation for suppressing noise, and wavelet-domain regularisation for separating signal and noise. It is related to recent wavelet-based deconvolution techniques [18–20], with the advantage that the roles of signal (for fMRI: sparse, high frequency) and response (for fMRI: smooth, low frequency) can be interchanged: unlike other wavelet- and vaguelette-based deconvolution methods, *ForWaRD* does the first step entirely in the frequency domain.

The method described in this paper uses an fMRI data set and the stimulus time pattern, and produces a time series of image volumes, which contains the HRF in each voxel. Compared to the simple extraction methods above, this method has the advantage of taking overlapping responses into account. On the other hand, it is much simpler than the Bayesian ones described above, in that it does not rely on shape assumptions/priors of the HRF: the extracted time points are determined only by the fMRI signal and the stimuli: the method is data-driven. This important property means that the extracted HRF is not biased by any a *priori* model. The only requirements for *ForWaRD* are (*i*) LTI responses and (*ii*) separability of signal and noise in the frequency/wavelet domain. Studies of the linearity of the BOLD response indicate that (*i*) is a reasonable assumption, and given the smoothness of the HRF and the availability of smooth wavelet basis functions, (*ii*) is satisfied as well. Another important advantage is the fact that wavelet-based signal processing methods are much better in preserving the 1/*f*-type temporal autocorrelations that are found in fMRI time signals than time-domain methods [21]. Models that do not preserve this structure yield biased results, leading to an increase in false positives [21, 22]. Finally, our method is fast: HRF extraction from a single fMRI data set takes about the same time as spatial resampling.

To avoid possible misunderstandings we would like to stress that our method only concerns the relation between stimulus and haemodynamic response, but does not make any statement about the underlying neural response. Although it is known from the work by Logothetis et al. [23] that the BOLD response in the visual cortex of the monkey brain roughly corresponds to a convolution of the neuronal local field potential (LFP) with some neural response function (NRF), the exact form of this coupling is still unknown and remains an area of active research. In our method, we describe the haemodynamic response as a convolution of the *stimulus* (not the LFP) with an impulse response function, i.e., the HRF. Given the stimulus pattern our method can recover the HRF, but we do not claim to be able to extract the NRF via deconvolution.

The output time series can be used to determine subject-specific, group-specific, and region-specific HRFs, *e.g*., by averaging time signals in the corresponding regions. We demonstrate this in an fMRI experiment using two acquisitions, where the HRF extracted from the first fMRI time series is used to predict responses in a second experiment. A functional description for the HRF is found by fitting a combination of two gamma density functions with variable parameters for height, dilation, peak location and lag. We show that contrast and localisation improve by using the extracted HRF instead of the canonical HRF from the SPM2 program (a sum of two gamma density functions (GDFs) with fixed parameters).

The remainder of this paper is organised as follows. Section 2.2 reviews the *ForWaRD* method for regularised deconvolution. Sect. 2.2.4 describes how *ForWaRD* is used for HRF extraction, and it describes how the method was tested on simulated noisy time series and demonstrates a possible application using event-related fMRI data. Sect. 4 contains some general conclusions.

## 2 Methods

This section briefly reviews the standard General Linear Model (GLM) in fMRI, and describes the *ForWaRD* method [17] for extracting the HRF.

### 2.1 The General Linear Model

Statistical parametric mapping (SPM) is a common analysis method for fMRI. It (*a*) computes a statistic for every voxel using the GLM, (*b*) chooses a threshold based on the parameters of the noise and multiple testing correction; (*c*) thresholds the statistic map.

The GLM describes the response in an fMRI experiment as a weighted sum of *explanatory signals*. An explanatory signal is the response of one stimulus type. Let the matrix Y
_{[T×N] }denote the fMRI data set, whose elements y
_{
ij
}have time index *i* = 1, ..., *T* and position index *j* = 1, ..., *N* . In the GLM,

Y= X
_{
β
}+ e. (1)

X
_{[T×M] }is the *design matrix*, whose columns are the explanatory signals, and are multiplied by the weights in matrix β
_{[M×N]}. Matrix *e*
_{[T×N] }is the residual signal for each y
_{
ij
}. A least-squares estimate bfor βis given by (X
^{
T
}
X)^{-1}
X
^{
T
}
Y. Assuming a Gaussian temporal distribution of the residuals (this follows from the GLM if the temporal noise in Yis Gaussian), standard hypothesis testing can be used to assess the significance of the elements of b.

### 2.2 Deconvolution, ForWaRD, and HRF extraction

In the GLM, a single response *g* to a pattern *f* of stimuli of the same type, is a convolution of *f* with the impulse response *h*, plus an additive term representing noise and other confounding effects.

#### 2.2.1 Deconvolution

Discrete circular convolution, denoted by '*', corresponds to multiplication in the frequency domain:

*g*(*n*) = (*h* * *f*)(*n*) + *e*(*n*) *G*(*k*) = *H*(*k*)*F*(*k*) + *E*(*k*),

*g*and

*f*, it is possible to compute an estimate $\tilde{h}$ of

*h*through deconvolution. In the frequency domain, the Fourier transform $\tilde{H}$ of $\tilde{h}$ is obtained by pointwise division:

*k*where

*F*(

*k*) is close to zero, parts of the unmodelled signal emay appear in the extracted response (see Fig. 2i). An ill-posed problem can be

*regularised*by adding extra information (or constraints) to the problem, so that its solution approximates the noise-free case [24]. Examples of such constraints are: minimising the norm between the solution and the data (minimum-norm), and making the solution more stable (smooth around optimum).

*ForWaRD*uses regularisation methods in the frequency and wavelet domains (see Fig. 1) to overcome this problem.

#### 2.2.2 Fourier shrinkage

*k*) by a factor

*λ*(

*k*). Two popular methods are Wiener shrinkage and Tikhonov shrinkage [17]:

Here ${\sigma}_{\epsilon}^{2}$ is the variance of the noise *e*(*n*) in (2). The remarks at the end of this subsection explain how to estimate ${\sigma}_{\epsilon}^{2}$ and determine optimal regularisation parameters *α* and *τ*. An estimate of the spectrum |*H*(*k*)|2 of the unknown response function needed for Wiener shrinkage is obtained by the iterative algorithm of Hillery and Chin [[25], Sect. 4]. The estimated response function ${\tilde{h}}_{\lambda}$ is the inverse Fourier transform of ${\tilde{H}}_{\lambda}$ (see Fig. 2ii).

#### 2.2.3 Wavelet shrinkage

Shrinkage in the wavelet domain is done using wavelet-domain Wiener shrinkage (WDWS), which reduces the noise and preserves details in the signal [17, 26]. The discrete wavelet transform describes a sampled signal *c*
^{0} of length *N* as a sum of localised basis functions. A discrete wavelet transform with *J* levels of decomposition $J\in \mathbb{N}$ recursively splits the signal into an approximation part *c*
_{
J
}and detail signals *d*
_{1}, *d*
_{2}, ..., *d*
_{
J
}, which are weighted sums of shifted and dilated versions of a *scaling function φ* and an associated *wavelet ψ*, respectively. The fast wavelet transform [27], which performs downsampling at each level, is not shift-invariant. *ForWaRD* uses a shift-invariant discrete wavelet transform (SI-DWT), which uses a polyphase decomposition (subsampling for all shifts) [28]. Reconstruction is possible via the inverse transform, denoted by SI-IDWT.

*φ*

_{1},

*ψ*

_{1}). A pilot estimate is obtained via scale-dependent thresholding of the detail coeffcients ${\{{d}_{1}^{j}(n)\}}_{1}^{J}$, resulting in thresholded detail coeffcients ${\{{\overline{d}}_{1}^{j}(n)\}}_{1}^{J}$,

*n*=1,...,

*N*. Another wavelet transform of ${\tilde{h}}_{\lambda}$ with wavelet basis (

*φ*

_{2},

*ψ*

_{2}) yields detail coeffcients ${\{{d}_{2}^{j}(n)\}}_{1}^{J}$. These are shrunk by wavelet-Wiener filtering coeffcients:

Here ${\sigma}_{j}^{2}$ is the noise variance at level *j*. Finally, the *ForWaRD* estimate ${\tilde{h}}_{\lambda ,\kappa}$ is the SI-IDWT of the shrunk coeffcients $({c}_{2}^{J},{\left\{{\widehat{d}}_{2}^{j}\right\}}_{j=1}^{J})$ using wavelet basis (*φ*
_{2}, *ψ*
_{2}), see Fig. 2iii.

*Remarks:*

• The variance *σ*
_{
e
}is estimated based on the median absolute detail (MAD) coeffcient of a one-level wavelet transform [[29], §5.4] of the the noise *e*(*n*).

• In the frequency-domain shrinkage step, the parameters *τ* (Tikhonov) and *α* (Wiener) can be tuned to minimise the mean squared error (MSE) between the estimate ${\tilde{h}}_{\lambda ,\kappa}$ and the exact response function *h*. The exact MSE cannot be computed, but it can be approximated very accurately, see [[17], section VII].

• A complete Matlab implementation of the original *ForWaRD* algorithm, on which our method is based, is available ^{1}

#### 2.2.4 Using *ForWaRD*for HRF extraction

The *ForWaRD*-based HRF extraction scheme (see Algorithm 1) works as follows: The BOLD response to a stimulus pattern *f* is relative to the baseline. Low-frequency trends in the baseline may contaminate the extracted HRF. Trends are removed beforehand by a standard wavelet-based technique [30]: transform each time signal (with length *N*) to the wavelet domain, using a fast wavelet transform (FWT) of log_{2}(*N*) - 3 levels; remove the detail coeffcients, and subtract the low-scale signal from the time series. The influence of the detrending on the *ForWaRD* estimates is minimal, because the low-pass trends are in a much lower frequency band than the HRF. Processing takes place on a voxel-by-voxel basis, so images can be partitioned to reduce the computation load. The output is a time series of volumes which, inside activated brain areas, contain the HRF. Implementation has been performed in Matlab (The Mathworks, USA).

**Algorithm 1** *ForWaRD*-based HRF extraction scheme.

1: **for all** Voxels **do**

2: load the discrete time series *g* and stimulus pattern *f*;

3: compute and subtract the time series mean;

4: remove low-frequency trends;

5: apply *ForWaRD* to the mean-corrected and detrended signal *g* and stimulus pattern *f* to obtain the estimate ${\tilde{h}}_{\lambda ,\kappa}$ of the HRF coeffcients.

6: **end for**

### 2.3 Tests on simulated fMRI time signals

#### 2.3.1 Simulation of fMRI time signals

^{3}. A total of 512 noise time signals were collected from a region of 8 × 8 × 8 voxels (see Fig. 4). A randomised stimulus pattern

*f*(

*n*),

*n*= 1, ...,

*N*was obtained by thresholding a vector of random values. The stimulus

*f*(

*n*)

*n*= 1, ...,

*N*was convolved with an impulse response function

*h*(

*n*), in this case the canonical haemodynamic response function HRF

_{spm}, to describe the activation signal

*s*(

*n*). HRF

_{spm}(

*t*) (see Fig. 3f) is the difference of two gamma density functions (GDF),

*γ*

_{ m, l }(

*t*) has the form:

*σ*

_{ s }of the signal and

*σ*

_{ e }of the noise, as well as the scalar

*m*

_{ n }such that

Trends with standard deviation *σ*
_{
t
}> 0 were scaled by *m*
_{
t
}so that *m*
_{
t
}
*σ*
_{
t
}= *m*
_{
n
}
*σ*
_{
e
}. The time signal in each voxel was the sum {EPI noise} + {activation} + {trend} (Fig. 3b). Tests included time signals with varying (*a*) input SNR, (*b*) low-frequency trends, (*c*) repetition time (TR), and (*d*) response onset.

#### 2.3.2 Reconstruction of activation signals

The HRF was extracted from each time signal by the *ForWaRD*-based routine, and the mean HRF was used to reconstruct the activation signal by convolving it with the stimulus pattern. The following settings of the *ForWaRD*-routine were varied: (*a*) type of frequency shrinkage, (*b*) levels of the wavelet transform, (*c*) wavelet-domain threshold level, and (*d*) the wavelet basis. The default values were: SNR 0 dB, no trend, TR 2 s, onset delay 0 s, Tikhonov shrinkage, *τ* 0.1, decomposition level 3, *θ* 3, *φ*
_{1} Daubechies-4, *φ*
_{2} Daubechies-3 [31].

### 2.4 Event-Related fMRI experiments

An application of the HRF extraction method is demonstrated in an event-related fMRI experiment. HRF coeffcients were extracted from the fMRI data set, and HRFs were computed by fitting a model function to HRF coeffcients (both whole-brain and region-of-interest). These HRFs were then used in a subsequent GLM-based analysis.

#### 2.4.1 Fixed-ISI experiment

The subject in the MRI scanner had to make a fist on the appearance of a visual stimulus, and relax after 1 s. Cues were given on a white screen placed inside the scanner: a red disc was a cue to make a fist, a white disc meant that the subject had to rest. The experiment consisted of 156 scans, acquired as described in Sect. 3.1. Cues were given every 24 s (8 scans × 3 s, no jittering), starting at scan 2. Increased task-related activity was expected in the motor cortex, the premotor cortex, the supplementary motor area and the cerebellum.

The EPI data were denoised with a wavelet-based technique [32], using SUREShrink in the wavelet domain [29]. Realignment, normalisation, and statistical analysis were done with SPM2 [2]. Slice timing correction was not applied. The design matrix Xcontained a set of 6 Fourier basis functions (3 sines, 3 cosines) modulated by a Hanning window, in the time interval of 8 scans after each stimulus, and a constant signal modelling the time series mean. The Fourier basis was used to model a large class of signals using only few assumptions.

The variance ratio [33] was computed in each voxel, and an *F*-test was used to determine significance. False discovery rate (FDR) control [34] with *q* = 0.05 was used to correct for multiple hypothesis testing.

#### 2.4.2 Random-ISI experiment

A second experiment used a random stimulus sequence, created by thresholding a sequence of random values (39 stimuli, ISI mean: 6.05 scans, *σ* : 4.31 scans, no jittering). The number of scans was 256, scanning parameters and preprocessing were as in Sect. 3.1.

Due to overlapping responses, the windowed Fourier basis set could not be used. It was replaced by the canonical HRF from the SPM2 program and its time and dilation derivatives. An F-test of the variance ratio with FDR *q* = 0.05 was used to assess significance.

#### 2.4.3 Extracting and modelling HRFs from the time series

A stricter FDR-corrected threshold (*q* = 0.0001) was applied to the variance ratio maps, sampling the HRF in a smaller number of voxels.

_{spm}(6) to the coeffcients returned by

*ForWaRD*and selective averaging. We use HRF

_{gam}to denote the difference of two GDFs with 8 parameters,

*i.e*.,

*H*(eight),

*D*(ilation),

*P*(eak location) and

*L*(ag) of both GDFs:

Levenberg-Marquardt's nonlinear curve-fitting algorithm was used to determine these parameters and 95% prediction intervals for the fitted functions.

#### 2.4.4 Using fitted HRFs to model responses

HRFs measured from an fMRI data set cannot be used to test for activation in that same data set: a model must be specified *a priori*, so that inferences are not made from models that are determined by the data itself. We tested for activation in the random-ISI experiment with the HRFs fitted to the coeffcients extracted from the fixed-ISI data, and *vice versa*. The GLM was estimated using the stimulus times and the fitted HRFs, and their correlation the fMRI time signals was computed. Significance was determined via a one-sample *t*-test, and FDR control with *q* = 0.05 was used to correct for multiple hypothesis testing.

## 3 Results

### 3.1 Simulated fMRI time signals

The properties of the signal and parameters of the extraction routine that noticeably influenced the original activation signal *s*(*n*) and its reconstruction *r*(*n*), are listed below.

#### 3.1.1 Output MSE as a function of input SNR

Figure 5b shows the MSE for various input SNR values. For input SNRs up to 9 dB the MSE decreases; it increases above 9 dB.

#### 3.1.2 Choice of shrinkage type and *τ*parameter

*H*|

^{2}(see (4)), the number of iterations was limited to 10. Figure 6 shows the MSE for both types of frequency domain shrinkage, varying SNR and regularisation parameter

*τ*. For low SNR and heavy regularisation (

*τ*≥ 1), Tikhonov regularisation outperforms Wiener shrinkage. For higher SNRs or mild regularisation, Wiener shrinkage performs better. The best value for

*τ*depends on the shrinkage type, the SNR and the TR. For short TR, mild regularisation (

*τ*≤ 0.1) is preferable. A long TR requires heavy regularisation.

#### 3.1.3 Different response delays

*ForWaRD*. The MSE hardly changes with different delays, indicating that the shape of the response is preserved. The increased MSE for negative shifts is caused by the fact that the HRF was only sampled post-stimulus.

#### 3.1.4 Different wavelet filters

We tested 15 different wavelet filters for (*φ*
_{1}, *ψ*
_{1}), as well as for (*φ*
_{2}, *ψ*
_{2}): Daubechies wavelets 1 ... 5 (the filter number indicates the number of vanishing moments), Daubechies' symmetric wavelets 2 ... 6 [35] (filter 1 corresponds to the Daubechies-1 filter), and Coiflets 1 ... 5 [35]. Different filters did not yield large differences in performance.

#### 3.1.5 Decomposition level and noise threshold

*θ*and different decomposition levels. We find that two-level decompositions produce the smallest errors for the lower SNRs, and three-level decompositions perform best for the higher. Four-level and five-level decompositions yield higher errors. A higher

*θ*often yields a lower MSE.

#### 3.1.6 Different low-frequency trends

*f*and the power spectral density of

*h*in Wiener shrinkage make it less sensitive to trend residuals.

#### 3.1.7 Summary

Even though the default parameters (see Sect. 2.3.2) make the algorithm robust for a wide range of signals (different SNR, sampling frequency, etc.), the method is also robust changing its parameters, such as the wavelet filters and decomposition level. The MSE of the reconstructed signal was lower than the input MSE in most of the tested situations.

The robustness to onset delay makes *ForWaRD* an attractive alternative to other delay correction methods such as including a temporal derivative of the standard HRF in the model [16]: these only correct for small synchronisation errors, and are not usable when the HRF is not well modelled by the standard function.

### 3.2 Event-related fMRI: fixed-ISI

The *ForWaRD* algorithm used 128 scans of the experiment, starting with scan 2 (first stimulus). Whole-volume HRF and region-specific HRF time points were computed using the post-stimulus time series (see Fig. 11c–d). The HRFs extracted by *ForWaRD* are similar to the results from selective averaging, except that the baseline of the *ForWaRD*-extracted HRF decreases. This is because the HRF does not return to baseline within the sampled interval (24 s), so in the GLM the response decreases at the end of every stimulus. In some cases (see Fig. 11c–d) this was fixed manually by setting the baseline to the last HRF coeffcient.

### 3.3 Event-related fMRI: random-ISI

The contrast of the random-ISI experiment was generally weaker than in the fixed-ISI experiment, but localisation was better, see Fig. 10b.

A post-stimulus time series was made with *ForWaRD*, using all 256 scans of the experiment. Selective averaging could not be used because of overlapping responses. With a random ISI, a much longer post-stimulus interval can be sampled [11]. The post-stimulus volumes produced by the extraction routine were used to create a whole-volume HRF and a region-specific HRF in the same way as in the fixed-ISI case.

*ForWaRD*-extracted HRF coeffcients from the random-ISI design agree better with the model function than those from the fixed-ISI design, especially in the region-specific case. A possible explanation is that the fixed-ISI stimulus signal does not contain enough frequency information to do the Fourier inversion, resulting in a lower-quality estimate. In contrast, selective averaging does not work with overlapping responses and random ISIs.

### 3.4 Activation detected with fitted HRFs

*ForWaRD*from the random-ISI dataset. There is good correspondence between the maps of the whole-volume (a) and region-specific (b) HRFs, respectively, and the detected activations match the expected pattern (see Fig. 10). Figure 14 shows the activation detected in the random-ISI dataset with the HRFs from the fixed-ISI dataset, using both selective averaging (a-b) and

*ForWaRD*(c-d), which are in very good agreement. Where selective averaging is possible,

*ForWaRD*yields results very similar to those produced by selective averaging. The statistical maps for

*ForWaRD*between the fixed-ISI and random-ISI time series are in good correspondence.

_{spm}. The activation maps in Fig. 13 are in very good correspondence with Fig. 15a, indicating that both HRF

_{spm}and HRF

_{gam}model the data well. The values for the variance ratio in Fig. 16 for the fixed-ISI experiment show that all models explain the data well, and HRF

_{gam}with the regional HRF yields the best fit to the data.

Figures 14 and 15b show that HRF_{spm} yields a poor fit to the data; this is also shown in Fig. 16. The higher variance ratios for HRF_{gam} indicate that a larger portion of the measured variance is explained by the model, and that the residual of the GLM (1) is small. The fitted region-specific HRFs generally perform better than whole-volume HRFs, and the maps of detected activation indicate that the fitted HRFs do not only detect activation in the region from which they were extracted, but that they are general enough to also detect activation in other areas, corresponding to the predicted activated regions (see the blue ellipses in Fig. 10).

## 4 Conclusion

We have developed a technique to extract HRF coeffcients from fMRI time series based on the *ForWaRD* deconvolution technique. Frequency-domain deconvolution allows extraction of the HRF even when the responses to subsequent stimuli overlap, and the sensitivity to noise of frequency-domain deconvolution is compensated by Wiener or Tikhonov shrinkage in the frequency domain, followed by wavelet-domain Wiener shrinkage. Before applying *ForWaRD*, low-frequency trends are removed from the time signal with a standard wavelet-based method. Tests of the extraction routine using simulated activation, several types of trend and noise from a real fMRI time series, demonstrate its robustness. Results show that the method is robust to trends in the data, and the performance does not differ much between the noise levels we tested. The output of our algorithm is a post-stimulus time series, representing the HRF coeffcients in every voxel. At present, the extraction method is capable of recovering one HRF from one time series. The algorithm used in this paper is entirely data-driven: it does not use a *priori* models of the data. Other advantages of this algorithm are its simplicity, *i.e*., the algorithm works independently of other pre- and postprocessing steps; and its speed and low computational complexity.

The default settings of the method used in the tests as well as in the fMRI experiments (see Sect. 2.3.2) lead to a good and robust performance of the extraction algorithm.

We have demonstrated the use of *ForWaRD*-extracted HRFs in combination with continuous HRF functions to predict event-related fMRI responses. Given the output of the extraction routine, continuous functions (in this case gamma densities) are fitted to the average HRF coeffcients in a region of a (statistical or anatomical) map.

Results from the experiments with extracted and fitted HRFs indicate that subject-specific and region-specific HRFs lead to stronger contrasts and better localisation than a standard HRF. The results with the random-ISI data suggest that it is possible to use *ForWaRD* in combination with relatively complex prior experiments to extract HRFs, and that it is beneficial to use these HRFs instead of standard functions for detection and modelling of subsequently acquired data. The advantage of using a single, tailored HRF over a model that spans several basis functions, is that the statistical analysis is more specific and more powerful, resulting in a stronger contrast and better localisation.

A possible extension of the method is the extraction of multiple HRFs from one or multiple experiments. Deconvolution in the frequency domain of multiple waveforms has already been done in ERP research [36]. The *ForWaRD*-based method may be extended in a similar way.

## Note

Figure 16 Maximum variance ratio values found in the tests.

## Declarations

### Acknowledgements

This research is part of the project "Wavelets and their applications", funded by the Dutch National Science Foundation (NWO), project no. 613.006.570.

## Authors’ Affiliations

## References

- Ogawa S, Lee TM, Kay AR, Tank DW: Brain Magnetic Resonance Imaging with Contrast Dependent on Blood Oxygenation. Proceedings of the National Academy of Sciences. 1990, 87: 9868-9872. 10.1073/pnas.87.24.9868.View ArticleGoogle Scholar
- Friston KJ, Holmes AP, Worsley KJ, Poline JP, Frith CD, Frackowiak RSJ: Statistical Parametric Maps in Functional Imaging: A General Linear Approach. Human Brain Mapping. 1995, 2: 189-210. 10.1002/hbm.460020402. [http://www.fil.ion.ucl.ac.uk/spm]View ArticleGoogle Scholar
- Boynton GM, Engel SA, Glover GH, Heeger DJ: Linear Systems Analysis of Functional Magnetic Resonance Imaging in Human V1. The Journal of Neuroscience. 1996, 16 (13): 4207-4221.PubMedGoogle Scholar
- Ciuciu P, Poline JB, Marrelec G, Idier J, Pallier C, Benali H: Unsupervised robust non-parametric estimation of the hemodynamic response function for any fMRI experiment. IEEE Transactions on Medical Imaging. 2003, 22 (10): 1224-1234. 10.1109/TMI.2003.817759.View ArticleGoogle Scholar
- Handwerker DA, Ollinger JM, D'Esposito M: Variation of BOLD hemodynamic responses across subjects and brain regions and their effects on statistical analyses. NeuroImage. 2004, 21 (4): 1639-1651. 10.1016/j.neuroimage.2003.11.029.View ArticlePubMedGoogle Scholar
- Woolrich MW, Jenkinson M, Brady JM, Smith SM: Fully Bayesian spatio-temporal modeling of FMRI data. IEEE Transactions on Medical Imaging. 2004, 23 (2): 213-231. 10.1109/TMI.2003.823065.View ArticlePubMedGoogle Scholar
- Neumann J, Lohmann G, Zysset S, von Cramon DY: Within-subject variability of BOLD response dynamics. Neuroimage. 2003, 19 (3): 784-796. 10.1016/S1053-8119(03)00177-0.View ArticlePubMedGoogle Scholar
- Bandettini PA, Cox RW: Event-Related fMRI Contrast When Using Constant Interstimulus Interval: Theory and Experiment. Magnetic Resonance in Medicine. 2000, 43: 540-548. 10.1002/(SICI)1522-2594(200004)43:4<540::AID-MRM8>3.0.CO;2-R.View ArticlePubMedGoogle Scholar
- Buckner RL, Bandettini PA, Craven KMO, Savoy RL, Petersen SE, Raichle ME, Rosen BR: Detection of cortical activation during averaged single trials of a cognitive task using functional magnetic resonance imaging. Proceedings of the National Academy of Sciences. 1996, 93: 14878-14883. 10.1073/pnas.93.25.14878.View ArticleGoogle Scholar
- Zarahn E, Aguirre G, D'Esposito M: A Trial-Based Experimental Design for fMRI. NeuroImage. 1997, 6: 122-138. 10.1006/nimg.1997.0279.View ArticlePubMedGoogle Scholar
- Burock MA, Buckner RL, Woldorff MG, Rosen BR, Dale AM: Randomized Event-Related Experimental Designs Allow for Extremely Rapid Presentation Rates Using Functional MRI. NeuroReport. 1998, 9: 3735-3739. 10.1097/00001756-199811160-00030.View ArticlePubMedGoogle Scholar
- Glover GH: Deconvolution of Impulse Response in Event-Related BOLD fMRI. NeuroImage. 1999, 9: 416-429. 10.1006/nimg.1998.0419.View ArticlePubMedGoogle Scholar
- Miezin FM, Macotta L, Ollinger JM, Petersen SE, Buckner RL: Characterizing the Hemodynamic Response: Effects of Presentation Rate, Sampling Procedure and the Possibility of Ordering Brain Activity Based On relative timing. NeuroImage. 2000, 11: 735-759. 10.1006/nimg.2000.0568.View ArticlePubMedGoogle Scholar
- Hinrichs H, Scholz M, Tempelmann C, Woldorff MG, Dale AM, Heinze HJ: Deconvolution of Event-Related fMRI Responses in Fast-Rate Experimental Designs: Tracking Amplitude Variations. Journal of Cognitive Neuroscience. 2000, 12 (6(suppl 2)): 76-89. 10.1162/089892900564082.View ArticlePubMedGoogle Scholar
- Josephs O, Turner R, Friston KJ: Event-Related fMRI. Human Brain Mapping. 1997, 5: 243-248. 10.1002/(SICI)1097-0193(1997)5:4<243::AID-HBM7>3.0.CO;2-3.View ArticlePubMedGoogle Scholar
- Friston KJ, Fletcher P, Josephs O, Holmes A, Rugg MD, Turner R: Characterizing Differential Responses. NeuroImage. 1998, 7: 30-40. 10.1006/nimg.1997.0306.View ArticlePubMedGoogle Scholar
- Neelamani R, Choi H, Baraniuk RG: ForWaRD: Fourier-Wavelet Regularized Deconvolution for Ill-Conditioned Systems. IEEE Transactions on Signal Processing. 2004, 52 (2): 418-433. 10.1109/TSP.2003.821103.View ArticleGoogle Scholar
- Johnstone I, Kerkyacharian G, Picard D, Raimondo M: Wavelet deconvolution in a periodic setting. Journal of the Royal Statistical Society. 2004, 66 (3): 547-573. 10.1111/j.1467-9868.2004.02056.x.View ArticleGoogle Scholar
- Kalifa J, Mallat S, Rouge B: Deconvolution by thresholding in mirror wavelet bases. IEEE Transactions on Image Processing. 2003, 12 (4): 446-457. 10.1109/TIP.2003.810592.View ArticlePubMedGoogle Scholar
- Sanchez-Avila C: Wavelet domain signal deconvolution with singularity-preserving regularization. Mathematics and Computers in Simulation. 2002, 2101: 1-12.Google Scholar
- Bullmore ET, Long C, Suckling J, Fadili J, Calvert G, Zelaya F, Carpenter TA, Brammer M: Colored Noise and Computational Inference in Neurophysiological (fMRI) Time Series Analysis: Resampling Methods in Time and Wavelet Domains. Human Brain Mapping. 2001, 12: 61-78. 10.1002/1097-0193(200102)12:2<61::AID-HBM1004>3.0.CO;2-W.View ArticlePubMedGoogle Scholar
- Zarahn E, Aguirre GK, D'Esposito M: Empirical Analyses of BOLD fMRI Statistics: I. Spatially Unsmoothed Data Collected under Null-Hypothesis Conditions. NeuroImage. 1997, 5: 179-197. 10.1006/nimg.1997.0263.View ArticlePubMedGoogle Scholar
- Logothetis NK, Pauls J, Augath M, Trinath T, Oeltermann A: Neurophysiological Investigation of the Basis of the fMRI Signal. Nature. 2001, 412: 150-157. 10.1038/35084005.View ArticlePubMedGoogle Scholar
- Kilmer ME, O'Leary DP: Choosing Regularization Parameters in Iterative Methods for Ill-Posed Problems. SIAM Journal on Matrix Analysis and Applications. 2000, 22 (4): 1204-1221. 10.1137/S0895479899345960.View ArticleGoogle Scholar
- Hillery AD, Chin RT: Iterative Wiener Filters for image restoration. IEEE Transactions on Signal Processing. 1991, 39: 1892-1899. 10.1109/78.91161.View ArticleGoogle Scholar
- Ghael SP, Sayeed AM, Baraniuk RG: Improved Wavelet Denoising via Empirical Wiener Filtering. Proc SPIE: Wavelet Applications in Signal and Image Processing. 1997, 3169: 389-399.View ArticleGoogle Scholar
- Mallat SG: A Theory for Multiresolution Signal Decomposition: The Wavelet Representation. IEEE Transactions on Pattern Analysis and Machine Intelligence. 1989, 11 (7): 674-693. 10.1109/34.192463.View ArticleGoogle Scholar
- Holschneider M, Kronland-Martinet R, Morlet J, Tchamitchian P: A real-time algorithm for signal analysis with the help of the wavelet transform. Wavelets, Time-Frequency Methods and Phase Space. Edited by: Combes JM, Grossmann A, Tchamitchian P. 1989, 286-297.Google Scholar
- Donoho DL, Johnstone IM: Adapting to Unknown Smoothness by Wavelet Shrinkage. Journal of the American Statistical Association. 1995, 90: 1200-1224. 10.2307/2291512.View ArticleGoogle Scholar
- Meyer FG: Wavelet-based estimation of a semiparametric generalized linear model of fMRI time-series. IEEE Transactions on Medical Imaging. 2003, 22 (3): 315-322. 10.1109/TMI.2003.809587.View ArticlePubMedGoogle Scholar
- Daubechies I: Orthonormal Bases of Compactly Supported Wavelets. Communications on Pure and Applied Mathematics. 1988, 41: 909-996. 10.1002/cpa.3160410705.View ArticleGoogle Scholar
- Wink AM, Roerdink JBTM: Denoising functional MR images: a comparison of wavelet denoising and Gaussian smoothing. IEEE Transactions on Medical Imaging. 2004, 23 (3): 374-387. 10.1109/TMI.2004.824234.View ArticlePubMedGoogle Scholar
- Josephs O, Henson RNA: Event-related Functional Magnetic Resonance Imaging: Modelling, Inference and Optimization. Philosophical Transactions of the Royal Society. 1999, 354: 1215-1228. 10.1098/rstb.1999.0475.View ArticleGoogle Scholar
- Genovese CR, Lazar NA, Nichols TE: Thresholding of Statistical Maps in Functional Neuroimaging Using the False Discovery Rate. NeuroImage. 2002, 15: 772-786. 10.1006/nimg.2001.1037. [http://www.sph.umich.edu/~nichols/FDR]View ArticleGoogle Scholar
- Daubechies I: Orthonormal Bases of Compactly Supported Wavelets: II. Variations on a Theme. SIAM Journal on Mathematical Analysis. 1993, 24 (2): 499-519. 10.1137/0524031.View ArticleGoogle Scholar
- Hansen JC: Separation of Overlapping Waveforms Having Known Temporal Distributions. Journal of Neuroscience Methods. 1983, 9: 127-139. 10.1016/0165-0270(83)90126-7.View ArticlePubMedGoogle Scholar
- The pre-publication history for this paper can be accessed here:http://www.biomedcentral.com/1471-2342/8/7/prepub

### Pre-publication history

## Copyright

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.