Circuit for enhancing chrominance transitions in real-time video reception

Abstract: A circuit for enhancing chrominance transitions in a received chrominance video signal comprises linear-phase digital filter means (1) supplied with an input stream of discrete chromatic image elements (x(n-6)-x(n)) and having a high-pass transfer characteristic in a region of the frequency spectrum corresponding to an upper limit of a transmitted chrominance signal bandwidth for enhancing high-frequency components of the received chrominance signal (CIN), and non-linear digital post-processing means (2) supplied by an output (FOUT) of the filter means and by said input stream of discrete chromatic image elements, the non-linear post-processing means comprising first means (4) acting on said output of the filter means for eliminating distortions introduced in the received chrominance signal by the filter means and second means (3) for detecting if the received chrominance signal contain a transition pattern corresponding to predetermined patterns and for correspondingly forcing an output (COUT) of the circuit to be equal to the received chrominance signal.

Description: The present invention relates to a circuit for enhancing chrominance transitions in real-time video reception. In current commercial TV transmission standards, the limited bandwidth of the transmitted chrominance (or chrominance difference) signals causes the received images to have perceptibly blurred colour transition edges. This is especially evident if the received image contains geometrical patterns, e.g. test-colour bars, and results in the loss of detail detectable in complex multicoloured fine patterns. In order to improve the quality of the received images, it is necessary to provide the receiver end with circuits capable of restoring, as far as possible, the frequency components in the chrominance signals which have been filtered away by the requirements of the reduced transmission bandwidth: in this way, the temporal duration of the chrominance transition edges, and thus the spatial extent of the chrominance transitions on the TV screen, can be reduced, and the edge definition improved. Circuits of this type are called "Color Transient Improvement" ("CTI") or Chrominance Transition Enhancement circuits. An important constraint on chrominance transition enhancement circuits is the need to ensure that the center of the chrominance transition is unaffected by the enhancement process, so that the center of the chrominance transition after the enhancement process is still aligned with the center of the associated transition in the luminance signal. Also, it is necessary to leave gradual transitions in time unaltered; preserve, and possibly enhance, fine patterns; prevent the introduction in the image of additional distortions; and ensure that the existing noise components are not accentuated. Most of the methods proposed over the past decade to enhance chrominance transitions make use of analogue waveform shaping techniques, and do not satisfy most of the above-mentioned requirements. In view of the state of the art described, it is an object of the present invention to provide a circuit for enhancing chrominance transition in a received video image which, differently from known circuits, satisfies all the above-mentioned requirements. According to the present invention, such object is achieved by means of a circuit for enhancing chrominance transitions in a received chrominance video signal, characterized by comprising linear-phase digital filter means supplied with an input stream of discrete chromatic image elements and having a high-pass transfer characteristic in a region of the frequency spectrum corresponding to an upper limit of a transmitted chrominance signal bandwidth for enhancing high-frequency components of the received chrominance signal, and non-linear digital post-processing means supplied by an output of the filter means and by said input stream of discrete chromatic image elements, the non-linear post-processing means comprising first means acting on said output of the filter means for eliminating distortions introduced in the received chrominance signal by the filter means and second means for detecting if the received chrominance signal contain a transition pattern corresponding to predetermined patterns and for correspondingly forcing an output of the circuit to be equal to the received chrominance signal. Preferably, the digital filter means comprise a Finite Impulse Response (FIR) digital filter. FIR digital filters are characterized by having an impulse response of finite duration; in the present application, the duration of the impulse response should be chosen in such a way as noise configurations are not mistaken for high frequency signal components, and sampling errors in the received chrominance signals are not accentuated. A FIR filter of order seven, having an impulse response with duration of seven samples, is preferred. The FIR digital filter of the chrominance transition enhancement circuit of the present invention has a symmetric impulse response; in this way, the transfer function has a linear phase characteristic, thus allowing to keep the center of the enhanced chrominance transition aligned with the associated transition in the luminance signal. The non-linear post-processing means not only allows to eliminate artificial distortions that could be introduced in the received chrominance signal by the digital filtering, but also allows to inhibit the filtering process from being performed when the chrominance transition contains an ambiguous pattern which for example corresponds to the presence of noise or sampling errors, to prevent that said noise or errors are accentuated by the digital filter action. These and other features and advantages of the present invention will be made more evident by the following detailed description of a particular embodiment thereof, illustrated in the annexed drawings, wherein: Fig. 1 is a schematic block diagram of a circuit according to the present invention; Fig. 2 is a schematic block diagram of a practical embodiment of the circuit of Fig. 1; Fig. 3 is a diagram of a transfer function of a digital filter of the circuit of Fig. 2, for different values of a user-programmable parameter; Fig. 4 shows a chrominance transition before and after the enhancement operated by the circuit of Fig. 2; Fig. 5 shows an example of chrominance transition that is enhanced by the circuit of the invention; Figs. 6 and 7 show two examples of chrominance transitions, respectively a noise configuration and an ambiguous transition, that are not enhanced by the circuit of the invention. With reference to Fig. 1, a circuit for enhancing chrominance transition according to the present invention is schematically shown. The circuit comprises a Finite Impulse Response (FIR) digital filter 1 supplied by a chrominance signal CIN. Signal CIN is for example one of the two chrominance-difference signals CB and CR (or U and V) which are transmitted by the video signal transmitter together with the luminance signal. Signal CIN is intended to be a digital signal, i.e. a discrete stream of quantized samples each one representing, conventionally by means of an eight-bit code corresponding to 256 different levels, the chrominance information of a respective picture element (pixel) of the image. In analog TV broadcasting, wherein the transmitted luminance and chrominance signals are analog waveforms, the luminance and chrominance signals are digitally converted at the receiver end; in digital TV broadcasting instead the luminance and chrominance signals are directly transmitted in digital form. Additionally, if the known 4:2:2 sampling scheme is used for the luminance and chrominance signals (two samples for each one of the chrominance-difference signals CR, CB every four samples of the luminance signal), signal CIN can be a multiplexed stream of the two chrominance-difference signals CB, CR. In this way, if the chrominance transition enhancement circuit operates at the sampling frequency of the luminance signal, it is not necessary to have two distinct enhancement circuits for the two chrominance-difference signals, with a reduction of hardware requirements. However, it is obviously possible to operate on the two chrominance-difference signals individually by providing two distinct enhancement circuits identical to each other. Filter 1 is used to enhance high frequency components in the chrominance signals along the horizontal direction of the received images. Toward this end, the transfer function of filter 1 has a high-pass characteristic near the upper limit of the chrominance bandwidth interval, so that the high frequency components of the chrominance signals are enhanced, while the low frequency components are attenuated. Filter 1 is also designed to have a linear phase transfer function, so that the centers of the chrominance transitions after filtering are not shifted in time with respect to the corresponding transitions in the luminance signal. Filter 1 also includes a gain-control circuit for controlling the gain of filter 1 according to the value of a user-programmable parameter K. The circuit also comprises a non-linear post-processing circuit 2, the inputs to which are the gain-controlled output FOUT of filter 1 and the input chrominance signal CIN. The post-processing circuit 2 comprises a disabling circuit 3 supplied by the received chrominance signal CIN and controlling the activation of a disable signal D. Circuit 3 analyzes the received chrominance signal CIN to detect if the received pattern corresponds to particular chrominance transition patterns for which transition enhancement is to be avoided not to accentuate noise, as will be better explained later on. Signal D is activated when the received pattern corresponds to one of said particular chrominance transition patterns. Signal D is supplied, together with the received chrominance signal CIN and the output FOUT of filter 1, to a comparison and multiplexing circuit 4. Circuit 4 processes the filter output FOUT to remove artifacts introduced by the filtering process. If the disabling signal D is deactivated, the output of circuit 4, which forms the enhanced chrominance signal COUT, is equal to the processed output FOUT of filter 1. When differently signal D is activated (i.e., the received chrominance transition pattern corresponds to one of the above-mentioned particular patterns), the output COUT is made equal to the received chrominance signal CIN. Fig. 2 shows in greater detail, although schematically, the structure of the circuit of Fig. 1, in a preferred embodiment. Filter 1 is a digital, Finite Impulse Response (FIR) filter of order seven. As known, FIR filters are characterized by an impulse response having a finite duration of N samples; the impulse response of a FIR filter of order seven has a duration of seven samples, namely the current chrominance sample x(n) and the six preceding samples x(n-1)...x(n-6). The filter 1 contains a delay line with six delay elements T, providing the current sample x(n) and the six previous samples x(n-1)...x(n-6). The current sample x(n) and the six preceding samples x(n-1)...x(n-6) form a so-called processing window, i.e. a sub-set of pixels of an image line; the central pixel of the processing window represents the current pixel whose associated chrominance sample x(n-3) is to be enhanced. The processing window shifts horizontally along the direction of the image line one pixel at a time. The samples x(n)...x(n-6) of the processing window are supplied to a weighted summation circuit block 5 having an output y equal to: y=h(0)*x(n)+h(1)*x(n-1)+...+h(6)*x(n-6), where h(i) (i=0...6) are the values of the impulse response of the FIR filter 1 for the samples x(n-i). Advantageously: h(i)=-1 for i=0,1,2,4,5,6 h(3)=6 so that the output of filter 1 is: y=-x(n-6)-x(n-5)-x(n-4)+6*x(n-3)-x(n-2)-x(n-1)-x(n). Filter 1 is symmetric with respect to the central pixel of the processing window x(n-3). In this way, the transfer function of filter 1 has a linear phase characteristic: this assures that the center of a chrominance transition remains unaltered after the enhancement process (i.e., the chrominance transition center is not shifted in time with respect to center of transition in the associated luminance signal), and the gradual transitions in hue are not made abrupt. In the practical implementation, filter 1 can be realized by means of a tree of adders, interspersing subtractions and additions, so that finite word length effects are minimized. All multiplications can be effected by means of conventional signed-digit technique. Filter 1 comprises a gain-control mechanism (represented schematically by a multiplier 8): the output signal y of circuit 5 is multiplied by the user-programmable parameter K (gain reduction factor) with value comprised between 0 and 1; preferably, the value of K is discretely variable among four different values K1, K2, K3, K4. This allows to achieve a user-controlled degree of enhancement of the chrominance transition, according to the user preference. Then, sample x(n-3) (i.e., the central pixel of the processing window) is added to signal K*y, to obtain x'(n-3)=x(n-3)+K*y. x'(n-3) represents the filtered value of the chrominance signal of the central pixel of the processing window. Assuming that filter 1 has an impulse response h(i) with the values previously indicated, the frequency response of filter 1 is that shown in Fig. 3. Assuming that the sampling period of the colour-difference signals is 6.75 MHz, a 4:2:2 video format transmission is used, and the luminance signal is sampled at 13.5 MHz, it appears that the frequency response of the filter is centered in the region of the chrominance bandwidth, with a peak around approximately 1 MHz. The filter thus have a substantially high-pass characteristic in the region of interest of the chrominance signal frequency spectrum. The use of a processing window with length of seven samples (that is, the use of a FIR filter of order seven) assures that noise configuration are not mistaken for high frequency signal components, as would be the case if the impulse response were shorter. Furthermore, a shorter impulse response having a pass-band characteristic in the region of interest of the frequency spectrum could lead to peaking of sampling errors, e.g. a large change in the values of the picture elements followed by a small change (in the same direction) in the body of a transition. This would generate additional noise rather than detect real chrominance edges, generated by transitions in colour. Finally, an impulse response of limited duration could fail to adequately emphasise edges in the presence of pre-existing noise. The result of the filtering action on an input sequence is depicted in Fig. 4 in the example of an increasing chrominance transition. In the drawing, xl...xl+13 represent the chrominance samples associated to a sub-set of pixels of a given line of the image; the chrominance transition starts at pixel xl+3 and ends at pixel xl+9, and has a constant gradient. Curve A represents the received chrominance signal CIN, d is the uniform rate of increase of the chrominance signal value at the sampling rate, x 0 is the value of the pixel xl+6 at the center of the transition. Curve B represents the filtered value of the input sequence (i.e., the filter output signal FOUT) under the assumptions made by way of example only that the pixels preceding xl and the pixels following xl+13 are respectively equal to xl and xl+13; here, the user-programmable parameter K is supposed to equal to 1. It appears that the gradient of the received chrominance transition has effectively been made steeper and the spatial extent of the chrominance transition has been reduced, but undesired undershoots and overshoots have been introduced by filter 1 at the beginning and at the end of the transition (pixels xl+1 to xl+4 and xl+8 to xl+11). In order to ensure edge sharpening without introducing undesired artifacts in the processed chrominance signal, such as the above-mentioned overshoots and undershoots, the output FOUT of filter 1 is supplied to the comparison and multiplexing circuit 4. The latter comprises a circuit 6 supplied by the chrominance signal samples x(n)...x(n-6) of the pixels in the processing window. Circuit 6 has an output x"(n-3) which has a value constrained to values limited by the values of the immediate neighbouring picture elements of the central picture element x(n-3) of the processing window; in this way, if the result x'(n-3) of the filtering process exceeds the greatest value of its neighbouring picture elements of the processing window, the output x"(n-3) is forced to be equal to the greatest value of the neighbouring pixel; likewise, if the result x'(n-3) of the filtering process is less than the smallest value of the neighbouring pixels of the processing window, the output x"(n-3) is forced to be equal to the smallest value of the neighbouring pixels of the processing window. The input chrominance signal can contain particular ambiguous patterns for which enhancement processing could emphasize undesired effects. Figs. 5, 6 and 7 show three particular patterns of transition of the chrominance signal which will be now discussed. In Fig. 5, curve A exemplifies the case of a signal wherein the peak amplitude has not to be modified, but the slope of the transition could notwithstanding be increased. It is possible to see that the processed chrominance signal at the output of circuit 6 (curve C) preserve the characteristic of the input chrominance signal, and at the same time the gradient of the chrominance transition is enhanced. Fig. 6 and 7 exemplify instead two ambiguous patterns: the pattern of curve A in Fig. 6 corresponds for example to a noise pulse, while the pattern of curve A in Fig. 7 could correspond to a fine detail in the image or to a sampling error of the chrominance signal. In both cases, the processed chrominance signal at the output of circuit 6 (curves C) enhance the ambiguous pattern: the impulsive noise is accentuated at the cost of the actual transition that follows. In situations like these the filtering process should be inhibited, to avoid possible further deterioration of the received signal. This is done by means of the disabling circuit 3 which compares the received pattern of the chrominance signal with predefined ambiguous patterns which should not be emphasized. Circuit 3, through its output signal D, controls multiplexer 7 to connect the output COUT of the enhancement circuit to the output x"(n-3) of circuit 6 when signal D is dactivated, and to the central pixel x(n-3) of the processing window as originally received when signal D is activated. According to a preferred technique, circuit 3 computes the first derivatives of the samples contained in the processing window, and compares said first derivatives with a threshold value E (threshold first derivative) corresponding to the minimum difference between the chrominance values of two successive pixels that causes a visually perceptible change in colour (typically, in a 256-level scale of values, four levels). Six first derivatives are first computed, namely: f'(k)=x(n)-x(n-k) with k=1, 2,...,6; according to the value of each one of the six first derivatives with respect to the threshold value E, a variable s(k) associated to each first derivative is made equal to: s(k)=1 if f'(k)≥E; s(k)=-1 if f'(k)≤-E; and s(k)=0 if |f'(k)| is less than E. The output signal D of circuit 3 is activated (to inhibit the filtering action and thus to connect the output COUT of the enhancing circuit to x(n-3)) if: s(k-p)=-s(k-q)=0 for p,q=1,2,3,4; s(k-p)=-s(k-p-2); s(k-p-1)=0 for p=0,3 i.e. if first derivatives of opposite signs occur among the five central pixels x(n-5)...x(n-1) of the processing window, or if a configuration of the type shown in Fig. 7, curve A is encountered, with the peripheral pixels at either end of the processing window. According to these considerations, the output COUT of the circuit can be expressed in the following way: COUT=x' (n-3)=x(n-3)+K*y if min[x(n-2),x(n-4)]≤x'(n-3)≤max[x(n-2),x(n-4)] AND NOT (D); COUT=min[x(n-2),x(n-4)] if x'(n-3)≤min[x(n-2),x(n-4)] AND NOT (D); COUT=max[x(n-2),x(n-4)] if x'(n-3)≥max[x(n-2),x(n-4)] AND NOT (D); otherwise COUT=x (n-3). When the above-mentioned algorithm is applied to the output of filter 1 represented by curve B in Fig. 4, the result shown in curve C of Fig. 4 is obtained: it appears that the gradient of the chrominance transition has again been made steeper than that of the received chrominance signal, but the artificial undershoots and overshoots introduced by the filtering process have been eliminated. It is also possible to see that (xl+6)''=x 0 , i.e., the center of the chrominance transition is unaltered, and continues to remain aligned with the center of the corresponding transitions in the luminance signal (as well as with the center of the associated transitions in the other chrominance signal). In the enhancement circuit of the present invention, slow chrominance transitions (i.e., transitions significantly longer than the processing window of the linear-phase FIR filter) corresponding to gradual changes in hue, are essentially left unaltered. Only a relatively insignificant crispening effect is introduced, at the beginning and at the end of such transitions. The longer the duration of a transition, the less pronounced is this crispening effect.

