Plaque It!
|
[0002] The invention especially responds to a current and rising interest in enabling users to perform artifact removal with respect to images which they would like to print in a manner which offers a relatively simple, yet quite sophisticated and effective artifact removal approach.
[0003] The system and method of the invention are described and illustrated herein, in text and drawings, in several embodiments and manners of practicing, including preferred embodiments and best-mode ways of practicing.
[0004]
[0005]
[0006] FIGS.
[0007]
[0008]
[0009]
[0010] 1. Technical Background
[0011] It is well known that ringing and blocking artifacts are consequential image components that result from traditionally employed JPEG compression algorithms. With respect to looking at and thinking about a color image as one that is made up of a plurality of 8×8 blocks of pixels, the format in which JPEG performs its compression, when high compression is required, the traditional JPEG algorithm greatly quantizes the information that is contained inside such basic 8×8 blocks. In many instances, the artifact-creating effects of this activity are extremely visible in computer-based color images, and there is a substantial desire to provide simple and elegant solutions, which will effectively remove such artifact effects from visibility.
[0012]
[0013] The present invention offers a solution to artifact removal, in the setting discussed generally above, by implementing two novel stages of activity, the first of which involves performing an assessment with respect to a selected JPEG-compressed color image regarding whether or not to invoke artifact removal, and the second of which comes to play when the decision to invoke artifact removal is positive. This second stage, or phase, involves examining the luminance channel of an image to characterize different 8×8 pixel blocks with regard to certain definitive characterizations which reside in three categories. These categories are referred to herein as uniform, transitional, and busy. The uniform characterization is one which is applied where, in terms of pixel variance, a block is seen to possess substantial pixel uniformity within itself and with respect to neighboring pixel blocks. The transitional characterization is one which is employed particularly at the edge of an image where there is a region containing pixel blocks that have higher variance and an adjacent region containing pixel blocks that have lower variance associated with a uniform area. This same (transitional) characterization can also apply to image-internal regional transitions which are somewhat like image edge transitions. The busy characterization involves pixel blocks, and neighbors of these blocks, wherein there is very high degree of pixel variance complexity, in which kind of a visual field it is unlikely that even fairly pronounced JPEG ringing and blocking artifacts will be visually detected.
[0014] When a decision has been made to perform artifact removal, on the basis of an examination of an image from any one of three different specific manners proposed to herein for performing such an assessment (described below), the single luminance channel of the image is effectively separated from the two chrominance channels so as to enable the creation of three kinds of luminance-based images from which a final artifact-removed output image will be created. One of these luminance-based images is exactly the unfiltered luminance-channel image of the original image per se. Another is one that has been created by applying a de-blocking filter to the original luminance channel image, the details of which filter will be explained shortly below. The third type of luminance-based image is one that is created by applying a de-ringing filter to the original luminance-channel image, and this filter will be described in greater detail below also.
[0015] In accordance with a preferred manner of practicing the invention, these three kinds of luminance-based images are generated, and also generated is what is referred to herein as a variance map which describes the character of the overall luminance-based image in terms of the three characteristics mentioned above, namely, the characteristics given the names uniform, transitional and busy. It should be understood that these characterizations are singular with respect to each pixel block. In other words, no pixel block is characterized in two of these ways.
[0016] With the variance map created, and the three kinds of luminance-based processed images readied, what is referred to herein as a logic map is employed to define precisely how a final artifact-removed image will be constructed. For assembly of such a final image, each pixel block is examined for its characterization as being either uniform, transitional or busy, and depending upon this characterization, its positional counterpart in one of the three luminance-based images is employed directly in the final image. Very specifically, if a pixel block is determined to have the characteristic called busy, the positionally-matching counterpart pixel block which exists in the unfiltered original luminance-based image is employed in the final image. If, however, such a pixel block is characterized as uniform, then its positional counterpart in the de-blocking luminance image is selected for incorporation into the final image. Finally, if a pixel block's characterization is determined to be transitional, then its positional counterpart in the de-ringing luminance-based image is selected for use in the final image.
[0017] The preferred manner of practicing the invention involves the full creation of the three luminance-based images mentioned above, and the full characterization of each 8×8 pixel block for the entire image as being uniform, transitional or busy, before any final image-assembly takes place. On route to such a final assembly, the chosen, processed luminance-based image for use in the final image is re-combined with the counterpart two chrominance channels which were separated at the time that the original full image was first investigated, and also along this route, certain image enhancements, as will be further described, may be employed.
[0018] An alternative manner of practicing the artifact-removal portion of the invention, which manner is practiced by a modified form of the invention, analysis involves a chain of pixel-block by pixel-block serial activity. In this approach, each 8×8 pixel block is characterized as either being uniform, transitional, or busy, and depending upon this characterization is then filtered or not filtered, along the lines just mentioned above, and then directly placed into a location wherein the final output artifact-removed image is to be created. In other words, in this approach toward practicing the invention, the overall and full image analyses and characterizations described earlier are not performed before final output-image assembly begins.
[0019] 3. The
[0020] With reference now to
[0021] Within system
[0022] Thus
[0023] As was mentioned earlier, while what is specifically shown in
[0024] No matter which of these techniques is employed to qualify an image as being or not being a candidate for artifact removal, when an image is determined to be appropriate for artifact removal, then the second phase of the invention, namely specific artifact removal activity, is performed.
[0025] Turning attention now to
[0026] Associated preferably with, and effectively disposed operatively within, Deblocking filter block
[0027] Kernel=e EXP-(x
[0028] Associated preferably with, and effectively disposed operatively within, De-ringing filer block
[0029] Other very specific details about the preferred manner of implementing artifact removal are described below. At this point, however, the operational flow of artifact removal in accordance with the system and methodology represented in
[0030] An image which has been selected for invocation of artifact removal in accordance, for example, with what is shown in
[0031] The luminance-channel image present and made available by block
[0032] The earlier mentioned logic map which describes the architecture of final assembly to produce an artifact-cleared output image is prepared on the basis of the three characterizations which are performed on the whole luminance-based image within block
[0033] From this information, block
[0034] From block
[0035] The enhanced processed luminance image which is fed to block
[0036] Presented now immediately below is a full description of the algorithm which is implemented in the practice or the system and methodology illustrated so far with regard to
[0037] Accordingly, a novel system and methodology is provided by the present invention for dealing with JPEG-compressed artifacts of the usual blocking and ringing types. The invention begins with a first stage investigation (see