Method and apparatus for reducing quantization artifacts in a hierarchical image storage and retrieval system

Abstract: The system and method reduces the quantization artifacts in the addition and removal of a digital watermark to and from a selected resolution image of a hierarchical image storage system where the watermark removal record is placed in a higher resolution image component. For those applications where preserving the image quality of a higher resolution image component is more critical than preserving the image quality of a lower resolution image component, the low-resolution image is modified according to the teachings of the present invention to minimize and in many cases eliminate the quantization artifacts at the higher resolution component.

Description: Field of The Invention The present invention is related to the field of digital image processing and more particularly to methods and associated apparatus for reducing quantization artifacts in a hierarchical image storage and retrieval system that employs the quantization of residual image components. Background Of The Invention Image pyramids provide an efficient means for the storage and retrieval of digital images at various resolutions. It is customary in such hierarchical image storage and retrieval systems to construct a multiple of image resolutions by repeatedly filtering and subsampling a high resolution image using a scheme similar to the teachings found in the patent to Melnychuck and Jones (U. S. Pat. No. 4,969,204). In such cases, the higher resolution components are usually stored in the form of quantized residuals that are entropy encoded to save storage space. In the context of the present invention, we will make reference to one such system, namely the Kodak Photo CD system, as an example to demonstrate the fundamental concepts underlying the invention. However, it should be noted that this example is only used to give the reader an insight as to the operation of one or more embodiments of the invention with the understanding that other hierarchical image storage and retrieval systems with other resolutions or arrangements that store the high resolution components as residuals may be chosen to suit specific needs without detracting from the teachings of the present invention. The Kodak Photo CD system is composed of an image hierarchy or pyramid in which the highest resolution image contains 3072 x 2048 pixels and is referred to as the 16BASE image. This resolution is in most cases adequate to produce photographic quality originals on an appropriate digital output device. The next level of hierarchy, referred to as the 4BASE, is composed of 1536 x 1024 pixels and is adequate to generate a high quality HDTV display, or a small-sized photographic quality print on an appropriate digital output device. The lower resolution levels are, respectively, the BASE image consisting of 768 x 512 pixels (suitable for NTSC/PAL/SECAM television viewing), the BASE/4 image consisting of 384 x 256 pixels (suitable for sub-NTSC displays), and the BASE/16 consisting of 192 x 128 pixels (suitable for displaying thumbnail images). The complete image hierarchy is constructed from the 16BASE image using the teachings found in the #204 patent to Melnychuck and Jones previously cited. The BASE/16, BASE/4, and the BASE images are stored onto a digital storage medium such as a CD in uncompressed form while the 4BASE and 16BASE images are represented as residuals and are quantized and compressed by using entropy coding prior to their storage on the CD. A quantizer is a many-to-one mapping and, as such, the quantized data often contains degradations compared to the original unquantized data. The degradations can be particularly significant when the input data has a distribution (histogram) containing long tails, as those values are clipped to the outermost quantization level. In a hierarchical imaging system such as the Kodak Photo CD system, the residual image usually has a symmetric distribution with a high peak and decaying tails, sometimes approximated by a Laplacian (two-sided exponential) distribution. The minimum-mean-squared-error quantizer that accommodates such a distribution contains dense inner level (in the region where the signal peaks) and sparse outer level (around the tails). An example of how a quantizer processes treats signal values is shown in the table of Fig. 10. It is based on the principal that by introducing a larger error in those values where the signal occurs infrequently and a smaller error at values where it occurs more frequently, the overall average error can be minimized. As described in the teachings of the previously cited patent to Melnychuck and Jones, the construction of a high-resolution image is accomplished by adding the quantized residual to the interpolated low-resolution component from the previous stage. Thus, the error resulting from the quantization of the residual is propagated to the higher-resolution images. Although the residuals with large magnitudes occur infrequently, it should be noted that they often represent high-contrast edges or details in an image, and the introduction of a large quantization error can create an annoying visual artifact or loss of detail in the high-resolution image. US-A-5,020,120 discloses a method and apparatus for reducing quantization artifacts in a hierarchical image system of the type that decomposes a high resolution image into low resolution image components including low resolution pixel value, and residual image pixel values. One of the objectives of the present invention is to introduce a method whereby the low-resolution image whose image quality is less critical can be modified in order to minimize the quantization errors in the high-resolution image. The aforementioned hierarchical storage technique is combinable with the insertion and removal of a digital watermark according to the teachings of EP-A-651,554 by Rabbani et al., to form a distributed image system. In a distributed image system it is common to deliver an image of compromised image quality for the purposes of browsing or proofing. The compromise can be made with the use of a removable watermark. Primary use of such a system is by professional portrait photographers who distribute a plurality of images to a customer for selection and approval. The watermark is a form of graphic overlay that may contain a copyright notice or information regarding the restricted use of the image. Upon selection of the desired image by the customer, the professional delivers a high quality rendition of the image either digitally or in hard copy form without the watermark. At all times the professional possesses the sole means of generating and delivering unmarked high quality images. In a conventional photographic system the means for generating would be the original negatives of the images; in a digital hierarchical system according to the invention of EP-A-651,554, the means for generating are higher resolution residual components. In a digital imaging system, and in particular one that includes a hierarchical form of digital storage and retrieval, the professional may use a suitable digital storage medium such as a CD for the distribution of proofs. In an unrestricted environment, the customer may choose a desired image resolution from the hierarchy for the purposes of browsing, proofing, or hard copy fulfillment. In those instances where it is desirable for the professional to deliver the digital storage medium containing the entire image hierarchy to the customer, it is also most economical to record the entire image hierarchy once onto the digital storage medium and avoid having to make a second copy containing only low resolution components for distribution. However, it is also desirable to restrict the use of selected high resolution components for the purpose of full image quality fulfillment until payment has been received. The invention of the Rabbani et al. application, previously referenced, teaches a method whereby the professional places a digital watermark on a selected image component. The removal of the watermark is done through an additional image component containing the reverse of the watermark. The customer, having possession of the CD storage medium, would possess the means for generating his own high quality hard copy when authorized by the professional. When a watermark is applied to a low-resolution image, the pixel values in that region of the low-resolution image affected by the watermark can become completely different from the pixel values in the high-resolution image corresponding to the same region. As a result, in those regions, the difference between the interpolated watermarked image and the high-resolution image can become fairly large which, given the nature of the quantizer, can result in large quantization errors. These errors often appear as a visual trace of the watermark in the high-resolution image and significantly impair the visual quality of the high-resolution image. Minimization of such errors is addressed by the present invention. In accordance with the invention, the above objects are met by the method and apparatus defined in claims 1 and 5. From the foregoing it can be seen that it is a preferred object of the present invention to provide a method and associated apparatus for improving the quality of a high-resolution image component by modifying a lower-resolution image component whose image quality is less critical. It is another object of the present invention to improve the quality of a high-resolution image component by modifying a lower-resolution image component whose image quality is less critical when a watermark is inserted and removed. Yet another object of the present invention is the reduction of quantization artifacts in the addition and removal of a digital watermark to and from a selected resolution image where the watermark removal record is placed in a higher resolution image component. The above and other objects of the present invention will become more apparent when taken in conjunction with the following description and drawings wherein like characters indicate like parts and which drawings form a part of the present invention. Brief Description Of The Drawings Figure 1 illustrates, in block diagram form, a PRIOR ART hierarchical image decomposition scheme combined with a scheme for inserting a digital watermark in a low-resolution image component and placing a watermark removal component in a high-resolution residual. Figure 2 illustrates, in block diagram form, a PRIOR ART hierarchical image reconstruction scheme for recovering a high-resolution image that has been decomposed by the scheme illustrated in Figure 1. Figure 3 is an example of the brightness component of a BASE image in pixel value form. Figure 4 is an example of a watermarked BASE image in pixel value form. Figure 5 is an example of the pixel values of a 4BASE image corresponding to the pixel values of the BASE image of Figure 3. Figure 6 illustrates the relative X,Y position of the pixels used in a linear interpolation scheme. Figure 7 illustrates the interpolated watermarked BASE image pixel values corresponding to the pixel values of the watermarked BASE image of Figure 4. Figure 8 illustrates the pixel values of a residual image formed as the difference between the images in Figures 5 and 7. Figure 9 illustrates the pixel values of the residual image of Figure 8 after quantization. Figure 10 illustrates, in table form, the quantizer input-output characteristics used in generating the quantized residual image pixel values of Figure 9. Figure 11 illustrates the pixel values of the reconstructed 4BASE image using the PRIOR ART schemes of Figures 1 and 2. Figure 12 illustrates the improvement to the PRIOR ART system of Figure 1. Figure 13 illustrates, in a flow diagram form, the steps necessary for the adjustment of the values of the low-resolution image pixels during the first pass of the present invention. Figure 14 illustrates the pixel values of a modified watermarked BASE image resulting from a first pass of the present invention. Figure 15 illustrates the pixel values of a reconstructed 4BASE image using the pixel values of the modified watermarked BASE image of Figure 14. Figure 16 is a flow diagram of the procedure employed in STEP 1 of the second pass of the present invention to adjust the pixel values of the low-resolution image. Figure 17 is a flow diagram of the procedure employed in STEP 2 of the second pass of the present invention to adjust the pixel values of the low-resolution image. Figure 18 is a flow diagram of the procedure employed in STEP 3 of the second pass of the present invention to adjust the pixel values of the low-resolution image. Figure 19 illustrates the pixel values of a modified watermarked BASE image resulting from a second pass of the present invention. Figure 20 illustrates the pixel values of a reconstructed 4BASE image using the watermarked BASE image of Figure 19. Detailed Description Of The Invention The present invention generally addresses the potential problem of artifact generation in a high resolution image caused by the quantization of residuals. One example is when the high resolution image contains high contrast edges or areas of detail that can give rise to a large residual value. Consequently, the quantization or clipping of this residual value can degrade the quality of the high resolution image reconstructed from this residual. Another example is when a watermark is inserted into the low resolution image. In this case, the pixel values in that region of the low-resolution image affected by the watermark can become completely different from the pixel values in the high-resolution image corresponding to the same region, thus resulting in large residual values. The error resulting from the quantization of such large residual values often appears as a visual trace of the watermark in the high-resolution image. A PRIOR ART watermark system arrangement is illustrated in Figure 1. This arrangement is the same as the arrangement illustrated in Figure 2 of US. Patent Application Serial No. 146,371, referenced above. In Box 34, a watermark W is first inserted in the BASE image I to arrive at a watermarked BASE image I W . This watermarked BASE image is then interpolated to the size of the 4BASE image in interpolator 24 using linear interpolation. A difference is formed between the original 4BASE image taken from the output of a decomposition apparatus 101 and the interpolated watermarked BASE image in subtracter 32 to form a modified 4BASE residual that serves as the watermark removal record. This modified 4BASE residual is encoded by encoder 20, encrypted in encryption unit 26 and stored on a CD storage medium 10 along with the watermarked BASE image I W in unencrypted form in addition to the original unencrypted BASE/4 and BASE/16 images. Additionally, a 16 BASE residual is formed and added to the CD storage medium 10. Note that except for a negligible increase in the size of the compressed 4BASE residual, there are no additional memory requirements since the watermark removal component is embedded in the 4BASE residual. Throughout this description of the invention reference is made to the forming, merging, or differencing of images. It is understood by those skilled in the art that the pixel values representing images are manipulated, not the images themselves. For browsing or proofing, the PRIOR ART system of Figure 2 is employed. The PRIOR ART system arrangement of Figure 2 is substantially the same as the arrangement illustrated in Figure 3 of US. Patent Application Serial No. 146,371, referenced above. The user retrieves the BASE/16, BASE/4, or watermarked BASE images directly without decryption from the CD storage medium 10. Upon authorization, the user inputs a decryption key to the data decryption unit 28 to decrypt the modified 4BASE residual. The watermarked BASE image is decoded in decoder 30 and interpolated using linear interpolation and is added to the decrypted modified 4BASE residual in the reconstruction apparatus 201 to recover the 4BASE image. Details of the reconstruction apparatus 201 can be obtained from Figure 2, and the associated description found in US. Patent No. 4,969,204. In general, if the modified 4BASE residual is quantized prior to its storage on the CD 10 (which is usually the case), the exact 4BASE image cannot be recovered. The discrepancy between the original 4BASE image and the 4BASE image recovered according to the above procedure depends on the coarseness of the quantizer in addition to the nature of the watermark. The quantizers used in the PRIOR ART systems of Figures 1 and 2 are part of the encoders 20 The description of the problem encountered with the PRIOR ART systems of Figures 1 and 2 can be clarified by using an example. Assuming that an image is represented by a two-dimensional array of pixels with the pixels being represented by numbers with indices (i,j) denoting the location of a pixel at the ith row and the jth column, where i=l,...,N l , and j=l,...,N p , and N 1 and N p are, respectively, the number of the lines and the number of pixels per line in the image, and that the brightness of each pixel is represented by an 8-bit number, i.e., a number in the range of 0 to 255. Now consider an example where, for the purpose of simplicity, a low-resolution image, hereafter referred to as the BASE image, is composed of a 5x5 array of pixels as illustrated in Figure 3. Referring to Box 34 in Figure 1, a watermark W is added to this image to create the watermarked BASE image of Figure 4. The continuous line in Figure 4 shows the region affected by the watermark. In this example, the effect of the watermark is to replace the value of the pixels overlaid by the watermark W by a uniform brightness value of 200 so as to create a high contrast between the watermark area and the remaining pixels in the BASE image. Figure 5, hereafter referred to as the 4BASE image, shows an image that consists of a 9x9 array of pixels corresponding to the high resolution rendition of Figure 3. Referring to Box 24 in Figure 1, the watermarked BASE image in Figure 4 is interpolated to create a prediction for the 4BASE image. The interpolation scheme used in this example is linear interpolation and is described with reference to Figure 6. For best system performance the interpolator 24 should match the interpolator 49 (shown in Figures 16, 17, and 18). The four pixels in the low-resolution image labeled X 1 through X 4 are linearly interpolated to create the pixels Y 1 through Y 3 according to the following relationships: Y 1 = (X 1 +X 2 )/2, Y 2 = (X 1 +X 3 )/2, Y 3 = (X 1 +X 2 +X 3 +X 4 )/4, where, in order to insure that the Y i values are also 8-bit integers, all fractions are rounded to the nearest integer and a fractional value of 0.5 is truncated down, e.g., a value of 58.50 is truncated to the integer value of 58. Figure 7 illustrates the interpolated watermarked BASE image according to the above interpolation scheme where the boxes highlight the pixels that correspond to the low-resolution image (watermarked BASE image) of Figure 4. Referring to the subtracter 32, in Figure 1, the modified 4BASE residual image is formed as the pixel-by-pixel difference of the 4BASE image of Figure 5 and the interpolated watermarked BASE image of Figure 7. Figure 8 illustrates this residual image which is the input to Box 20 in Figure 1. It can be easily seen that if the residual image of Figure 8 is stored on the CD storage medium 10 without any quantization, the original 4BASE image can be completely recovered. However, in most applications, to save storage space, the residual image is quantized prior to its storage. An example of the characteristics of a quantizer used in conjunction with the Kodak Photo CD system is shown in Figure 10. For this example, if the input to the quantizer is any number in the range of -47 to -255, it will be quantized (clipped) to the value of -48. Using the quantizer in Figure 10 to quantize the residual image of Figure 8 results in the quantized residual shown in Figure 9 which is then entropy encoded (e.g., Huffman encoded) and stored on the CD storage medium 10. As shown in Figure 2, the 4BASE image is recovered by adding the quantized residual of Figure 9 to the interpolated watermarked BASE image of Figure 7. This results in the reconstructed 4BASE image shown in Figure 11. Due to the errors introduced by the quantizer, the 4BASE image reconstructed in this way is significantly different from the original 4BASE image especially in the regions affected by the watermark. The underlined pixels in Figure 11 are those that substantially differ from the original 4BASE image of Figure 5. The standard deviation of the pixel-by-pixel error between the original 4BASE image and the reconstructed 4BASE image, also referred to as the root-mean-squared-error (RMSE), is computed to be 63.89. A large portion of this error results from the fact that the quantizer clips the value of any negative residual with a magnitude larger than 48. If this reconstructed 4BASE image is printed with a hard copy device or viewed on a monitor, it would display a visible trace of the watermark. Referring to Figure 12, in accordance with the teachings of the present invention, the watermarked low-resolution image I W at the output of Box 34 is modified in an image modifying unit 36 prior to its interpolation and storage on the CD storage medium in such a way as to reduce the artifacts that result from the quantization of the modified residual in the encoder unit 20. The extent of the modification depends on the characteristics of the quantizer and the watermark. For example, for a fine quantizer which contains many quantization levels, the changes in the visual quality of the watermarked BASE image, as a result of the present invention, will be negligible. On the other hand, if a coarse quantizer with a high degree of clipping is used along with a high-contrast watermark, the changes will be more perceptible and will generally appear as a reduction in the watermark contrast. However, it should be noted that in almost all applications of interest, the benefits of recovering a high quality high-resolution image far outweigh any disadvantages of reducing the watermark contrast. The present invention introduces a method whereby the pixel values in a low-resolution image are modified prior to their encoding and storage in order to reduce the quantization artifacts in the higher-resolution image. The objective is to introduce the smallest possible magnitude changes in the low-resolution image pixel values that will also minimize the quantization error in the residual image while maintaining the viewability of the low-resolution image. In this way, the fidelity of the reconstructed high-resolution image can be improved while minimizing any compromises to the image quality of the low-resolution image. In one embodiment of the present invention, this technique can be used to improve the reconstruction quality of a high-resolution image in a hierarchical image storage and retrieval system at the expense of introducing minor changes in the low-resolution image. This is particularly useful for those applications where the image quality of a higher resolution image component is more critical than the image quality of the lower resolution image component. Referring to the flow diagram of Figure 13, which illustrates the functions performed by the image modifying unit 36, the difference (residual) between the value of each pixel in the low-resolution image and the value of its corresponding pixel in the high-resolution image is found. In the Photo CD example, where a high-resolution image has twice as many pixels in each dimension as the low-resolution image, the high-resolution pixel location corresponding to the low-resolution pixel location (i,j) is (2i-1,2j-l) and the difference is found as the output of subtraction operation performed at circle 50. The residual value (difference) from circle 50 is then passed through quantizer 52 to output a quantized residual value. The functional characteristics of a quantizer are shown in the chart of Figure 10. This value is then compared, in circle 60, against the residual value from circle 50 to determine if an error exists. If it does the low-resolution pixel value is adjusted at function 58, to make the quantization error zero. If no error exists no adjustment is required as stated in block 56. Each low resolution pixel value from 56 or 58 is stored in a storage buffer 70 pending the adjustment of all pixels forming the image. If a second pass is to be implemented it uses the pixel values stored in storage buffer 70. If a second pass is not to be implemented the pixels from storage buffer 70 may be output to the CD 10 and to the interpolator 24. Carrying further the example discussed previously, the residuals between the pixels in the watermarked BASE image of Figure 4 and their corresponding pixels in the 4BASE image of Figure 5 are found and adjusted according to the above scheme. The result after a first pass is shown in Figure 14. For example, the result of subtracting the pixel value in location (1,1) of Figure 4 from its corresponding pixel value in location (1,1) of Figure 5 is +1. Referring to the quantizer characteristics of Figure 10, a residual value of +1 is quantized to the value +1 resulting in no error and thus no adjustment for that pixel. As another example, the result of subtracting the pixel value in location (4,3) of Figure 4 from its corresponding pixel value in location (7,5) of Figure 5 is -132 which is quantized to the value -48. The smallest magnitude adjustment to the low-resolution pixel value that will reduce the quantization error to zero is -84. Thus the pixel value in location (4,3) of Figure 4 is changed from 200 to 116. As is seen from Figure 14 the effect of this process is to reduce the watermark contrast in the watermarked BASE image. However, the quality of the reconstructed high-resolution image is significantly improved. Figure 15 illustrates the reconstructed 4BASE image corresponding to the modified watermarked BASE image of Figure 14. Again, the underlined pixels differ from the original 4BASE image as a result of the quantization error. The RMSE between the original 4BASE image and the reconstructed 4BASE image of Figure 15 is 3.09. This constitutes a significant improvement compared to the RMSE of 63.89 corresponding to the reconstructed 4BASE image of Figure 11. As is seen from Figure 15, a large portion of this error is due to the three pixels in locations (2,7), (2,8), and (2,9), which have been highlighted in a box. In the present invention, in order to further reduce the quantization error, the low resolution pixel values are adjusted in a second pass which consists of three steps as outlined below. In describing the various steps of the second pass, reference is made to Figure 6 which illustrates a neighborhood containing the four low-resolution pixels labeled X 1 through X 4 and the resulting linearly interpolated pixels Y 1 through Y 3 . Starting from the top-left pixel of the low-resolution image resulting from the first pass stored in storage buffer 70, and scanning the image from left to right and from top to bottom in a raster fashion, STEP(S) 1, 2 and 3 described below are applied in succession to every pixel in the low-resolution image with the latest adjustment overwriting the previous pixel value in the storage buffer 70: STEP 1 : For a given low-resolution pixel value X 1 , the interpolated pixel value Y 1 is computed according to the interpolation equation and its corresponding residual value is found. The value of the low-resolution pixel X 2 (to the right of X 1 ) is then adjusted by the smallest magnitude needed to eliminate the quantization error of that residual. Note that as a result of this adjustment, the residual may sometimes be quantized to a value different from what it was quantized to prior to the adjustment. This is also true for STEP(S) 2 and 3 of the algorithm. A flow diagram describing the procedure employed in STEP 1 is depicted in Figure 16. STEP 2: For the same low-resolution pixel value X 1 as in STEP 1, the interpolated pixel value Y 2 is computed according to the interpolation equation and its corresponding residual value is found. The value of the low resolution pixel X 3 (below X 1 ) is then adjusted by the smallest magnitude needed to eliminate the quantization error of that residual. A flow diagram describing the procedure employed in STEP 2 is depicted in Figure 17. STEP 3: For the same low-resolution pixel value X 1 as in STEP 1, the interpolated pixel value Y 3 is computed according to the interpolation equation and its corresponding residual value is found. The value of the low resolution pixel X 4 (to the right and below of X 1 ) is then adjusted by the smallest magnitude needed to eliminate the quantization error of that residual. A flow diagram describing the procedure employed in STEP 3 is depicted in Figure 16. It should be noted that at any step of the second pass, the calculations are based on the modified low-resolution pixel values that reflect all the adjustments up to that stage. Also, each pixel in the low-resolution image may be adjusted up to three times during the second pass. For those pixels that are located on the image borders, only a part of the neighborhood as defined in Figure 6 might exist. In such cases, only those steps for which a neighborhood is defined are carried out. The modified low-resolution image after the completion of the second pass would usually generate a very high-quality reconstruction of the high-resolution image. The application of the second pass of the present invention to the numerical example discussed before will help to illustrate further the operation of each step. Scanning the image of Figure 14 in a raster fashion, it is found that no adjustment is necessary until the pixel location (1,3) is reached. Denoting the value of this pixel by X 1 , the value of the interpolated pixel Y 1 in STEP 1 is found to be 92. The corresponding high-resolution pixel in Figure 5 is located at (1,6) and has a value of 70. The residual is thus -22 which results in no quantization error based on the quantizer characteristics of Figure 10. Similarly, the residual, corresponding to the interpolated value Y 2 in STEP 2, is +1 and results in no quantization error. However, the value of Y 3 in STEP 3 is found to be 92, which, once subtracted from the value 75 located at position (2,6) in Figure 5, results in a residual of -17. This residual is quantized to a value of -16, introducing a quantization error of -1. The smallest magnitude adjustment needed to eliminate this quantization error will adjust the pixel value X 3 , located at (2,4) in Figure 14, to 119 instead of its current value of 118. After the adjustment, the residual value becomes -16 which is quantized without error. This procedure is continued until all the low resolution pixel values are processed. In this example, the low-resolution pixels that are located at (3,5), (4,2), (4,5), and (5,5), are adjusted three times during the second pass. Proceeding with the example, the completion of the second pass results in the modified watermarked BASE image of Figure 19. Note that while most pixel values in Figure 19 have undergone minor adjustments compared to their corresponding values in Figure 14, the two pixels in locations (2,4) and (2,5) have significantly changed. This was necessary to reduce the large quantization error on the three pixels in the image of Figure 15 that are enclosed in a box. Figure 20 shows the reconstructed 4BASE image corresponding to the modified watermarked BASE image of Figure 19. Again, the underlined pixels differ from the original 4BASE image as a result of the quantization error. It can be seen that all the pixel values in Figure 20 are within one unit or less of their corresponding value in the original 4BASE image of Figure 5 except for the pixel located at (9,9), which shows a difference of 2 units. The RMSE between the original 4BASE image and the reconstructed 4BASE image of Figure 20 is only 0.54, indicating the significant improvement resulting from the second pass. The high-resolution image, resulting from the present invention (Figure 20), compared with the PRIOR ART image of Figure 11, represents a significant improvement. The price paid for this significant improvement is the replacement of the watermarked BASE image of Figure 4 with the modified watermarked BASE image of Figure 19 which has a reduced watermark contrast. In most practical applications, the slight compromise in the usefulness of the low-resolution image component is far outweighed by the image quality improvements in the high-resolution image. The two-pass algorithm described above constitutes a preferred method for achieving the objectives of the present invention, namely, finding the smallest possible magnitude changes in the low-resolution image pixel values that also aim at minimizing the quantization error in the residual image. It should be noted that several variations to this main theme are possible. In general, based on simulations with the Photo CD image storage and retrieval system, it was found that the preferred method resulted in a slightly better high-resolution image quality (for the same degree of modification in the low-resolution image) compared to the other variations. However, in some applications, other system considerations might make the use of the alternative approaches more attractive. In what follows, a few of these variations are briefly described with reference to the preferred method. In one variation, only the first pass of the algorithm, as described above, is implemented to create a reasonably high-quality, high-resolution image and the second pass is omitted to reduce the computational complexity. In another variation, the first and the second passes are combined into a single pass in the following way. Starting from the top-left pixel of the low-resolution image, the value of the pixel X 1 is first modified according to the teachings in the first pass of the preferred method. Next, the values of the pixels X 2 , X 3 , and X 4 are modified according to the STEP(S) 1-3 of the second pass. Scanning the image from left to right and from top to bottom, this procedure is repeated for every pixel in the low-resolution image. The value of each pixel can be modified up to four times according to this procedure. However, since the order in which the adjustment takes place is different from the preferred method, in general, a different image will result. In yet another variation, the first pass is implemented as described in the preferred method, but the three steps in the second pass are implemented as three separate passes. That is, starting from the top-left pixel of the low-resolution image, the image is scanned from left to right and top to bottom and the STEP 1 of the second pass is applied to all the pixels. Then, the same procedure is followed for STEP 2. Finally, STEP 3 is implemented in a similar fashion. Again, this results in a different order in which the various pixels are processed. In yet another variation, after the execution of the first pass as described in the preferred method, the three steps in the second pass are carried out, but at each step, instead of adjusting the values of the pixels X 2 , X 3 , or X 4 , the value of the pixel X 1 is modified. Again, this will result in a different order of modifying the low-resolution pixel values than any of the schemes described before. Furthermore, although the invention has been described with a watermark insertion unit which introduces high contrast edges, the man skilled in the art would realize that, as already mentioned earlier, for some images, the use of the invention provides an improvement over the prior art even when no watermark insertion unit is provided.

