Abstract:
A color enhancement method for a display device includes obtaining color information of a first display frame from the display, determining a dominant color according to the color information obtained, and color enhancing a second display frame following the first display frame by adjusting the second display frame according to the dominant color. The dominant color is obtained by analyzing the preceding display frame and dynamically enhancing the second display frame.

Description:
BACKGROUND 
       [0001]    1. Technical Field 
         [0002]    The present disclosure relates to a method for color enhancement for a display device. 
         [0003]    2. Description of the Related Art 
         [0004]    A display device used in a computer generally includes several display picture modes such as video mode, photo mode, scenery mode, internet mode, and game mode etc., for displaying images under different viewing requirements. The display device enhances a predetermined color under each display mode. For example, skin color is enhanced selectively under the photo mode, and green color is enhanced selectively under the scenery mode. A user may set a proper display picture mode according to the working status, to have a better view than the original view. The user must be knowledgeable ahead of time as to the required visual effects desired to be accomplished and also familiar with all of the display picture modes so as to set a proper display mode during use. 
         [0005]    However, the above conventional method of color enhancement is static, thus the enhanced color remain unchanged when the display picture mode has been set. The image displayed may have variable picture mode requirements therein, therefore, in this situation, the static color enhancement may be improper. For example, the green color is selectively enhanced during the scenery mode, but when the scenery is switched to white snow or blue sky, the existing color enhancement is then improper. 
         [0006]    Therefore, there is room for improvement within the art. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0007]    The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the views, and both the views are schematic. 
           [0008]      FIG. 1  is a flowchart of a method for color enhancement. 
           [0009]      FIG. 2  is a color gamut distribution view of six color zones in a color space. 
           [0010]      FIG. 3  is a lookup table showing the corresponding color gamut range of each color zone of  FIG. 2 , and the selected color for enhancement in each color zone. 
       
    
    
     DETAILED DESCRIPTION 
       [0011]    Referring to  FIG. 1 , a method for color enhancement may be used in a display device. A color image output from a data source, such as a computer, may be modified using the method and displayed on the display device. The method for color enhancement includes steps as follows. 
         [0012]    In step  110 , a first display frame is obtained from the display device. The display frames are continuously outputted by the display device with a frequency of 30 Hz or 60 Hz, for example, forming a continuous frame stream. In this step, sequential sampling may be used to obtain the first display frame (present frame), and to go through a set of calculations to obtain the subsequent next frame (next frame), and every frame presented can be selected as the first display frame in turn or periodic sampling may be used to obtain the first display frame instead, and the frames presented are selected as the first frame at a predetermined interval. For example, in a continuous frame stream I 1 , I 2 , I 3 , I 4 , I 5  . . . , the first display frame can be I 1 , I 2 , I 3 , I 4 , I 5  . . . in turn under sequential sampling, or the first display frame can be I 1 , I 3 , I 5  . . . , or I 2 , I 4 , I 6  . . . , or even I 1 , I 4 , I 7  . . . under periodic sampling. The first display frame has a plurality of pixels distributed in rows, and each pixel has one individual color value of three primary colors red, green and blue. 
         [0013]    In step  120 , a trichromatic coordinate of the pixel of the first display frame in the CIE (Commission International d&#39;Eclairage) 1931 chroma space is calculated. In other embodiments, the trichromatic coordinate of the pixel may be calculated in CIE LUV, CIE 1964 UVW or CIE LAB color space. The trichromatic coordinate of the pixel may be calculated by the following equations: 
         [0000]        r=R /( R+G+B ),  (1)
 
         [0000]        g=G /( R+G+B ),  (2)
 
         [0000]        b=B /( R+G+B )  (3)
 
         [0000]      or: 
         [0000]        x =(0.490 r+ 0.310 g+ 0.200 b )/(0.667 r+ 1.132 g+ 1.200 b ),  (4)
 
         [0000]        y =(0.117 r+ 0.812 g+ 0.010 b )/(0.667 r+ 1.132 g+ 1.200 b ).  (5)
 
         [0014]    Wherein R, G, B are the primary color values of the pixel; and x, y are the trichromatic coordinates of the pixel. 
         [0015]    All the rows of pixels in the first display frame may be selected and calculated, or pixel rows may be selected via interlaced sampling at the same interval and the trichromatic coordinate of the pixels calculated. As a result, the “betweenframe” sampling method of step  110  combined with the “in-frame” sampling method disclosed in this step can provide improved implementation flexibility. 
         [0016]    In step  130 , the color of each pixel as to see which of the color zone in the color space that it belongs to is determined. Referring to  FIGS. 2 and 3 , six color zones: a red zone  10 , a green zone  20 , a blue zone  30 , a cyan zone  40 , a purple zone  50  and a yellow zone  60  are defined in the CIE 1931 chroma space.  FIG. 3  shows the color range of each color zone. The display device includes six counters CRed, CGreen, CBlue, CCyan, Cpurple and CYellow (not shown) in a chip (not shown) for the six color zones, respectively. For example, if a trichromatic coordinate (x,y) of a pixel in the first display frame is (0.6,0.3), it is in the red zone  10  according to  FIG. 3 , therefore, a counter of the red CRed adds a count of one. If all the pixels selected are counted by the counters respectively, go to the next step; if not, go back to step  120 , such that each pixel gets an individual counter value therein finally. 
         [0017]    In step  140 , a dominant color according to the counter value totals of each color zone is determined. The dominant color may be determined by one of the three rules below. First rule: if a color has a counter value equal to or greater than a total sum of the counter values for all of the other colors, that color is then chosen as a dominant color. Second rule: if a color has a counter value greater than 20% of the total sum of all the counter values of all colors (and including the counter value of the color itself), that color is chosen as a dominant color. Third rule: if a color has a counter value greater than that of any counter value of each of the other colors, that color is chosen as a dominant color. In another embodiment, the dominant color may be determined by the second rule and the third rule cooperatively. 
         [0018]    In step  150 , the color of a second display frame following the first frame is enhanced according to the dominant color. If the dominant color in the step  140  is a primary color, for example, the dominant color is red, then a pixel in the second frame has the R, G, B values (200, 15, 15), and the corresponding trichromatic coordinate of the pixel is (0.627, 0.212). Referring to  FIG. 3 , the corresponding trichromatic coordinate of the pixel is found to be located in the red zone  10 , and that red is a primary color, then the display device enhances the R value of the pixel, which is 200 in this example, by 20% before the second frame is displayed on the display device. That is, the R, G, B value of the pixel displayed on the display device is enhanced to (240, 15, 15). If the dominant color is not a primary color, for example, the dominant color is cyan, a pixel of the second display frame with R, G, B values (0, 240, 240), thus the trichromatic coordinate of the pixel is (0.219, 0.352). Referring to  FIG. 3 , the corresponding trichromatic coordinate of the pixel is found to be located in the cyan zone  40 . The display device increases the green color value and the blue color value by 20% (upper limit value is 255) as enhancement. That is, the R, G, B value of the pixel of the second display frame displayed on the display device is enhanced to (0,255,255). In another example, if the dominant color is a primary color other than cyan, and a pixel of the following second display frame is not located in the primary color zone (for example, cyan, purple and yellow), the pixel is then not color enhanced in the display device. 
         [0019]    In the above embodiments, the first display frame is selected and analyzed in the method for color enhancement, and then a dominant color is determined. The second display frame is then enhanced according to the dominant color, such that the second display frame can be dynamically color enhanced. 
         [0020]    Finally, while particular embodiments have been described, the description is illustrative and is not to be construed as limiting. For example, various modifications can be made to the embodiments by those of ordinary skill in the art without departing from the true spirit and scope of the invention as defined by the appended claims.