1. Field of the Invention
The present invention relates an image processing method and a display system thereof, and more particularly, to an image processing method and a display system thereof capable of adjusting a switching step level and a number of frames for each switch, to change a display image to a target image gradually and slowly.
2. Description of the Prior Art
In general, image processing circuits modify content of an initial display data through changing setting values of related parameters for image processing and calculating accordingly, to show the effect of image processing (such as edge sharpening, color enhancement, imaging contrast raising etc.) on a display panel immediately in the next display image (i.e. the next frame) for satisfying visual sense of users.
However, the general display data displays the same display image continuously or display image which is changed gradually (i.e. the display images are mostly the same between serial frames). The conventional image processing circuit processes the display data and then shows the display image in the next frame immediately. Besides, the conventional image processing circuit stops processing the display data and then shows the display image without image processing in the next frame immediately. Therefore, when (1) the image processing is disabled→the image processing is enabled; (2) the image processing is enabled→the image processing is disabled; (3)the setting value of the parameter is A→the setting value of parameter is B wherein A and B are different values, the same pixel in the display image between the serial frames can show a great difference. It causes the display image changing significantly and makes human eyes feel unsmooth or uncomfortable. Thus, there is a need for improvement of the prior art.
It is therefore an objective of the claimed invention to provide an image processing method and a display system thereof which is able to design the switching step level and the number of frames to change display image the target image gradually and slowly.
The present invention discloses an image processing method for an image processing device. The image processing method includes receiving a setting value and a display data; calculating and converting a plurality of input pixel values of the display data according to the setting value, to obtain a plurality of target output pixel values of the display data; and adjusting a plurality of output pixel values of the display data to the plurality of target output pixel values in a plurality of frames gradually.
This present invention further discloses a display system. The display system includes a host device for transmitting a setting value and a display data; an image processing device for receiving the setting value and the display data and; calculating and converting a plurality of input pixel values of the display data according to the setting value, to obtain a plurality of target output pixel values of the display data; and adjusting a plurality of output pixel values of the display data to the plurality of target output pixel values in a plurality of frames gradually; and a display device for displaying the image according to a plurality of output pixel values of the display data.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Please refer to
Then, the display device 104 displays the image according to the output pixel values OPV1˜OPVx outputted by the image processing device 102. As a result, the image processing device 102 can adjust the output pixel values OPV1˜OPVx of the display data DD to the target output pixel values TOPV1˜TOPVx by a specific switching step level in a specific number of frames according the practical requirement. Therefore, the display device 104 can change the display image to the target image gradually and slowly according to the output pixel values OPV1˜OPVx.
In detail, please refer to
In such a situation, compared with the conventional image processing circuit which processes the display data and displays the processed display data in the next frame immediately such that the display image in the same pixel of the data is changed significantly (e.g. the output pixel value is changed significantly when the input-output curve switches form the input-output curve C1 to the input-output curve C7), the image processing device 102 of the present invention can design the switching step level and the number of frames for each switch, to adjust the output pixel values OPV1˜OPVx of display data to the target output pixel values TOPV1˜TOPVx gradually and slowly.
Specifically, in an embodiment of a curve-based dimming, the image processing device 102 calculates and converts the input pixel values IPV1˜IPVx of the display data DD gradually according to a plurality of adjusting input-output curves from an initial input-output curve to the target input-output curve, to adjust the output pixel values OPV1˜OPVx of the display data DD to the target output pixel values TOPV1˜TOPVx in the frames F1˜Fy gradually. In other words, the image processing device 102 switch at least one input-output curve among the plurality of adjusting input-output curves every one or more than one frames. In such a situation, the image processing device 102 can perform the adjustment to any alterations of setting value SV.
For example, when the setting is switching an input-output curve every two frames, if (1) the image processing is switched from disable (i.e. the initial input-output curve C5) to enable and the setting value SV is corresponding to the target input-output curve C2, the image processing device 102 can switch the input-output curve in the an order of C5→C4→C4→C3→C3→C2 in the frames F1˜F5(one frame for each switch), to adjust the output pixel values OPV1˜OPVx of the display data DD to the target output pixel values TOPV1˜TOPVx in frames F1˜F5 gradually; else if (2) the image processing is switched from enable to disable (i.e. the target input-output curve C5) and the initial setting value SV is corresponding to the initial input-output curve C9, the image processing device 102 can switch the input-output curve in an order of C9→C8→C8→C7→C7→C6→C6→C5 in the frames F1˜F7 (two frames for each switch), to adjust the output pixel values OPV1˜OPVx of the display data DD to the target output pixel values TOPV1˜TOPVx in the frames F1˜F7 gradually; else if (3) the image processing is switch from the initial setting value SV which is corresponding to input-output curve C3 to the setting value SV which is corresponding to the target input-output curve C7, the image processing device 102 can switch the input-output curve in an order of C3→C4→C4→C5→C5→C6→C6→C7 in the frames F1˜F7, to adjust the output pixel values OPV1˜OPVx of the display data DD to the target output pixel values TOPV1˜TOPVx in the frames F1˜F7 gradually.
Besides, in the embodiment of the fixed-time-based dimming, the image processing device 102 can divide each of difference values between the target output pixel values TOPV1˜TOPVx value and the output pixel values OPV1˜OPVx to a plurality of equal values and change the output pixel values OPV1˜OPVx of the display data DD by a fixed value for every switch in the plurality of fixed values in the frames F1˜Fy gradually, to adjust the output pixel values OPV1˜OPVx of the display data DD to the target output pixel values TOPV1˜TOPVx in the frames F1˜Fy gradually. In other words, the image processing device 102 can add the equal value in the plurality of equal values to the output pixel values OPV1˜OPVx of the display data DD every one or more than one frames. In such a situation, the image processing device 102 can finish the switch in the predefined fixed number of frames to display the image.
For example, when the setting is switch for every two frames and completing the adjustment in four switches and the pixel values before and after image processing are RGB and R′G′B′ respectively, if (1) the image processing is switched from disable to enable, taking the output pixel value R is switched to the target pixel value R′ and the absolute value of the difference between the pixel value R′ and the pixel value R is D for example, the image processing 102 can switch the pixel value in an order of R→R+(D*1/4)→R+(D*1/4)→R+(D*2/4)→R+(D*2/4)→R+(D*3/4)→R+(D*3/4)→R′ (in the situation that the pixel value R is less than pixel value R′), or the order of R→R−(D*1/4)→R−(D*1/4)→R−(D*2/4)→R−(D*2/4)→R−(D*3/4)→R−(D*3/4)→R′ (in the situation that the pixel value R is greater than pixel value R′) in the frames F1˜F7; else if (2) the image processing is switched from enable to disable, taking the output pixel value and the target pixel value are R and R′, respectively and the absolute value of the difference between the pixel value R′ and the pixel value R is D for example, the image processing 102 can switch the pixel value in an order of R′→R′−(D*1/4)→R′−(D*1/4)→R′−(D*2/4)→R′−(D*2/4)→R′−(D*3/4)→R′−(D*3/4)→R (in the situation that the pixel value R is less than pixel value R′), or the order of R′→R′+(D*1/4)→R′+(D*1/4)→R′+(D*2/4)→R′+(D*2/4)→R′+(D*3/4)→R′+(D*3/4)→R (in the situation that the pixel value R is greater than pixel value R′) in the frames F1˜F7.
Noticeably, the spirit of the present invention is to design the switching step level and the number of frames for each switch according to the practical requirement, to adjust the output pixel values OPV1˜OPVx to the target output values TOPV1˜TOPVx gradually and slowly. Therefore, the display image can be changed to the target image according to the output pixel values OPV1˜OPVx gradually and slowly. Those skilled in the art can make modification and alterations accordingly. For example, the present invention changes the display data DD and does not change the dimming mechanism of backlight. Therefore, the present invention can be applied to any display devices. Besides, the interface of transmitting the setting value SV and the display data DD between the main device 100 to the image processing device 102 can be wired or wireless transmission. Moreover, the image processing 102 can be an independent device or a slave device belongs to the main device 100 and the display device 104 can be a device which is able to convert the electrical signal of the output pixel values OPV1˜OPVx to the visible wavelength and makes the content of the signal can be sensed by human eyes.
In addition, in the above-mentioned embodiment, the curve-based dimming switches the input-output curves sequentially. The pixel-value-based dimming changes the pixel values by two and the fixed-time-based dimming switches four times to complete the adjustment. However, in other embodiments, the switching step level and the number of frames for each switch can be adjusted according the practical requirement and the image processing 102 can include a first register for setting the switching step level (a number of the input-output curves for each switch, a number of the pixel values for each switch, the number of switching times to finish the adjustment), a second register for setting the specific number of frames for each switch and a controlled circuit for switching and controlling the manner of dimming, to realize the above-mentioned embodiment.
Therefore, the image processing operation of the image processing device 102 can be summarized into an image processing process 30 as shown in
Step 300: Start.
Step 302: Receive the setting value SV and the display data DD.
Step 304: Calculate and convert the input pixel values IPV1˜IPVx of the display data DD according to the setting value SV, to obtain the target output pixel values TOPV1˜TOPVx of the display data DD.
Step 306: Adjust the output pixel values OPV1˜OPVx of the display data DD to the target output pixel values TOPV1˜TOPVx in the frames F1˜Fy gradually.
Step 308: End.
Details of the image processing process 30 can be derived by referring to the above related description of the image processing device 102, and are not narrated hereinafter.
In the prior art, general display data displays the same display image continuously or display image which is changed gradually (i.e. the display images are mostly the same between the serial frames). The conventional image processing circuit processes the display data and then shows the display image in the next frame immediately. Besides, the conventional image processing circuit stops processing the display data and then shows the display image without process in the next frame immediately. Therefore, the same pixel in the display image between the serial frames can show a great difference. It causes the display image changing significantly and makes the human eyes feel unsmooth or uncomfortable. In comparison, the present invention can design the switching step level and the number of frames for each switch according to the practical requirement, to adjust the output pixel values OPV1˜OPVx to the target output pixel values TOPV1˜TOPVx. Therefore, the display image can be changed to the target image gradually and slowly according the output pixel values OPV1˜OPVx.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
101132556 | Sep 2012 | TW | national |