Method and system for reducing mosquito noise in a digital image
Granted 17 Aug 2010 · 1 office action
Current assignee: Exar Corporation · originally Trident Microsystems (Far East) Ltd.
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Jun Zhang, Chun-Wei Chen, Zheng Liu, Jiande Jiang · Examiner: Matthew C Bella · AU 2624 · TC 2600
Life of the application
18 dated eventsAbstract
A method and system is provided for reducing mosquito noise in a digital image. The method and system receives an input luminance value for a first pixel in the digital image, and determines whether the first pixel is in relative close proximity to an object appearing in the digital image, based on a comparison of the variation between the input luminance value for the first pixel and luminance values of a first plurality of neighboring pixels. If the first pixel is in relative close proximity to an object, the method performs an average filtering of the input luminance value for the first pixel, based on the luminance values of a second plurality of neighboring pixels, to provide a filtered luminance value for the first pixel.
Description
7 parts›FIELD OF THE INVENTION
The present invention generally relates to digital image display methods and systems, and more particularly, to a method and system for reducing mosquito noise in a digital image.
›BACKGROUND OF THE INVENTION
Digital display systems, such as digital television systems, often receive and process images in compressed format (e.g., an MPEG standard format). Compressing digital images reduces the overall size of digital image files. However, the processing and display of compressed digital images sometimes results in “mosquito noise” or the blurring of the outlines of objects within these images. Named for its resemblance to the look of mosquitoes flying about the objects of digital images, mosquito noise detracts from the visual effect of compressed pictures. Accordingly, continuing efforts exist to reduce the appearance and effect of mosquito noise in compressed images.
Therefore, it would be desirable to provide a method and system for reducing mosquito noise in a digital image.
›SUMMARY OF THE INVENTION
In one embodiment, the present invention provides a method for reducing mosquito noise in a digital image. The method includes receiving an input luminance value for a first pixel in the digital image, and determining whether the first pixel is in relative close proximity to an object appearing in the digital image, based on a comparison of the variation between the input luminance value for the first pixel and luminance values of a first plurality of neighboring pixels. If the first pixel is in relative close proximity to an object, the method performs an average filtering of the input luminance value for the first pixel, based on the luminance values of a second plurality of neighboring pixels, to provide a filtered luminance value for the first pixel.
In another embodiment of the present invention, the present invention provides a method for reducing mosquito noise in a digital image. The method includes selecting a first pixel in the digital image, calculating a maximum variation between the luminance value of the first pixel and the luminance values of a first plurality of neighboring pixels, and determining whether the first pixel is in relative close proximity to an object appearing in the digital image, by comparing the maximum variation to a first threshold value. If the first pixel is in relative close proximity to an object, the method performs adaptive average filtering of the luminance value for the first pixel, based on the luminance values of a second plurality of neighboring pixels, to provide a filtered luminance value for the first pixel.
In another embodiment, the present invention provides a system for reducing mosquito noise in a digital image. The system includes an object detection module that receives an input luminance value for a first pixel in the digital image and determines whether the first pixel is in relative close proximity to an object appearing in the digital image, based on a comparison of the variation between the input luminance value for the first pixel and luminance values of a first plurality of neighboring pixels. The system further includes a filtering module that performs an average filtering of the input luminance value for the first pixel, based on the luminance values of a second plurality of neighboring pixels, to provide a filtered luminance value for the first pixel if the first pixel is determined to be in relative close proximity to an object.
These and other features and advantages of the invention will become apparent by reference to the following specification and by reference to the following drawings.
›BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 illustrates an exemplary method for reducing mosquito noise in a digital image, according to one embodiment of the present invention.
FIG. 2 illustrates an example of a spatial relationship between a pixel, a detection window and an object, where a portion of the object resides within the detection window.
FIG. 3 illustrates an example of a spatial relationship between a pixel, a detection window and an object, where the object resides entirely outside the detection window.
FIG. 4 illustrates an example of a pixel and neighboring pixels within a 9×14 detection window.
FIG. 5 illustrates one graphical representation of a blending value, alpha_obj, as a function of maximum variation.
FIG. 6 illustrates an example of a pixel and neighboring pixels within a 3×3 window used for adaptive averaging, according to one embodiment of the invention.
FIG. 7 illustrates a system for reducing mosquito noise in a digital image, according to another embodiment of the present invention.
›DETAILED DESCRIPTION OF THE EMBODIMENTS · 1 of 3
The present invention will now be described in detail with reference to the drawings, which are provided as illustrative examples of the invention so as to enable those skilled in the art to practice the invention. Notably, the implementation of certain elements of the present invention may be accomplished using software, hardware, firmware or any combination thereof, as would be apparent to those of ordinary skill in the art, and the figures and examples below are not meant to limit the scope of the present invention. Moreover, where certain elements of the present invention can be partially or fully implemented using known components, only those portions of such known components that are necessary for an understanding of the present invention will be described, and detailed descriptions of other portions of such known components will be omitted so as not to obscure the invention. Preferred embodiments of the present invention are illustrated in the Figures, like numerals being used to refer to like and corresponding parts of various drawings.
FIG. 1 illustrates a general method 100 for reducing mosquito noise in a digital image, according to one embodiment of the present invention. The digital image may include one or more objects that appear over a background. Because mosquito noise typically occurs near objects (e.g., areas of high transition), the method 100 first detects whether the pixel is near an object, or stated conversely, whether an object is near the pixel (e.g., within a predetermined area surrounding a pixel). If the pixel is in relative close proximity to an object (or the transition between an object and background, i.e., an “object transition”), the method 100 selectively filters the pixel. While this embodiment is primarily described in relation to a method 100 , it should be appreciated that each of the portions or blocks illustrated in FIG. 1 may represent logic blocks that may be implemented within a digital display system or television chip using conventional hardware, software, or firmware and/or any combination of hardware, software and firmware.
Method 100 begins by selecting a pixel in a digital image, as shown in step 102 . The digital image may represent one frame in a sequence of frames that are displayed on a digital display system. The method 100 may be performed on each pixel of each frame that is displayed by the system. In step 104 , the method determines whether the pixel is near an object (or whether an object at least partially resides within a predetermined area around the pixel). In one embodiment, the method determines if the pixel is near an object (or near an “object transition”) by determining whether an object at least partially resides within a detection window of a predetermined size that surrounds the pixel. In one embodiment, the detection window is generally rectangular with a height of M pixels in the vertical direction and a width of N pixels in the horizontal direction. FIG. 2 illustrates one example of a spatial relationship between a pixel, a detection window and an object, where the object partially resides within the detection window. In contrast, FIG. 3 illustrates an example of a spatial relationship between a pixel, a detection window and an object, where the object resides entirely outside the detection window.
In one embodiment, the method determines whether an object (or object transition) at least partially resides within an M×N detection window surrounding the pixel by examining variations between the luminance value of the current pixel and the luminance values of other pixels in the detection window. More particularly, the method calculates a maximum variation in luminance between the pixels. In one embodiment, the method uses the following equation to calculate a maximum variation value:
max_variation = max - M - 1 2 ≤ s ≤ M - 1 2 - N - 1 2 ≤ t ≤ N - 1 2 { abs ( Y ( i , j ) - Y ( i + s , j + t ) ) }
where M is vertical detection range (i.e., the height of the detection window in pixels), N is horizontal detection range (i.e., the width of the detection window in pixels), Y(i,j) is the luminance value of the current pixel (i,j), and s and t are integer values (e.g., s and t may be rounded up to the next highest integer). FIG. 4 illustrates an exemplary detection window of size M, N (where M=9 and N=14), including a pixel (i,j) and its surrounding pixels within the window. It should be appreciated that the size of the window shown in FIG. 4 is merely for exemplary purposes, and that in practice a larger (or smaller) window may be selected.
The maximum variation value may be compared to one or more predetermined values to detect whether an object at least partially resides in the detection window. Large differences between the luminance of pixels within the detection window would signify the presence of a region of high transition (e.g., the transition between an object and background), while small differences typically signify a region of low transition (e.g., background). If the maximum luminance variation is less than the first threshold value TH 1 , it is assumed that an object is not within the area surrounding the pixel (or that the pixel is not near an object transition). In such case, the method does not filter the pixel and proceeds to step 108 .
If the maximum luminance variation is greater than the first threshold value TH 1 , it is assumed that an object is within the area surrounding the pixel (or that the pixel is near an object transition). In this case, the pixel is adaptively filtered, as shown in step 106 . In one embodiment, method uses first and second threshold values (TH 1 and TH 2 ) in order to generate a blending value, alpha_obj, which is used to blend the input luminance value of the pixel and the filtered luminance value of the pixel. FIG. 5 illustrates one graphical representation of a variable alpha_obj value based on the maximum variation. As shown in FIG. 5 , if the maximum variation value is greater than the second threshold, it is assumed that the pixel is substantially close to an object transition, and the alpha_obj value is set to 1 . In this case, the output value will be equal to the filtered value. If the maximum variation is between the first threshold (TH 1 ) and the second threshold (TH 2 ), then the output luminance value will be a blend between the input luminance value of the pixel and the filtered luminance value of the pixel, according to the following equation:
›DETAILED DESCRIPTION OF THE EMBODIMENTS · 2 of 3
Y ″( i,j )= Y ′( i,j )×alpha_obj( i,j )+ Y ( i, j )(1−alpha_obj( i, j ))
where Y″(i,j) is the output luminance for pixel (i,j), Y′(i,j) is the filtered luminance value, Y(i,j) is the input luminance value, and alpha_obj(i,j) is the blending value for pixel (i,j). In one embodiment, the blending value, alpha_obj(i, j) is equal to “0” when the max_variation is less than or equal to TH 1 , “1” when the max_variation is greater than or equal to TH 2 , and is equal to a value between 0 and 1 that is based on the max_variation (e.g., proportional to the max_variation), as shown in FIG. 5 .
In one embodiment, the filtered luminance value Y′(i,j) is an adaptive average luminance value taken over a series of neighboring pixels surrounding pixel (i,j). In one example, the series of neighboring points includes a 3×3 window around pixel (i,j), as shown in FIG. 6 , and the following equation may be used:
Y ( i,j )′=⅛*[ a ( i− 1, j− 1)*( Y ( i− 1, j− 1)− Y ( i, j ))+ a ( i− 1, j )*( Y ( i− 1, j )− Y ( i,j ))+ . . . + a ( i+ 1, j+ 1)*( Y ( i+ 1, j+ 1)− Y ( i,j ))]+ Y ( i,j )
where Y(i,j) is the input luminance value for pixel (i,j), and a is correlation between current pixel and surrounding pixels, which may be equal to the following values in one embodiment:
In another embodiment, the adaptive average may be taken over an m×n window (i.e., m pixels high by n pixels wide) according to the following equations:
Y ′ ( i , j ) = 1 W ∑ s = n - 1 2 n - 1 2 ∑ t = m - 1 2 m - 1 2 c ( i + s , j + t ) · α ( i + s , j + t ) · Y ( i + s , j + t ) W = ∑ s = n - 1 2 n - 1 2 ∑ t = m - 1 2 m - 1 2 c ( i + s , j + t ) α ( i + s , j + t ) = { 1 , abs ( i + s , j + t ) ≤ REG_TH1 0 , abs ( i + s , j + t ) ≥ REG_TH2 REG_TH2 - abs ( Y ( i + s , j + t ) - Y ( i , j ) ) REG_TH2 - REG_TH1 , others
where c(i,j) is a predetermined coefficient of surrounding pixels, Y(i,j) is the input luminance of pixel (i,j), α (i,j) is a correlation between current pixel and surrounding pixels, REG_TH 1 , REG_TH 2 are predetermined threshold values, and m×n is the filter window size.
Once the method determines the output luminance Y″(i,j), the method proceeds to step 108 and determines whether the current pixel is the final pixel in the frame to be selected. If the pixel is the final pixel of the frame, the method ends. If the pixel is not the final pixel in the frame to be selected, the method proceeds to step 110 , where the pixel number is incremented, and then to step 102 , where the next pixel is selected. In this manner, the method 100 repeats until each pixel in the frame has been examined for object detection.
In this manner, the method 100 provides object transition detection and corresponding averaging/smoothing of pixels near an object or object transition to substantially reduce or eliminate mosquito noise in a digital image, which typically appears in these areas. One skilled in the art will appreciate that the each of the steps 102 through 110 do not have to occur in the sequence illustrated in FIG. 1 . Certain steps may be performed simultaneously on multiple pixels and/or in a different order. Additionally, those skilled in the art will appreciate that the digitized video input and output signals may undergo other conventional filtering and processing operations before display. Furthermore, while the above description illustrates certain methods for carrying out these aspects, it is not an exhaustive list of such methods. For instance, while multiple threshold values are illustrated to provide “blending,” the use of a single threshold value may also be used. Different sizes and shapes of detection and averaging windows may be used. Similarly, different criteria and algorithms may be used to detect an object or an object transition. Also, while pixels in relative close proximity to an object or object transition are smoothed according to an adaptive average of surrounding pixels, the invention need not be so limited. It also need not employ an adaptive numerical average, but can instead smooth pixels according to their neighboring pixels in any known fashion.
FIG. 7 illustrates one embodiment of a system 200 that may be used to implement the present invention in a digital display system. In one embodiment, system 200 may reside within or comprise a portion of a display controller or digital television chip. The circuitry shown in FIG. 7 may be formed from conventional hardware elements (e.g., circuits), software elements, firmware elements and/or any combination thereof. In one embodiment, system 200 includes an object detection module or circuit 202 , an adaptive average filter module or circuit 204 , multiplier blocks 206 and 208 , and an adder block 210 . Object detection module 202 , adaptive average filter module 204 , and multiplier 208 are communicatively coupled to and receive input luminance values Y(i,j) for each pixel in a frame. Multiplier block 206 is coupled to and receives a filtered luminance value Y′(i,j) from filter module 204 . Multiplier circuits 206 and 208 are coupled to adder 210 . It should be appreciated that the system 200 shown in FIG. 6 may also include additional or different circuits or modules. Only those elements useful for an understanding of the invention have been depicted and described. Additionally, those skilled in the art will appreciate that the digitized video signals that provide luminance values may be filtered and processed by other conventional filtering and processing circuitry before display.
The following discussion describes the operation of the system 200 and its components. In operation, the system 200 receives input luminance values Y(i,j) for each pixel in a video frame and generates output luminance values Y″(i,j), which are filtered and/or smoothed to substantially eliminate or reduce mosquito noise. Object detection module 202 determines if the current pixel is near an object or object transition. In one embodiment, object detection module 202 makes this determination by examining variations between the luminance value of the current pixel and the luminance values of all other pixels in an M×N detection window surrounding the pixel, as described above in step 104 of method 100 . If an object is detected, detection module 202 may signal the filter module 204 to perform filtering on the pixel. Object detection module 202 may also calculate a blending value for the current pixel, alpha_obj(i,j), according to the same methodology discussed above in reference to FIG. 5 .
›DETAILED DESCRIPTION OF THE EMBODIMENTS · 3 of 3
If an object (or object transition) is detected near the pixel by module 202 , filter module 204 calculates an adaptive average luminance value Y′(i,j) over a series of neighboring points around pixel (i,j). In one embodiment, the filtering process performed by module 204 is substantially identical to the process discussed above in step 106 of method 100 . The filtered luminance output Y′(i,j) is communicated to multiplier 206 . Multipliers 206 , 208 and adder 210 perform blending on the filtered value Y′(i,j) using the blending value for that pixel alpha_obj(i,j). Particularly, multiplier 206 multiplies the filtered luminance value Y′(i,j) by the blending value for that pixel alpha_obj(i,j), and multiplier 208 multiplies the input luminance value Y(i,j) by one minus the blending value alpha_obj(i,j). Adder 210 combines these values to generate the output luminance Y″(i,j), which is equal to Y′(i,j)×alpha_obj(i,j)+Y(i,j)(1−alpha_obj(i,j)). The system may then communicate the output luminance value to conventional output circuitry for display on a display device.
From the foregoing, it should be apparent that the embodiments disclosed provide improved methods and systems for mosquito noise reduction in a digital image. The methods and systems substantially eliminate or reduce mosquito noise, which typically appears near objects in a digital image.
While the foregoing has been with reference to particular embodiments of the invention, it will be appreciated by those skilled in the art that changes in these embodiments may be made without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims.
Claims as granted
23 claimsLog in to read the claims of this application.
Log in to unlockClassifications
6 codes- G06K9/40
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock