Time domain algorithm for accelerated determination of the first order moment of photo current fluctuations in high speed laser Doppler perfusion imaging
- 1.7k Downloads
Advances in optical array sensor technology allow for the real time acquisition of dynamic laser speckle patterns generated by tissue perfusion, which, in principle, allows for real time laser Doppler perfusion imaging (LDPI). Exploitation of these developments is enhanced with the introduction of faster algorithms to transform photo currents into perfusion estimates using the first moment of the power spectrum. A time domain (TD) algorithm is presented for determining the first-order spectral moment. Experiments are performed to compare this algorithm with the widely used Fast Fourier Transform (FFT). This study shows that the TD-algorithm is twice as fast as the FFT-algorithm without loss of accuracy. Compared to FFT, the TD-algorithm is efficient in terms of processor time, memory usage and data transport.
KeywordsLaser-Doppler perfusion flowmetry Blood perfusion measurement CMOS
Laser Doppler perfusion imaging (LDPI) [1, 4, 6, 7, 20, 28, 30, 33] and related techniques such as Laser Speckle Contrast Analysis (LASCA) [6, 7, 8, 11, 14, 16, 17, 33] and Laser Speckle Imaging (LSI) [9, 26] are established techniques for determining skin perfusion maps, for instance, to diagnose burns [5, 25, 33, 34] or diabetic ulcers , to study cerebral blood flow in humans  and small animals [13, 15, 24], and for drug uptake studies (e.g. using iontophoresis) .
In commercially available LDPI devices the area under investigation is scanned with a narrow laser beam. Signal processing of the photoelectric current is performed by analog frequency-weighted filters. Using beam scanning, a perfusion image of 256 × 256 takes approximately 5 min. This long scanning time impedes the observation of fast perfusion changes, for instance, during reperfusion after occlusion. In order to obtain real-time reperfusion images a refresh rate of approximately 25 Hz is needed. Also, for the patient, a short imaging time is desirable (e.g. for burn patients, and in general for young children and elder patients). The need for reduced imaging time is solved by the introduction of CMOS imaging arrays in the field of LDPI [12, 29, 30, 31]. This ascent in optical array sensor technology allowed the real-time acquisition of dynamic laser speckle patterns generated by the tissue perfusion, which in principle allows real-time LDPI. Recently, it is shown that the relation between the first moment and tissue blood perfusion still holds for the full-field illumination scheme .
In order to take advantage of these developments, the conversion of measured photo current fluctuations into perfusion estimates should be as efficient as possible. A straightforward way to calculate the perfusion in LDPI with a CMOS-camera is to make use of the Fast Fourier Transform (FFT) to calculate the power spectral density (PSD) followed by a weighted integration of the PSD over all the frequencies. Calculating the perfusion using the FFT is time consuming because it has to be taken for each pixel and the spectrum has to be squared and integrated over all the frequencies to obtain one number for the perfusion. Obtaining a perfusion image of 256 × 256 pixels takes up to 10 s on a personal computer with a 3.2 GHz Pentium 4 processor and 1.0 Gb RAM-memory.
Here, we present and evaluate a calculation algorithm for the first-order moment working in the time domain (referred to as TD) which involves less computational steps and requires less data to be transported and stored. The term ‘time domain’ refers to the fact that the perfusion parameter is determined from the time series of photo current fluctuations, without the need to perform a mathematical transformation of this time series, such as a Fourier transform.
Koelink et al.  described a time domain algorithm that estimates the first-order moment of the photo detector current power spectrum via the second-order moment. For this purpose, the assumption was made that the power spectrum is exponentially shaped. In our approach, we directly estimate the first-order moment of the power spectrum.
Equation 10 and its discretization in Eq. 11 represent the TD-algorithm and give an expression for the first-order moment of S(ω) in terms of the samples of f. Hence, using the TD-algorithm gives the opportunity to determine the perfusion with some simple mathematical operations in the time domain which do not require large computational power or time.
In order to test the accuracy of the TD-algorithm, several scattering objects were imaged with a homebuilt Laser Doppler Perfusion Imager (LDPI) using a 10-bit CMOS-camera and a 300-mW laser emitting at 671 nm to illuminate an area of approximately 10 × 10 cm. This setup is described in detail in reference . A total of 1,024 images of 128 × 128 pixels were obtained at a frame rate of 27 kHz, resulting in 16,384 raw time traces of 1,024 samples each. Afterwards, DC-subtraction (i.e. subtracting the mean value) was applied to focus on fluctuations in the comparison rather than on the mean value. Without this subtraction, the outcome of the TD-algorithm would mainly be determined by the offset introduced by the DC-value rather than by the fluctuations.
The first sample consisted of a cylindrical piece of Delrin of 40 mm in diameter with a hole of 4 mm in diameter filled with IntraLipid 20% (Fresenius Kabi) and placed on green surgery paper. The second comparison was performed on human tissue. The ring and little fingers of the right hand of a volunteer (male, 26 yr), positioned on a black cloth, were imaged. The last comparison was performed during an occlusion and the reperfusion afterwards . The occlusion was applied by inflating a blood pressure cuff around the upper arm of a healthy subject (male, 27 yr). The measurement on the wrist was started 3 min after the occlusion was applied. Approximately, 5 s after the start of the measurement the occlusion was released. The data was afterwards processed with both algorithms. For every perfusion image of 128 × 32 pixels, the average value was determined based on the complete image, and plotted as a function of time.
Based on these time traces, the first-order spectral moment was calculated with the TD-algorithm and FFT-algorithm. For the FFT-algorithm, we integrated over all the frequencies present in the signal, i.e. from 0 to 13.5 kHz. Calculations were performed using Labview 7.1 (National Instruments) and Matlab 7.2 (the MathWorks) on a personal computer with a 3.2 GHz Pentium 4 processor and 1.0 Gb RAM-memory. For comparison, a scatter plot is made in which the value obtained with the FFT-algorithm is plotted as a function of the value obtained with the TD-algorithm, as well as a linear fit through these values (solid line) and its 95% confidence interval. As guidance to the eye, the line FFT = TD (dotted line) is drawn and the correlation coefficient (r) is given. This allows to analyse the correlation between the two estimates.
Furthermore, the two algorithms are compared using the Bland–Altman method [2, 3]. This involves plotting the difference of the values obtained with the two methods versus their average value. The black solid line in the Bland–Altman plot indicates the mean difference, and the dashed lines indicate the mean plus and minus twice the standard deviation of the difference between the estimates. When the points are normally distributed, 95% of all points lays between these two dashed lines. In order to visualize the trend in the data, the data is divided into horizontal bins with a size of 1,000. In these bins the mean value is determined and plotted (red line).
Each point in the scatterplot as well as in the Bland–Altman plot corresponds with the analysis of the time trace of one pixel.
In order to compare both algorithms with respect to calculation time, the time needed to calculate the perfusion for an image of 256 × 256 pixels for different lengths of the time signal was measured for both algorithms using MatLAB and LabVIEW.
4.1 Comparison of both algorithms
The spectra in Fig. 1 show that static Delrin causes the least broadening, while Intralipid shows the highest spectral broadening, as must be expected. Figure 1 gives an impression of the large variety of spectral shapes in the data sets which are used to compare the TD- and FFT-algorithms.
As shown in Figs. 2, 3, the perfusion maps for the several measured samples differ slightly between both algorithms. The scatter plots for the perfusion (Figs. 2c, 3c) show a narrow cloud instead of a straight line indicating that there is some difference between the TD-algorithm and the FFT-algorithm. This difference can also be seen in the Bland–Altman plots (Figs. 2d, 3d) where there is a deviation from the black solid line (i.e. the mean difference), and the cloud is not equally distributed around the solid line. The differences in the perfusion images seem largest for the images of skin perfusion (Fig. 3). However, this is mainly a visual effect due to the large colour differences within the range of image values. A more quantitative comparison is given by the scatter plots and Bland–Altman plots. The agreement between TD and FFT in terms of absence of random variations, is the best for the first-order moment values obtained in static regions, and hence, on cloth material and Delrin. In these regions, first-order moments are found in the interval between 0 and 2.5, where the scatter plots show relatively small random variations compared to the first-order moments exceeding values of 2.5. In these regions, the perfusion image is largely caused by noise in the photo current. In this case, the signal is more evenly spread in the spectral domain than signals caused by Brownian motion or real perfusion. This suggests that the TD-signal can deal better with high- than low-frequency signal components. This difference can have several reasons: a possible source of error in the TD-results is the discretization applied in this algorithm.
In spite of the differences between the TD- and the FFT-algorithm as observed in the scatter plots, the perfusion images obtained with both methods are similar. This similarity can be shown in two ways. First, when a ROI is selected on the finger in Fig. 3a, b (not shown), the standard deviation within these two ROIs is between the 10 and 15%. This is in the same order as the difference between the values of the two ROIs. Therefore, the difference between the TD- and the FFT-algorithms can largely be explained based on statistical grounds. Secondly, the average curve in the BA plots (red line) shows that the systematic difference between TD and FFT is approximately 15%. Note that the large excursions of the mean difference for high image values are in those regions where only a few values contribute to the BA-plots. This is also in the same order as the standard deviation within the two ROIs. Therefore, both methods give similar results and will lead to the same judgment by the physician. Clinical judgment will be based not on separate pixel values, but on the perfusion in a larger tissue area. Therefore, the difference between the FFT- and the TD-algorithms can be seen as noise superimposed on the image plus a systematic difference of maximal 15%. The interpretation by the physician will not be influenced by the difference between the perfusion maps.
The small difference between the TD- and the FFT-algorithms is also visible in the comparison of both algorithms during the occlusion–reperfusion procedure (Fig. 4). With both algorithms, the heart beat is nicely visible after release of the occlusion. The average time between the heart beat peaks is 920 ms, which corresponds with the heart beat frequency of 65 beats per minute. In the reperfusion stage, an offset of < 5% is visible. For low perfusion levels (i.e. during the occlusion), this offset has increased.
In contrast to LDPI, the lower integration limit for the FFT-algorithm was set to 0 Hz, which implies that all the frequencies are taken into account, and both algorithms should be equally sensitive to low frequencies. Noise correction was not applied in both algorithms. This explains why in both algorithms perfusion is still visible during the occlusion.
4.2 Calculation speed
As shown in Fig. 5 the TD-algorithm is at least twice as fast as the FFT-algorithm, so the TD-algorithm is a good alternative for the FFT-algorithm in LDPI. The more the raw images are taken into account, the bigger the saving of time is. Tests (out of the scope of this article, and so not shown), to determine the accuracy of the calculated perfusion level as a function of the number of raw images, reveal that at least 512 images, but preferably more, should be taken into account to obtain a proper perfusion image.
4.3 Implementing TD on high speed CMOS-cameras
CMOS-cameras which are equipped with a programmable memory for data acquisition can implement the discretized version of the TD-algorithm easily which brings (semi-)real-time perfusion imaging within reach. Memory requirements are low, since the TD-algorithm only needs two raw frames for obtaining a preliminary perfusion plot. Every new raw frame can then be used for producing a new perfusion plot by combining it in a weighted way with the previous perfusion plot and the previous raw frame. In this way, the perfusion map will converge to a statistically accurate value, and a perfusion value update can be performed when a new frame is available. In this way, perfusion variations in time can be followed with minimum transport and data storage. The memory requirements are slightly increased by the fact that, in practice, the raw signal must be high pass filtered to suppress the influence of signal artefacts which often occur at frequencies below 20 Hz. One way of implementing high-pass filtering in time domain is by making use of spectral inversion . In this technique, the low-pass filtered signal obtained by a moving average filter is subtracted from the unfiltered signal. Since the low-frequency components are subtracted from the original signal, only the high-frequency components appear in the output, and the signal is high pass filtered. When spectral inversion is implemented in a moving way, it can be incorporated in the TD-algorithm. The use of a moving average approach implies that the number of frames to be stored in memory is larger than two, but still much lower than the amount needed to perform a complete Fast Fourier Transform. In this way, low frequencies can be filtered out, although it will probably not be as good as high-pass filtering in the FFT-algorithm. This means that the time-domain algorithm is possibly more sensitive to low frequencies in the power spectrum, caused, for instance, by heart-beat related rhythmic blood volume variations (the photoplethysmographic signal)  or motion artefacts.
In conclusion, we have shown that the TD-algorithm can be a good alternative for the FFT-algorithm. The TD-algorithm provides a suitable approximation of the first-order moment rather than being an estimator based on a rigorous mathematical analysis. The new algorithm can determine the perfusion in LDPI twice as fast as the FFT-algorithm and gives equivalent perfusion images. Furthermore, the TD-algorithm gives the possibility to perform on-the-fly estimation because it only needs a few new frames to update a previous perfusion estimation. This results in lower memory requirements compared to the memory needed to perform an FFT, which is a major advantage of the TD-algorithm.
This study has been funded by the Technology Foundation STW (Grant No. 06443) and Perimed AB, Sweden.
This article is distributed under the terms of the Creative Commons Attribution Noncommercial License which permits any noncommercial use, distribution, and reproduction in any medium, provided the original author(s) and source are credited.
- 2.Bland JM, Altman DG (1986) Statistical methods for assessing agreement between two methods of clinical measurement. Lancet 1:307–310Google Scholar
- 10.de Mul FFM, Blaauw J, Aarnoudse JG, Smit AJ, Rakhorst G (2007) Diffusion model for iontophoresis measured by laser-Doppler perfusion flowmetry, applied to normal and preeclamptic pregnancies. J Biomed Opt 12(1):14032-1Google Scholar
- 18.Hinze JO (1975) Turbulence. McGraw-Hill College, New YorkGoogle Scholar
- 28.Rajan V, Varghese B, van Leeuwen TG, Steenbergen W (2008) Review of methodological developments in laser Doppler flowmetry. Lasers Med Sci 437:[Epub ahead of print]Google Scholar
- 32.Smith SW (1997) The Scientist & Engineer’s Guide to digital signal processing, 1st edn. California Technical Publishing, San DiegoGoogle Scholar
- 34.van Herpt HE, Draijer MJ, Hondebrink E, Nieuwenhuis MN, Beerthuizen G, van Leeuwen TG, Steenbergen W (2009) Burn imaging with a whole field laser Doppler perfusion imager based on a cmos imaging array. Burns. doi: 10.1016/j.burns.2009.05.009
Open AccessThis is an open access article distributed under the terms of the Creative Commons Attribution Noncommercial License (https://creativecommons.org/licenses/by-nc/2.0), which permits any noncommercial use, distribution, and reproduction in any medium, provided the original author(s) and source are credited.