A program that was developed to assess cell density in images from the Tandem Scanning microscope, described in detail previously,
32 was modified in two ways to process images from the ConfoScan 4. The first modification corrected the high brightness inhomogeneity across the field of the ConfoScan 4 images (
Fig. 1), by subtracting from each stromal image an image of a uniformly scattering standard solution (AMCO Clear; GFS Chemicals, Columbus, OH), diluted to a concentration of 500 NTU (nephelometric turbidity units). The image of the solution was scaled so that the mean intensity in a central rectangle (60 × 200 pixels) was equal to the mean intensity of the stromal image in the same area. A constant offset equal to 100 was then added to the intensity of each pixel of the difference image, and the result was converted to a binary image by use of a threshold. Further processing steps, identical with those described earlier,
32 were used to identify bright objects. As a second change, a new relationship was identified between the field brightness (
I im) and the optimum brightness-area-product threshold (BAP
thr) used to select the bright objects that most likely represented cells. The relationship was based on a linear model when brightness was below a transition intensity, and a constant when brightness was above this intensity:
where
m and
b are constants,
I tr is the transition brightness and is equal to (BAP
max –
b)/
m, and BAP
max is the maximum threshold when field brightness is greater than
I tr. The coefficients
m and
b were determined by the method of least squares to minimize the difference between automated and manual cell density assessment in the 15 corneas that were assessed by both methods. The constant BAP
max was the mean of the optimum BAP
thr when
I im was greater than
I tr.