Method and apparatus for contrast enhancement

Abstract: A method and apparatus are disclosed for enhancing the contrast of a digital image by a) decomposing said original image into a sequence of detail images or into an array of coefficients representing detail strength at multiple resolution levels and a residual image, b) modifying each pixel of each detail image or each detail coefficient according to at least one non-linear monotonically increasing odd conversion function, c) constructing said processed image by accumulating detail obtained from said modified detail images or from said detail coefficients, and further adding said residual image.

Description: This invention relates to an image contrast enhancement method and to an apparatus for enhancing the contrast of a digital image. More in particular it relates to such method for use in a medical radiographic imaging system, such as a computed radiography system or a computed tomography system. Background of the invention. In imaging systems where the final output image has to be evaluated by a human observator a problem arises when the original image as obtained from an image sensing device contains detail information at various degrees of coarseness, within a wide amplitude range. This situation may arise when the sensor has a good signal to noise ratio over a large dynamic range, which is the case with computed radiography or computed tomography. When a typical image captured by such a device, e.g. a computed radiography image of a knee is to be represented on a film hardcopy (to be viewed on a lightbox) or even worse, on a display screen, then contrast of anatomic detail must always be traded off against dynamic range. Given the limited dynamic range of the image output medium (smaller than 500:1 in case of a transparent film, and smaller than 100:1 in case of a CRT screen under normal viewing conditions) then the tradeoff can be stated extremely as follows: i) if the entire dynamic range of the diagnostically meaningful signal levels is mapped onto the available output medium dynamic range, then overall contrast will be very low, and for many subtle details, contrast will be below the perceptual threshold level, hence these will be missed by the observer. ii) if at the other hand only a part of the original dynamic range is mapped onto the output medium dynamic range then all signal levels below this range will all be mapped onto the same (low) output level. and all original levels exceeding this range will be mapped onto the same (high) output level. In that case only those image pixels having a level within the selected dynamic range will be presented with acceptable contrast, while the other pixels will have uniform brightness, and will show up with no contrast at all. In image workstations connected to a computed radiography or computed tomography system the desired compromise between both extreme mappings is interactively selectable, a feature which is commonly referred to as window/level setting. However in common working environments such as a hospital there is no time for selecting the optimal window/level compromise, so the question is very urgent to display a single image on film or monitor screen, which reveals all the relevant diagnostic details with an acceptable contrast over the whole dynamic range. This problem is largely recognized in the field of digital radiology, see: Maack I., Neitzel U., "Optimized Image Processing for Routine Digital Radiography", Proceedings International Symposium CAR '91, p. 109, Springer Verlag. A similar problem exists in the area of photofinishing and prepress, where images obtained from wide latitude films or scanning systems have to be printed on paper with good contrast across the whole density range, despite of the much smaller latitude of the reproduction medium. Many attempts have been made to achieve this goal, such as the commonly known technique of unsharp masking as described in EP-A-0 368 162, adaptive histogram equalisation, and the many variants on these generic methods, but all suffer to some extent from the shortcoming that ghost details, called artifacts are created in the vicinity of significant signal level transitions, which occur e.g. at bone/soft tissue boundaries within the image. These artifacts cause a serious problem since they might suggest pathological evidence in a normal radiograph, or in other cases such artifacts might hide subtle lesions. The detrimental effect of these artifacts on diagnosis are well described in literature: Rehm K., Dallas W.J., "Artifact Suppression in Digital Chest Radiographs Enhanced With Adaptive Histogram Equalization", Proceedings of SPIE, vol. 1092 Medical Imaging III, pp. 294-296, 1989, International Society for Optical Engineering, Bellingham; Oestmann J.W., Prokop M., Schaefer C.M., Galanski M., "Artefacts in Digital Storage Phospor Radiography", Proceedings International Symposium CAR '91, pp. 125, Springer Verlag; Bick U., Wiesmann W., Lenzen H., Fiebich M., von Lengerke H.-J., Peters P.E., "Utilizing digital luminescence radiography in pediatric radiology: a report of initial experiences". Electromedica, vol. 59, no.1, p.30, 1991. Another problem with these contrast enhancement methods, which are based on the use of a sliding local operator, relates to the choice of the operator size. If one chooses a small operator size, only a few pixels diameter, then only the smaller details will be enhanced. With a larger operator size, larger details will be enhanced, at the expense of suppressing details of a different scale, which might be important as well. Adapting the operator size to the specific radiologic examination case may sometimes be feasible, but in many cases diagnostic details occur at different scale levels within the same image (even within close vicinity), in which case the results remain unsatisfactory despite fine tuning attempts. The multiple experimental studies on optimal parameter tuning for unsharp masking confirm that this is a non-trivial problem: Prokop M., Schaefer C., Oestmann J.W., Meschede A., Reichelt S., Galanski M., "Optimal Parameters for Unsharp Mask Filtering in Digital Chest Radiographs", Proceedings International Symposium CAR '91, pp. 149-154, Springer Verlag; Prokop M., Galanski M., Oestmann J.W., von Falkenhausen U., Rosenthal H., Reimer P., Nischelsky J., Reichelt S., "Storage Phosphor versus Screen-Film Radiography: Effect of Varying Exposure Parameters and Unsharp Mask Filtering on the Detectability of Cortical Bone Defects", Radiology vol. 177, no. 1, pp. 109-113, Oct. 1990. From GB-A-2 195 857 a contrast enhancement circuit is known which is based on the decomposition of an image into two spatial frequency bands. The high pass signal is modified by a nonlinear gradation function such that small signals corresponding to low image contrast are more generally amplified than larger signals corresponding to alredy existing high image contrast. The modified image is generated by adding the modified high pass signals to the low pass signals. In the field of digital image processing a novel paradigm of multiresolution computation has evolved the last decade, sometimes called pyramidal image processing. According to this concept multiple sets of processing parameters are used, tuned to a wide range of detail sizes. The basic concepts and efficient implementations of pyramidal decomposition are described in: Burt P.J., "Fast Filter Transforms for Image Processing", Computer Graphics and Image Processing, vol. 16, pp. 20-51, 1981; Crowley J.L., Stern R.M., "Fast Computation of the Difference of Low-Pass Transform", IEEE Trans. on Pattern Analysis and Machine Intelligence, vol. 6, no. 2, March 1984. Alternative multiresolution representations are presented in: Mallat S.G., "A Theory for Multiresolution Signal Decomposition: The Wavelet Representation", IEEE Trans. on Pattern Analysis and Machine Intelligence, vol. 11, no. 7, July 1989; Ebrahimi T., Kunt M., "Image compression by Gabor Expansion", Optical Engineering, vol. 30, no. 7. pp. 873-880, July 1991. Until now the main purpose of this kind of image processing techniques has been directed towards image compression: Arbeiter J.H., "Multidimensional video image processing architecture", Optical Engineering, vol. 25, no. 7, pp. 875-880, July 1986; Adelson E.H., Simoncelli E., and Hingorani R., "Orthogonal pyramid transforms for image coding", Proceedings of SPIE, vol. 845, pp. 50-58, 1987, International Society for Optical Engineering, Bellingham. Other applications include multiresolution image segmentation, image interpolation, and filter synthesis with specified frequency response: Lifshitz L.M., Pizer S.M., "A Multiresolution Hierarchical Approach to Image Segmentation Based on Intensity Extrema", IEEE Trans. on Pattern Analysis and Machine Intelligence, vol. 12, no. 6, pp. 529-540, June 1990; Szeliski R., "Fast Surface Interpolation Using Hierarchical Basis Functions", IEEE Trans. on Pattern Analysis and Machine Intelligence, vol. 12, no. 6, pp. 513-528, June 1990; Ranganath S., "Image Filtering Using Multiresolution Representations", IEEE Trans. on Pattern Analysis and Machine Intelligence, vol. 13, no. 5, pp. 426-440, May 1991. Object of the invention. It is a principal object of the present invention to provide a method for improving contrast of a digital image over the whole range of signal levels without enlarging the dynamic range. Another object of the present invention is to provide a method for reducing the dynamic range without lowering the contrast of low amplitude details, so that the whole range of signal levels may be visualised on a display or recorded on a recording film with acceptable contrast. Another object of the present invention is to provide a method for enhancing contrast without preference for a specific detail size range. A further object of the present invention is to provide a method for enhancing contrast without creating artifacts in the neighborhood of significant image transitions, typical of methods related to unsharp masking or adaptive histogram equalisation. A still further object of the present invention is to provide a method for enhancing contrast without remarkably boosting the noise component. A still further object of the present invention is to provide a method for enhancing contrast with increased sharpness. A still further object of the present invention is to provide an apparatus for enhancing contrast with the above mentioned features. Summary of the invention. We have found that the above objectives can be met by applying a method of enhancing the contrast of an electronic representation of an original image represented by an array of pixel values by processing said image, said processing comprising the steps of a) decomposing said original image into a sequence of multiple detail images at successively lower resolution levels and a residual image at a still lower resolution level wherein the pixels of a detail image represent the amount of variation of pixel values within said original image at the resolution level of the detail image, resolution refers to the spatial extent of said variations, a residual image is an approximation of said original image with omission of all variations comprised in said detail images, b) modifying the pixel values of said detail images to yield pixel values of a set of modified detail images according to at least one non-linear monotonically increasing odd conversion function with a slope that gradually decreases with increasing argument values, and c) computing a processed image by applying a reconstruction algorithm to the residual image and the modified detail images, the reconstruction algorithm being such that if it were applied to the residual image and the unmodified detail images said original image or a close approximation thereof would be obtained. The decomposition is performed so that each pixel value in said original image is equal to the sum of the corresponding pixel value of said residual image incremented by the corresponding pixel value of each of said detail images, said residual and detail images being brought into register with the original image by proper interpolation if their number of pixels is not equal to the number of pixels of the original image, and so that i) the mean of all pixel values in every detail image is zero; ii) the spatial frequency of every detail image is limited to a specific frequency band, said frequency band being defined as the compact region in the spatial frequency domain which contains nearly all (say 90%) of the spectral energy of the basic frequency period of said discrete detail image, adjusted to the original spatial frequency scale if said detail image contains less pixels than said original image; iii) every detail image corresponds to a different spatial frequency band, in such a way that the entire spatial frequency domain ranging from -pi to pi radians per pixel along both spatial frequency axes is covered by said spatial frequency bands associated with all said detail images considered within the decomposition; iv) each spatial frequency band associated with one of said detail images may partially overlap the neighboring bands without being fully included by a frequency band associated with another detail image; v) the number of pixels within each detail image is at least the number of pixels required by the Nyquist sampling criterion, so as to avoid aliasing, vi) at least two of said spatial frequency bands are considered in the course of said decomposition. The processed image is computed as the pixelwise sum of all modified detail images incremented by the corresponding pixel value in the residual image, said residual and detail images being brought into register with the original image by proper interpolation if their number of pixels is not equal to the number of pixels of the original image. The objects of the present invention can further be met by an alternative embodiment of the processing method of the present invention comprising the steps of a) decomposing said original image into a weighted sum of predetermined basic detail images at multiple resolution levels and a residual basic image by applying a transform to said image, said transform yielding a set of detail coefficients each expressing the relative contribution to the original image of one of a set of basis functions representing said basic detail images and a residual coefficient representing the relative contribution to the original image of a basis function representing said basic residual image, whereby said basis functions are continuous and non-periodic and have zero mean value except for the basis function that represents the basic residual image, and wherein an inverse transform exists which returns the original image or a close approximation thereof when being applied to said transform coefficients, b)modifying the detail coefficients according to at least one non-linear monotonically increasing odd mapping having a slope that gradually decreases with increasing absolute argument values, said function yielding a set of modified transform coefficients, c) computing said processed image by applying said inverse transform to the modified detail coefficients and the residual coefficient. According to this embodiment the decomposition is such that the value of each pixel within said original image is equal to the sum of all corresponding pixel values in said basic detail images multiplied by the associated detail coefficient, said sum further incremented by the corresponding pixel value of said basic residual image multiplied by the associated residual coefficient, and wherein the decomposition is such that if the complete set of said predetermined basic detail images would be partitioned into subsets of basic detail images with identically sized spatial extent, said spatial extent being defined as the compact pixel domain which contains all the signal energy of said basic detail images, all pixels outside said compact domain having zero value, then said partitioned set of predetermined basic detail images would be such that: i) the mean of all pixel values of every said basic detail image is zero; ii) every said subset covers the entire domain of said original image, i.e. for every pixel within said original domain there is within every said subset at least one basic detail image the spatial extent of which overlaps with said pixel; iii) all said basic detail images belonging to any particular subset are limited to the same spatial frequency band, said frequency band being defined as the compact region in spatial frequency domain which contains nearly all (say 90%) of the spectral energy of the basic frequency period of said basic detail image; iv) every said subset corresponds to a different spatial frequency band, in such a way that the entire spatial frequency band ranging from -pi through pi radians/pixel along both spatial frequency axes is covered by said spatial frequency bands associated with all said subsets considered within the decomposition; v) each spatial frequency band associated with one of said subsets may partially overlap the neighboring bands, without being fully included by a frequency band associated with another said subset; vi) at least two and preferably more said spatial frequency bands are considered in the course of said decomposition. The present invention further discloses a processing apparatus as defined in claims 22 and 26 for performing the contrast enhancing method(s) according to the present invention on an electronic image representation. The processed image can be visualised by hardcopy recording or through display on a monitor. The electronic image representation is generally obtained by an acquisition apparatus or acquisition section. Then, in the processing section said image representation is decomposed into detail images at multiple resolution levels and a residual image at still lower resolution, these detail images are modified and a processed image is computed by means of a reconstruction algorithm. Next the processed image can be applied to an output section or output apparatus. The acquisition section can be any apparatus or part thereof for obtaining an electronic representation of an image. For application in the medical field the acquisition unit can be an apparatus wherein an electronic representation of a image is obtained directly such as a medical scanner, a tomography apparatus, an image intensifier, etc. or alternatively an apparatus wherein an electronic representation of an image is obtained through the intermediary of a storage device such as a radiographic film or a photostimulable phosphor screen. The output section can be a hard-copy recording apparatus such as a laser printer or a thermal printer etc. or it can be a visual display apparatus such as a monitor. The image processing method of the present invention has been developed for the purpose of improving contrast of a digital image over the whole range of signal levels without enlarging the dynamic range in a system for reproducing or displaying an image read-out of a photostimulable phosphor screen. Additionally this method is very efficacious when used for improving contrast in radiotherapy. Further details relating to the apparatus as well as to different embodiments of the contrast enhancing method are described hereinbelow with reference to the drawings wherein Fig. 1 is a block scheme generally illustrating an apparatus according to the present invention, Fig. 2 is specific embodiment of an image acquisition apparatus, Fig. 3 is a block scheme illustrating the different steps of the contrast enhancing method, Fig. 4a illustrates one way of performing the decomposition step in a method according to the present invention, Fig. 4b illustrates an embodiment of a reconstruction algorithm, Fig. 4c shows the coefficients of an example of a Gaussian filter, Fig. 4d shows a modified embodiment of the reconstruction step, Fig. 4e shows another modified embodiment of the reconstruction step, Fig. 5a illustrates another embodiment of a decomposition step, Fig. 5b illustrates the corresponding reconstruction algorithm. Fig. 6a shows a one-dimensional plot of the squared modulus of the transfer functions of a series of low pass filters of decreasing bandwith along one of the spatial frequency coordinate axes, Fig. 6b shows the squared modulus of bandpass filter transfer functions corresponding to the subtraction of two low pass filter transfer functions at successively lower resolution, Fig. 7 shows the power spectra of pyramidal Gabor functions, Fig. 8 is a plot of a specific modifying function that can be used in a method of the present invention, Fig. 9 is a plot of an alternative modifying function, Fig. 10a is a plot of one line of an example original image, Fig. 10b is a plot of the corresponding line of a contrast enhanced image. A simplified block diagram of an apparatus according to the present invention is shown in Fig. 1. An image acquisition unit 1 acquires a digital image by sampling the output signal of an image sensor, such as a CCD sensor, a video camera, or an image scanner, an image intensifying tube, quantizes it using an A/D convertor into an array of pixel values, called raw or original image 2, with pixel values typically 8 to 12 bits long, temporarily stores the pixel values in memory if desired, and transmits the digital image 2 to an image enhancement unit 3, where the image contrast is adaptively enhanced in accordance with the present invention, next the enhanced image 4 is transmitted to the display mapping section 5 which modifies the pixel values according to a contrast curve, such that the relevant image information is presented in an optimal way, when the processed image 6 is visualised on an image output device 7, which produces either a hardcopy on transparent film or on paper, or a viewable image on a display screen (CRT). A preferred embodiment of image acquisition unit 1 is shown in Fig. 2. A radiation image of an object 11 or part thereof, e.g. a patient is recorded onto a photostimulable phosphor plate by exposing said plate to X-rays originating from an X-ray source 10, transmitted through the object. The photostimulable phosphor plate 13 is conveyed in a cassette 12. In a radiation image readout apparatus the latent image stored in the photostimulable phosphor plate is read out by scanning the phosphor sheet with stimulating rays emitted by a laser 14. The stimulating rays are deflected according to the main scanning direction by means of a galvanometric deflection device 15. The secondary scanning motion is performed by transporting the phosphor sheet in the direction perpendicular to the scanning direction. A light collector 16 directs the light obtained by stimulated emission onto a photomultiplier 17 where it is converted into an electrical signal, which is next sampled by a sample and hold circuit 18, and converted into a 12 bit digital signal by means of an analog to digital converter 19. From there the digital image 2, called raw or original image, is sent to the enhancement section 3. The image enhancement system 3 consists of three main parts, schematically drawn in Fig. 3. In a decomposition section 30 the original image 2 is decomposed into a sequence of detail images, which represent the amount of detail present in the original image at multiple resolution levels, from fine to coarse. After the last decomposition step a residual image 31' may be left. The resulting detail images 31, which represent the amount of local detail at successive resolution levels are next modified in modification section 32 by means of a non-linear mapping operation. In the image reconstruction section 34 the modified detail images 33 are next accumulated at all resolution levels, along with the residual image 31' to compute the enhanced image 4. A preferred embodiment of the decomposition process is depicted in Fig. 4a. The original image is filtered by means of a low pass filter 41, and subsampled by a factor of two, which is implemented by computing the resulting low resolution approximation image g 1 only at every other pixel position of every alternate row. A detail image b 0 at the finest level is obtained by interpolating the low resolution approximation g 1 with doubling of the number of rows and columns, and pixelwise subtracting the interpolated image from the original image 2. The interpolation is effectuated by the interpolator 42, which inserts a column of zero values every other column, and a row of zero values every other row respectively, and next convolves the extended image with a low pass filter. The subtraction is done by the adder 43. The same process is repeated on the low resolution approximation g 1 instead of the original image 2, yielding an approximation of still lower resolution g 2 and a detail image b 1 . A sequence of detail images b i , i = 0..L-1 and a residual low resolution approximation g L are obtained by iterating the above process L times. The finest detail image b 0 has the same size as the original image. The next coarser detail image b 1 has only half as many rows and columns as the first detail image b 0 . At each step of the iteration the maximal spatial frequency of the resulting detail image is only half that of the previous finer detail image, and also the number of columns and rows is halved, in accordance with the Nyquist criterion. After the last iteration a residual image g L 31' is left which can be considered to be a very low resolution approximation of the original image. In the extreme case it consists of only 1 pixel which represents the average value of the original image 2. The filter coefficients of the low pass filter of the preferred embodiment are presented in Fig. 4c. They correspond approximately to the samples of a two dimensional gaussian distribution on a 5x5 grid. The same filter coefficients are used for the low pass filters 41, 41',.. 41''' at all scales. The same filter kernel with all coefficients multiplied by 4 is also used within the interpolators 42, 42',... 42'''. The factor of 4 compensates for the insertion of zero pixel columns and rows as explained above. The corresponding reconstruction process is depicted in Fig. 4b. The residual image is first interpolated by interpolator 51 to twice its original size and the interpolated image is next pixelwise added to the detail image of the coarsest level b' L-1 , using adder 52. The resulting image is interpolated and added to the next finer detail image. If this process is iterated L times using the unmodified detail images b L-1 ...b 0 then an image equal to the original image 2 will result. If at the other hand the detail images are modified before reconstruction according to the findings of the present invention, then a contrast enhanced image 4 will result. The interpolators 51, 51' .. 51''' are identical to those used in the decomposition section. Further details of the above described decomposition and reconstruction methods, called hierarchical decomposition are given in: "Multiresolution Image Processing and Analysis", Ed. A. Rosenfeld, Springer Series in Information Sciences, Springer Verlag, pp. 10-14. The image quality of the reproduction of a radiologic image read- out of a photostimulable phosphor screen can further be improved by boosting or suppressing the contribution of the detail information as a function of the average approximation values at a certain resolution level. More specifically the contribution of the detail information is decreased in relatively bright image regions and enhanced in darker regions. This method provides that the disturbing effect of noise is diminished without reducing the overall sharpness impression of the image reproduction, for the noise perception in bright areas is in general more prominent in bright areas than in the darker regions of a radiograph. To achieve this goal the previously described embodiment is modified according to one of the next implementations. A first implementation of this procedure is illustrated in Fig. 4d. In the last (preferably two or three) stages of the reconstruction process the modified detail images b' i are pixelwise multiplied by a coefficient which is obtained by applying a lookup table 53''..53''' to the corresponding pixels of the interpolated partially reconstructed image from the previous coarser resolution level. The mapping implemented by the lookup table 53''..53''' is such that the resulting coefficient values are smaller than one in case of relatively small abscissae (corresponding to bright pixels in the partially reconstructed image), and larger than one for relatively large abscissae (corresponding to darker pixels). After multiplication by multipliers 54"..54"' of the thus obtained coefficients with the pixels of the modified detail images b' i the resulting pixels are added to the pixels of the partially reconstructed at that stage the same way as described before. This process is repeated until an enhanced image 4 is obtained. In the illustration of Fig. 4d the method is applied only to the finest two resolution levels. The invention further provides a second implementation of this brightness dependent contrast enhancement method that is preferred because of the reduced computational effort; this implementation is illustrated in Fig. 4e. During the reconstruction process a partially reconstructed image at an intermediate resolution level, typically 2 or 3 octaves coarser than the resulting image, is converted according to a monotonically increasing conversion curve with gradually decreasing slope, for example a power function y = x max * (x/x max ) P0 , 0 <= x <= x max , with a power value 0 < p 0 < 1, typically p 0 = 0.25. Next, the reconstruction procedure is continued by pixelwise addition of the detail image at the current resolution level, and interpolation to the image size of the next finer level. This is repeated until a full size reconstructed image is obtained the same way as described before. Finally the resulting image is converted according to a curve which is the inverse of the aformentioned conversion curve, for the given example this is the same kind of power function, with a power value p 0 = 1/0.25 = 4. The nonlinear conversion of the partially reconstructed image followed by the inverse conversion after reconstruction, essentially modifies the relative importance of fine detail w.r.t. accumulated pixel value at the specified intermediate resolution level, as a function of said accumulated pixel value, which is representative of the brightness at the corresponding position in the final reconstructed image (since said intermediate image is a low resolution approximation of the final image). The inverse conversion guarantees that the overall gradation remains unchanged, i.e. the combined effect of forward and inverse conversion is nihil if the finer detail images added after forward conversion are all zero. As a result fine detail contrast (and also noise) in bright images areas are reduced w.r.t. detail contrast of similar amplitude in dark image regions. In the method according to Fig. 4e the above forward conversion is applied to an approximation image after interpolation to the current image size; the same objectives are met if said forward conversion is applied to the approximation image before interpolation. The above forward and inverse conversions are commonly implemented by means of a lookup table (55 and 56 resp.). The inverse lookup table may be merged with the lookup table that implements the mapping of signal values into density values to be obtained in the reproduction of a soft- or hardcopy, in order to reduce computation time. Fig. 5a and 5b depict a second embodiment of the decomposition process and the corresponding reconstruction process respectively. The original image is filtered by means of a low pass filter 44, yielding a low resolution approximation of the original image g 1 . A detail image b 0 at the finest level is obtained by pixelwise subtracting the low resolution approximation g 1 from the original image. The same process is repeated on the low resolution approximation g 1 instead of the original image 2, using a low pass filter 44', which has a smaller bandwidth than the low pass filter used within the first iteration. The result is an approximation of still lower resolution g 2 , and a detail image b 1 . A sequence of detail images b i , i = 0..L-1 and a residual low resolution approximation g L are obtained by iterating the above process L times, using low pass filters L i with decreasing bandwidth. In a preferred embodiment the bandwidth is decreased by a factor of 2 at every iteration, but other factors can also be considered. A set of low pass filters L i with systematic bandwidth reduction of one octave is easily derived from the filter L 0 at the finest resolution level by successively doubling the number of rows and columns of the filter coefficient kernel, inserting a zero row every other row, and a zero column every other column, respectively. This implementation is computationally efficient, since all multiplications with zero coefficients and subsequent additions can be omitted. The reconstruction according to this second preferred embodiment is depicted in Fig. 5b. The resulting image 4 is simply obtained by pixelwise adding all detail images b' i , i = 0..L-1 to the residual image 9 L . When this process is executed starting from the unmodified detail images b L-1 .. b 0 then the original image 2 will result. When at the other hand the detail images are modified before reconstruction according to the findings of the present invention, then a contrast enhanced image will result. The above embodiment is still characterised as multiresolution since the bandwidth is reduced at every subsequent decomposition stage, but it is not pyramidal, since the number of pixels is not reduced accordingly. However this issue does not affect the contrast enhancement performance. Each of the detail images b i as obtained by one of the decomposition methods described above represents the detail information contained in the original image at a specific scale, corresponding to a specific band in spatial frequency. Fig. 6a shows a one-dimensional plot of the squared modulus of the transfer function of the lowpass filters L i along one of the spatial frequency coordinate axes. The cut-off frequency is halved for every subsequent filter. Other reduction factors, such as sqrt(2) may work as well, but the implementation is more complicated, especially if the number of pixels is reduced in accordance with the resolution reduction every subsequent stage. The squared modulus of the bandpass filter transfer functions corresponding to the subtraction of two lowpass filters at successively lower resolution is shown in Fig. 6b. Although the transfer functions substantially overlap, each of them clearly corresponds to a spatial frequency band. A third embodiment of the decomposition and reconstruction process is as follows. The decomposition consists of finding a matrix of weighting coefficients such that the original image is approximated in the least squared error sense as the pixelwise sum of basis images, each basis image multiplied by the appropriate weighting coefficient. In a preferred embodiment the basis images are defined as the product of two one-dimensional basis functions along each of the coordinate axes: cfr. formula (1) Each individual product cfr. formula (2) can be considered as a basis image, with pixel coordinates (k,l). The least squared error solution matrix of weighting coefficients, corresponding to a predetermined set of basis functions is computed using the known technique of singular value decomposition. According to this technique the weighting coefficient matrix W can be expressed as a concatenated matrix product: cfr. formula (3). The theory of singular value decomposition is described in: Wilkinson J.H,. Reinsch, "Handbook for automatic computation", vol. 2, Linear Algebra, Springer Verlag. Algorithms for numerically efficient implementation of singular value decomposition are available from the NAG library, Numerical Analysis Group, Mayfield House, 256 Banburry Road, Oxford OX27BE, UK. In a preferred embodiment according to the findings of the present invention, the set of basis functions h i must be choosen to represent local detail at all scales and at any position within the original image, such that every localised image detail contributes to only a few weighting coefficients w(i,j). This means that the basis functions must have non-zero values only within a limited contiguous abscissa range, the size of this range depending upon the scale for which said basis function is representative. Hence periodic basis functions as used in the Fourier transform are not suited within the context of the present invention. Furthermore the basis functions must have smooth behaviour, to represent natural details, which excludes basis functions such as used in the Hadamard transform or the Haar transform. A family of basis functions that very effectively represent detail in the context of the present invention are the so-called wavelets. A description of this category of functions is given in: Mallat S.G., "A Theory for Multiresolution Signal Decomposition: The Wavelet Representation", IEEE Trans. on Pattern Analysis and Machine intelligence, vol. 11, no. 7, July 1989. For an image consisting of NxN pixels, N=2 p , N orthogonal wavelet basis functions can be found, so that H is an NxN orthogonal matrix, all singular values are non-zero, and the diagonal elements of the matrix D are finite. In the latter preferred embodiment based on wavelet decomposition, the reconstruction is accomplished by successive matrix multiplication: cfr. formula 4. When the reconstruction is executed starting from the unmodified detail weight coefficient matrix W then the original image 2 will result. When at the other hand the detail weight coefficients are modified before reconstruction according to the findings of the present invention, then a contrast enhanced image will result. A still further embodiment of decomposition and reconstruction using orthogonal pyramidal basis functions according to the findings of the present invention is based on the use of quadrature mirror filters. This multiresolution decomposition technique is described in: Adelson E.H., Simoncelli E., and Hingorani R., "Orthogonal pyramid transforms for image coding", Proceedings of SPIE, vol. 845, pp. 50-58, 1987, International Society for Optical Engineering, Bellingham. With the above described embodiments based on orthogonal decomposition exact reconstruction of the original image is possible, with just as many basis functions as there are pixels in a line of the original image. This means that these decompositions are non-redundant. However within the context of the present invention exact reconstruction is not a strict requirement, since the weighting coefficients obtained from decomposition will be modified anyhow. If applying the singular value decomposition technique to the matrix H as described above yields one or more zero, or nearly zero singular values, then this means that the selected basis functions which make up the matrix H, are not independent. In that case the very large or infinite diagonal elements of the matrix D that correspond to zero or nearly zero singular values, are explicitly set to zero. The corresponding row and column in the weighting coefficient matrix will then consist of all zeroes. The reconstruction is then accomplished by successive matrix multiplication: cfr. formula (5), where the weighting coefficient matrix W' is obtained from W by dropping all zero columns and zero rows, and H' is obtained by dropping the corresponding columns in H. When the reconstruction is executed without modifying the detail weight coefficient matrix W' then a least square approximation of the original image 2 will result. When at the other hand the detail weight coefficients are modified before reconstruction according to the findings of the present invention, then a contrast enhanced image will result. A family of non-orthogonal basis functions which perform well in representing local detail at multiple resolution scales, according to a further preferred embodiment of the present invention, are the pyramidal Gabor functions: cfr. formula (6). According to our preferred embodiment the value N in the above formulas is chosen equal to the column or row size of the original image, which are preferably one less than a power of two: cfr. formula (7). The number of resolution levels is then equal to p: s = 0 .. p-1 and the total number of basis functions M is then equal to the number given by formula (8). The decomposition and reconstruction are executed as described above, using the indices i and j, given by formula (9). All pairwise products of basis functions along horizontal and vertical axes resp. h i (k)*h j (l) are considered to be basic detail images in the context of the present invention, except h 0 (k)*h 0 (l), which is considered to be a basic residual image, having non-zero mean value. The gaussian envelope of these functions guarantees a limited spatial extent, which is required in the context of the present invention, and the size of this spatial extent depends on the scale, so that the whole range of resolution levels are covered. Fig. 7 shows the power spectra of these basis functions, which are all displaced gaussian distributions, each covering approximately a different octave of spatial frequency. Referring to Fig. 3 a preferred embodiment of the modification section 32 in accordance with the findings of the present invention comprises a memory 61 for temporarily storing the detail images 31 and the residual image 31', and a lookup table 62 wich converts every pixel value x of each detail image into an output value y according to the function: y = -m * (-x/m) p if x < 0 y = m * (x/m) p if x >= 0 where the power p is chosen within the interval 0 < p < 1, preferably within the interval 0.5 < p < 0.9. A comparative evaluation of a large number of computed radiography images of thorax and bones by a team of radiologists indicated that p = 0.7 is the optimal value in most cases. m specifies the abscissa range : -m <= x <= m, e.g. m = 4095 if detail pixels are represented by 13 bits signed. A plot of the above function is presented in Fig. 8. If depending on the used decomposition method either the pixels of each detail image or otherwise the detail weighting coefficients as obtained from one of the above decomposition methods, are converted according to the above function, then all details with a low amplitude will be boosted relative to the image details wich originally have a good contrast. In this respect the above power function proved to perform very well, but it is clear that an infinite variety of monotonically increasing odd mapping functions can be found that will enhance subtle details. The main requirement is that the slope of said mapping function is steeper in the region of argument values that correspond to small detail image pixel values or coefficient values than it is in the region of large detail pixel or coefficient values. In an alternative embodiment excessive noise amplification can be avoided by using a composite mapping function: y = -m * (-x/m) p 2 if -m <= x < -c y = -m * ( c/m) p 2 * (-x/c) p 1 if -c <= x < 0 y = m * ( c/m) p 2 * ( x/c) p 1 if 0 <= x < c y = m * ( x/m) p 2 if c <= x <= m where the power p 2 is chosen within the interval 0 < p 2 < 1, preferably 0.5 < p 2 < 0.9, and most preferably p 2 = 0.7 (however the preferred value of p 2 depends upon the kind of radiological examination), where the power p 1 is not smaller than p 2 : p 1 >= p 2 , where the cross-over abscissa c specifies the transition point between both power functions: 0 < c < m, and preferably c is very small relative to m; and where m specifies the abscissa range: -m <= x <= m. A plot of the above function is presented in Fig. 9. Decreasing the power p 2 will further enhance the contrast of subtle details, but at the same time the noise component will also be amplified. The noise amplification can be limited by choosing a power value p 1 larger than p 2 , preferably 1.0, so that the slope of the mapping function is not extremely steep for the range of very small abscissae in the interval -c ... c. Ideally the cross-over abscissa c should be proportional to the standard deviation of the noise component (assuming additive noise), with a proportionality factor preferably between one and two. In that case the lowest amplitude details burried within the noise along with the majority of the noise signals will only be moderately amplified, according to the slope of the functional part controlled by the power p 1 , while the detail signals just exceeding the noise level will be amplified much more according to the slope of the functional part controlled by the power p 2 . The decreasing slope of the latter functional part still assures that the subtle details above the noise level are boosted relative to the high amplitude details. In this respect the above composite power function proved to perform very well, but it is clear that an infinite variety of monotonically increasing odd mapping functions can be found that will enhance subtle details without boosting the noise to an excessive level. The main requirement is that the slope of said mapping function is steeper in the subrange of argument values that correspond to small detail image pixel values or coefficient values than it is either in the subrange of very small detail pixel or coefficient values which mostly correspond to noise, or in the range of the larger detail values. When all detail images of the decomposition are modified using the same mapping according to one of the above methods, a uniform enhancement over all scales will result. In a slightly modified embodiment, where a different mapping function is used at each resolution level e.g. by multiplying one of the above described mapping functions with a resolution level-dependent coefficient, it is possible to increase the sharpness by setting the coefficient corresponding to the finest resolution level to a substantially higher value than the other coefficients: y = A i * F(x), i = 0..L-1, where F(x) is one of the above described mappings, L is the number of resolution levels, and A i is a level dependent coefficient, e.g. A 0 > 1, and A i = 1 for 1 <= i <= L-1. The detail images are modified starting from the lowest resolution detail image up to the finest level, which is the order in which they are needed in the course of the reconstruction process. When the detail images are modified according to one of the above methods, and next accumulated in the previously described reconstruction section according to one of the above reconstruction methods, then the dynamic range of the resulting signal will normally exceed the original range. Therefore the resulting image signal is ultimately reduced to the dynamic range of the original image signal, or even smaller. In the former case the contrast of subtle details will show improved perceptibility in comparison with the original image, in the latter case the same perceptiblity level may be reached with a smaller dynamic range, in accordance with the findings of the present invention. In a preferred embodiment the above reduction of dynamic range is accomplished by means of a lookup table, which maps said reconstructed image signal to an output signal which represents the desired screen brightness or film density. The mapping is monotonic and may be linear or curved, depending on the desired gradation. As an example Fig. 10a depicts a single line of an original image 2, and Fig. 10b. the corresponding line of a resulting image 4 enhanced according to the first embodiment of decomposition and reconstruction, and the first embodiment of detail modification. Apparently subtle details have been boosted relative to signal variations of high amplitude, without increasing the overall dynamic range, and without creating overshoots or other artifacts in the vicinity of steep edges (such as the one near the right image border), in accordance with the findings of the present invention. Formulas where f(k,l) is the original image, h i (k) and h j (l) are one-dimensional basis functions along each of the image coordinate axes respectively, and w(i,j) are the weighting coefficients. (2) h i (k) h j (l) (3) W = VDU T F UDV T where is the resulting weighting coefficient matrix and is the matrix representation of the original image consisting of NxN pixels, and and where U, V and D are obtained by singular value decomposition of the matrix in which every column vector represents the samples of one of the basis functions, such that where the columns of U are the normalised eigenvectors of HH T , where the rows of V are the eigenvectors of H T H, and λ i are the singular values of H in descending order. The diagonal matrix D consists of the inverse singular values 1/λ i . (4) F = HWH T (5) F = H'W'H' T (6) h 0,0 (k) = g N (k) h 0,1 (k) - g N (k) exp (j 2Π N k) h m,s (k) = g N/Ms (k-m N M s exp (j 2 N (3M s -1)k) where h 0,0 represents the (single) Gabor function at the coarsest resolution level, where h m,s represent the Gabor function at the resolution level s; m-0...M S -1 where g n (k) is the zero-mean gaussian distribution function with standard deviation N g N (k) = exp (-Π (k/N) 2 ) where j= -1 where M S is the number of Gabor functions at every resolution level s M s = 1 if s = 0 M s = 2 s-1 if s = 0 (7) N = 2 P -1 (8) M = M 0 + M 1 + ... M p-1 = 2 p = N+1 (9) i = 0 s = 0 i = 2 s-1 + m s ≠ 0 i = 0 ... M-1 and the same for j (j being an index)

Claims: A method of enhancing the contrast of an electronic representation of an original image represented by an array of pixel values by processing said image, said processing comprising the steps of a) decomposing said original image into a sequence of multiple detail images at successively lower resolution levels and a residual image at a still lower resolution level, wherein the pixels of a detail image represent the amount of variation of pixel values within said original image at the resolution level of the detail image, resolution refers to the spatial extent of said variations, a residual image is an approximation of said original image with omission of all variations comprised in said detail images, b) modifying the pixel values of said detail images to yield pixel values of a set of modified detail images according to at least one non-linear monotonically increasing odd conversion function with a slope that gradually decreases with increasing argument values, and c) computing a processed image by applying a reconstruction algorithm to the residual image and the modified detail images, the reconstruction algorithm being such that if it were applied to the residual images and the unmodified detail images, said original image or a close approximation thereof would be obtained. Method according to claim 1 wherein said decomposition is performed so that each pixel value in said original image is equal to the sum of the corresponding pixel value of said residual image and the corresponding pixel values of each of said detail images, said residual and detail images being brought into register with the original image by interpolation if their number of pixels is not equal to the number of pixels of the original image, and so that i) the mean of all pixel values in every detail image is zero; ii) the spatial frequency of every detail image is limited to a specific frequency band; iii) every detail image corresponds to a different spatial frequency band, in such a way that the entire spatial frequency domain is covered by the spatial frequency bands associated with all said detail images considered within the decomposition ; iv) each spatial frequency band associated with one of said detail images may partially overlap the neighboring bands without being fully included; v) the number of pixels within each detail image is at least the number of pixels required by the Nyquist sampling criterion ; vi) at least two of said spatial frequency bands are considered in the course of said decomposition; and wherein each pixel value of said processed image is computed as the sum of the corresponding pixel values in each of the modified detail images incremented by the corresponding pixel value in the residual image, said residual and detail images being brought into register with the original image by interpolation if the number of pixels is not identical . Method according to claim 1 or 2 wherein the number of pixels in each detail image decreases at each coarser resolution level. Method according to claim 3 wherein the detail images at successively coarser resolution levels are obtained as the result of each of K iterations of the following steps: a) computing an approximation image at a next coarser level by applying a low pass filter to the approximation image corresponding to the current iteration, and subsampling the result in proportion to the reduction in spatial frequency bandwidth, using however the original image as input to said low pass filter in the course of the first iteration; b) computing a detail image as the pixelwise difference between the approximation image corresponding to the current iteration and the approximation image at a next coarser resolution level computed according the method sub 4.a), both images being brought into register by proper interpolation of the latter image; and wherein the residual image is equal to the approximation image produced by the last iteration, and wherein said processed image is computed by iterating K times the following procedure starting from the coarsest detail image and the residual image: computing the approximation image at the current resolution level by pixelwise adding the detail image at the same resolution level to the approximation image at the coarser resolution level corresponding to the previous iteration, both images being brought into register by proper interpolation of the latter image, using however the residual image instead of said coarser approximation image in the course of the first iteration. Method according to claim 1 wherein said conversion function depends on the value of the corresponding pixel in said original image. Method according to claim 4 modified in that in the course of said reconstruction, each pixel value of at least one of the finer detail images is multiplied with a coefficient obtained as a function of the corresponding pixel value in the approximation image that is added to said detail image, said function being smaller than one for those abscissae which correspond to density subranges where detail contrast or noise is to be reduced, and greater or equal than one for the other abscissae. Method according to claim 4 modified in that in the course of said reconstruction, pixel values of an approximation image at some intermediate resolution level are converted before being added to the detail image pixels according to a monotonically increasing conversion function with gradually decreasing slope, and wherein said processed image is subjected to the inverse conversion. Method according to claim 4 wherein the subsampling factor is 2 and said low-pass filter has an impulse response which approximates a two-dimensional gaussian distribution. Method according to claim 4 wherein K is such that said residual image consists of one pixel. Method according to claim 1 or 2 wherein the detail image at the finest resolution level is obtained as the pixelwise difference between the original image and an image obtained by low pass filtering the original image, and wherein the successive coarser resolution level detail images are obtained by taking the pixelwise difference between two low pass filtered versions of the original image, the second filter having a smaller bandwidth than the former. A method of enhancing the contrast of an image represented by an array of pixel values by processing said image, said processing comprising the steps of a) decomposing said original image into a weighted sum of predetermined basic detail images at multiple resolution levels and a residual basic image by applying a transform to said image, said transform yielding a set of detail coefficients each expressing the relative contribution to the original image of one of a set of basis functions representing said basic detail images and a residual coefficient representing the relative contribution to the original image of a basis function representing said basic residual image, whereby said basis functions are continuous and non-periodic and have zero mean value except for the basis function that represents the basic residual image, and wherein an inverse transform exists which returns the original image or a close approximation thereof when being applied to said transform coefficients, b) modifying the detail coefficients according to at least one non-linear monotonically increasing odd conversion function having a slope that gradually decreases with increasing absolute argument values, said function yielding a set of modified transform coefficients, c) computing said processed image by applying said inverse transform to the modified detail coefficients and the residual coefficient. Method according to claim 11 wherein said decomposition is such that the value of each pixel within said original image is equal to the sum of all corresponding pixel values in said basic detail images multiplied by the associated detail coefficient, said sum further incremented by the corresponding pixel value of said basic residual image multiplied by the associated residual coefficient, and wherein the decomposition is such that if the complete set of said predetermined basic detail images would be partitioned into subsets of basic detail images with identically sized spatial extent, then said partitioned set of predetermined basic detail images would be such that: i) the mean of all pixel values of every said basic detail image is zero; ii) every said subset covers the entire domain of said original image; iii) all said basic detail images belonging to any particular subset are limited to the same spatial frequency band; iv) every said subset corresponds to a different spatial frequency band, in such a way that the entire spatial frequency band is covered by said spatial frequency bands associated with all said subsets considered within the decomposition; v) each spatial frequency band associated with one of said subsets may partially overlap the neighboring bands, without being fully included by a frequency band associated with another said subset; vi) at least two and preferably more said spatial frequency bands are considered in the course of said decomposition; and wherein said processed image is reconstructed as the sum of all corresponding pixel values in said basic detail images multiplied by said modified associated detail coefficients, said sum being further incremented by the corresponding pixel value of said basic residual image multiplied by the associated residual coefficient. Method according to claim 11 wherein said transform is the pyramidal Gabor expansion. Method according to claim 11 wherein said basis functions are orthogonal. Method according to claim 14 wherein said basis functions are wavelets. Method according to claim 1 or 11 wherein the modifying function has a slope that gradually decreases with increasing absolute argument values with the exception of the region of lowest absolute argument values where the slope is constant or increasing. Method according to claim 1 or 11 wherein the modifying function is defined as: F(x) = -m * (-x/m)p if x < 0 F(x) = m * (x/m)p if x >= 0 where the power p is chosen within the interval 0 < p < 1 and m specifies the abscissa range : -m <= x <= m. Method according to claim 16 wherein the modifying function is defined as: F(x) = -m * (-x/m) p 2 if -m <= x < -c F(x) = -m * (c/m) p 2 * (-x/c) p 1 if -c <= x < 0 F(x) = m * ( c/m) p 2 * ( x/c) p 1 if 0 <= x < c F(x) = m * ( x/m) p 2 if c <= x <= m where the power p 2 is chosen within the interval 0 < p 2 < 1, where the power p 1 is not smaller than p 2 and where the cross-over abscissa c specifies the transition point between both power functions: 0 < c < m, and where m specifies the abscissa range: -m <= x <= m. Method according to claims 16 or 18 wherein the value that delimits the range of abscissa values of the modifying function within which the slope is constant or increasing, is set in proportion to the noise level of the original image. Method according to claim 1 or 11 wherein the modifying function is not identically defined at each resolution level in said decomposition, such that the mappings applied to the finer resolution levels amplify image detail more than the mappings corresponding to the coarser resolution levels. Method according to any of the preceding claims wherein the dynamic range of the processed image is reduced by mapping the processed image onto a desired output dynamic range according to a specified gradation curve. An apparatus for enhancing the contrast of an original image represented by an array of pixel values by processing the electronic representation of said image comprising -means for decomposing said original image into a sequence of multiple detail images at successively lower resolution levels and a residual image at a still lower resolution level, wherein the pixels of a detail image represent the amount of variation of pixel values within said original image at the resolution level of the detail image, resolution refers to the spatial extent of said variations, a residual image is an approximation of said original image with omission of all variations comprised in said detail images, means for modifying the pixel values of said detail images by means of at least one non-linear monotonically increasing odd mapping function with a slope that gradually decreases with increasing absolute argument values, means for computing a processed image by applying a reconstruction algorithm to the residual and the modified detail images, said reconstruction algorithm being such that if it were applied to the residual image and the detail images without modification then the original image or a close approximation thereof would be obtained. Apparatus according to claim 22 wherein said means for computing detail images at different resolution steps comprise means for computing approximation images at different resolution levels, adding means and interpolation means for subtracting the approximation image at a current level from the approximation image at a next coarser level after both images are brought into register, and means for iterating the above computations starting with the original image; and wherein said means for computing said processed image comprise adding means and interpolation means for adding the detail image at a resolution level to the approximation level at a coarser resolution level, said images being brought into register, and means for iterating the above additions and interpolations starting with the residual image and the coarsest detail image. Apparatus according to claim 23 wherein said means for computing an approximation image comprise a low pass filter to which the approximation image at given resolution level is fed starting with the original image and subsampling means for subsampling the result of the filtering operation in proportion to the reduction in spatial frequency bandwidth of the filters. Apparatus according to claim 24 wherein said subsampling means are characterised by a subsampling factor equal to 2 and wherein said low- pass filter has a two-dimensional gaussian distribution. An apparatus for enhancing the contrast of an original image represented by an array of pixel values by processing the electronic representation of said image comprising means for storing a set of mathematical basis functions representing basic detail images at multiple resolution levels and a basic residual image, said functions being continuous and non-periodic and having zero mean value except for the basis function that represents the residual image, means for calculating a set of detail coefficients expressing the relative contribution of one of the set of basic images to the original image and a residual coefficient representing the contribution of the basic residual image to the original image by applying a transform to said image, said transform being such that there exists an inverse transform which returns the original image or a close approximation thereof when applied to said transform coefficients, means for modifying said detail coefficients to obtain a set of modified coefficients according to at least one non-linear monotonically decreasing odd conversion function having a slope that gradually decreases with increasing argument values, means for applying said inverse transform to the modified detail coefficients and the residual coefficients to compute said processed image. Apparatus according to claim 22 or 26 additionally provided with a section for reading out a radiation image stored in a photostimulable phosphor screen by scanning said screen with stimulating radiation, detecting the light emitted upon stimulation and converting the detected light into an electronic representation.

Inventors: SCHOETERS EMILE PAUL, VUYLSTEKE PIETER PAUL, SCHOETERS, EMILE PAUL, VUYLSTEKE, PIETER PAUL
Applicants: AGFA GEVAERT NV, AGFA-GEVAERT NAAMLOZE VENNOOTSCHAP
Application year: 1992
Main classification: G06T5
IPC codes: G06T5