Professional Documents
Culture Documents
dmfr.25.1.9084285
dmfr.25.1.9084285
dmfr.25.1.9084285
42-47, 19%
Copyright © 1996 Elsevier Science Ltd. for the IADMFR
iRSSiajl^ Printed in Great Britain. All rights reserved
λΓΛΕΛΙ 0250-832X/96 $15.00 + 0.00
ELSEVIER
0250-832X(95)00031-3
Objectives. To compare the results of two methods of histogram matching and two methods of
histogram flattening for their ability to correct for contrast variations in digital dental images.
Methods. A custom-built, aluminium stepwedge with 0.1,0.5 and 1.0 mm steps was placed
over Ektaspeed films and exposed for 0.06,0.12 and 0.25 s, respectively. Radiographs were
digitized at 50 μπι spatial resolution and 12-bit contrast resolution. Contrast corrections were
performed using Rüttimann et al.'s algorithm (1986) for one method of matching (RM) and
flattening (RF) and Castleman's algorithm (1979) for the other method of matching (CM) and
flattening (CF). Mean pixel grey-scale values were determined for each step. The 0.12 s
exposure was considered to be the target image exposure. Absolute differences in pixel
grey-scale values between the target images and the modified images were determined.
Results. The median values of the absolute differences in pixel grey-scale values between the
target images and the contrast corrected images were: CM = 4.3; RM = 4.1; CF = 70.2 and
RF = 70.2.
Conclusion. Castleman's and Rüttimann's matching algorithms perform equally well in
correcting digital image contrast. Histogram flattening was less effective.
Retrospective correction for variations in dental film function; CDF). The cumulative sums of pixels at each
exposure, film processing and radiograph digitization is grey-scale value in the input (original) image are
an essential step in measurement of small changes in matched to the corresponding cumulative sums of the
hard tissue 1-4 . In 1986, a non-parametric histogram- target (desired) image. The result is that the cumulative
matching algorithm for making such corrections was sum of the desired image is less than or equal to the
introduced by Rüttimann et al.5. This method, which cumulative sum of the original image while also being
we refer to as Rüttimann's algorithm, has found wide greater than the next lower bin of the cumulative sum
acceptance in quantitative digital-imaging studies 6-9 . of the original image 5 .
Additional algorithms have been reviewed, and those A similar approach to histogram matching contrast
incorporating non-parametric contrast correction, simi- correction is integrated into the Mayo Clinic's
lar to that described by Rüttimann, have performed ANALYZE™ program - a comprehensive software
best 10 · 11 . system of biomedical and scientific visualization
The first step in using the Rüttimann matching (RM) applications 12 ' 13 . The matching routine in this program
algorithm is to create a histogram for each of the digital is based on an algorithm described by Castleman in
images that are to undergo contrast correction. For 197914. With this algorithm, the CDF of the input
each histogram, a running sum of the frequencies of image is forced to match as closely as possible that of
pixels at each grey-scale value is calculated to yield a the target image, and, as such, the algorithm is some-
cumulative grey-scale distribution (cumulative density what similar to that of Rüttimann's. Over the last two
Comparison of contrast-correction methods 43
years, we have used both algorithms to perform con- Films were processed under highly controlled condi-
trast corrections. In preliminary comparisions, it tions using Wing-Lynch one-shot processing with a
appeared that Castleman's algorithm out-performed custom-made rotary tube (Wing-Lynch, Beaverton,
Rüttimann's and we therefore elected to conduct a OR, USA). The developer was stored in a sealed
controlled study to compare the two algorithms for chemical tank filled with nitrogen to minimize oxida-
their ability to perform contrast corrections. tion. Agitation was provided in a multidirectional
Histogram flattening can be thought of as a special rotary pattern with a slight rocking action. The de-
case of matching in which the desired histogram is flat veloper temperature was maintained at 20°C with a
(i.e. equal numbers of pixels at each grey level). This water-jacketed processing trough. Films were proces-
results in a CDF that follows the major diagonal. sed using a universal rapid access developer, DC-4
Because flattening always matches to a CDF of fixed (Christie, Toronto, Canada), and fixed with Rapid
shape, we hypothesized that flattening procedures with Thiofix (Christie). The chemicals were discarded after
both Rüttimann's and Castleman's algorithms would each batch of films was processed.
result in superior contrast corrections than would the Radiographs were digitized at 50 μιη spatial resolu-
corresponding matching algorithms that match to the tion and 12-bit contrast resolution using a Molecular
arbitrary shapes of the target CDF. Dynamics Personal Densitometer (Sunnyvale, CA,
The aim of this study was to compare Rüttimann's USA). To avoid including the rounded corners of the
algorithm for matching (RM) and flattening (RF) and digital radiographic images, the images were cropped
Castleman's algorithm for matching (CM) and flatten- to 654 x 256 pixels.
ing (CF) for their ability to correct for contrast varia-
tions in dental digital images.
Grey-scale correction methods
The two methods of histogram matching and flattening
Materials and methods compared in this study both utilize cumulative grey-
scale distributions in which a histogram of the frequen-
Experimental model cies of pixels at each grey-scale value is calculated, and
Contrast variation in digital radiographic images may then the running sum of these is calculated to yield the
occur because of changes in film exposure, film proces- CDF 5 1 4 .
sing or radiograph digitization1"3'10. In our study, we With the matching algorithm given by Rüttimann et
varied film exposure and held film processing and al.5, the cumulative sums of pixels at each grey scale in
radiograph digitization constant. We feel that this is the original image are matched to the corresponding
justified in that contrast variations attributable to film cumulative sums of the desired image, such that the
processing and radiograph digitization are similar to cumulative sum of the desired image is less than or
those attributable to film exposure. equal to the cumulative sum of the original image while
A stepwedge was used to test for differences in also being greater than the next lower bin of the
algorithm performance. The stepwedge consisted of cumulative sum of the original image. Inherent in the
eleven 10 x 10 cm HVL aluminium attenuators (Nuc- process is the combining of bins in the original image to
lear Associates, Carle Place, NY, USA) that changed match the cumulative sums of the desired image.
thicknesses in increments of either 0.1, 0.5 or 1.0 mm. For Castleman matching, the CDF of the input
Each step was approximately 5-6 mm deep. Step-by- (original) image is forced to match as closely as possible
step decreases in thickness varied from 37% to less than the CDF of the target (desired) image (Figure 1). To
2% (for example, the change from 2.7 mm to 1.7 mm calculate the output grey level of an input grey level,
from step 5 to 4 represented a decrease in aluminium the value of input grey level is determined on the
thickness of 37%). original CDF. This value is used as input to the inverse
of the desired CDF, and this inverse grey-scale value of
the desired CDF is used as the output grey level (i.e. all
Image acquisition pixels in the image having the input grey level are
The stepwedge was placed over Ektaspeed films (East- 'mapped' to the output grey level). Castleman 14 pre-
man Kodak Co., Rochester, NY, USA) and exposed at sents a flat histogram with equal numbers of pixels at
70 kVp, 7 mA and with a 30 cm FFD (focal film each grey level except for the zero grey level, which has
distance), for 0.06, 0.12 and 0.25 s using a Heliodent no pixels. This results in a CDF that follows the major
MD dental unit with a 12° anode angle and 2.1 mm of diagonal (Figure 2). An alternative definition of a flat
aluminium filtration (Siemens Medical Systems, histogram assumes equal numbers of pixels at each grey
Erlangen, Germany). To cover the full length of the level, including the zero grey level15. We conducted our
wedge, two films were needed. Six steps nearer the thin experiments with both types of histogram flattening but
end of the stepwedge were included on one film, and found no overall difference in performance for these
methods. We present only results for histogram flatten-
six steps nearer the thick end of the stepwedge were
ing performed using Castleman's concept of a flat
included on another film. Step 6 was included in both
histogram.
exposures. In all, six films were exposed. The exposed
portions of the films were framed by lead blocks to The images created by exposures of 0.12 s were
minimize scatter radiation, including backscatter. considered to be the target images. The under- and
44 C.F. Hildebolt et al.
Results
The optical densities for the steps in the optimally
exposed radiographs varied from 0.849 to 1.844. This
represented a range in grey-scale values of 995 of the
o>
σ possible 4096 grey-scale values in the 12-bit images.
Φ
Algorithm performance did not appear to be related to
Φ
>< stepwedge thickness nor exposure level, i.e. no pattern
α. could be detected for the absolute differences between
•ο the mean pixel grey-scale values for the steps of the
Φ
Μ
10 optimally exposed radiographic images and the corre-
ε sponding values for the histogram-matched images.
δ
2 Likewise, no pattern could be detected for the means
of the absolute differences between the histogram-
flattened target image and the histogram-flattened
input output under- and overexposed radiographic images. Figure 4
0 1 illustrates the lack of any pattern. It contains a plot of
Normalized Gray Level
differences for CM underexposed images against step-
Figure 2 Histogram flattening. With histogram flattening, the de- wedge thicknesses. Because of this lack of pattern,
sired CDF is flat. Input and output are calculated as described in summary statistics for algorithm performances were
Figure 1
TOP
BOTTOM
Figure 3 Sampling of a digital radiographic image of a stepwedge. Two radiographic films were used to cover the length of the stepwedge. The
image in the figure is of a Castleman-matched underexposed image of the thin end of the stepwedge. Six steps and the background (step 0) were
sampled for the images of the thin end of the stepwedge. Six steps were also sampled for the thick end of the stepwedge.
Comparison of contrast-correction methods 45
0 1.0 1.1 1.6 1.7 2.7 3.7 4.7 4.8 5.3 5.4 6.4
Aluminum Thickness
individual step between Rüttimann and Castleman Figure 6 Enlargement of Figure 5 for RM and CM images
matching was 0.4 of a grey-scale value.