Claims: A method for reducing quantization artifacts in a hierarchical image system of the type that decomposes (101) a high resolution image into low resolution image components, including low resolution image pixel values, and residual image pixel values characterized in that the method further includes the steps of: a) determining (50) the difference values between the pixel values in the low resolution image and the corresponding pixel values in the higher resolution image; b) comparing (60) each of the difference values against quantizer conversion values to determine if an error would exist for an executed conversion; c) adjusting (58) the image pixel values within the low resolution image component if an error would exist, to a value that eliminates the error to form an adjusted low resolution image; and d) using the unadjusted image pixel values as part of the adjusted low resolution image component if an error does not exist. A method according to Claim 1 further comprising : e) forming a predicted higher resolution image by interpolating (49) the pixel values of the adjusted low resolution image components of steps c) and d); f) determining (50) the difference values between the interpolated pixel values in the predicted higher resolution image and the corresponding pixel values in the higher resolution image; g) comparing (60) each of the difference values against quantizer conversion values to determine if an error would exist for an executed conversion; h) adjusting (58) further the image pixel values within the adjusted low resolution image component if an error would exist, to a value that eliminates the error to form an adjusted low resolution image; and i) using (56) the unadjusted image pixel value as part of the adjusted low resolution image component if an error does not exist. A method for according to Claim 2, wherein a step (22) of applying watermark pixel values to pixel positions within the low resolution image is performed before step a) and said modified low resolution image is used as low resolution image. A method according to Claim 3, wherein the predicted higher resolution image of step e) is formed by sequentially interpolating (49) the pixel values of a first block of low resolution image pixel values and steps f) through i) are repeated for each pixel in the higher resolution image. Apparatus for reducing quantization artifacts in a hierarchical image system of the type including means (101) that decomposes a high resolution image into low resolution components, including low resolution image pixel values, and residual image pixel values, characterized in that the apparatus further includes: means (50) for determining the difference values between the pixel values in the low resolution image and the corresponding pixel values in the higher resolution image; means (60) for comparing each of the difference values against quantizer conversion values to determine if an error would exist for an executed conversion; and means (58) for adjusting the image pixel values within the low resolution image component if an error would exist, to a value that eliminates the error to form an adjusted low resolution image component and using (56) the image pixel value as part of the adjusted low resolution image component if an error does not exist. Apparatus according to Claim 5 further comprising : means (49) for forming a predicted higher resolution image by interpolating the pixel values of the adjusted low resolution image component; means (50) for determining the difference values between the interpolated pixel values in the predicted higher resolution image and the corresponding pixel values in the higher resolution image; means (60) for comparing each of the difference values against quantizer conversion values to determine if an error would exist for an executed conversion; means (58) for adjusting the image pixel values within the adjusted low resolution image component if an error would exist, to a value that eliminates the error to form a twice adjusted low resolution image component; and means (56) for using the image pixel value as part of the twice adjusted low resolution image component if an error does not exist. Apparatus according to Claim 6, further comprising: means for applying pixel values to pixel positions within the low resolution image to form a low resolution image component. A storage device (10) having stored thereon the adjusted low resolution image components and the residual image pixel values of any of Claims 5 to 7.

Inventors: RABBANI MAJID, RABBANI, MAJID, Rabbani, Majid, c/o Eastman Kodak Company
Applicants: EASTMAN KODAK CO, EASTMAN KODAK COMPANY
Application year: 1995
Main classification: H04N1
IPC codes: G09G5, G06T1, H04N1, H04N5