Abstract:
A white balance adjusting circuit which detects the ratio of color components in an illumination light around an object, independently from an image sensing system, and controls the gain of each color signal coming from the image sensing system, characterized in that it comprises means for correcting a signal indicative of the ratio of color components according to the color signal, not gain-controlled, coming from the image sensing system.

Description:
This application is a continuation of application Ser. No. 387,695, filed 7/31/89 now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     This invention relates to a white balance adjusting circuit for color video cameras. 
     2. Description of the Related Art: 
     White balance adjustment is one of important signal control methods for color television cameras. White balance adjustment means that the gain for each color component of a sensed image signal is adjusted so that the ratio of three primary color components (red, green and blue) in an illumination (that is, ambient light) will be 1:1:1 for a white object. The ratio of three primary color components depends upon the type of illumination. Therefore, if the white balance adjustment is not correct, the real colors of an object cannot be correctly reproduced in the picture of the object, that is, the whole picture is bluish or reddish. 
     So far, external-metering automatic tracking type white balance adjusting devices have been provided (for example, in Japanese Laid-Open Patent Application Nos. Sho 54-53924 and Sho 55-158792) to assure an accurate and automatic white balance adjustment. To assure an automatic white balance adjustment, these devices are designed so as to detect the ambient light for an object by means of another optical system than a photographic optical system, and control the gain for each color component of a sensed image signal according to the results of detection. Concretely, each of these devices detects 2 or 3 different color components of the ambient light by means of 2 or 3 colorimetric sensors provided with color filters mounted on their fronts, and controls the gain of a color signal amplifier for the output of an image sensor according to the ratio of the detected values. 
     However, the conventional devices present a disadvantage in that, if an object or its surroundings have specific colors, the incident light in the colorimetric sensors may be influenced by these colors to deteriorate the colorimetric accuracy. If a red object is photographed, for example, the colorimetric sensors receive a red color signal having a greater amount of red components than that contained in the illumination light. As the result, the white balance adjustment is so deviated as to provide an entirely bluish picture. 
     SUMMARY OF THE INVENTION 
     An object of this invention is to provide a white balance adjusting circuit that is little affected by the colors of an object and its surroundings. 
     As an embodiment of this invention, a white balance adjusting circuit, which detects a ratio of color components in an illumination light around an object, independently from an image sensing system, and controls a gain of each color signal coming from the image sensing system, is characterized in that it comprises means for correcting a signal indicative of the ratio of color components according to the color signal, not gain-controlled, coming from the image sensing system. 
     Provided with the correcting means, the white balance adjusting circuit can correct any deviation of white balance due to the colors of an object, so that it is unlikely to be affected by the colors of the object and its surroundings. 
     Another embodiment of this invention, a white balance adjusting circuit, which detects a ratio of color components in an illumination light around an object, independently from an image sensing system, and controls a gain of each color signal coming from the image sensing system, is characterized in that it comprises means for correcting a signal indicative of the ratio of color components according to the color signal, not gain-controlled, coming from the image sensing system and a signal indicative of a focal length of a photographic optical system. 
     Provided with the correcting means, the white balance adjusting circuit can correct any deviation of white balance due to the colors of an object, so that it is unlikely to be affected by the colors of the object and its surroundings. 
     These and other objects and features of this invention will be better understood by reading the detailed description as given below and referring to the drawings annexed hereto. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram showing the configuration of an embodiment according to this invention. 
     FIG. 2 is a block diagram showing the detailed configuration of the correcting signal generating circuit 48 as shown in FIG. 1. 
     FIG. 3 is a schematic view showing the visual fields of the photographic optical system 10 and the colorimetric optical system 30 as shown in FIG. 1 for comparison. 
     FIG. 4 is a block diagram showing the partial configuration of a variant embodiment employing a digital computing circuit. 
     FIG. 5 is a flow chart showing the operations of the variant embodiment as shown in FIG. 4. 
     FIG. 6 is a block diagram showing the configuration of another embodiment according to this invention. 
     FIG. 7 is a block diagram showing the detailed configuration of the correcting signal generating circuit 48&#39; as shown in FIG. 6. 
     FIG. 8 is a block diagram showing the partial configuration of a variant embodiment employing a digital computing circuit. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     The preferred embodiments of this invention will be described below by referring to the drawings annexed hereto. 
     FIG. 1 is a block diagram showing the configuration of an embodiment according to this invention. In this figure, a photographic optical system 10 comprises photographic lenses, an iris and optical filters. A CCD image sensor 12 is provided with minute color filters, for example, red, blue and green, placed like a mosaic in its front. A color separation circuit 14 samples and holds the sensed image signals outputted by the image sensor 12, and separates a luminance signal Y and color signals R, G and B from one another. A luminance processing circuit 16 is used for any publicly known processing such as low-band filtering, clamp, gamma correction or clipping. A red processing circuit 18, a green processing circuit 20 and a blue processing circuit 22 carry out the same processing as the luminance processing circuit 16, and each of them is provided with a variable gain amplifier. A matrix circuit 24 forms color difference signals R - Y and B - Y from the signals R, G and B outputted by the red processing circuit 18, the green processing circuit 20 and the blue processing circuit 22 respectively. A video encoder 26 modulates the color-difference signals from the matrix circuit 24, combines them with a luminance signal coming from the luminance processing circuit 16, adds a synchronizing signal to the combined signals, and delivers video signals to a video output terminal 28. 
     A colorimetric optical system 30 for white balance adjustment comprises a condenser lens, a diffusing filter and an infrared removing filter. An R sensor 32 detects red components, a G sensor 34 detects green components, and a B sensor 36 detects blue components. 38, 40 and 42 are logarithmic amplifiers, and 44 and 46 are subtracters. The outputs C R1  and C B1  of the subtracters 44 and 46 correspond to the white balance gain control signals as used in the conventional white balance adjusting devices. A correction signal generating circuit 48 produces correction signals d R  and d B  from the outputs R, G and B of the subtracters 44 and 46 and the color separation circuit 14. Adders 50 and 52 add correction signals d R  and d B  to the outputs C R1  and C B1  of the subtracters 44 and 46 respectively. The outputs C R2  and C B2  of the adders 50 and 52 are supplied to the gain control terminals of the variable gain amplifiers in the red processing circuit 18 and the blue processing circuit 22 respectively. 
     The operations of the embodiment as shown in FIG. 1 will be described below. An object light enters the imaging plane of the CCD image sensor 12 through the photographic optical system 10. The image sensor 12 outputs a photoelectrically-converted signal corresponding to the image of the object. The color separation circuit 14 forms a luminance signal Y from the output of the image sensor 12, and separates the color signals R, G and B one from another. These signals Y, R, G and B outputted by the color separation circuit 14 are then processed by the luminance processing circuit 16, the red processing circuit 18, the green processing circuit 20 and the blue processing circuit 22 respectively. The matrix circuit 24 combines the outputs of the red processing circuit 18, the green processing circuit 20 and the blue processing circuit 22 to produce color-difference signals R - Y and B - Y. The encoder 26 combines the outputs of the luminance processing circuit 16 and the matrix circuit 24 to produce a video signal, which is then supplied to a video apparatus such as a video recorder through the video output terminal 28. The red processing circuit 18 and the blue processing circuit 22 control the gains for white balance adjustment. 
     The operations of the white balance adjusting circuit will be described below. The light of an object and its surroundings is received by the sensors 32, 34 and 36 through the colorimetric optical system 30. The sensors 32, 34 and 36 output electric signals S R , S G  and S B  corresponding to the levels of the color components received by the sensors 32, 34 and 36 respectively. The outputs of the sensors 32, 34 and 36 are logarithmically compressed by the logarithmic amplifiers 38, 40 and 42 respectively. The subtracter 44 subtracts the output of the logarithmic amplifier 40 from the output of the logarithmic amplifier 38, while the subtracter 46 subtracts the output of the logarithmic amplifier 40 from the output of the logarithmic amplifier 42. As the results, the output C R1  of the subtracter 44 is equivalent to log (S R  /S G ), while the output C B1  of the subtracter 46 is log (S B  /S G ). The correction signal generating circuit 48 creates correction signals d R  and d B  from the outputs C R1  and C B1  of the subtracters 44 and 46 and the color signal outputs R 1 , G 1  and B 1  of the color separation circuit 14. The adders 50 and 52 add the correction signals d R  and d B  to the outputs C R1  and C B1  of the subtracters 44 and 46 to produce the outputs C R2  and C B2  respectively, which then control the gains in the R processing circuit 18 and the B processing circuit 22 respectively. 
     FIG. 2 is a block diagram showing the detailed configuration of the correction signal generating circuit 48 in the embodiment of this invention as shown in FIG. 1. In this figure, 60, 62 and 64 indicate smoothing circuits, 66 and 68 are variable gain amplifiers having an exponential function as the gain control characteristic, 70 and 72 are subtracters, and 74 and 76 are amplifiers having gains K R  and K B  respectively. The color signals R 1 , G 1  and B 1  coming from the color separation circuit 14 are smoothed by the smoothing circuits 60, 62 and 64 respectively. The output R S1  of the smoothing circuit 60 and the output B S1  of the smoothing circuit 64 are amplified by the variable gain amplifiers 66 and 68 respectively. The gains in the variable gain amplifiers 66 and 68 are controlled by the outputs C R1  and C B1  of the subtracters 44 and 46 respectively. The subtracter 70 subtracts the output G S  of the smoothing circuit 62 from the output R S2  of the amplifier 66, while the subtracter 72 subtracts the output G S  of the smoothing circuit 62 from the output B S2  of the amplifier 68. The amplifiers 74 and 76 multiply the outputs of the subtracters 70 and 72 by K R  and K B  to produce the correction signals d R  and d B , which are then supplied to the adders 50 and 52 respectively. 
     Next, the operations of this embodiment in the actual photographing conditions will be described below. FIG. 3 shows an image sensing apparatus 78 which has a configuration as shown in FIG. 1, an object 79 and a background 80. It is assumed that a region Q is the visual field of the colorimetric optical system 30 (or the coverage of a lighting source) and that a region P is the object scope of the photographic optical system 10. If the region P has a part in dark color, for example, the dark color should influence at least on a part, P/Q, of the incident light onto the colorimetric optical system 30. This can be expressed by the formulas as given below. Assuming that only an object image is taken by the photographic optical system 10, the signals R 1 , G 1 , S R , S G  and C R1  as shown in FIG. 1 can be expressed by the following equations: 
     
         R.sub.1 =L×R.sub.R ×K.sub.L ×G.sub.C 
    
     
         G.sub.1 =L×R.sub.G ×G.sub.C 
    
     
         S.sub.R =L×A×K.sub.L ×G.sub.W 
    
     
         S.sub.G =L×R.sub.G ×G.sub.W 
    
     
         C.sub.R1 =log (A×K.sub.L /R.sub.G) 
    
     wherein: 
     A=refrection factor of red component in region Q 
     =(1-P/Q)×R G  +R R  ×P/Q 
     L=object illumination 
     R R  =reflection factor of red component in object 
     R G  =reflection factor of green component in object and reflection factor of red and green components in the part other than the object 
     K L  =ratio of red to green component 
     G C  =gain in image sensing system 
     G W  =gain in colorimetric system. 
     Since the gain control characteristic of the amplifiers 66 and 68 is an exponential function, the correction signal d R  can be expressed by the following equation: ##EQU1## 
     If L×G C  =1 and R G  =1 are set by a stop, this means that when the region Q is white and a reflection factor of green component in the region P is &#34;1&#34;, the following equations are obtained: 
     
         C.sub.R1 =log (A×K.sub.L) . . .                      (1) ##EQU2## 
    
     Table 1 lists the values C R1  and d R  according to the value R R  decreasing from 1 (that is, the blue color being more darkened), assuming P/Q=0.2, K L  =1 and K R  =1 in the equations (1) and (2). It is shown that the values C R1  and d R  draw similar curves so that the output of the adder 50 is kept constant irrespective of the color saturation of the region P, and that C R1  ≈-d R , that is, the error can be almost completely corrected, if K R  ≈-0.2. In fact, the picture may be more natural in C R1  &gt;-d R  (at a small correction value) or C R1  &lt;-d R  (in an over-correction) than in C R1  =-d R  Therefore, the value d may be modified properly 
     
                       TABLE 1______________________________________R.sub.R        C.sub.R1                  d.sub.R______________________________________1              0       00.8            -0.040  -0.1660.6            -0.083  -0.3470.4            -0.128  -0.5450.2            -0.174  -0.7620              -0.223  -1______________________________________ 
    
     wherein P/Q=0.2, K L  =1 and K R  =1. 
     FIG. 4 is a block diagram showing the partial configuration of a variant embodiment employing a digital computing circuit instead of the correction signal generating circuit 48 and the adders 50 and 52 as shown in FIG. 1. In this figure, a microcomputer unit 82 comprises an analog data switch 83, a system bus 84, an A/D converter 85, a central processing unit (CPU) 86, a memory 87 provided with a random access memory and a read-only memory (not shown), and D/A converters 88 and 89. 
     FIG. 5 is a flow chart illustrating the operations of the microcomputer unit 82. The color signals R 1 , G 1  and B 1  from the color separation circuit 14 are smoothed by the smoothing circuits 60, 62 and 64 respectively, as shown in FIG. 2. The signals C R1  and C B1  and the outputs of the smoothing circuits 60, 62 and 64 are supplied by the switch 83 to the A/D converter 85 in the preset order (Step S1). The output data of the A/D converter 85 are written in the memory 87 through the system bus 84 and the CPU 86 (Steps S2 and S3). The CPU 86 carries out the same operations as the circuit as shown in FIG. 2 by using the data stored in the memory 87 (Step S4). The results of operations, digital data C R2  and C B2 , are converted by the D/A converters 88 and 89 respectively into analog signals, which are then supplied to the R processing circuit 18 and the B processing circuit 22 respectively (Step S5). These analog signals control the gains in the R processing circuit 18 and the B processing circuit 22 to adjust the white balance. 
     From the description as given above, it will be easily understood that the white balance adjusting circuit according to this invention can eliminate effectively any error due to the colors of an object in the white balance adjustment, though the configuration of the circuit is very simple. 
     FIG. 6 is a block diagram showing the configuration of another embodiment according to this invention. In this figure, the same reference numbers indicate the same corresponding elements as shown in FIGS. 1 to 5. A focal-length detecting circuit 47 comprises, for example, a potentiometer coupled to a zoom ring to detect the focal length of the photographic optical system 10 and produces a signal S Z  indicative of the focal length. A correction signal generating circuit 48&#39; produces correction signals d R  and d B  from the outputs C R1  and C B1  of the subtracters 44 and 46, the focal length signal S Z  and the outputs R, G and B of the color separation circuit 14. 
     FIG. 7 is a block diagram showing the detailed configuration of the correction signal generating circuit 48&#39; in the second embodiment of this invention. In this figure, the same reference numbers indicate the same corresponding elements as shown in FIGS. 1 to 6. This correction signal generating circuit 48&#39; is different from the similar circuit 48 as shown in FIG. 2 in the point that the gains in the amplifiers 74 and 76 are controlled by the focal length signal S Z . 
     Now, it will be examined how the correction value depends upon the focal length. If the focal length is doubled, for example, the area of the region P as shown in FIG. 3 is 25% larger. Assuming that the original value P/Q is 0.2, the new value is P/Q=0.05 after the focal length was doubled. Table 2 lists the values C R1  and d R  in these conditions. It shows that any error can be corrected at K R  ≈-0.05. Therefore, such a value may be selected for the gain K R  (or K B ) in the amplifier 74 (or 76) that is inversely proportional nearly to the squared focal length. 
     
                       TABLE 2______________________________________R.sub.R        C.sub.R1                  d.sub.R______________________________________1              0       00.8            -0.010  -0.1920.6            -0.020  -0.3880.4            -0.030  -0.5880.2            -0.041  -0.7920              -0.051  -1______________________________________ 
    
     wherein P/Q=0.05, K L  =1 and K R  =1. 
     FIG. 8 is a block diagram showing the partial configuration of the second embodiment employing a digital computing circuit instead of the correction signal generating circuit 48&#39; and the adders 50 and 52. In this figure, 83&#39; is an analog data switch, which is different from the switch as shown in FIG. 4 in the point that it receives also the signal S Z  from the focal-length detecting circuit 47. 
     The second embodiment thus configured is controlled by the same program as shown in FIG. 5. 
     From the description as given above, it will be easily understood that the second embodiment of this invention can eliminate effectively any error due to the colors of an object in the white balance adjustment, and that a more sophisticated white balance adjustment is provided by considering the influence of the focal length in a photographic optical system used.