BRIEF DESCRIPTION OF THE APPENDED DRAWINGS
The patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the office upon request and payment of the necessary fee.
FIG. 1 is a schematic diagram of the Lab color space.
FIG. 2 is a schematic diagram of the hue being divided into six color areas according to the prior art.
FIG. 3 is a functional block diagram of the display system according to a preferred embodiment of the invention.
FIG. 4 is a schematic diagram of the color areas of the display system obtained by dividing the hue in a color space having lightness separated from colors.
FIG. 5 is a functional block diagram of the image adjusting device shown in FIG. 3.
FIG. 6A and FIG. 6B are schematic diagrams of selecting color area and adjusting image parameter respectively.
FIG. 7A is the displayed image of the input image.
FIG. 7B is the displayed image of the input image in FIG. 7A when the user selected green color area.
FIG. 8 is a schematic diagram of the color area of the display system obtained by dividing the chroma components in a color space having lightness separated from colors.
FIG. 9 is a schematic diagram of the color area of the display system obtained by dividing the hue and the saturation in a color space having lightness separated from colors.
FIG. 10 is a functional block diagram of the image adjusting device according to another preferred embodiment of the invention.
FIG. 11A and FIG. 11B are schematic diagrams of the look-up table shown in FIG. 10.
FIG. 12 is a schematic diagram of the look-up table according to another preferred embodiment of the invention.
FIG. 13 is a schematic diagram of the look-up table according to another preferred embodiment of the invention.
DETAILED DESCRIPTION OF THE INVENTION
Referring to FIG. 3, FIG. 3 is a functional block diagram of a display system 1 according to a preferred embodiment of the invention. The display system 1 comprises color space converting devices 10a, 10b, a color area dividing device 12, an image adjusting device 13, a lightness adjusting device 14, a hue adjusting device 16, and a saturation adjusting device 18.
The image adjusting device 13 of the invention, applied to the display system 1, is used to adjust a first image parameter (lightness or saturation) of the pixels of an input image according to the user-selected color areas. The invention can be applied to all color spaces having lightness separated from colors, such as YCbCr, YUV, CIELab, etc. In this embodiment, the color space converting device 10a of the display system 1 will convert the image signal from the original color space (e.g. RGB) to the color space (e.g. CIELab) having lightness separated from colors. Then, the information about the lightness Y, the chroma components C1, C2, the hue, and the saturation of the image can be obtained.
Referring to FIG. 4, FIG. 4 is a schematic diagram of the color areas of the display system obtained by dividing the hue in a color space having lightness separated from colors. In this embodiment, the color areas of the display system 1 can be obtained by dividing the hue using the color area dividing device 12. As shown in FIG. 4, the range of the color area A1 is where the metric hue angle H is larger than 30° and less than or equal to 70°.
Referring to FIG. 5, FIG. 5 is a functional block diagram of the image adjusting device 13 shown in FIG. 3. The image adjusting device 13 comprises a memory unit 130, a judgment module 132, a multiplexer 134, and a multiplicator 136. The memory unit 130 is used to store one first gain and one second gain. In this embodiment, the first gain is between 0 and 1, and the second gain is set as 1.
Referring to FIG. 6A and FIG. 6B, FIG. 6A and FIG. 6B are schematic diagrams of selecting color area and adjusting image parameter respectively. As shown in FIG. 6A, the user can first select the color area he/she wants to adjust, and then select the image parameter he/she wants to adjust. As shown in FIG. 6A, the user can also select the image parameter he/she wants to adjust first and then select the color area he/she wants to adjust.
After the color area is selected by the user, the judgment module 132 will judge whether the user-selected color area is the same as the color area where the hue of a certain pixel belongs to. When the user-selected color area is the same as the color area where the hue of certain pixel belongs to, the multiplexer 134 will output the first gain. Afterward, the multiplicator 136 will multiply the value of saturation (or lightness) of the pixel by the first gain outputted by the multiplexer 134. On the contrary, the multiplexer 134 will output the second gain when the user-selected color area is different from the color area where the hue of certain pixel belongs to. Then, the multiplicator 136 will multiply the value of saturation (or lightness) of the pixel by the second gain outputted by the multiplexer 134.
Referring to FIG. 7A and FIG. 7B, FIG. 7A shows the displayed image of the input image 3. FIG. 7B shows the displayed image of the input image 3 when the green color area selected by the user. For instance, if the user selects the green color area, the pixels of the input image 3, whose hue belongs to green, and their value of saturation (or lightness) will be multiplied by a gain less than 1. This will make the color lighter. In contrast, if the pixels of the input image 3, whose hue does not belong to green, and their value of saturation (or lightness) will be multiplied by 1. The color will stay unchanged. In this way, the user can clearly see the color included in the selected color area being located within which section of the image. The user can further adjust the color of the image on the screen to a satisfying condition.
It should be noticed that the above changes of saturation (or lightness) is temporary. The image will recover to its original condition when the user make the next step of adjustment or leave the selection of the color area.
Referring to FIG. 8, FIG. 8 is a schematic diagram of the color area of the display system obtained by dividing the chroma components in a color space having lightness separated from colors. In another preferred embodiment of the invention, the color area of the display system 1 can also be obtained by dividing the chroma components in a color space having lightness separated from colors by the color area dividing device 12. As shown in FIG. 8, the range of the color area A2 is where the chroma component C1 larger than 20, and less than or equal to 50, or the chroma component C2 is larger than 30, and less than or equal to 80. In this embodiment, the judgment module 132 judges whether the user-selected color area is the same as the color area where the chroma components C1, C2 of certain pixels belongs to.
Referring to FIG. 9, FIG. 9 is a schematic diagram of the color area of the display system obtained by dividing the hue and the saturation in a color space having lightness separated from colors. In another preferred embodiment of the invention, the color area of the display system 1 can also be obtained by dividing the hue and the saturation by the color area dividing device 12. As shown in FIG. 9, the range of the color area A3 is where the metric hue angle H is larger than 30° and less than or equal to 70°, and where the saturation S is larger than 50 and less than or equal to 100. In this embodiment, the judgment module 132 judges whether the user-selected color area is the same as the color area where the hue and the saturation of certain pixels belong to.
Referring to FIG. 10 and FIG. 11, FIG. 10 is a functional block diagram of the image adjusting device 13′ according to another preferred embodiment of the invention. FIG. 11A and FIG. 11B are schematic diagrams of the look-up table 1300′ shown in FIG. 10. The main difference between the image adjusting device 13′ and the image adjusting device 13 is that the memory unit 130′ of the image adjusting device 13′ further stores a look-up table 1300′. In this embodiment, the look-up table 1300′ records 360 hues and 360 first gains, and each of the hues corresponds to one of the 360 first gains respectively. Compared to the first embodiment, the image adjusting device 13′ in the invention can use the look-up table 1300′ to provide different gains according to the different hues in the same color area, forming the saturation (or the lightness) gradient. In other words, the multiplexer will output the first gain corresponding to the hue of the pixel when the user-selected color area is the same as the color area where the hue of a certain pixel belong to. For example, if the range of the red color area is between 20° and 60°, the look-up table 1300′ can be set as shown in FIG. 11B. By doing so, the saturation (or the lightness) will show gradient effect. The functional theorem of the image adjusting device 13′ in FIG. 10 is the same as the image adjusting device 13 shown in FIG. 5, so the details are not further described.
Referring to FIG. 12, FIG. 12 is a schematic diagram of the look-up table 1300″ according to another preferred embodiment of the invention. In another preferred embodiment of the invention, if the color areas are obtained by dividing the chroma components in a color space having lightness separated from colors, the look-up table 1300″ records the at least one first gain, at least one first chroma component C1, and at least one second chroma component C2; each of the chroma components C1, C2 corresponds to one of the first gains Gnn respectively. The functional theorem of the look-up table 1300″ in FIG. 12 is the same as the look-up table 1300′ in FIG. 11, so the details are not further described.
Referring to FIG. 13, FIG. 13 is a schematic diagram of the look-up table 1300′″ according to another preferred embodiment of the invention. In another preferred embodiment of the invention, if the color areas are obtained by dividing the hue and the saturation in a color space having lightness separated from colors, the look-up table 1300′″ records the at least one first gain, at least one hue H, and at least one saturation S; each of the hues H and each of the saturations S are corresponding to one of the first gains Gnn respectively. The functional theorem of the look-up table 1300′″ in FIG. 13 is the same as the look-up table 1300′ shown in FIG. 11, so the details are not further described.
Referring to FIG. 3 again, after the input image is processed by the image adjusting device 13, the input image will go through the lightness adjusting device 14, the hue adjusting device 16, and the saturation adjusting device 18 to adjust the lightness, the hue, and the saturation respectively. Finally, the input image will be converted back to the original color space (e.g. converted from the Lab color space to the RGB color space) by the color space converting device 10b. The related techniques can be easily achieved by one skilled in the art, so the details are not further described.
Compared with prior art, the image adjusting device of the invention can temporarily change the image parameter (lightness or saturation) of the pixels of an input image according to the user-selected color areas. It allows the user to easily know in which section of the image is the color, included in the selected color area, located within. It is very convenient for the user to adjust an image.
With the above example and explanation, the features and spirits of the invention will be hopefully well described. Those skilled in the art will readily observe that numerous modifications and alterations of the device may be made while retaining the teaching of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.