Image display having automatic image adjustment

Abstract: A graphical image display provides improved image presentation due to potential removal of background data which would otherwise degrade presentation of the region of interest and due to automatic adjustment of image brightness and contrast based on operator preference. Statistical analysis of the image data is employed. The invention is particularly useful in medical diagnostic imaging.

Description: The present invention relates in general to image displays and more specifically to apparatus for removing irrelevant background information and/or for adjusting image brightness and contrast according to statistical information of the image. The various applications of video displays and of hard-copy presentation of images have increased as computer graphics capabilities have improved. In an interactive graphics system, a processor creates a display file according to instructions from an operator. In one common arrangement, a displayed image consists of a plurality of pixels arranged in columns and rows. The display file consists of a magnitude for each pixel. In displaying an image, the operator can specify certain image parameters, such as image brightness and/or contrast. Adjustment of such parameters may be critical in many applications to best visualize certain aspects of the data in the image. For example, in medical diagnostic imaging modalities, such as X-ray, nuclear medicine, computed tomography (CT), and nuclear magnetic resonance (NMR), optimum brightness and contrast varies according to the objective or specific parameters of an imaging experiment, and according to operator preference. It is typically inconvenient and time consuming to adjust each image in a series of images taken by an operator. In addition to presenting an image to the operator during an image experiment (usually on a cathode ray tube), it is often desired to transfer images to film or to other permanent record. However, inefficiency results if the operator is required to adjust each new image during a series of experiments and filming operations to best visualize the information being sought. A further problem in presenting an optimum image on the graphics display relates to the significance of a background in the image in relation to the region of interest. For example, where a background exists, it may contribute noise to the image which interferes with presentation of the region of interest. According to a first aspect of the invention, there is provided an apparatus for adjusting brightness and contrast of images constructed from image data including a plurality of pixel values for each respective image, the apparatus comprising means for providing a histogram of the image data corresponding to each respective image, the histogram representing the number of pixels of an image having each possible pixel value; means for calculating the mean value and the standard deviation of each histogram; means for displaying a first image corresponding to at least a portion of the image data with arbitrary initial brightness and contrast; means for adjusting the appearance of the first displayed image to provide a preferred image; means for computing a brightness scale factor derived from the difference between the mean brightness of the preferred image and the mean brightness of the pixel values corresponding to the first image and for further computing a contrast scale factor derived from the ratio of the displayed image standard deviation of the preferred image to the standard deviation from mean brightness of the pixel values corresponding to the first image; and scaling means for changing the mean brightness and standard deviation of subsequently displayed images according to the brightness scale factor and the contrast scale factor. This will normally tend to provide consistent image presentation over a series of images. According to a second aspect of the invention, there is provided a method for adjusting brightness and contrast of images constructed from image data including a plurality of pixel values for each respective image, the method comprising the steps of: providing a histogram of the image data corresponding to each respective image, the histogram representing the number of pixels of an image having each possible pixel value; calculating the mean value and the standard deviation of each histogram; displaying a first image corresponding to at least a portion of the image data with arbitrary initial brightness and contrast; adjusting the appearance of the first displayed image to provide a preferred image; computing a brightness scale factor derived from the difference between the means brightness of the preferred image and the mean brightness of the pixel values corresponding to the first image; computing a contrast scale factor derived from the ratio of the displayed image standard deviation of the preferred image to the standard deviation from mean brightness of the pixel values corresponding to the first image; and changing the mean brightness and standard deviation of subsequently displayed images according to the brightness scale factor and the contrast scale factor. This will normally tend to reduce the impact of image background on presentation of the region of interest. Embodiments of the present invention may help to improve operator efficiency in medical diagnostic image experiments. An embodiment of the present invention given by way of example only, will now be described with reference to the accompanying drawings, in which: FIGURE i is a block diagram of a graphics system suitable for use with an embodiment of the present invention; FIGURE 2 is a diagram of a display having a plurality of pixels; FIGURE 3 is an example of a histogram of an image display file; FIGURE 4 is a block diagram illustrating one embodiment of the method of the present invention; and FIGURE 5 is a block circuit diagram embodying the present invention. Turning now to Figure 1, a graphics system 10 includes data acquisition apparatus 11 and a processor 12. An operator interface 13 is coupled to processor 12 to allow an operator to control the operation of system 10. Coupled to the output of processor 12 are a video display 14 and a filming device 15. In medical diagnostic applications, data acquisition apparatus 11 may comprise a well-known NMR apparatus or CT scanner. These systems provide information about an object which can be processed to form an image. Video display 14 preferably comprises a cathode-ray tube (CRT) and associated electronics to display an image corresponding to an output signal from processor 12. Filming device 15 could be constructed to record images projected by video display 14 or alternatively could be constructed to produce hard-copy images directly from the output of processor 12 (e.g., a laser camera). In a preferred embodiment of the invention, the images displayed by video display 14 and filming device 15 are composed of a plurality of pixels 21 arranged in a matrix 20 having a plurality of rows and columns, as shown in Figure 2. In response to data acquisition measurements from apparatus 11, processor 12 generates image data corresponding to an imaging experiment such that each pixel in the image has a magnitude associated with it. For example, in NMR imaging, each magnitude may represent a nuclei spin density in a particular volume which may be weighted according to a particular relaxation property of the nuclei. In CT, each magnitude may represent the X-ray attenuation of a particular part of a body. The pixels of video display 14 or filming device 15 could produce an image with each pixel assuming a value directly proportional to these pixel magnitudes. However, better results are obtained when the operator conducting the experiment is allowed to adjust the characteristics of the displayed image so as to best visualize a structure of interest within the image. Medical diagnostic systems usually employ gray-scale (i.e., black and white) images, so that the adjustable characteristics of interest in those applications are brightness (i.e., level) and contrast (i.e., window or maximum deviation from level). Another concern in presenting an image with optimum visualization of features within the image is the impact of background information surrounding the region of interest. For example, when the total field of view (FOV) of an image is greater than the expected region of interest within the image, pixel data corresponding to the background may have the effect of noise which can distort the image or reduce contrast in the region of interest. In one embodiment, the present invention achieves automatic setting of brightness and contrast according to an operator preference and reduces the effects of image background. In operation, the preferred embodiment employs an image pixel histogram, an example of which is shown in Figure 3. The histogram in Figure 3 graphically represents the total number of pixels in the image data for a particular image having each possible value of pixel magnitude (referred to as bins). Thus, for each pixel magnitude, there are a number of pixels with that magnitude, which can be plotted. The histogram can also be represented numerically. The use of an image pixel histogram facilitates automatic brightness and contrast approximation of operator perference and elimination of undesired background information as discussed below. In the embodiment, determination of image brightness and contrast are based on statistical analysis of image data. It is the use of pixel statistics that allows the operator to specify a preference in brightness and contrast for one image with subsequent images having their brightness and contrast automatically adjusted to approximate that preference. A preferred method of operation will be described with reference to Figure 4. In step 30, the method determines if any portion of the image can be considered as background (and hence ignored). The presence of background depends on the size of the region of interest relative to the total field of view of the image. In the present embodiment, it is assumed that background pixels are darker (ie., have a smaller magnitude) than the region of interest. Thus, if an image is found to contain background, then image data corresponding to pixel magnitudes below some determined magnitude are deleted from the histogram and from the image. Relative size of field of view and region of interest can be directly determined from operator input or can be determined from other information available to the graphics system. For example, in NMR imaging, it is known to use various radio-frequency (RF) coils in imaging different portions of the body (e.g., a whole-body coil, a head coil or an extremity coil). Each coil has a known total imaging volume. For comparison, the operator inputs his desired field of view (i.e., magnification). In one exemplary NMR system, background removal is done when the field of view is (1) greater than or equal to 32 cm for a whole-body coil, (2) greater than or equal to 20 cm of a head coil, and (3) greater than or equal to 12 cm for an extremity coil, since a larger field of view is more likely to include a background. Pixel removal is done from the lowest bin in the histogram to the first valley in the histogram immediately following the first peak. In other words, given a bin L, first determine the lowest bin x such that L x-1 < L x > L x+1 where L x+1 is the number of pixels per bin. This peak corresponds to bin 25 in the example of Figure 3. Next, find the smallest bin y following the peak such that L y-2 > L y-1 > L y < L y+1 . Thus, in the preferred embodiment, L y must be decreasing for two consecutive bins in finding the valley. All of the pixels below bin y are then removed from the histogram. In step 31 (Figure 4), the mean value and standard deviation are calculated of the histogram of a first image to be displayed. In step 32, the first image is displayed with arbitrary initial brightness and contrast. The image brightness (i.e., level) is directly proportional to the pixel mean value and the displayed image standard deviation (i.e., contrast or window) is directly proportional to the calculated standard deviation. In step 33, the operator adjusts the image to his preference. This is preferably done via operator interface 13 (Figure 1). By changing the factor of porportionality (i.e., scaling) between displayed birghtness and pixel mean and between displayed standard deviation and calculated standard deviation in response to operator commands, the image is adjusted. Once the operator has decided upon a preferred image, scale factors are calculated in step 34. Let α be the window scaling factor and let β be the level offset factor. Also let σ be the standard deviation found in step 31. Then the factors are preferably defined by α = W o / σ and β = (L o - L a )/σ , where W o and L o are the window and level of the operator's preferred image and L a is the mean from step 31. Alternatively, β could be defined as L o - L a . In step 35, subsequent images displayed or recorded by the graphics system are first tested for potential background removal in the same manner as described above with reference to step 30. The resulting histogram is then used in presenting the subsequent image. The image data for the subsequent image is skewed according to α and β to present an image having a brightness L d and a window W d such that W d = α σ′ and L d = L a ′ + β( σ′) , where σ ′ is the pixel standard deviation of the subsequent image's histogram, L a ′ is the histogram mean and β (σ ′) equals L o - L a ′)/ σ′ . Alternatively, L d could be defined as L a ′+ β. The method described above is well adapted to be implemented by software in a typical graphics system. Figure 5 describes an implementation which can be taken to be either actual circuits in a hardware implementation or blocks or modules in a software implementation. A data block 40 receives image data such as pixel magnitudes, image histogram, size of region of interest and coil type (for NMR). Background removal block 41 deletes background pixel data as appropriate. A histogram, as modified by block 41, is stored in a histogram block 43. A scaling block 42 receives image data and provides a scaled output for display. Scaling block 42 can be initialized to display a first image of selected arbitrary brightness and contrast. A computing block 44 and a setting block 45 allow the operator to adjust the first image and cause subsequent images to approximate the operator's preference. Thus, setting block 45 receives commands from the operator to adjust the image produced by scaling block 42. Once a preferred image is obtained, computing block 44 derives the scale factors to be provided to scaling block 42 in processing subsequent images.

