The present invention relates to colour processors operable to process input pixels representing a colour image to form groups of output colour component signal samples, wherein the number of samples representing the image is preferably reduced.
The present invention also relates to image processing apparatus operable to reproduce pixels representative of a colour image from groups of colour component signal samples, each group representing a pair of pixels having two luminance and first and second chrominance samples.
It is known in the technical field of colour image processing to convert the red, green and blue (RGB) colour component signal samples of pixels representing an image into groups of component signal samples each having a luminance (Y) and two chrominance samples (U, V). Representing the RGB pixels as YUV signal samples provides a facility for reducing an amount of information, which must be communicated to represent a colour image. The reduction can be arranged by reducing or discarding some of the chrominance information without or with a reduced likelihood of causing a noticeable degradation to the reproduced image. This is because the human eye is less sensitive to loss of chrominance (colour) information from an image than luminance information.
The human eye's reduced sensitivity to loss of chrominance information can be used to reduce an amount of information, which is required to store a colour image. For example, it is known to reduce a number of samples required to store a digital colour image by converting pixels having RGB components into YUV form, discarding the UV chrominance values for every other pixel and storing the luminance value Y and storing the other chrominance values. The format of the resulting stored colour image is known as 4:2:2. When the colour image is reproduced, the UV chrominance values which have been discarded are reproduced from the UV chrominance values which have been stored.
For some applications, such as for hand held personal digital assistants or mobile radiotelephones having display devices, a reduction in an amount of information required to represent an image is particularly advantageous. Reducing the amount of information required to represent the image can provide an advantage, for example, with respect to the cost of the device as a result of a reduction in the size of a memory for storing the image. However, as far as possible, such a reduction in the amount of information required to represent an image should not affect the quality of the reproduced image.
According to the present invention there is provided a colour processor operable to process input pixels, each comprising three colour component signal samples, to produce output colour component signal samples. The colour processor is operable to receive first and second input pixels and to generate from each pixel a luminance value from the corresponding three colour component samples of each pixel respectively. The colour processor forms first and second output chrominance values for each of the first and second input pixels. The output chrominance values are formed by calculating from each of the colour components of each input pixel first and second chrominance values, and averaging the values of the first chrominance value of the first and second input pixels and averaging the second chrominance values of the first and second input pixels. The first and second output chrominance values are produced from the averaged first and second chrominance values respectively. The output colour component signal samples are formed for the first and second input pixels from the luminance value for each pixel and the first and second output chrominance values.
Embodiments of the present invention provide a colour processor, which is arranged to reduce a number of signal samples, which are required to represent a colour image. The reduction is provided by representing a pair of pixels as two luminance value signal samples (Y1, Y2) and first and second chrominance values (UV). As a result a capacity of a memory which is required to store a representation of the image is reduced by two samples for each pixel pair. This represents a reduction of 33%.
Effectively the colour processor is arranged to compress the colour image by discarding colour information. Therefore, as with conventional colour YUV 4:4:4 to 4:2:2, the compression process is lossy. However, unlike conventional processing a colour processor embodying the invention, forms two chrominance values UV for each pair of pixels by calculating the corresponding chrominance values for the first pixel U1V1, and calculating the chrominance values for the second pixel U2V2. The two output chrominance values UV are then formed by averaging the two corresponding values U1V1, U2V2 to produce a common value UV for the pixel pair. Forming the two-chrominance values UV for a pair of pixels provides a reduction in the number of samples required to represent the image. Furthermore, the reduction is produced in a way which provides a facility for improving the likelihood of maintaining text and other detail which may be present in the image, which may be lost if the chrominance values for the second pixel are simply discarded as with conventional processing.
According to an aspect of the present invention there is provided an image processing apparatus operable to reproduce pixels representative of a colour image from groups of colour component signal samples representing the image. Each of the groups represents two of the pixels and comprises two input luminance values, one for each pixel, and first and second input chrominance values formed by averaging first and second chrominance values for each pixel. The apparatus comprises a de-compressing processor operable to receive the groups of colour component signal samples and to generate output pixels each comprising three colour component values. The apparatus also comprises a detail detection processor operable to detect whether one of the first and second pixels is representative of substantially white or substantially black and the other of the pixels is not representative of substantially white or substantially black. If so, the de-compressing processor is arranged to assign to first and second chrominance values for one of the first and second pixels representing substantially white or substantially black the value of zero, to assign to first and second chrominance values for the other of the first and second pixels, not representing substantially white or black, the value of twice the first and second input chrominance values respectively. The de-compressing processor then reproduces the three colour components of each pixel from the corresponding input luminance value of each pixel and the assigned first and second chrominance values. Otherwise, the de-compressing processor is operable to reproduce the three colour components of each output pixel from the corresponding input luminance value in combination with the first and second input chrominance values.
Forming a compressed representation of the colour image by averaging the two-chrominance values for a pair of pixels provides an advantage when recovering the original image, particularly for example where the image contains text and/or detail. Embodiments of the present invention provide an image processing apparatus including a de-compressing processor and a detail detection processor. The detail detection processor determines whether one of the two pixels represented by each group is representative of substantially white or substantially black and the other pixel is representative of not being substantially white or substantially black. Detecting white or black in only one of the pixels is likely to correspond to the pixel pair representing part of a text character or detail. Accordingly, in order to increase the likelihood of preserving the text and detail in the reproduced image, once black or white has been detected in one of the two pixels, the de-compressing processor is arranged to assign chrominance values (U1, V1) for one of the pixels, representing white or black to zero. The chrominance values (U2, V2) for the other pixel not representing white or black is assigned the value of twice the value of the first and second input chrominance values respectively. Assigning these values to the chrominance samples of the pixels to be reproduced has an effect that the RGB components of the reproduced pixels are more likely to reflect the pixel values of the original image, even though the compression process was lossy. As a result the text information or detail information is preserved in the reproduced image. In contrast, conventional compression techniques, which discard the chrominance values of the second pixel in the pair, are less likely to recover such text information, resulting in a likelihood of the text information being corrupted.
Various further aspects and features of the present invention are defined in the appended claims.
Embodiments of the present invention will now be described by way of example only with reference to the accompanying drawings, where like parts are provided with corresponding reference numerals, and in which:
An embodiment of the present invention will now be described with reference to an LCD display module.
A typical display module for displaying colour images includes an LCD display panel 1 as shown in
As already explained, the present invention provides a facility for reducing an amount of data storage capacity which is required to store the digital colour image, whilst maintaining the quality of the image to be displayed on, for example, the LCD panel 2. As will be explained, the present invention provides a particular advantage when the image contains fine detail or fine text information, for example, where part of a text character is only one pixel wide.
An embodiment of the present invention is illustrated in
As already explained, a particular problem with conventional RGB to YUV colour compression processing, such as that referred to as 4:2:2, is that where text or detail exists in the image, the clarity of this text may be reduced. Such detail may be blurred as a result of colour components being discarded in order to form the compressed image. A result of compressing an example colour image using conventional 4:2:2 processing is illustrated in
Embodiments of the present invention therefore seek to compress the digital image whilst preserving such fine text information in the recovered image. To this end, the colour compressing processor 20 is arranged to form U and V values for a pair of pixels by averaging the corresponding U and V chrominance values for each pixel pair. As shown in
Y=(77R+150G+29B)/128 1)
Y=(Y+1)/2 2)
Forming the luminance value Y for each pixel using the functional block diagram illustrated in
U=(131B−(44R+87G))/128 1)
V=(131R−(110G+21B))/128
U=(U+1)/2 2)
V=(V+1)/2
In
As illustrated in
Returning to
Compressing the pixels by forming common chrominance values UV for each pair of pixels provides a particular advantage in overcoming the technical problem illustrated in
As shown in
As illustrated in
As will be appreciated, the threshold values provided to the comparators 40, 42, 44, 46 are selected effectively to identify that one of the two pixels is representative of white or almost white or black or almost black. Detection is determined if either luminance value exceeds the white threshold or is lower than the black threshold. The presence of white or black in one pixel but not the other reflects a change in the image from one pixel to another of the pixel pair, which is likely to represent the presence of detail or text information in the image.
Control signals representative of a result of the comparisons performed by the comparators 40, 42, 44, 46 are fed to the YUV to RGB de-compression processor 38. The control signals are received at selection logic gates 50, 52, 54, 56. Consequent upon the output from the comparators received on the connection channels 36.1, 36.2, 36.3, 36.4, the selection gates 50, 52, 54, 56 select either the value of zero, twice the value of the input chrominance values U or V, or the input chrominance value U or V. Correspondingly therefore, the selection gates, 50, 52, 54, 56 produce at each respective output, reproduced chrominance values U1, V1, U2, V2.
Also forming part of the de-compression processor 38 are multiplying circuits 60, 62. The multiplying circuits are arranged to produce twice the value of the corresponding input chrominance values U, V and the input chrominance values U, V which are fed to the selection gates 50, 52, 54, 56.
Having reproduced the chrominance values for each pixel U1, V1 and U2, V2, a YUV to RGB conversion processor 70 is arranged to convert the YUV component values for the first pixel Y1, U1, V1 and the second pixel Y2, U2, V2 into the RGB values of the reproduced pixel pair. Therefore for each group of component signal samples Y1UY2V a pixel pair is formed, which is represented as R1G1B1, R2G2B2. As shown in
According to the operation of the detail detection processor 34, in combination with the de-compressing processor 38, a functional arrangement is formed for the regeneration of the YUV values for each pair of pixels. The functional arrangement is represented by the following algorithm:
1) Pixel 1 (Y1) represents white or black and pixel 2 (Y2) represents not white or black then:
Y1=Y1, U1=0, V1=0
Y2=Y2, U2=Ux2, V2=Vx2
2) Pixel 1 (Y1) represents not white or black and pixel 2 (Y2) represents white or black:
Y1=Y1, U1=Ux2, V1=Vx2
Y2=Y2, U2=0, V2=0
3) For all other pixels:
Y1=Y1, U1=U, V1=V
Y2=Y2, U2=U, V2=V
The colour compressing processor 20 and image processor 30 operate in combination to compress the amount of data required to represent an image whilst preserving text information. For the image illustrated in
As will be appreciated by those skilled in the art, various modifications may be made to the embodiments herein before described without departing from the scope of the present invention. In particular, it will be appreciated that the colour compressing processor and the image processor may be used in combination with any type of display. The invention is therefore not limited to applications with an LCD display. Embodiments of the present invention find particular application where there is a requirement to reduce memory size or components of a product requiring a facility for displaying colour images. It will be appreciated that the invention finds application with colour depth values other than 18-bits such as 24-bits. For larger colour depth values such as 24-bits, the reduction in memory size will be even greater in accordance with the size of the colour component signal samples.
Number | Date | Country | Kind |
---|---|---|---|
0204237.2 | Feb 2002 | GB | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/GB03/00558 | 2/7/2003 | WO | 00 | 3/14/2005 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO03/071782 | 8/28/2003 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4533936 | Tiemann et al. | Aug 1985 | A |
4597005 | Baleshta et al. | Jun 1986 | A |
5182635 | Nakashima et al. | Jan 1993 | A |
5621819 | Hozumi | Apr 1997 | A |
5872556 | Rackley et al. | Feb 1999 | A |
5875044 | Seto et al. | Feb 1999 | A |
5909254 | Feig et al. | Jun 1999 | A |
6072539 | Harlos et al. | Jun 2000 | A |
6108048 | Rinaldi | Aug 2000 | A |
6154288 | Watanabe | Nov 2000 | A |
6535663 | Chertkow | Mar 2003 | B1 |
6553459 | Silverbrook et al. | Apr 2003 | B1 |
6614471 | Ott | Sep 2003 | B1 |
6937774 | Specht et al. | Aug 2005 | B1 |
7113227 | Kakuya et al. | Sep 2006 | B1 |
7149350 | Shoda et al. | Dec 2006 | B2 |
7257251 | Matthews | Aug 2007 | B2 |
Number | Date | Country |
---|---|---|
0 283 627 | Sep 1988 | EP |
WO 9314600 | Jul 1993 | WO |
WO-9722206 | Jun 1997 | WO |
Number | Date | Country | |
---|---|---|---|
20050207662 A1 | Sep 2005 | US |