Tint detection circuit

Abstract: Tint detection circuit for automatically selecting a desired tint in a video signal, comprising: a limit-signal generator (S1, 17, 18, 1, 15, 16) coupled to receive first (R), second (G) and third (B)color signals in order to generate first and second limit signals (CRITR, CRITB); a color-difference generator (11, 12) coupled to receive the first (R), second (G) and third (B) color signals in order to generate first and second color difference signals (G-R, G-B); and a window comparator (13, 14, 19) coupled to the limit-signal generator (S1, 17, 18, 1, 15, 16) and to the color-difference generator (11, 12) in order to determine whether the first and second color difference signals (G-R, G-B) are within the windows determined by the first and second limit signals (CRITR, CRITB) so as to supply a tint detection signal.

Description: The invention relates to a tint detection circuit. Such a circuit is used in a television camera, for example for adjusting skin contours in a different way than for other tints. It is also possible to control other aspects with a (skin) tint detection signal obtained, such as RGB-YUV matrixing, color saturation, etc . The invention also relates to a camera provided with a tint detection circuit. Yet another aspect of the invention relates to a method of automatically selecting a desired tint in a videosignal. A separate fleshtone contour control is described in US-A-4,506,293. The contour signal of the camera is modulated with a keying signal from a skintone detector. The circuit described in US-A-4,506,293 starts from a fixed vector in the R-Y, B-Y diagram, viz . the I axis. Other cameras (Ikegami) have a manually selectable vector (R-hue and B-hue keys) for selecting the desired skintone. Thus, all these skin contour control circuits known so far operate without an automatic selection of the skintone at which the circuit must be active. A problem of such an automatic or non-automatic selection of the skintone at which the circuit must be active is that skintones may vary considerably from person to person. A circuit having a fixed skin contour control as described in US-A-4,506,293 will therefore have to be little selective and will thus also select many unwanted background colors of the scene. A manual selection of the correct skintone is better but is rather cumbersome, which has a detrimental influence on the convenience of use of the Ikegami circuit. An automatic control device which automatically selects the skintone at which the circuit must be active will therefore be preferred from a user's point of view. It is, inter alia an object of the invention to provide an automatic control device which automatically selects a desired tint. To this end, a first aspect of the invention provides a circuit as defined in claim 1. A second aspect of the invention provides a camera as defined in claim 3. A third aspect of the invention provides a tint selection method as defined in claim 4. An advantageous embodiment of the invention defined in the sub-claim 2 has for its object to render the selection of tints automatic while making use of the greater part of existing automatic devices in the camera (automatic white balance control). These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter. In the drawings Fig. 1 is a block diagram of a known white balance control circuit; and Fig. 2 is a block diagram of a tint detection circuit according to the invention. Any known broadcast camera has a provision for performing a white balance by measuring in the video signal and controlling the gain in the red and blue color signals. This means that a given part of the scene is rendered colorless by manipulation of gains. The surface area in which the measurement is performed, and which is thus colorless controlled, may be indicated by a window within the image plane. The cameraman directs this window onto the plane which is to be colorless controlled, whereafter he activates the automatic control device which measures the color signals within this window and corrects the gain in the red and blue color signals in such a way that the red, green and blue color signals acquire equal amplitudes. Fig. 1 shows a block diagram of an existing white balance control circuit. The automatic white balance control circuit 1 attempts to render its red input signal a equal to the green input signal b by controlling the gain factor KR in the red video signal processing circuit 2. In the same manner the blue input signal c is rendered equal to the green signal b . The outputs d and e are a measure of the adjusted gain factors KR and KB, respectively. The outputs d and e may be both digital words and voltages. To be able to adjust fleshtone contours separately, a circuit selecting these fleshtones is required. A possible embodiment is shown in Fig. 2. Color difference signals (G-R) and (G-B) are made by means of subtracter circuits 11 and 12. These signals are compared with criteria CRITR and CRITB in window comparators 13 and 14. The respective comparators operate as follows: if CRITB-deltaB < (G-B) < CRITB+deltaB then SKINB = 1, else SKINB = 0 if CRITR-deltaR < (G-R) < CRITR+deltaR then SKINR = 1, else SKINR = 0 Here, deltaB and deltaR are values to be adjusted, which values determine the selectivity of the comparators. The outputs of the comparators 13 and 14 are connected to a logic AND circuit 19 so that the output of the circuit becomes high when both SKINR and SKINB are high (1), hence when both conditions are satisfied. This output signal can be used to control the contour signal towards a lower amplitude. The invention preferably uses the automatic white balance control circuit 1 - which is present anyway - for selecting the tint at which the contour signal is to be reduced. In this case the measuring window is directed onto the desired tint. The control loop then does not control via the gain factors in red and blue (as with the white balance) but manipulates the selection criteria CR and CB for skintones. To be able to control for chromaticity (selection of output signal is independent of luminance), it will be necessary to work with relative signals. For example, (G-R)/R and (G-B)/B are compared with their respective criteria. Since multipliers can more easily be realised, the criteria CR and CB supplied by the automatic white balance control circuit 1 are multiplied by the green signal G to CRITR and CRITB by means of the multipliers 15 and 16. To be able to control for constant chromaticity differences, the values deltaR and deltaB will have to be proportional to green. However, it is not essentially important for the invention whether there is chroma or chromaticity control. In the case of chroma control, the multipliers 15 and 16 are dispensed with and CR = CRITR and CB = CRITB. Better results for small green color signal values are obtained if a luminance signal rather than the green color signal G is applied to the multipliers 15 and 16. By suitable choice of the circuit, the automatic white balance control circuit 1 can continue to control at its original criterion (equality of the red, green and blue color signals). If, during automatic control of the camera, the video signal processing operation (blocks 2, 3 and 4 in Fig. 1) is temporarily modified by switching on switch S1 in such a way that the signal CRITR is added to red R by adder 17 and CRITB is added to blue B by adder 18, then the signal (R+CRITR) is obtained at the output of the adder 17 and the signal (B+CRITB) is obtained at the output of the adder 18. The automatic white balance control circuit 1 attempts to control these signals by manipulating CR and CB to be equal to G so that ultimately: CRITR = G-R and CRITB = G-B. When the equations [1] and [2] are filled in, it appears that both criteria are satisfied, in other words: at a given combination of red, green and blue color signals at the input, the automatic white balance control circuit 1 sets the criterion in such a way that the given input combination R, G and B satisfies this criterion. In other words, the criterion is automatically set for the color within the measuring window, which was also intended. The calculated criteria CRITR and CRITB are subsequently memorized by the comparators 13 and 14 so that the comparators 13 and 14 subsequently indicate via the logic AND circuit 19 that the selected tint has been detected whenever the color difference signals (G-R) and (B-R) satisfy these criteria. After the criteria CRITR and CRITB have been calculated, the switch S1 is reopened and the automatic white balance control circuit 1 is available again for fulfilling its original function in accordance with Fig. 1. The embodiment at the component level in the camera comprises circuits on a plurality of printed circuit boards (for the greater part already present for the automatic white balance control of Fig. 1) and a piece of software in the microcomputer which takes care of the control; on the basis of the information given above, this software can easily be written down. This does not add any information about the essential aspects of the invention so that these details have been omitted here. The invention may be used in all video cameras having an automatic white balance control, in which there is also a need of choosing different video settings in a given color range to be selected. This is the case in all broadcast television cameras.