Claims: An apparatus for adjusting brightness and contrast of images constructed from image data including a plurality of pixel values for each respective image, the apparatus comprising; means for providing a histogram (43) of the image data corresponding to each respective image, the histogram representing the number of pixels of an image having each possible pixel value; means for calculating the mean value and the standard deviation of each histogram; means for displaying a first image corresponding to at least a portion of the image data with arbitrary initial brightness and contrast; means for adjusting (45) the appearance of the first displayed image to provide a preferred image; means for computing (44) a brightness scale factor (β) derived from the difference between the mean brightness of the preferred image (L o ) and the mean brightness of the pixel values corresponding to the first image (L a ) and for further computing a contrast scale factor (α) derived from the ratio of the displayed image standard deviation (W o ) of the preferred image to the standard deviation (δ) from mean brightness of the pixel values corresponding to the first image; and scaling means (42) for changing the mean brightness and standard deviation of subsequently displayed images according to the brightness scale factor and the contrast scale factor. The apparatus according to claim 1 comprising background removal means (41) coupled to the histogram means for selectably causing image data below a calculated level in the histogram to be ignored in displaying an image, the calculated value corresponding to the first valley immediately following the first peak in the histrogram. Apparatus according to claims 1 or 2 wherein the image data includes the field of view of the image; and background removal means (41) coupled to the data means for causing image data below a calculated level in the histogram to be ignored in displaying an image if the field of view is below a predetermined size, and for otherwise using the data below the calculated level in displaying an image, the calculated level corresponding to the first valley immediately following the first peak in the histogram. Apparatus according to any one of the preceding claims wherein the image data includes the results from NMR measurements, wherein the image data further includes an indication of the type of coil used in deriving the NMR measurements and wherein the predetermined size of field of view is dependent on the coil indicated. A method for adjusting brightness and contrast of images constructed from image data including a plurality of pixel values for each respective image, the method comprising the steps of: providing a histogram (31) of the image data corresponding to each respective image, the histogram representing the number of pixels of an image having each possible pixel value; calculating the mean value and the standard deviation of each histogram; displaying (32) a first image corresponding to at least a portion of the image data with arbitrary initial brightness and contrast; adjusting (33) the appearance of the first displayed image to provide a preferred image; computing (34) a brightness scale factor (β) derived from the difference between the means brightness of the preferred image (L o ) and the mean brightness of the pixel values corresponding to the first image (L a ); computing (34) a contrast scale factor (α) derived from the ratio of the displayed image standard deviation (W o ) of the preferred image to the standard deviation (δ) from mean brightness of the pixel values corresponding tot he first image; and changing (35) the mean brightness and standard deviation of subsequently displayed images according to the brightness scale factor and the contrast scale factor. Method according to claim 5 comprising the step of: deleting (30) data from the histogram corresponding to pixel values below a level representing background portions of a respective image. Method according to claims 5 and 6 wherein the image data includes the field of view of the image and the image data is obtained from an NMR measurement using a coil, comprising the steps of: determining whether the size of the field of view is below a predetermined size dependent on the coil; and deleting data from the histogram corresponding to pixels representing background portions of a respective image if the field of view is below the predetermined size. Method according to claim 6 wherein the level is found by a method comprising the steps of: finding the lowest histogram bin value x such that the number of pixels in the histogram having bin value x, designated L x , satisfies the relation L x-1 < L x > L x+1 ; and finding the first bin value y while increasing in the histogram from x such that the number of pixels in the histogram having bin value y, designated L y , satisfied the relation L y-2 > L y-1 > L y < L y+1 , the level being equal to y.

Inventors: SIEVENPIPER CRISPIAN LEE, ZETTEL HUBERT ANTHONY, SIEVENPIPER, CRISPIAN LEE, ZETTEL, HUBERT ANTHONY
Applicants: GEN ELECTRIC, GENERAL ELECTRIC COMPANY
Application year: 1988
Main classification: G09G1
IPC codes: G09G5, G06F3, G06T5, H05G1, G09G1