Surrounding light judging method and video compensation control apparatus using the same

Abstract: A surrounding light judging method and a video compensation control apparatus which are capable of securing an optimum quality of picture by detecting a color signal near a video displaying instrument, judging a lighting environment from the detected color signal, and automatically correcting a video data in accordance with the judged lighting environment and a variation in the lighting environment. The method includes the steps of detecting a first color component and a second color component from a surrounding light, and judging a kinds of the light using the first and second color components.

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a surrounding light judging method and a video compensation control apparatus using the same, and in particular to an improved surrounding light judging method and a video compensation control apparatus using the same which are capable of providing an optimum viewing quality by automatically correcting video data in accordance with a surrounding lighting environment of a video displaying instrument. 2. Description of the Conventional Art Generally, a color adaptation phenomenon is defined as a phenomenon where an original color is recognized by human eyes as another color because human eyes are made adaptive by a predetermined light such as an incandescent light, a fluorescent light, etc. Therefore, a television viewer may recognize the colors reproduced by a color picture tube as other colors by the above-described color adaptation phenomenon, so that it is impossible to enjoy the optimum quality of colors. Thus, video data is corrected based on the surrounding light environment using a video correction (compensation) apparatus to provide an optimum quality of colors. As shown in Figure 1, the conventional video compensation apparatus includes an RGB sensor 10 for detecting a RGB data based on the surrounding environment, a key selector 20, a microcomputer 30 for summing a RGB data detected by the RGB sensor 10 and outputting a video compensation data corresponding to the summed value, and a combined video signal processor 40 for processing a combined video signal received through the antenna and recovering a video signal and an audio signal. The combined video signal processor 40 includes a tuner 11 for selecting a predetermined channel, an IF processor 12 for converting the combined video signal of the selected channel into an intermediate frequency signal, a detector 13 for detecting an intermediate frequency signal from the IF processor 12 and separating the detected intermediate frequency signal into a video intermediate frequency signal and an audio intermediate frequency signal, an audio processor 14 for recovering the audio intermediate frequency signal from the detector 13 and outputting the recovered signal to a speaker 15, and a video processor 16 for recovering the video intermediate frequency signal from the detector 13 to an RGB signal in accordance with the video compensation data output from the microcomputer 30. The operation of the conventional video compensation apparatus will now be explained with reference to the accompanying drawings. First, after the television is turned on using the key selector 20, when a predetermined selection key is inputted, the microcomputer 30 outputs a channel selection data based on the output from the key selector 20. In addition, the microcomputer 30 receives an RGB data with respect to the surrounding environment detected by the RGB sensor 10, sums the RGB data (S=D R +D G +D B ), compares the previously set control data table shown in Figure 2A with the sum value S of the RGB data, judges the surrounding light level and sets a control data and a W/B (White/Balance) corresponding to the judged surrounding light level. Namely, as shown in Figures 2A and 3A, when the sum value (S) is 0≤S<2, the microcomputer 30 judges the surrounding environment as a dark room, sets the control data as Contrast=30, Brightness=40, Saturation=40, and sharpness=30 and performs a first compensation step in Steps S3 and S4. When the sum value S is 2≤S<45 as in Step S5, the control data based on the sum value S is set, and the second through sixth compensation steps are performed as shown in Steps S5 through S14 of Fig.3A. In addition, when the sum value S is 45≤S, the microcomputer 30 judges the surrounding light as a daylight, sets the control data as Contrast=100, Brightness=60, Saturation=55 and sharpness=60, and performs a seventh compensation step as in Step S15. More particularly, in the first through seventh compensation steps, the microcomputer 30, as shown in Figures 2B and 3B, judges that the surrounding light corresponds to a dark room when the sum value S is S<2, sets the W/B to 9000°K in Steps S20 through S23. When the sum value S is S≥45, the surrounding light is judged as a daylight, and then the W/B is set as 13 000°K in Steps S24 and S25. When the sum value S is 2≤S≤45, the W/B is set in accordance with the subtracted value between R and B in Step S26. Namely, when the subtracted value S1 is S1= 0 the surrounding light is judged to be a fluorescent lamp, and then the W/B is set as 12000°K in Steps S27 and S28. When the subtracted value is S1≤5, the surrounding light is judged to be a fluorescent light and an incandescent lamp, and the W/B is set to 11000°K in Steps S29 and S30. When the subtracted value is S1≥5, the surrounding light is judged to be an incandescent lamp, and the W/B is set to 10 000°K in Step S31. The control data and W/B determined by the microcomputer 30 based on the detected surrounding light, as described above, are used to adjust video signals to being displayed on the tube 17. For example, the tuner 11 selects a predetermined channel in accordance with the channel selection data from the microcomputer 30, and the IF processor 12 converts the combined video signal of the selected channel into an intermediate frequency signal. The detector 13 separates the converted intermediate frequency signal into a video intermediate frequency signal and an audio frequency signal. Consequently, the separated audio intermediate frequency signal is recovered to an audio signal by the audio processor 14 and outputted to the speaker 15. The video processor 16 receives a video intermediate frequency signal from the detector 13, compensates the video signals in accordance with the video compensation data set by the microcomputer 30 and the W/B, and displays the compensated video signals on the color picture tube 17. However, in the conventional video compensation apparatus, when the brightness of the surrounding light is decreased, the sum value S is decreased. Then the brightness of the surrounding light may be erroneously detected due to the low sum values, which can cause a malfunction in the system. In addition, when the brightness of the surrounding light reaches a certain high value, for example, when the summed value S is S≥46, since the microcomputer 30 sets the W/B to 1300°K, regardless of how high S may be in this manner, it is impossible to accurately set the W/B based on the brightness, especially when the sum value S is high. . Furthermore, in the conventional video compensation apparatus, since the color adaptation phenomenon is not considered, it is impossible to secure a quality picture. SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a surrounding light judging method and a video compensation control apparatus using the same which overcome the aforementioned problems encountered in the conventional art. It is another object of the present invention to provide an improved surrounding light judging method and a video compensation control apparatus which are capable of providing an optimum quality of picture by detecting a color signal near a video displaying instrument, judging a lighting environment from the detected color signal, and automatically correcting a video data in accordance with the judged lighting environment and a variation in the lighting environment. To achieve the above objects, there is provided a surrounding light judging method which includes the steps of detecting a first color component and a second color component from a surrounding light, and judging a kinds of the light using the first and second color components. Additional advantages, objects and features of the invention will become more apparent from the description which follows. BRIEF DESCRIPTION OF THE DRAWINGS The present invention will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only, and thus are not limitative of the present invention, and wherein: Figure 1 is a bock diagram illustrating a conventional video compensation apparatus; Figure 2A is a setting table of a control data based on a sum value S which is used in the conventional apparatus of Fig. 1; Figure 2B is a setting table of W/B based on a sum value S which is used in the conventional apparatus of Fig. 1; Figure 3A is a flow chart illustrating a compensation steps based on a sum value S which is used in the conventional apparatus of Fig. 1; Figure 3B is a flow chart illustrating a W/B setting steps based on a sum value S and subtracted value S1 which is used in the conventional apparatus of Fig. 1; Figure 4A is a block diagram illustrating a video compensation control apparatus according to one embodiment of the present invention; Figure 4B is a detailed circuit diagram illustrating a color detector in the apparatus of Figure 4A; Figure 5A is a table illustrating video compensation data corresponding to a surrounding light judged by a color component ratio according to one embodiment of the present invention; Figure 5B is a table illustrating a setting value of a video data based on a sum value S according one embodiment of to the present invention; Figure 6 is a flow chart illustrating a compensation video data setting step and a video compensation step based on a color component ratio according to one embodiment of the present invention; Figures 7A and 7B are flow charts illustrating a light detecting step based on a color component ratio and a video compensation step based on a color characteristic according to one embodiment of the present invention; Figure 8 is a graph illustrating an output voltage ratio between Ye and Cy with respect to an incandescent lamp and a fluorescent lamp according to one embodiment of the present invention; Figure 9 is a graph illustrating an output voltage ratio between Ye and Cy based on a color temperature according to one embodiment of the present invention; and Figure 10 is a view illustrating a judging level of a surrounding light source which is determined by an output voltage ratio of two photo sensors according to one embodiment of the present invention. DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS Figure 4A illustrates a video compensation control apparatus 500 according to the present invention which includes a color detector 100 for detecting a Cy and Ye color component from the component of a surrounding light and thereby outputting R' and B' values, an A/D converter 200 for analog-to-digital converting the R' and B' values from the color detector 100 and thereby R'' and B'' values, a microcomputer (MPU) 300 for judging characteristics (e.g. type) of a surrounding light in accordance with the R'' and B'' values converted by the A/D converter 200 and outputting a video compensation data in accordance with the judged light characteristics, and a combined video signal processor 40 for processing the combined video signals received through an antenna, recovering the signals into a video signal and an audio signal, and processing video signal based on the video compensation data output from the MPU 300. As shown in Figure 4A, the color detector 100 includes a Cy and Ye sensor 21 (21-1 and 21-2), an offset controller 22 (22-1, 22-2, 22-3 and 22-4), an amplifier 23 (23-1 and 23-2), low pass filters 24 and 25, and an amplifier 26 (26-1 and 26-2). The combined video signal processor 40 is configured identically to the conventional art. Therefore, in the drawings, only the tuner 11, the detector 13, the audio signal processor 14, the video signal processor 16 and the CPT 17 are shown therein. The operation of the video compensation control apparatus 100 according to the present invention will now be explained with reference to the accompanying drawings. When the Cy and Ye sensors 21-1 and 21-2 of the color detector 100 detect Cy and Ye color components from light near a color display instrument, the amplifiers 23-1 and 23-2 amplify the Cy and Ye color components detected in accordance with the offset voltage set by the input offset voltage controllers 22-1 and 22-2 and the output offset voltage controllers 22-3 and 22-4. The amplified Cy and Ye color components are filtered by the low pass filters 24 and 25 and outputted as color signals R' and B' through the amplifiers 26-1 and 26-2. At this time, the resistors R12 and R32 control the ratio between the Cy and Ye color components and the color signals R' and B'. Then, the color signals R' and B' from the color detector 100 are converted into digital color signals R'' and B'' by the A/D converter 200, and the microcomputer 300 generates various video compensation data based on the digital color signals R'' and B''. The video compensation data setting procedures according to the present invention based on the surrounding light characteristics judged by the use of the color signal component ratio will now be explained. As shown in Figure 6, the microcomputer 300 computes in steps S100 and S101 a value G'' from the digital color signals R'' and B'' from the A/D converter 200, wherein G''=(R''+B'')/3. The computed value G'' and values R'' and B'' are summed (SUM"= R" + G" + B", in step S102). In addition, the color signal component ratio (Ratio=B''/R'') of the values B'' and R'' are computed in step S103. Then, the microcomputer 300 sets in step S104 the video compensation data based on the sum value (SUM) using a chart such as one as shown in Figure 5B. The video compensation data includes, but is not limited to, Contrast, Brightness, Saturation, and Sharpness. Then, the MPU 300 judges the kind (type) of the light in accordance with the color signal component ratio (Ratio=B''/R'' ). The color temperature (W/B), TINT, X-axis, Sub-color, etc. which are previously stored in the table as shown in Figure 5A are set in accordance with the judged light type for thus performing a compensation operation. More specifically, when the color signal component ration is Ratio>2, then the light is judged as a daylight. Therefore, first compensation data having a color temperature (W/B) of 11000°K, TINT(G)=1, and X-axis=Japan is output in Steps S105 and S106. In addition, when the color signal component ratio is 1<Ratio<2, the light is judged as a C-light source (fluorescent lamp), and second compensation data having a color temperature (W/B) of 9500°K, TINT (G)=3, and X-axis=Japan is output in Steps S107 and S108. In addition, the third and fourth compensation data are outputted , respectively, when the color signal component ratio is 0.8<Ratio<1, and the color signal component ratio is Ratio<0.8, for controlling a video signal in Steps S109 through S112. When the surrounding light corresponds to the night light (dark state) , the color signal component ratio is Ratio=0/0, and it is impossible to compute compensation data. In this case, the video signal is controlled using a light such as the light source "A". Consequently, the video signal processor 16 of the combined video processor 40 re-processes the video signals in accordance with the video compensation data output from the microcomputer 300 and displays the processed video signals on the screen of the color picture tube 17. The video compensation data is also stored in memory or other storage unit. After the video signal is compensated, the microcomputer 300 continuously receives color signals R'' and B'' output detected by the A/D converter 200, computes a value G'', a SUM value, and a ratio, and determines characteristics of the surrounding light using the computed values (e.g. color signal component ratio) in Steps S100-S114 in Fig. 7A. The recent computed color signal component ratio and the previously stored color signal component ratio are then compared to each other to determine whether the surrounding light is varied in Step S115. At this time, if the light is not varied, the video compensation data is outputted in accordance with the sum value SUM in Step S116. If the light is varied, in step S117 and S118, the current video compensation data is maintained for a predetermined time based on the color adaptation phenomenon of eyes, and then a video compensation operation is performed based on the color adaptation. Particularly, as shown on Fig.7B, when the color signal component ratio is Ratio>2, the first compensation data is gradually varied based on the color adaption phenomenon and then is outputted in Steps S120 and S121. That is, when the color signal component ration is 1<Ratio<2, the second compensation data is gradually varied and outputted in Steps S121 and S122. In addition, when the color signal component ratio is 0.8<Ratio<1, and the color signal component ratio is Ratio<8, the third and fourth compensation data are gradually varied and outputted in Steps S123 through S126. When the lighting condition is changed, the compensation data is varied step-by-step based on the color adaption of humans. Therefore, the video signal processor 16 of the combined video processor 40 processes the video compensation data which is varied step-by-step bt the microcomputer 300 and displays the compensated video signal, on the screen of the color picture tube 17, so that any television viewer can enjoy a quality picture irrespective of surrounding light variations. In addition, the present invention provides a method for judging the surrounding light based on the ratio of the output voltages of the Cy and Ye sensors 21-1 and 21-2. In this method, first, the two magnetic pole values of the output voltages Ye and Cy from the Cy and Ye sensors 21-1 and 21-2 are changed to the three magnetic pole values of X, Y, and Z based on the international lighting committee (CIE) as follows. Therefore, it is possible to obtain an X-Y coordinate of a light based on the values of X, Y and Z based on Equation 1. x= X X+Y+Z , y= Y X+Y+Z , z= Z X+Y+z Thereafter, Equation 2 is adapted to Equation 1 and then the resultant value is divided by the magnetic pole value "Y" for thus obtaining the following expression. The first row and third row of Equation 3 are reversely changed, thus obtaining the following equation. Therefore, an expression of Y=a 21 Ye+a 22 C is obtained. In addition, assuming the following condition is made based on Equation 3: The following Equation 5 is obtained. In addition, the relationship between the output voltages Ye and Cy of the Cy and Ye sensors 21-1 and 21-2 based on Equation 5 may be expressed as follows. Ye = b 11x + b 12z b 21x + b 22z · Cy Therefore, the ratios between the output voltages Ye/Cy with respect to the fluorescent lamp (x=0.313, y=0.332, W/B=6500°K) and the incandescent lamp (x=0.417, y=0.396, W/B=3300°K) are shown in Figure 8. As a result, if the ratio of the voltage Ye with respect to the voltage Cy is about 1.4, this ratio corresponds to the incandescent lamp, and the ratio is about 0.9, the ratio corresponds to the fluorescent lamp. In addition, an experiment was performed based on the output voltage ratio Ye/Cy at a color temperature range of 2000°K to -8000°K at every 100°K interval with respect to - 10,0,10,30 and 50MPCD in order to study the relationship between the output voltages Cy and Ye based on the color temperature W/B. As a result of the experiment, as the value of MPCD is increased, the output voltage ratio of Ye/Cy is increased. Even when the identical output voltage is provided, the color temperature is different. However, the color temperature range of the incandescent lamp. with respect to the surrounding light source was 3000°K to 4000°K, and the MPCD was about -10° . The color temperature range of the fluorescent lamp. was 6500°K to 7500°K, and the MPCD was 50 to 60. As shown in Figure 9, the output voltage ratio of Ye/Cy in the case of the incandescent lamp was 1/17 to 1.39, and the output voltage ratio of Ye/Cy in the case of the fluorescent lamp was 0.88 to 0.97. In addition, when the fluorescent lamp and the incandescent lamp are mixed, as shown in Figure 10, the output voltage ratio is defined between the output voltage ratios of Ye/Cy of the incandescent lamp and the fluorescent lamp. Therefore, it is possible to recognize the kind of the surrounding light source using the output voltage ratio of the Cy and Ye sensors 21-1 and 21-2. As described above, in the present invention, it is possible to secure the optimum picture quality by detecting the surrounding light environment near the video display instrument and automatically correcting the video data in accordance with any variation of the detected light and the lighting environment. In addition, in the present invention, since only two outputs R'' and B'' are used, it is possible to reduce the number of ports of the input side from 3 to 2, and reduce the deviation due to the offset by adjusting the input and output offset voltage. Furthermore, it is possible to improve the picture quality by using the color adaptation phenomenon of humans and it is possible to accurately maintain the W/B with respect to a predetermined brightness from the high brightness to the low brightness using the color signal component ratio. Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope of the invention as recited in the accompanying claims.

