Because a blue light is generally understood to be harmful to the eye, and is possibly leading to cataracts and other eye diseases such as macular degeneration, therefore, a display may have a mechanism to lower the blue light for the better eye care. However, the blue light reduction operation may seriously influence the image quality, for example, the skin/complexion may be reddish, the sky may be grayed . . . etc. Therefore, how to provide an image processing method which can lower the blue light while maintaining the image quality is an important topic.
It is therefore an objective of the present invention to provide an image processing method an associated image processing apparatus to solve the above-mentioned problem.
According to one embodiment of the present invention, an image processing method performed by an image processor comprises: receiving an image, wherein the image comprises a plurality of pixels having different strengths of at least one color; unevenly adjusting the strengths of the at least one color of specific pixels to generate a processed image.
According to one embodiment of the present invention, an image processing method performed by an image processor comprises: performing a global color processing operation upon an image to adjust colors of the entire image; and performing a local color processing operation upon specific pixels of the image to adjust colors of the specific pixels, but not performing the local color processing operation upon the other pixels of the image, wherein the specific pixels have at least one color or at least one color range.
According to one embodiment of the present invention, an image processor comprises a global color processing circuit and a local color processing circuit. The global color processing circuit is arranged for performing a global color processing operation upon an image to adjust colors of the entire image. The local color processing circuit is arranged for performing a local color processing operation upon specific pixels of the image to adjust colors of the specific pixels, but not performing the local color processing operation upon the other pixels of the image, wherein the specific pixels have at least one color or at least one color range.
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.
Certain terms are used throughout the following description and claims to refer to particular system components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following discussion and in the claims, the terms “including” and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to . . . ” The terms “couple” and “couples” are intended to mean either an indirect or a direct electrical connection. Thus, if a first device couples to a second device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
Please refer to
In this embodiment, image processor 110 is used to adjust colors of an input image to generate an output image to the display 120. Within the image processor 110, the global color processing circuit 112 is arranged to perform a global color processing operation upon an image to adjust colors of the entire image. The local color processing circuit 114 is arranged to perform a local color processing operation upon specific pixels of the image to adjust colors of the specific pixels without affecting other pixels, thus no performing the local color processing operation upon the other pixels or all pixels of the image, wherein the specific pixels have at least one color or at least one color range being defined. It is noted that the executing sequence of the global color processing circuit 112 and the local color processing circuit 114 is not a limitation of the present invention. Thus, in one embodiment, the image may be performed by the global color processing circuit 112 first. In another embodiment, the image may be performed by the local color processing circuit 114 first. Detailed descriptions of the global color processing circuit 112 and the local color processing circuit 114 are as follows.
In addition, in Step 206, the local color processing circuit 114 receives the global-color-processed image outputted by the global color processing circuit 112, and performs a local color processing operation upon specific pixels of the global-color-processed image to adjust colors of the specific pixels having at least one (defined) color, but not adjust colors of the other pixels. In one embodiment, in order to lower the blue light without influencing other colors, the local color processing circuit 114 merely adjusts a pure blue part of the global-color-processed image to lower strength of blue color. For example, the pixels whose (R, G, B)=(0, 0, >128) can be selected as the specific pixels, and the local color processing circuit 114 can lower the blue color ingredient by using a designed ratio or by lowering the blue color directly to be “128” (i.e. the adjusted color (R, G, B)=(0, 0, 128)). By using the Step 206 performed by the local color processing circuit 114, the blue light of the bluish pattern can be reduced more about 25%.
In Step 208, the local color processing circuit 114 checks whether the processed image satisfies the required criteria, for example, whether the blue light is low enough or not. If yes, the flow enter Step 210 to finish the flow and the local color processing circuit 114 outputs the processed image to the following circuit modules; if not, the flow goes back to Step 206 to re-adjust the image.
In the embodiment shown in
Compared with the embodiment shown in
In Step 314, the local color processing circuit 114 checks whether the processed image satisfies the required criteria, for example, whether the blue light is low enough or not, or whether the skin/complexion color is not too reddish. If yes, the flow enter Step 316 to finish the flow and the local color processing circuit 114 outputs the processed image to the following circuit modules; if not, the flow goes back to Step 306 to re-adjust the image.
In step 404, pixel data of the images is in HSV color space, the local color processing circuit 114 shifts the color of the specific pixels which contain higher blue light. For example, the pixels having higher blue light are selected as the specific pixels, and the local color processing circuit 114 changes the hue of the specific pixels to lower the strength of the blue light. In addition, for the pixels not having higher blue light, the local color processing circuit 114 does not adjust their hue.
In Step 406, the local color processing circuit 114 checks whether the processed image satisfies the required criteria, for example, whether the blue light is low enough or not, or whether the skin/complexion color is not too reddish. If yes, the flow enter Step 408 to finish the flow and the local color processing circuit 114 outputs the processed image to the following circuit modules; if not, the flow goes back to Step 402 to re-adjust the image.
The embodiment shown in
It is noted that one or more steps shown in
In addition, the executing sequence of the steps shown in
In another embodiment, the image processor 110 may refer to a timing recorded in the electronic device 100 to determine an adjusting level, and uses the adjusting level to adjust the colors of the specific pixels such as the Steps 206, 308-312 or 402-404. In one embodiment, to provide better eye care for the user when the user watches the electronic device 100 over a period of time, the longer the using time of the electronic device, the greater the blue color reduction level performed by the image processor 110. In another embodiment, the global color processing circuit 112 and/or the local color processing circuit 114 perform the global/local color processing operation upon the specific pixels of the image to use a first adjust level to reduce a strength of blue color of the specific pixels when it is in the morning, and the global color processing circuit 112 and/or the local color processing circuit 114 perform the global/local color processing operation upon the specific pixels of the image to use a second adjust level to reduce the strength of blue color of the specific pixels when it is in the evening, wherein the first adjust level is weaker than the second adjust level.
In another embodiment, the image processor 110 may refer to ambient information of the electronic device 100 to determine an adjusting level, and uses the adjusting level to adjust the colors of the specific pixels such as the Steps 206, 308-312 or 402-404. The ambient information could be ambient luminance or surrounding light color (such as color temperature, hue, saturation, intensity or chromaticity . . . etc) or surrounding light type (such as halogen, fluorescent, tungsten, sunrise, sunset, rainy, cloudy . . . etc) around the electronic device 100. In one embodiment, to provide better eye care for the user when the user watches the electronic device 100 under a low light environment, the darker of the environment, the greater the blue color reduction level performed by the image processor 110. In another embodiment, to provide better eye care with better reading experience for the user, the image processor 110 determine an adjusting level to adjust the colors of the specific pixels according to the surrounding light color, such as the Steps 206, 308-312 or 402-404.
It is noted that the output image to the display 120 is concrete and visible, but the processed images mentioned (such as global-color-processed image and local-color-processed image) are not concrete and visible, they are for the purpose of easy description. The processed images (such as global-color-processed image and local-color-processed image) could be seen as pixel data or pixel value to be processed.
Moreover, it is also noted that the pixel mentioned can be primary color pixel (such as Red, Green, Blue or other primary colors defined by specific displays), and the strength adjusting/level adjusting are accordingly operated. Thus, the visible color of specific pixels is showed according to the mixing ratio between the primary colors.
In the above-mentioned embodiments, because of the operations of the local color processing circuit 114, the blue light of the pixels of the image are adjusted unevenly. For example, referring to
Briefly summarized, in the image processing method of the present invention, by using the local color processing circuit or the combination of the global color processing circuit and the local color processing circuit, the image quality can be maintained while the blue light is reduced for the eye care.
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.
This application claims the priority of U.S. Provisional Application No. 62/184,889, filed on Jun. 26, 2015, which is included herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
62184889 | Jun 2015 | US |