|Publication number||US5777599 A|
|Application number||US 07/837,240|
|Publication date||Jul 7, 1998|
|Filing date||Feb 14, 1992|
|Priority date||Feb 14, 1992|
|Publication number||07837240, 837240, US 5777599 A, US 5777599A, US-A-5777599, US5777599 A, US5777599A|
|Inventors||John W. Poduska, Jr.|
|Original Assignee||Oki Electric Industry Co., Ltd.|
|Export Citation||BiBTeX, EndNote, RefMan|
|Patent Citations (3), Referenced by (33), Classifications (6), Legal Events (4)|
|External Links: USPTO, USPTO Assignment, Espacenet|
This invention relates to video display technology wherein input data is used to provide an image at an output device. The invention relates more particularly to an improved image processing device which rapidly provides an image that appears to have an improved resolution by using a dithering technique.
Input data required by a display system to generate an image generally includes information regarding both the location and intensity of various points. However, depending on the capabilities of the output device, the input data may include more information than the output device can utilize to generate an image. Specifically, while the input data may suffice to generate an image having a certain resolution, the output device may be incapable of handling all of the input data, and will at best be able to generate an image having a lower resolution. For example, consider that the input data may include enough data to generate an image having 256 levels of intensity (represented by 8 bits). From this, it would be possible to display the image (or a corresponding image) on a device having only 16 levels of intensity (represented by 4 bits). To display the image, the lowest 4 bits could be truncated, leaving an output having a lower resolution. Thus, a set of input data can be used to generate any one of a group of display images, each depicting the same object, but in varying degrees of resolution.
However, a dithering technique also could be applied. Dithering is a technique for displaying an image that appears to have better resolution on a device that does not really have enough color (or intensity) resolution. While the resolution of the output device may be generally lower, dithering modifies the output to provide an output image which appears to the human eye to have a greater resolution as compared to an output which is not dithered.
The prior art dithering techniques include a series of steps to alter the output. However, these steps also increase the processing time required to generate the image. In the case of digital systems, depending on the number of bits that can be processed by the output device, the bits which represent the intensity are divided into integer bits and fractional bits. The bits of the input representing the intensity are divided such that the number of integer bits is equal to the number of bits that can be used by the output device to generate an image at the output. Generally, the value of the fractional bits is compared to a certain value in a dither matrix to determine whether the intensity value represented by the integer bits will be incremented by one. After the integer values are incremented, the fractional values are ignored and the integer portions are provided to the output for use in the display device. By incrementing certain of the output values based on this comparison, it is possible to generate an image which has an overall "smoother" appearance or generally appears to have a greater resolution.
However, the dithering process is not without cost. Rather, the prior art dithering process requires a series of time-consuming steps which delay the generation of the image. Specifically, after dividing the intensity bits into integer and fractional bits as described above, a device performing the dithering process in the prior art would first "look up" the dither value in a dither matrix. The dither value would be found at a position in the dither matrix corresponding to the position of the input word depending, for example, on the X and Y coordinates of the input word. This dither value is then compared to the fractional bits of the input word. If the fractional value is greater than the dither value, the integer value of the intensity is incremented by one. Finally, if the input word after dithering is incremented to a value greater than a maximum intensity in the range of intensities, the intensity is then defined by the maximum intensity.
An object of the invention is to provide a device which provides a simpler dithering technique and rapidly generates an image from input data having a certain number of bits on a device which is capable of processing a lesser number of bits, thereby generating an image which appears to have an improved resolution.
A further object of the present invention is to increase the speed of generating an image using dithering by reducing the number of steps required to generate an image which appears to have an improved resolution as a result of dithering.
A further object of the invention is to provide dithering during the rendering process of the image intensities to eliminate processing time even further.
The present invention comprises a device and a method for generating images by means of dithering. As described above, dithering is a technique used to "smooth out" the junction between various intensity levels displayed in the output image of a device, particularly a device capable of processing only a certain number of the input intensity bits and generating an output having a certain resolution. Specifically, dithering prevents the appearance of a sharp contrast between two different intensity levels which are positioned adjacent to one another, a phenomenon commonly called "banding." Therefore, the contrast between two adjacent intensity levels appears less drastic to the human eye as a result of dithering and gives the image an overall appearance of having a greater resolution.
While dithering is known in the art, the present invention more effectively applies dithering techniques to generate an image. Considering that compilation time for complex images can be lengthy, any improvement as a result of a more rapid dithering process can be significant. Specifically, the present invention reduces the required steps to perform dithering as compared to prior art dithering. While it is possible to generate pixels including intensity values from the input data, and then perform the dithering process, the present invention performs dithering during the rendering of the pixel intensities so that the image need only be computed at a smaller number of bits per pixel. The present invention dithers the value and then writes the pixel including the intensity value into a register. As a result, no additional processing of the pixel intensities is needed. The present invention can be used to convert one image into another or to generate a new image. Depending on the number of dithering values chosen, additional embodiments provide a dithered image requiring even fewer processing steps.
Reference is made to the accompanying drawings wherein:
FIG. 1A is a block diagram of the image generating device.
FIG. 1B is a block diagram of the image generating device incorporating a CRT.
FIG. 1C is a block diagram of the image generating device incorporating a printer.
FIG. 2A shows the "banding effect" when different intensities are positioned next to one another when dithering is not employed.
FIG. 2B shows the intensity level corresponding to four intensity values as a function of position along line A in the x-direction.
FIG. 2C shows the intensity level corresponding to four intensity levels as a functional position along line A in the x-direction after applying the dithering process.
FIG. 3 shows the registers used to store the input and output bits in the image generation device.
FIG. 4A shows the input register, the interpolator register and the output register for generating the pixel value.
FIG. 4B is a block diagram for generating a pixel value incorporating an adder circuit with carry function.
FIG. 4C is a block diagram for generating a pixel value incorporating an ALU.
FIG. 5 shows a dithering values incorporated into the first embodiment.
FIG. 6 shows an input/output table corresponding to the dithering values of the third embodiment.
The image generation device of the present invention is configured to dither input data during the rendering process to rapidly output a "smoother" image on a display device. Specifically, before the input intensity data is assigned to the output buffer to be displayed at the output, the input data is dithered. However, the present invention provides a unique device for dithering. First, the present invention adds a dither value to the fractional value instead of comparing the fractional bits of the input word to a value in the dither table as is done in the prior art. This eliminates any comparison to a value in a dither table. By adding the dither value to the intensity in an input register, the invention takes advantage of the natural "carry" operation of the addition of numbers to provide the increment function, which results in a dithered output. Furthermore, the present invention selectively assigns intensity values to the input data to eliminate the need to compare the output value to the maximum output value, as is required under the prior art. These features will be described in more detail below in reference to the Figures.
FIG. 1A is a block diagram of an image generation device 10. An input data device 100 generally inputs data to an image generator 200. The input data device could include any device to provide data to the image generator, such as a disk drive, or any other means of loading data. The image generator 200 can include any device which can process data and provide an output for display of an image. An image generator could include such devices as a personal computer, a main frame computer or other computational device which is able to process large amount of data to generate images. In the preferred embodiment, a mainframe computer is used as an image generator to process the data. A graphics computer such as a Stardent Vistra 800 has been found most suitable. Finally, the output of the image generator is displayed by means of a display 220, such as a CRT 222 or a color printer 224. The CRT 222 may be a raster scan type or another type.
FIGS. 2A-C show the effect of dithering on the appearance of an image which is generated. FIG. 2A shows an image which could be displayed on a screen having four intensity levels, I1 through I4. The contrast between the adjacent intensity levels, commonly known as "banding," is apparent. This contrast is further depicted in FIG. 2B which shows the intensity levels as a function of position in a single direction, such as the X or Y directions. In this example, line A shows this intensity level as a function of X from the center of the image extending outward toward the periphery of the image where the intensity drops to zero. Without dithering, the contrast between the adjacent different levels is obvious and substantial. Specifically, the intensity values of the points along line A progress in a series of blocks of the same intensity levels which are adjacent. That is to say, there are a number of positions of intensity "4", then a number of positions of intensity "3", and so on.
However, as is shown in FIG. 2C, dithering provides a smoother transition between different intensity levels. Specifically, the representation of the intensity levels is not shown as a group of level "4" intensities, followed by a group of level "3" intensities, followed by a group of level "2" intensities. Rather, a value of greater or lesser intensity within each group may be included as a result of dithering. Even though these are abrupt rises and falls in FIG. 2C, the dithering nevertheless results in a smoother transition between intensity levels. While this example includes only four intensity levels within the spectrum of possible intensities, the spectrum could include a larger or smaller number of intensity levels. Furthermore, the effects of dithering with a larger number of points along the abscissa (x-axis) would provide a greater "smoothing" of the resulting image.
FIG. 3 depicts two registers 300 and 350 generally employed in the prior art to receive input bits and assign output bits. Dithering is applied when the output bits are fewer in number than input bits. For ease of understanding, the decimal system will be used in describing dithering in both the prior art and the image generating device of the present invention. However, any number system, such as binary or hexadecimal number systems, could be used.
FIG. 3 shows an input register 300 and an output register 350. Arrows point from certain bit locations of the input register 300 to certain bit locations of the output register 350. A sequence of input words is loaded into the input register 300. Each input word (310, 320 and 330 in FIG. 3) represents one pixel and includes a certain number of bits. Each input word represents the location and intensity and, for example, could be represented by 8 bits, although any number of bits could be used.
Referring to the first input word 310, certain bits will represent integer bits 312 and the remaining bits will represent fractional bits 314. The number of integer bits and fractional bits depends on the number of bits available in the output register 350.
In the dithering process of the prior art, the fractional bits 314 are compared to a dither value associated with each input word. Generally, the dither value is assigned to an input word 310 depending upon the location (i.e. the x and y coordinates of the input word). If the fractional value 314 of the input word 310 is greater than the associated dither value, the integer value is incremented (upward) by one prior to being transferred to output register 350. Further, the prior art devices which perform dithering must check each integer value to make sure that any incremented integer value is not greater than some maximum intensity value for the output device.
However, the image generation device of the present invention, the operation of which is described in detail in reference to the remaining figures, eliminates some of the processing requirements required by the prior art devices. The following description will be based upon a first input word 410 in an input register 400 of FIG. 4A, although the description would apply equally to any other input words in the input register 400.
FIG. 4A shows an input register 400 to receive a sequence of input words. As in the prior art, an input word 410 is generally divided into an integer portion 412 and a fractional portion 414. As will be described in more detail in reference to FIG. 5, each input word is assigned a dithering value 452. The dithering value 452 associated with input word 410 is retrieved from a memory 500, comprising a dither matrix, and placed in an interpolator 450. In the preferred embodiment, the interpolator is a register. To generate output data, the input word 410 and the dithering value 452 are added in an adder 460. When these values are added, the natural carry function of the addition may result in "incrementing" the integer portion 412 of the input word. As a result, the use of an interpolator 450 and the natural carry function of adding eliminates the separate steps of (i) comparing the dither value to the fractional value and (ii) incrementing the integer portion if the fractional value is greater than the dither value, as required on the prior art.
Furthermore, the image generating device of the present invention eliminates the requirement of checking the output values after dithering to ensure that the value does not exceed the maximum intensity value of the output device. The requirement of checking the dithered input values is eliminated by selectively assigning an input values to input data. The input values are assigned to the input words depending on the number of intensity levels available at the output. For example, an input intensity level for a input data is typically provided as a value between 0 and 1. The input data is then converted to input values which are provided to the input register. The input values are assigned a value between 0 and some maximum assigned value. By selectively choosing this maximum value, the resulting integer portion after dithering will not exceed the maximum intensity value.
The section of a maximum intensity value assigned to input data can be best understood by way of example. For an output device which can generate an image having 16 intensity levels (e.g. numbered 0-15), the maximum input intensity level would be some number less than 16. If the maximum dithering value were, for example, 0.75, one would assign as the maximum input data intensity level to be some number less than 15.25. As a result, the sum of the maximum input data intensity level and the maximum dithering value would necessarily be some number less than 16 and would not result in a carry. Specifically, the integer value would remain at 15, which is the maximum intensity usable by the output device. Therefore, the present invention in one aspect defines the range of intensity levels of the input values which eliminates the need to compare the dithered intensity value to the maximum intensity value of the output device. Note that while such an assignment of intensity levels prevents the carry operation of the input word when added to the maximum input intensity value, all other (lower) assigned input values may be incremented by the carry function to provide the dithering of the present invention.
Having described the assignment of input values to the input data, the dither values must also be assigned, Specifically, the dither values, which are shown for example in FIG. 5, are chosen to provide a smoother output when the dithering function is accomplished. Specifically, the dither values shown in FIG. 5 are stored in a two-by-two matrix. Such values could be a part of the software which runs the device or could be stored in a ROM. Each input word is assigned a single dither value. In the preferred embodiment, the assigned dither value depends upon the location (e.g. the x and y coordinates) of the input word.
One method of assigning dither values could be accomplished by the use of a modulus function. Specifically, the dithering value is then assigned to the input word depending on the modulus for each of the x and y components. For example, in reference to FIG. 5, if the modulus of the x component were odd (i.e. a remainder of 1 after division by 2) and the modulus of the y component were even (i.e. a remainder of zero after a division by 2), the dither value would be found in the odd x column and the even y row. In FIG. 5, this value would be 1/2. However, any method of assigning dithering numbers could be used. This may involve looking up dithering values that have been previously stored in a read only memory, or can be computed, or stored in other devices.
Having assigned both the input value and determined the dithering value, it is now possible to determine the output value which is used to generate the image. The output value 482 equals the input value 410 added to the dithering value 452. If the fractional value of the input value and a dithering value results in an overflow, the integer value is incremented. The addition may be performed in an adder circuit having having a carry function 462, or in an Arithmetic Logic Unit 464 (ALU) of a computer device. The output bits 482 are represented by a certain number of bits specific to the output 220. For example, the output words could consist of four bits. Depending on the number of output bits, the input bits are right shifted in a fixed point system such that output word contains only the integer bits after any incrementing. The fractional bits will only be discarded after the dithering is completed and the integer bits of the input word are transferred to the output buffer. Circuitry for such bit shifting is well-known and not illustrated. It suffices to say that the addition operation performed on values in registers enables the natural function of overflow or carry to provide both the comparison function and the increment function in the prior art.
The Second Embodiment
In a second embodiment, the image generation device further reduces the steps in generating an image. By using a small number of dithering values, such as four, it is possible to eliminate the step of a "look up" from a dithering table as is required in the first embodiment. The second embodiment eliminates any need to "look up" a dither value, by relying on the location of the subsequent input word and updating the previous dither value. Specifically, a certain dither value is added to the input word when moving, for example, in the X direction or the Y direction. In the preferred embodiment, a dither value updated by adding 1/2 to the previous dither value for steps in the x direction and adding 1/4 to the previous dither value for steps in the y direction. Although this embodiment is most effective when assigning a small number of dithering values, any number of dithering values could be used.
The Third Embodiment
Finally, a third embodiment, which is also applicable to a two-by-two dithering matrix, updates a dithering value depending on both the location of the input input word and the location of the next input word. Therefore, the third embodiment takes advantage of the known dither value from the present location and the dither value for next location to define a new dither value.
The application of the third embodiment can best be understood in reference to FIG. 6. FIG. 6 shows a table which generates dither values depending on the present location of the initial input word and the location of the next input word. This embodiment takes advantage of the known value of the dithering term in the original location as well as the value of the dithering term in the new location. For example, as shown in the first row, when the original location corresponds to the 00 location in the dither matrix and the input value corresponds to the 01 in the dither matrix (i.e. a move in the X direction from the 00 position), the dithering value is 1/2, which is added to the input word. Further, when the original location corresponds to a 00 position in the dither table and move in the Y direction, where the location of the next input value to be processed would correspond to 10, 3/4 is added to the interpolator. These dither values are determined based on the dither value of the original location and the new dither value of the new location. While this embodiment is best used when assigning a small number of dither values, this embodiment could also be used when assigning any number of dithering terms.
While this specification refers to specific elements, these references are not intended as limitations. Rather, the specification is intended to cover any substitutes which are well known in the art.
|Cited Patent||Filing date||Publication date||Applicant||Title|
|US3961134 *||May 9, 1975||Jun 1, 1976||Bell Telephone Laboratories, Incorporated||Bi-level display system|
|US5179641 *||Jun 23, 1989||Jan 12, 1993||Digital Equipment Corporation||Rendering shaded areas with boundary-localized pseudo-random noise|
|US5294984 *||Jan 13, 1992||Mar 15, 1994||Ryoichi Mori||Video signal processing system for producing intermediate pixel data from neighboring pixel data to improve image quality|
|Citing Patent||Filing date||Publication date||Applicant||Title|
|US6094453||Jan 16, 1997||Jul 25, 2000||Digital Accelerator Corporation||Digital data compression with quad-tree coding of header file|
|US6154195 *||May 14, 1998||Nov 28, 2000||S3 Incorporated||System and method for performing dithering with a graphics unit having an oversampling buffer|
|US6191793||Apr 1, 1998||Feb 20, 2001||Real 3D, Inc.||Method and apparatus for texture level of detail dithering|
|US6415065 *||Aug 2, 1996||Jul 2, 2002||Canon Kabushiki Kaisha||Image processing apparatus and method therefor|
|US6476824 *||Jul 16, 1999||Nov 5, 2002||Mitsubishi Denki Kabushiki Kaisha||Luminance resolution enhancement circuit and display apparatus using same|
|US6628296||Nov 30, 1999||Sep 30, 2003||Nokia Mobile Phones Ltd.||Method and a device for processing digitized image|
|US6842186||Feb 22, 2002||Jan 11, 2005||Polaroid Corporation||High speed photo-printing apparatus|
|US6999202||Mar 27, 2001||Feb 14, 2006||Polaroid Corporation||Method for generating a halftone of a source image|
|US7268783 *||Nov 21, 2001||Sep 11, 2007||Tektronix, Inc.||Image alias rejection using shaped statistical filtering|
|US7333118||Nov 12, 2004||Feb 19, 2008||Stmicroelectronics Sa||Device and method for processing an image to be displayed with a reduced number of colors|
|US7580044 *||Nov 2, 2005||Aug 25, 2009||Realtek Semiconductor Corp.||Method and apparatus for non-linear dithering of images|
|US7598970||Nov 29, 2006||Oct 6, 2009||Thomson Licensing||Method and device for processing video pictures|
|US7826660||Nov 2, 2010||Saquib Suhail S||Digital image exposure correction|
|US7907157||Mar 15, 2011||Senshin Capital, Llc||Technique for printing a color image|
|US8265420||Sep 2, 2010||Sep 11, 2012||Senshin Capital, Llc||Digital image exposure correction|
|US8773685||Jul 1, 2003||Jul 8, 2014||Intellectual Ventures I Llc||High-speed digital image printing system|
|US20020159094 *||Mar 27, 2001||Oct 31, 2002||Bybell Daniel P.||Digital halftoning|
|US20020191066 *||Feb 22, 2002||Dec 19, 2002||Alain Bouchard||High speed photo-printing apparatus|
|US20030030647 *||Mar 19, 2002||Feb 13, 2003||Atsushi Togami||Flexible method and apparatus for dithering image data|
|US20030095132 *||Nov 21, 2001||May 22, 2003||Parish Robert W.||Image alias rejection using shaped statistical filtering|
|US20040207712 *||May 12, 2004||Oct 21, 2004||Polaroid Corporation||High speed photo-printing apparatus|
|US20050168478 *||Nov 12, 2004||Aug 4, 2005||Stmicroelectronics Sa||Device and method for processing an image to be displayed with a reduced number of colors|
|US20050219344 *||Apr 25, 2005||Oct 6, 2005||Polaroid Corporation||Technique for printing a color image|
|US20060092172 *||Nov 2, 2005||May 4, 2006||Hsu-Jung Tung||Method and apparatus for non-linear dithering of images|
|US20070139305 *||Nov 29, 2006||Jun 21, 2007||Thomson Licensing||Method and device for processing video pictures|
|US20090128613 *||Nov 14, 2008||May 21, 2009||Alain Bouchard||High Speed Photo-Printing Apparatus|
|USRE42473||Jun 21, 2011||Senshin Capital, Llc||Rendering images utilizing adaptive error diffusion|
|USRE43149||Jan 31, 2012||Senshin Capital, Llc||Method for generating a halftone of a source image|
|CN1987966B||Dec 14, 2006||Nov 3, 2010||汤姆森许可贸易公司||Method and device for processing video pictures|
|CN100555374C||Nov 21, 2002||Oct 28, 2009||特克特朗尼克公司||Image false frequency suppression for high resolution grating wave form|
|EP1006480A2 *||Nov 24, 1999||Jun 7, 2000||Nokia Mobile Phones Ltd.||A method and a device for processing digitized image|
|EP1531614A2||Nov 12, 2004||May 18, 2005||STMicroelectronics S.A.||Image processing method for displaying an image with a reduced number of colours|
|EP1801769A1 *||Dec 20, 2005||Jun 27, 2007||Deutsche Thomson-Brandt Gmbh||Method and device for processing video pictures|
|International Classification||G06F3/14, G09G3/20|
|Cooperative Classification||G06F3/14, G09G3/2051|
|Apr 20, 1992||AS||Assignment|
Owner name: OKI ELECTRIC INDUSTRY CO., LTD., JAPAN
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST.;ASSIGNOR:PODUSKA, JOHN W. JR.;REEL/FRAME:006095/0628
Effective date: 19920410
|Dec 13, 2001||FPAY||Fee payment|
Year of fee payment: 4
|Dec 16, 2005||FPAY||Fee payment|
Year of fee payment: 8
|Dec 9, 2009||FPAY||Fee payment|
Year of fee payment: 12