Next: 2.1.1 On smoothing Up: 2 Method Previous: 2 Method

## 2.1 Algorithm description

The algorithm consists of blurring the measured image with a regularizing smoothing function . There are several possible choices of the function , however this project isn't concerned with finding an optimal ; we will use the simple unitary Gaussian function in three dimensions2

 (6)

We now obtain the smoothed, measured image
 (7)

Here we introduce the imperfection that lowers accuracy but increases speed, and it is to assume that all the noise was brought in before the convolution with (specifically the instrument noise term). Based on this assumption, Equation 5 is modified to become
 (8)

Equation 7 now becomes
 (9)

Observing that this is simply the measured image after being smoothed. The actual method used to calculate the smoothed image will be examined in Section 2.1.1. We now obtain an approximation to the true image by deconvoluting Equation 9 by the smoothed optical transfer function
 (10)

Now we have the problem that Equation 10 becomes unreliable when becomes small. The sophisticated way to avoid this problem is to use an averaging filter. A suitable averaging term is for an arbitrarily suitable weighting term. is the sum of the neighbourhood in , where usually is taken as the 4-element neighbourhood of and . The averaging procedure is then

 (11)

However, Equation 11 is only defined when exists, specifically, . So we sum the averaged elements instead, giving the recurrence relation
 (12)

This definition requires a recursive method to be used, such as flood-filling.

In order to simplify things somewhat, we used the observation that the most common pattern under which is for thin, two dimensional spherical shells3. Thus, the flood-filling technique is excessive and would rarely come into play in normal images. Our solution will sacrifice some image quality in order to decrease the complexity of this stage of the algorithm.

We adopt basically the same strategy as above, except that we define Equation 11 to be valid for , for some suitably close to 0. We then process the image iteratively, not recursively, and if a position with is encountered we simply continue by assigning and continuing as in Equation 11.

Subsections

Next: 2.1.1 On smoothing Up: 2 Method Previous: 2 Method
Kevin Pulo
2000-08-22