Claims: A tint detection circuit for automatically selecting a desired tint in a video signal, comprising: limit signal generating means (S1, 17, 18, 1, 15, 16) coupled to receive first (R), second (B) and third (G) color signals in order to generate first (CRITR) and second (CRITB) limit signals; color-difference generating means (11, 12) coupled to receive said first (R), second (B) and third (G) color signals in order to generate first (G-R) and second (G-B) color difference signals; and window comparison means (13, 14, 19) coupled to said limit signal generating means (S1, 17, 18, 1, 15, 16) and to said color-difference generating means (11, 12) in order to determine whether said first (G-R) and second (G-B) color difference signals are within windows determined by said first (CRITR) and second (CRITB) limit-signals so as to supply a tint detection signal, wherein said limit signal generating means (51,17,18,1,15,16) comprise: means (17, 18) for adding said first (CRITR) and second (CRITB) limit signals to said first (R) and second (B) color signals, respectively; and means (1, 15, 16) for furnishing said first and second limit signals (CRITR, CRITB) in dependence upon output signals of said adding means (17, 18) and said third color signal (G). A tint detection circuit as claimed in Claim 1, wherein said limit signal furnishing means (1, 15, 16) comprise: an automatic white balance control unit (1) coupled to receive said output signals of said adding means (17, 18) and said third color signal (G) for generating first (CR) and second (CB) criterion signals; and multipliers (15, 16) coupled to receive said third color signal (G) and said first (CR) and second (CB) criterion signals for generating said first (CRITR) and second (CRITB) limit signals. A camera provided with a tint detection circuit as claimed in any one of the preceding Claims. A method of automatically selecting a desired tint in a video signal, comprising the steps of: generating (S1, 17, 18, 1, 15, 16) first (CRITR) and second (CRITB) limit signals in dependence on first (R), second (B) and third (G) color signals; generating (11,12) first (G-R) and second (G-B) color-difference signals in dependence on said first (R), second (B) and third (G) color signals; and determining (13, 14, 19) whether said first (G-R) and second (G-B) color-difference signals are within windows determined by said first (CRITR) and second (CRITB) limit signals so as to supply a tint detection signal, wherein said limit signal generating step (17, 18, 1, 15,16) comprises the steps of: adding (17, 18) said first (CRITR) and second (CRITB) limit signals to said first (R) and second (B) color signals, respectively; and generating (1,15, 16) said first (CRITR) and second (CRITB) limit signals in dependence upon output signals of said adding step (17,18) and said third color signal (G).

Inventors: ROOIJ JOHANNES HENRICUS J VAN, VAN ROOIJ, JOHANNES HENRICUS JOZEF MARIA
Applicants: KONINKL PHILIPS ELECTRONICS NV, KONINKLIJKE PHILIPS ELECTRONICS N.V.
Application year: 1994
Main classification: H04N9
IPC codes: H04N9