Claims: Circuit for enhancing chrominance transitions in a received chrominance video signal, characterized by comprising linear-phase digital filter means (1) supplied with an input stream of discrete chromatic image elements (x(n-6)-x(n)) and having a high-pass transfer characteristic in a region of the frequency spectrum corresponding to an upper limit of a transmitted chrominance signal bandwidth for enhancing high-frequency components of the received chrominance signal (CIN), and non-linear digital post-processing means (2) supplied by an output (FOUT;x'(n-3)) of the filter means and by said input stream of discrete chromatic image elements, the non-linear post-processing means comprising first means (4) acting on said output of the filter means for eliminating distortions introduced in the received chrominance signal by the filter means and second means (3) for detecting if the received chrominance signal contains a transition pattern corresponding to predetermined patterns and for correspondingly forcing an output (COUT) of the circuit to be equal to the received chrominance signal. Circuit according to claim 1, characterized in that said digital filter means (1) comprise gain control means (8) supplied by a gain-reduction signal (K) for controlling a gain of the transfer function of the digital filter means. Circuit according to claim 2, characterized in that said digital filter means (1) comprises a finite impulse response digital filter having a symmetric impulse response (h(0)-h(6)) of finite duration. Circuit according to claim 3, characterized in that said digital filter means (1) comprise a finite impulse response digital filter of the seventh order. Circuit according to claim 4, characterized in that said digital filter means (1) comprise summation means for adding a value of a received chromatic picture element (x(n-3)) currently processed to a weighted sum (K*y) of the currently processed chromatic picture element and of six neighbouring chromatic picture elements (x(n-6)-x(n-4),x(n-2)-x(n)), each chromatic picture element being weighted by the impulse response (h(0)-h(6)) of the digital filter means. Circuit according to claim 5, characterized in that the impulse response of said filter is described by the vector of coefficients (-1, -1, -1, 6, -1, -1, -1). Circuit according to claim 6, characterized in that said weighted sum (K*y) is multiplied by said gain-reduction signal (K). Circuit according to claim 7, characterized in that said first means (4) comprises third means (6) for comparing the output (x'(n-3)) of the digital filter means (1) with said neighbouring chromatic picture elements (x(n-6)-x(n-4),x(n-2)-x(n)) for detecting if the output of the digital filter means has a value higher or lower than the greater or the lower, respectively, neighbouring chromatic picture element, and for correspondingly forcing the output of the digital filter means to be equal to the greater or the lower neighbouring chromatic picture element, respectively. Circuit according to claim 7, characterized in that said first means (4) comprises multiplexing means (7) for selectively coupling the output (COUT) of the circuit to an output (x"(n-3)) of said third means (6) or to the corresponding currently-processed received chromatic picture element (x(n-3)). Method for enhancing chrominance transitions in a received chrominance video signal, comprising the steps of: submitting a discrete stream of chromatic picture elements of the received chrominance signal (CIN) to a linear-phase high-pass digital filtering to provide a filtered discrete signal (x'(n-3)) containing enhanced high-frequency components of the received chrominance signal; non-linearly processing the filtered discrete signal for eliminating distortions introduced by the high-pass digital filtering; detecting if the received chrominance signal contains a transition pattern corresponding to prescribed patterns which are not to be high-pass filtered; providing an enhanced output signal which if the received chrominance signal contains a pattern corresponding to said prescribed patterns is equal to the received chrominance signal, otherwise the enhanced signal is equal to the non-linearly processed high-pass filtered signal.

Inventors: D ALTO VIVIANA, MANCUSO MASSIMO, THOMAS JOSEPH, D'ALTO, VIVIANA, MANCUSO, MASSIMO, THOMAS, JOSEPH
Applicants: ST MICROELECTRONICS SRL, STMICROELECTRONICS S.R.L.
Application year: 1996
Main classification: H04N9
IPC codes: H04N9