IMAGE PROCESSING DEVICE AND ASSOCIATED IMAGE PROCESSING METHOD
20190208090 · 2019-07-04
Inventors
- Kuo-Chen HUANG (ZHUBEI CITY, TW)
- Yin-An JIAN (ZHUBEI PEI CITY, TW)
- Hsing-Chih HUNG (ZHUBEI PEI CITY, TW)
- Chung-Yi CHEN (ZHUBEI PEI CITY, TW)
Cpc classification
H04N7/0137
ELECTRICITY
H04N5/213
ELECTRICITY
H04N9/646
ELECTRICITY
H04N5/21
ELECTRICITY
G06T2207/20182
PHYSICS
International classification
H04N5/213
ELECTRICITY
Abstract
An image processing device includes a flicker estimating circuit, a control circuit and an image processing circuit. The flicker estimating circuit estimates a flicker level of a frame according to at least one set of information corresponding to the frame to generate an estimated flicker result. The control circuit is coupled to the flicker estimating circuit, and generates at least one control signal according to the flicker level. The image processing circuit is coupled to the control circuit, and performs image processing on the frame according to the control signal.
Claims
1. An image processing device, comprising: a flicker estimating circuit, estimating a flicker level of at least one set of information corresponding to a frame to generate an estimated flicker result; a control circuit, generating at least one control signal according to the estimated flicker result; and an image processing circuit, performing image processing on the frame according to the control signal.
2. The image processing device according to claim 1, wherein the flicker estimating circuit estimates flicker levels of a plurality of frames according to a plurality of sets of information corresponding to the plurality of frames to generate a plurality of estimated flicker results, respectively; the control circuit generates a plurality of control signals according to the plurality of estimated flicker levels, respectively; and the image processing circuit performs image processing on the plurality of frames according to the plurality of control signals, respectively.
3. The image processing device according to claim 1, wherein the flicker estimating circuit comprises: a pixel value difference calculating circuit, calculating differences between a plurality of pixel values in the frame and a plurality of pixel values in a previous frame to generate a plurality of difference values; and a summing circuit, coupled to the pixel value difference calculating circuit, calculating a sum of the plurality of difference values to generate the estimated flicker result.
4. The image processing device according to claim 1, wherein the flicker estimating circuit comprises: a motion calculating circuit, calculating a plurality of motion vectors of a plurality of blocks in the frame on the basis of a previous frame; a pixel value difference calculating circuit, calculating pixel value differences between a plurality of blocks in the frame and a plurality of blocks in the previous frame according to the plurality of motion vectors to generate a plurality of difference values; and a summing circuit, coupled to the pixel value difference calculating circuit, calculating a sum of the plurality of difference values to generate the estimated flicker result.
5. The image processing device according to claim 1, wherein the flicker estimating circuit comprises: a feature value calculating circuit, calculating a plurality of feature values in the frame; a feature value difference calculating circuit, calculating differences between the plurality of feature values in the frame and a plurality of feature values in a previous frame to generate a plurality of difference values; and a summing circuit, coupled to the feature value difference calculating circuit, calculating a sum of the plurality of difference values to generate the estimated flicker result.
6. The image processing device according to claim 5, wherein each of the plurality of feature values is a luminance value, a noise intensity or a complexity of a pixel or a block of the frame.
7. The image processing device according to claim 1, wherein the flicker estimating circuit comprises: a feature value calculating circuit, calculating a plurality of feature values in the frame; a summing circuit, coupled to the feature value calculating circuit, calculating a sum of the plurality of feature values; and a feature value difference calculating circuit, calculating a difference between the sum of the plurality of feature values in the frame and a sum of a plurality of feature values in a previous frame to generate the estimated flicker result.
8. The image processing device according to claim 7, wherein each of the plurality of feature values is a luminance value, a noise intensity or a complexity of a pixel or a block of the frame.
9. The image processing device according to claim 1, further comprising: a decoder, decoding an input image signal to generate the frame and corresponding image information; wherein, the flicker estimating circuit estimates the flicker level of the frame according to the image information.
10. The image processing device according to claim 9, wherein the image information is at least one of a source, a frame format, an encoding quality parameter and an encoding compression rate of the input image signal.
11. The image processing device according to claim 1, wherein the image processing circuit comprises: a noise cancelling circuit, performing noise cancellation on the frame according to the control signal to generate a noise cancelled frame; a weight determining circuit, determining a plurality of weighting values of different pixels or different blocks in the frame; and a mixing circuit, performing weighted addition on the frame and the noise cancelled frame according to the weighting values to generate a mixed frame.
12. The image processing device according to claim 11, wherein the image processing circuit further comprises: a luminance and chrominance adjusting circuit, coupled to the mixing circuit, dynamically adjusting at least one of luminance and chrominance of the mixed frame according to the control signal to generate an output frame.
13. The image processing device according to claim 1, wherein the image processing circuit comprises: a noise cancelling circuit, performing noise cancellation on the frame to generate a noise cancelled frame; a weight determining circuit, determining a plurality of weighting values of a plurality of pixels or a plurality of blocks in the frame; a mixing circuit, performing weighted addition on the frame and the noise cancelled frame according to the weighting values to generate a mixed frame; and a luminance and chrominance adjusting circuit, coupled to the mixing circuit, dynamically adjusting luminance and chrominance of the mixed frame according to the control signal to generate an output frame.
14. An image processing method, comprising: estimating a flicker level of a frame according to at least one set of information corresponding to the frame to generate an estimated flicker result; generating at least one control signal according to the estimated flicker result; and performing image processing on the frame according to the control signal.
15. The image processing method according to claim 14, further comprising: estimating flicker levels of a plurality of frames according to a plurality of sets of information corresponding to the plurality of frames to generate a plurality of estimated flicker results, respectively; generating a plurality of control signals according to the plurality of estimated flicker levels, respectively; and performing image processing on the plurality of frames according to the plurality of control signals, respectively.
16. The image processing method according to claim 14, wherein the step of generating the estimated flicker result comprises: calculating differences between a plurality of pixel values in the frame and a plurality of pixel values in a previous frame to generate a plurality of difference values; and calculating a sum of the plurality of difference values to generate the estimated flicker result.
17. The image processing method according to claim 14, wherein the step of generating the estimated flicker result comprises: calculating a plurality of motion vectors of a plurality of blocks in the frame on the basis of a previous frame; calculating pixel value differences between a plurality of blocks in the frame and a plurality of blocks in the previous frame according to the plurality of motion vectors to generate a plurality of difference values; and calculating a sum of the plurality of difference values to generate the estimated flicker result.
18. The image processing method according to claim 14, wherein the step of generating the estimated flicker result comprises: calculating a plurality of feature values in the frame; calculating differences between the plurality of feature values in the frame and a plurality of feature values in a previous frame to generate a plurality of difference values; and calculating a sum of the plurality of difference values to generate the estimated flicker result.
19. The image processing method according to claim 18, wherein each of the plurality of feature values is a luminance value, a noise intensity or a complexity of a pixel or a block of the frame.
20. The image processing method according to claim 14, further comprising: decoding an input image signal to generate the frame and corresponding image information; and the step of generating the control signal according to the estimated flicker result comprises: generating the control signal according to the image information.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
DETAILED DESCRIPTION OF THE INVENTION
[0015]
[0016] In the image processing device 100, the decoder 110 decodes an input image signal received to generate information of multiple frames and associated metadata, and stores the information of the multiple frames and the associated metadata in the memory 120. The information of the multiple frames may be pixel values (or grayscale/luminance values) of pixels, and the metadata may include information such as the source, frame format encoding quality parameter or encoding compression rate of the input image signal. The flicker estimating circuit 130 reads the information and/or metadata of one frame from the memory 120, estimates a flicker level of the frame according to the information and/or metadata of the frame to generate an estimated flicker result, and stores the estimated flicker result in the memory 120. The control circuit 140 reads the estimated flicker result from the memory 120 to accordingly generate at least one control signal to the image processing circuit 150. The image processing circuit 150 performs image processing on the frame according to the at least one control signal to generate an output frame. More specifically, the image processing circuit 150 selects a predetermined image adjustment parameter according to the at least one control signal to perform image processing on the frame.
[0017] In this embodiment, the flicker estimating circuit 130 generates estimated flicker results corresponding to different frames, and the control circuit 140 generates control signals for different frames to control levels of image processing that the image processing circuit 150 performs on the images. Because most appropriate image processing of different frames can be performed according to the flicker levels of these frames, the problem of unstable image quality caused by the prior art that performs the same level of image processing on different frames can be resolved.
[0018]
[0019]
[0020]
[0021]
[0022]
[0023] It should be noted that, in the embodiment in
[0024] In the embodiments above, the flicker estimating circuit respectively estimates flicker levels of multiple frames according to pixel values of the multiple frames; however, the present invention is not limited thereto. In other embodiments, because some information contained in the metadata of the frames can reflect the flicker levels of the frames, e.g., the source, frame format, encoding quality parameter or encoding compression rate of an input image signal, the flicker estimating circuit 130 can separately estimate the flicker level of the frame according to the contents of the metadata of the frames. For example, the flicker estimating circuit 130 can estimate a flicker level of a frame according to both pixel values and metadata of one frame, or estimate the flicker level of the frame only according to the metadata of the frame. It should be noted that the design modifications above are all encompassed within the scope of the present invention.
[0025]
[0026] In step 700, the process begins.
[0027] In step 702, an input image signal is decoded to generate information and metadata of one frame to a memory.
[0028] In step 704, the frame is read from the memory, and a flicker level of the frame is estimated according the information of the frame to generate an estimated flicker result.
[0029] In step 706, a control signal is generated according to the estimated flicker result.
[0030] In step 708, image processing is performed on the image according to the control signal to generate an output frame.
[0031] In summary, in the image processing device and the associated method of the present invention, flicker levels of different frames are estimated to generate a most appropriate control signals to perform image processing on the frames, thus providing different frames with most appropriate image processing and maintaining optimum image quality.
[0032] While the invention has been described by way of example and in terms of the preferred embodiments, it is to be understood that the invention is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements and procedures, and the scope of the appended claims therefore should be accorded with the broadest interpretation so as to encompass all such modifications and similar arrangements and procedures.