Photon transport theories in Physics, Medicine, and Statistics (such as the Monte Carlo method), are commonly used to model light propagation in tissue. The responses to a pencil beam incident on a scattering medium are referred to as Green's functions or impulse responses. Photon transport methods can be directly used to compute broad-beam responses by distributing photons over the cross section of the beam. However, convolution can be used in certain cases to improve computational efficiency.
In order for convolution to be used to calculate a broad-beam response, a system must be time invariant, linear, and translation invariant. Time invariance implies that a photon beam delayed by a given time produces a response shifted by the same delay. Linearity indicates that a given response will increase by the same amount if the input is scaled and obeys the property of superposition. Translational invariance means that if a beam is shifted to a new location on the tissue surface, its response is also shifted in the same direction by the same distance. Here, only spatial convolution is considered.
Responses from photon transport methods can be physical quantities such as absorption, fluence, reflectance, or transmittance. Given a specific physical quantity, G(x,y,z), from a pencil beam in Cartesian space and a collimated light source with beam profile S(x,y), a broad-beam response can be calculated using the following 2-D convolution formula:
infty | |
C(x,y,z)=\int | |
-infty |
infty | |
\int | |
-infty |
G(x-x',y-y',z)S(x',y')dx'dy'. (1)
Similar to 1-D convolution, 2-D convolution is commutative between G and S with a change of variables
x''=x-x'
y''=y-y'
infty | |
C(x,y,z)=\int | |
-infty |
infty | |
\int | |
-infty |
G(x'',y'',z)S(x-x'',y-y'')dx''dy''. (2)
Because the broad-beam response
C(x,y,z)
C(r,z)=
infty | |
\int | |
0 |
S(r')r'\left[
2\pi | |
\int | |
0 |
G\left(\sqrt{r2+r'2-2rr'cos\phi'},z\right)d\phi'\right]dr' (3)
infty | |
C(r,z)=\int | |
0 |
G(r'',z)r''\left[
2\pi | |
\int | |
0 |
S\left(\sqrt{r2+r''2-2rr''cos\phi''}\right)d\phi''\right]dr'' (4)
where
r'=\sqrt{x'2+y'2}
For a Gaussian beam, the intensity profile is given by
S(r')=S0\exp\left[-2\left(
r' | |
R |
\right)2\right]. (5)
Here, R denotes the
\tfrac{1}{e2}
S0=
2P0 | |
\piR2 |
. (6)
C(r,z)=2\pi
infty | |
S(r)\int | |
0 |
G(r'',z)\exp\left[-2\left(
r'' | |
R |
\right)2\right]I0\left(
4rr'' | |
R2 |
\right)r''dr'', (7)
where I0 is the zeroth-order modified Bessel function.
For a top-hat beam of radius R, the source function becomes
S(r')= \begin{cases} S0,&ifr'\leqR\\ 0,&ifr'>R \end{cases} (8)
where S0 denotes the intensity inside the beam. S0 is related to the total beam power P0 by
S0=
P0 | |
\piR2 |
. (9)
C(r,z)=2\piS0\int
infty | |
0 |
G(r'',z)I\phi(r,r'')r''dr'', (10)
I\phi(r,r'')= \begin{cases} 1,&ifR\geqr+r'',\\ \tfrac{1}{\pi}\cos-1\left(\tfrac{r2+r''2-R2}{2rr''}\right),&if\left|r-r''\right|\leqR<r+r'',\\ 0,&ifR<\left|r+r''\right|. \end{cases} (11)
First photon-tissue interactions always occur on the z axis and hence contribute to the specific absorption or related physical quantities as a Dirac delta function. Errors will result if absorption due to the first interactions is not recorded separately from absorption due to subsequent interactions. The total impulse response can be expressed in two parts:
C(r,z)=G | ||||
|
+G2(r,z), (12)
where the first term results from the first interactions and the second, from subsequent interactions.For a Gaussian beam, we have
C(r,z)=G1(0,z)S(r)+2\piS0\int
infty | |
0 |
G2(r'',z)exp\left[-2\left(
r''-r | |
R |
\right)2\right]I0e\left(
4rr'' | |
R2 |
\right)r''dr''. (13)
For a top-hat beam, we have
C(r,z)=G1(0,z)S(r)+2\piS0\int
infty | |
0 |
G2(r'',z)I\phi(r,r'')r''dr''. (14)
For a top-hat beam, the upper integration limits may be bounded by rmax, such that r ≤ rmax - R. Thus, the limited grid coverage in the r direction does not affect the convolution. To convolve reliably for physical quantities at r in response to a top-hat beam, we must ensure that rmax in photon transport methods is large enough that r ≤ rmax - R holds.For a Gaussian beam, no simple upper integration limits exist because it theoretically extends to infinity. At r >> R, a Gaussian beam and a top-hat beam of the same R and S0 have comparable convolution results. Therefore, r ≤ rmax - R can be used approximately for Gaussian beams as well.
There are two common methods used to implement discrete convolution: the definition of convolution and fast Fourier transformation (FFT and IFFT) according to the convolution theorem. To calculate the optical broad-beam response, the impulse response of a pencil beam is convolved with the beam function. As shown by Equation 4, this is a 2-D convolution. To calculate the response of a light beam on a plane perpendicular to the z axis, the beam function (represented by a b × b matrix) is convolved with the impulse response on that plane (represented by an a × a matrix). Normally a is greater than b. The calculation efficiency of these two methods depends largely on b, the size of the light beam.
In direct convolution, the solution matrix is of the size (a + b - 1) × (a + b - 1). The calculation of each of these elements (except those near boundaries) includes b × b multiplications and b × b - 1 additions, so the time complexity is O[(''a'' + ''b'')<sup>2</sup>''b''<sup>2</sup>]. Using the FFT method, the major steps are the FFT and IFFT of (a + b - 1) × (a + b - 1) matrices, so the time complexity is O[(''a'' + ''b'')<sup>2</sup> log(''a'' + ''b'')]. Comparing O[(''a'' + ''b'')<sup>2</sup>''b''<sup>2</sup>] and O[(''a'' + ''b'')<sup>2</sup> log(''a'' + ''b'')], it is apparent that direct convolution will be faster if b is much smaller than a, but the FFT method will be faster if b is relatively large.