Claims: An apparatus for determining characteristics of a light surrounding a video image displaying monitor (17), and thereby performing a compensation operation on said video image, said apparatus comprising: a detector (100) for sensing a first primary color component (Cy) and a second primary color component (Ye) in said surrounding light, a microcomputer (300) connected to said detector for receiving a first primary color component value signal (R") and a second primary color component value signal (B") derived from said first and second primary color components and computing, on the basis of said first and second value signals (R", B"), the values of two current parameters (SUM, B"/R"), a storage unit for storing : predetermined values of said current parameters, sets of parameter values characterizing said surrounding light, each set being related to a couple of predetermined values, and sets of compensation parameter values, each set of compensation parameter values being related to a couple of said predetermined values, means for comparing the current values with said predetermined values, and means for forming, on the basis of said comparison and said related compensation parameter values, a compensation signal which is intended to feed the displaying monitor, characterized in that said current parameters are : a sum between said first (R") and second (B") color component values, in order to determine at least one video compensation data among : brightness, contrast, saturation and sharpness, and a ratio (B"/R") between said first (R") and second (B") color component values, in order to determine at least one color temperature compensation data, accordingly with said video compensation data. The apparatus according to claim 1, characterized in that said color temperature compensation data comprise at least one data among : white balance (W/B), TINT, X-axis, and sub-color. The apparatus according to claims 1 or 2, characterized in that said first and second primary colors are cyan (Cy) and yellow (Ye). A method for determining characteristics of a light surrounding a video image displaying monitor (17), and thereby performing a compensation operation on said video image, said method comprising the steps of : a) sensing a first primary color component (Cy) and a second primary color component (Ye) in said surrounding light, b) computing, on the basis of said first and second components, current values of two current parameters (SUM, B"/R"), c) comparing said current values with predetermined values of said current parameters, d) estimating a set of parameter values characterizing said surrounding light, on the basis of the comparison of step c), and e) determining a set of compensation related to said characterizing parameter values for forming, on the basis of said comparison and said related compensation parameter values, a compensation signal which is intended to feed the displaying monitor, characterized in that said current parameters are : a sum between said first (R") and second (B") color component values, in order to determine at least one video compensation data among : brightness, contrast, saturation and sharpness, and a ratio (B"/R") between said first (R") and second (B") color component values, in order to determine at least one color temperature compensation data, accordingly with said video compensation data. The method according to claim 4, characterized in that said color temperature compensation data comprise at least one data among : white balance, TINT, X-axis, and sub-color. The method according to claim 5, characterized in that said first and second primary colors are cyan (Cy) and yellow (Ye). The method according to claims 5 or 6, characterized in that the step of forming said compensation signal is delayed with a predetermined time value (Tcnt) when a variation of said current parameters is detected in steps a) and b). The method according to claim 7, characterized in that , when a variation of said current parameters is detected within a range including a plurality of said predetermined values, the step of forming a compensation signal is performed step-by-step, successively on the basis of each of said plurality of predetermined values. The method according to claims 5, 6, 7 or 8, characterized in that step b) comprises the operations of : b1) converting said first and second primary color components into three magnetic pole values (X, Y, Z), each of said pole values having a linear form, by using a predetermined matrix, b2) using a converted form of said predetermined matrix for computing said current ratio value, in a two coordinate base (X-Y).

Inventors: CHOI DUK KYU, JEON SUNG KYU, KIM BYUNG GON, KOO JA HWAN, KWON KI RYONG, LEE SANG HUN, SONG KYU IK, CHOI, DUK KYU, JEON, SUNG KYU, KIM, BYUNG GON, KOO, JA HWAN, KWON, KI RYONG, LEE, SANG HUN, SONG, KYU IK
Applicants: LG ELECTRONICS INC, LG ELECTRONICS INC.
Application year: 1997
Main classification: H04N9
IPC codes: H04N9, H04N5, G01J5, H04N17, G01J3, G09G3