Digital decoder for video signals and video signal digital decoding method

Abstract: The invention relates to a method for the digital decoding of composite video signals (CVBS), comprising a brightness signal (luminance component Y) and two colour difference signals (chrominance components U, V), which modulate a colour subcarrier according to the quadrature amplitude modulation principle, in which a plurality (N) of sample values of the video signal are transformed by means of a Walsh - Hadamard transformation (WHT) from the pixel domain into the WHT domain, the colour difference signals (U, V) are derived as specific WHT coefficients of the WHT matrix obtained, the WHT coefficients determining the colour difference signals (U, V) are subtracted from the WHT matrix, the WHT matrix is transformed back into the pixel domain by means of an inverse Walsh - Hadamard transformation (IWHT) and the brightness signal (Y) is derived from the IWHT result. The invention also proposes a digital decoder for composite video signals (CVBS) with a transformation means for performing a Walsh - Hadamard transformation (WHT) with the sample values of the video signal, a setting means for setting the WHT coefficients of the resulting WHT matrix and for deriving specific WHT coefficients as colour difference signals (U, V) and an inverse transformation means for transforming back the remaining WHT coefficients and for outputting the brightness signal (Y).

Description: The invention relates to a digital decoder for composite video signals and to a method for the digital decoding of video signals, comprising a brightness signal and two colour difference signals, which modulate a colour subcarrier according to the quadrature amplitude modulation principle (NTSC/PAL). Colour video signals, so-called composite video, blanking and sync signals (CVBS), are essentially composed of a brightness signal or a luminance component (Y), two colour difference signals or chrominance components (U, V or I, Q), vertical and horizontal sync signals (VS, HS) and a blanking signal (BL). The structure of a composite video signal (CVBS) and the corresponding Y, U and V signals is shown in Fig. 1. Fig. 1 shows a composite video signal for an EBU (European Broadcasting Union) colour bar test signal, the six hue (tint) values belonging to the vertical colour bar being additively superimposed in "carrier packets" with colour carrier frequency on the luminance component Y. For colour carrier generation a colourf subcarrier frequency sync pulse, the burst, is transmitted directly behind the line sync pulse, SYNC. The burst phase and the burst amplitude serve as reference values for determining the hue and colour saturation of the demodulated signal, which is represented by the individual carrier packets. The different coding processes NTSC, PAL and SECAM introduced in the known colour television standards, differ in the manner of chrominance transmission and in particular the different systems use different colour subcarrier frequencies and different line frequencies. In digital video signal processing and decoding the prior art fundamentally distinguishes between two system architectures. These are the burst-locked architecture and the line-locked architecture, i.e. systems which in each case operate with sampling frequencies for the video signal, which are produced in phase-locked manner to the colour subcarrier frequency transmitted with the burst pulse or in phase-locked manner with the line frequency, respectively. In the case of decoders with a burst-locked architecture the sampling frequency is chosen in such a way that on the one hand it is not too high so as to keep the power losses low and on the other hand it fulfils the Nyquist theorem, i.e. f a >2•fsc (sampling frequency >2•chrominance subcarrier frequency). For a problem free processing of the modulated colour carrier in the decoder it is appropriate to have a sampling frequency, which corresponds to an even multiple of the colour subcarrier. For line-locked architectures the clock of the digital system is derived from the line frequency and is an integral multiple of the line frequency, so that an integral number of pixels are produced per line. Although the burst-locked system has advantages with respect to the minimum effort and expenditure for colour decoding, from other standpoints this system has important disadvantages, e.g. in the case of horizontal and vertical synchronization, as well as in multistandard and "non-standard" uses. As the sampling process is essentially non-orthogonal, the burst-locked system is only suitable for the direct representation of images on a screen, but not for producing data for fixed raster applications, e.g. for field or frame stores or for frame grabbers in a PC environment. Line-locked systems are admittedly suitable for frame, line and field storage purposes, as well as for digital video image processing in multistandard operation, but they give rise to new problems. In particular much more complex colour decoders are required, the analog clock generation requires high circuitry expenditure and the requirements regarding the maximum acceptable dynamic non-linearities of the A/D converter and the preceding analog signal processing stages are very high. In the case of the prior art digital video signal decoders, no matter whether they operate according to the burst-locked or line-locked principle, the functional elements of the block circuit diagram of the decoder, such as the separating circuit for the luminance/chrominance signal, band-pass filters, control and setting elements and FM demodulators for the colour difference signals are realized in separate functional blocks and are also found again in this form. Account is taken of the fact that redundancies occur with respect to similar tasks for the same partial functions by essentially directly converting the block circuit diagram. Signal processing takes place either directly in the time or pixel domain or following a corresponding transformation of the digitized video signal in the frequency domain, the decoded signal then being transformed back into the time or pixel domain. For transforming the video signal from the pixel domain into the frequency domain, in the case of prior art digital decoders use is generally made of Fourier transformation or discrete cosine transformation, the latter having the advantage that it requires fewer multipliers than Fourier transformation. Up to now the realization of such digital video signal decoders has involved a relatively high circuit expenditure. In particular the multipliers needed for the transformation increase the costs for producing the digital decoder in an IC to a considerable extent. The problem of the invention is to provide a decoder for digital video signals and a method for digitally decoding a composite video signal, which can be realized with reduced circuitry and computing expenditure than in the hitherto known decoders and methods. This problem is solved by a method having the features of claim 1 or a digital decoder having the features of claim 10. The invention therefore relates to a method for digitally decoding composite video signals (CVBS), comprising a brightness signal (luminance component Y) and two colour difference signals (chrominance components U, V), which modulate a colour subcarrier according to the quadrature amplitude modulation principle, in which (a) a plurality (N) of sample values of the video signal are transformed by means of a Walsh - Hadamard transformation (WHT) from the pixel domain into the WHT domain, (b) the colour difference signals (U, V) are derived as specific WHT coefficients of the WHT matrix obtained, (c) the WHT coefficients determining the colour difference signals (U, V) are subtracted from the WHT matrix, (d) the WHT matrix is transformed back into the pixel range by means of an inverse Walsh - Hadamard transformation (IWHT) and (e) the brightness signal (Y) is derived from the IWHT result. According to an embodiment of the process according to the invention in step (a) : (a1) the sample values of the video signal are delayed by one line, (a2) each of N sample values of the actual line and N sample values of the delayed line are transformed by means of a vertical WHT and (a3) the resulting WHT coefficients are transformed by means of a horizontal WHT. It is advantageous if in step (a2): N sample values of the delayed line are added to corresponding N sample values of the actual line in order to form a low-pass filter and said N sample values of the delayed line are subtracted from said N sample values of the actual line in order to form a high-pass filter and the vertical sum and difference values are used as input values for the horizontal WHT. According to a preferred embodiment of a decoder according to the invention the video signal is digitized at a sampling frequency of four times the colour subcarrier frequency (4•fsc), so that in the case of PAL video signals 1135 sample values per line are produced and in the case of NTSC video signals 910 sample values per line are produced. It is particularly advantageous if N=4 or N=8. Furthermore, following step (a), the resulting WHT matrix can be multiplied with a control and setting matrix. According to an embodiment of the invention, the least significant WHT coefficient (WHT 0,0 ) of the WHT matrix is used for deriving the line sync pulse of the video signal. In addition, in the method according to the invention, for reducing noise, suppression takes place of low order WHT coefficients, WHT x,y <<WHT mean. Finally, for reducing quantization noise higher order WHT coefficients can be reproduced with a lower precision (resolution) than low order WHT coefficients. The invention also relates to a digital decoder for composite video signals (CVBS), comprising a brightness signal (luminance component Y) and two colour difference signals (chrominance components U, V), having a transformation means, which transforms a plurality (N) of sample values of the video signal by means of a Walsh - Hadamard transformation (WHT) from the pixel domain into the WHT domain, a setting means, which multiplies the WHT coefficients of the resulting WHT matrix with control and setting parameters, the setting means having an output for deriving specific WHT coefficients as colour difference signals (U, V), and an inverse transformation means, which transforms back the remaining WHT coefficients of the WHT matrix by means of an inverse Walsh - Hadamard transformation (IWHT) into the pixel domain and outputs same as the brightness signal (Y). In the case of the decoder according to the invention the transformation means preferably comprises a vertical and a horizontal WHT means (35) connected in series. According to a preferred embodiment of the invention the vertical transformation means has a delay means, which delays the sample values of the video signal by one line, an adder, which adds the N delayed sample values to corresponding N sample values of the actual line in order to form a low-pass filter, a subtracter, which subtracts the N delayed sample values from the N sample values of the actual line in order to form a high-pass filter, and a multiplexer, in order to selectively output the vertical sum and difference values as input values for the horizontal transformation means. According to a preferred embodiment of the invention the horizontal transformation means has an adder network, which performs the following operation: in which F(u,v,t) are the transformed coefficients in the WHT domain, f(x,t) are the sample values in the pixel domain and Φ u,v is the Walsh - Hadamard transformation matrix. In the decoder according to the invention preferably N=4. According to an embodiment of the invention the horizontal transformation means (35) has eight adders (50-57), whereof in each case four are connected in parallel, the output signals of the first four adders serving as input signals of the second four adders, so that the following equation is fulfilled.: In the case of the decoder according to the invention it is possible to provide an input sample rate converter, which converts the input sample values of the video signal (CVBS) digitized at a first predetermined clock frequency into desired sample values at a second virtual sampling frequency of four times the colour subcarrier frequency (4•fsc). The individual functions of the digital decoder can be expressed by means of matrixes. By multiplying these matrixes it is possible to represent the entire function of the decoder in a product matrix, which can be realized by a circuit described hereinafter. The control and setting of the decoder parameters, such as brightness, contrast, colour saturation, colour intensity, etc. can then take place centrally, avoiding redundancies. In the case of the digital decoding method and the digital decoder according to the invention, the sample video signal is transformed by means of a Walsh - Hadamard transformation (WHT) from the pixel domain into the WHT domain and the colour difference signals and brightness signal are derived from the resulting WHT matrix. The WHT essentially functions as a set of filters, a specific pass band being in each case associated with the WHT matrix coefficients and with rising WHT order the band width of the individual filters decreases, but the number of filters correspondingly increases. The Walsh - Hadamard transformation also has the particular advantage of being exclusively realizable with adders. Under the assumption that the clock frequency of the digital decoder system is four times the colour subcarrier frequency of a composite video signal (CVBS) of NTSC or PAL standards, the WHT provides a simple and suitable means for demodulating and decoding the chrominance information (U, V). The invention is described in greater detail hereinafter relative to a preferred, non-limitative embodiment with reference to the attached drawings, wherein show: Fig. 1 A composite EBU colour bar video signal (CVBS) and the corresponding Y, U and V signals. Fig. 2 The spectra of the transformation coefficients of a 1x4 WHT. Fig. 3 The spectra of the transformation coefficients of a 1x8 WHT. Fig. 4 The circuit diagram of a 1x4 WHT and a 1x4 IWHT. Fig. 5 A block circuit diagram of a preferred embodiment of the digital decoder according to the invention. Fig. 6 A circuit diagram for realizing the vertical WHT for the decoder of Fig. 5. Fig. 7 A circuit diagram for realizing the horizontal WHT for the decoder of Fig. 5. Fig. 8 A circuit diagram for realizing the control and setting of the decoder of Fig. 5. Fig. 9 A circuit diagram for realizing the horizontal IWHT for the decoder of Fig. 5. Fig. 10 A circuit diagram for realizing the vertical IWHT for the decoder of Fig. 5. Figs.11 to 20 Graphs of the spatial frequency response of the individual WHT coefficients or chrominance and luminance components in the WHT range over the horizontal and vertical sampling frequency. The basic principles of the Walsh - Hadamard transformation will firstly be described. In the same way as the discrete Fourier transformation (DFT), the discrete cosine transformation (DCT) and the Karhunen-Loève transformation, the Walsh - Hadamard transformation (WHT) belongs to the class of lossless, orthogonal unitary transformations. In this class WHT is the simplest form of a transformation. WHT (T WHT ) is a square matrix of +1 and -1, whose lines and columns are orthogonal. Thus, the following applies: Eq. 1 T WHT = T WHT t = T WHT -1 The least significant WHT matrix is of order basis two and is in the following form: The higher order WHT matrixes are obtained from the Kronecker product of H 2 ⊗ H 2 : The WHT fulfils equations 4 and 5 (inverse transformation) an example of a 4x4 WHT being given in equation 6. in which F(u,v,t) are the transformed coefficients in the WHT domain, f(x,y,t) the sample values in the pixel domain, Φ u,v and Φ x,y are the Walsh - Hadamard transformation matrixes and N, M rows and columns of 2-dimensional fields: The transformation coefficients appear as sampled values of a set of filters, the bandwidth of the resulting filters decreasing with an increase in the WHT basis and there is a corresponding increase in the number of filters. The least and most significant transformation coefficients correspond to the values of a low and a high-pass filter. Figs. 2 and 3 show the spectrum of the individual transformation F(u,v,t). Figs. 2a to 2d show the transformation coefficients as sampled values of a low-pass filter (Fig. 2a), two band-pass filters (Figs. 2b and 2c) and a high-pass filter (Fig. 2d) for a 1x4 WHT. (The scaling of the x-axis corresponds to n/32*f clk ). Fig. 3 shows the transformation coefficients for a 1x8 WHT. The comparison between Figs. 2a to 2d and Figs. 3a to 3h show that the bandwidth of the resulting filters decreases with an increase in the WHT order, whereas there is a corresponding increase in the number of filters. The nature of the Walsh - Hadamard transformation, which only comprises basic functions exclusively built up from +1 and -1, results in a simple and multiplier-less structure, which can easily be implemented in IC's. In this connection it is pointed out that the sample rate of the individual WHT coefficients decreases as a function of 1/x of the basis of the WHT. Thus, if the basis of the WHT is increased by x, the necessary computing capacity only increases by log 2 (x). As the multidimensional Walsh - Hadamard transformation and its inverses, IWHT, can be completely separated into a cascade of one-dimensional WHT's (IWHT's), the basic structure shown in Fig. 4 can be separately used for the horizontal and vertical WHT (IWHT). The represented example of a 1x4 WHT and 1x4 IWHT requires adders and subtracters with only two inputs and it is easy to reduce or increase the WHT order. The circuit shown in Fig. 4 for realizing a 1x4 WHT comprises four delay elements 12, 13, 14, 15, two latches 16, 17 and eight adders or subtracters 19 to 26. The sampled video signal in the time or pixel range is inputted as input sample values f n at the input of the series-connected delay elements 12 to 15. The signal f n is delayed by one clock period (CLK) in each delay element and outputted at the latch 16. The latter outputs in parallel four delayed signal values f 1 to f 4 with a clock frequency of CLK/4 to the adders or subtracters 19 to 26 respectively. The adders are interconnected in the manner shown in Fig. 4 and into in each case one adder 19 or 21 and one subtracter 20 or 22 are inputted the first two or the second two delayed signal values and the output signals of the first four adders 19 or 22 are used as input signals for the second row of adders or subtracters 23 to 26. The output signal of the first adder 19 is inputted into the adder 23 and the subtracter 24, the output signal of the subtracter 20 is inputted into the subtracter 25 and the adder 26, the output signal of the adder 21 is inputted into the adder 23 and the subtracter 24 and the output signal of the subtracter 22 is inputted into the subtracter 25 and the adder 26. The output signals of the adders 23 to 26 are transferred to the latch 17, from where they can be read out in parallel as transformation coefficients f 0 , f 1 , f 2 and f 3 . The adding circuit for a 1x4 WHT shown in Fig. 4 fulfils the following equation: The circuit for the inverse Walsh - Hadamard transformation (IWHT) is identical to the described circuit, because WHT=IWHT, but the delay elements 27 to 30 are located at the output and not the input of said circuit. Fig. 5 shows the block circuit diagram of a preferred embodiment of the digital decoder according to the invention. The digital decoder comprises an input sample rate converter (SRC) 32, a line and burst phase-locked loop (line & burst PLL) 33, a vertical WHT circuit 34 and a horizontal WHT circuit 35, a control and setting circuit (controls and settings) 36, a chroma automatic gain control circuit 37 (Chroma AGC), a controller and user interface 38, a horizontal IWHT circuit 39 and a vertical IWHT circuit 40, an output sample rate converter 41 and a line phase-locked loop (line PLL) 42. A sample rate converter which is particularly advantageous if the inventive decoder is to be used as a multistandard decoder for different video signal standards, is described in the parallel application of the same applicant and the same application date entitled "Sample Rate Converter and Method for Sample Rate Conversion", EP-A-0690621, corresponding to DE-A-4423224. A particularly advantageous solution for a line and burst phase-lock loop is described in the parallel application of the same applicant and having the same application date entitled "Multistandard Decoder for Video Signals and Method for Video Signal Decoding", EP-A-0690631, corresponding to DE-A-4423214. The composite video signal (CVBS) digitized at the clock frequency of a host system, such as a computer, is inputted into the input sample rate converter 32. The line and burst PLL 33 controls the input sample rate converter 32 in such a way that the input video signal digitized with the predetermined clock frequency is converted into a signal with sample values at a second virtual sampling frequency, which is four times the colour subcarrier frequency. By choosing the "virtual" sampling frequency as four times the colour subcarrier frequency on the one hand the Shannon-Nyquist theorem (f a >2•f sc ) is fulfilled and on the other there is an integer number of sample values per video line, namely 910 sample values per line for a NTSC signal and 1135 sample values per line for a PAL signal, so that it is possible to combine the advantages of a burst-locked architecture, in which the sample signal is an even multiple of the colour subcarrier frequency and the advantages of the line-locked architecture, in which the sampling frequency is an integermultiple of the line frequency. In an alternative embodiment the clock frequency of the digital decoder can be directly set to four times the colour subcarrier frequency of the input video signal and the video signal is then directly digitized with this decoder clock frequency, so that a sample rate conversion is not necessary. The sampled values of the composite video signal (CVBS) are then passed onto the vertical WHT circuit 34, whose output supplies the input signals for the following horizontal WHT circuit 35. Both circuits are described in greater detail hereinafter. The vertical WHT circuit essentially forms a vertical low-pass filter and a vertical high-pass filter two corresponding sample values of two video image lines being added and subtracted respectively. In the horizontal WHT circuit the high and low-pass filtered sample values, in each case two lines are transformed in alternating manner into the WHT range by means of Walsh - Hadamard transformation. The resulting WHT matrix is then inputted into the control and setting circuit 36, in which on the one hand the chrominance signal components U and V are separated from the luminance signal component Y and on the other all the controls and settings of the signal are centrally performed in said circuit, in the manner described hereinafter. The WHT matrix from which the chrominance signal components have been separated, is then transformed back into the pixel range by the horizontal IWHT circuit 39 and the vertical IWHT circuit 40 and the decoded video signal components U, V and Y, optionally following an output sample rate conversion by the output sample rate converter 41, are outputted by the digital decoder. The structure and function of the individual circuit parts of the digital decoder of Fig. 5 are described hereinafter. Fig. 6 shows the structure of the vertical WHT circuit 34 of Fig. 5, which comprises the line delay means 44, two adders 45, 46, two register stacks 47, 48 and a multiplexer circuit 49. The line delay means 44 in each case stores one line of sample values of the video signal, i.e. 910 values for NTSC signals and 1135 values for PAL signals. As shown in Fig. 6 a vertical low-pass filter is formed, in that in each case two vertically aligned sample values, one from the actual video image line and one from the delayed image line, are added in the adder 45, whilst the subtraction of the same two sample values in the adder 46 provides a vertical high-pass filter. As explained hereinbefore, the vertical alignment requires a horizontal line delay. With a clock frequency of 4•f sc the line delay device has 910 individual delay stages for NTSC signals and requires 1135 delay stages for PAL signals. In each case during the start up phase of the operation of a multistandard decoder, which can process video signals of different standards, it can occur that even if the correct standard (NTSC or PAL) has been detected and the correct number of delay elements selected, that the overall delay has still not been correctly set, because the virtual sampling frequency of the input sample rate converter 32 has not yet been precisely locked-in with the line sync pulse and the burst signal phase by the line and burst phase-locked loop 33. Until the sampling frequency has been correctly set, the line delay device is consequently by-passed by means of the switch S1 shown in Fig. 6. Two register stocks 47, 48 store the last four output values of the vertical low-pass filter 45 (VWHT 0 ) or the vertical high-pass filter 46 (VWHT 1 ), the register stocks 48 having an additional register compared with the buffer 47. The outputs of the registers of stocks 47 or 48 are then outputted in alternating parallel manner to the horizontal WHT circuit 35 by means of the multiplexer circuit 49 and as shown in Fig. 7. The horizontal WHT circuit of Fig. 7 comprises eight adders 50 to 57 and is constructed in the same way as the WHT circuit described with respect to Fig. 4, which satisfies equation 7. The horizontal WHT circuit shown in Fig. 7 simultaneously derives its four input signals from the vertical WHT stage 34, the multiplexer circuit 39 alternately outputting the vertical low-passed output values VWHT 0 and the vertical high-passed output values VWHT 1 . As a result a single horizontal WHT stage performs the entire two-dimensional Walsh - Hadamard transformation, the vertical low-pass filtered elements and the vertical high-pass filtered elements being processed in the multiplex operation. With in each case one clock pulse the horizontal WHT circuit obtains the WHT coefficients WHT 0,0 to WHT 0,3 and with each second clock pulse the WHT coefficients WHT 1,0 to WHT 1,3 . As only one set of WHT coefficients is required for fulfilling the Nyquist theorem per eight clock cycles, the shown arrangement for the vertical and horizontal WHT's results in an oversampling of the WHT coefficients by a factor of 2, both in the vertical and horizontal direction. This oversampling can also be looked upon as a half overlap of transformation windows, in both the vertical and horizontal direction. This overlap is particularly advantageous, because it automatically results in the desired output format of 4:2:2, without requiring a further interpolation or an inverse WHT for the colour difference signals U and V. A two pixel overlap of WHT windows with a size of four pixels has proved to be the most favourable solutions, in which with minimum complexity the requirements regarding the bandwidth of the luminance and chrominance signal components are fulfilled and a satisfactory separation of the luminance and chrominance signal components is still ensured. The horizontal shift or displacement of in each case two pixels from one window to the next gives a phase shift of 180° for WHT 0,1 and WHT 0,2 , which can be compensated by a reversal of the inversion of these coefficients. It is pointed out that each individual output coefficient of the Walsh - Hadimard transformation represents a linear combination of all the input sample values (pixels) for said WHT, so that a single WHT output coefficient cannot be associated with a specific input sample value. In fact a set of WHT output coefficients represents the two-dimensional (spatial) spectrum of all the input sample values for a given block of a given size. As a result of the partial overlap of the transformation blocks there is a partial redundancy of the WHT coefficients, which is taken into account in that only a subset of the possible output sample values of the inverse Walsh - Hadamard transformation is computed. As this subset of the output sample values of the IWHT is still a linear combination of all the WHT coefficients of a given transformation block, it reflects all the operations performed in the WHT range. The partial overlap of the blocks is also advantageous in that for the IWHT's the block edge regions can be ignored and only the central output sample values of a given block are calculated. The WHT coefficient WHT 0,0 corresponds to a horizontally and vertically low-pass-filtered version of the composite input signal and therefore is suitable in optimum manner for the processing of the line sync signal of the video signal (sync processing). Thus, the WHT coefficient WHT 0,0 is for this purpose tapped at the output of the horizontal WHT circuit of Fig. 4. In order to keep low the quantization noise both in the luminance channel and in the chrominance channels, the output values of the horizontal WHT stage is outputted with a quantization or resolution of 10 bits. However, for the same reason the quantization of the higher order WHT coefficients WHT 0,3 and WHT 1,3 are limited purposely to 8 bits. The described 2x4 WHT and the corresponding 2x4 IWHT represent two-dimensional transformations with a block size of two rows and four columns. The input signal for the WHT is derived in the form of four successive pixels from in each case two successive horizontal lines. The WHT output coefficients represent the two-dimensional, spatial spectrum of all the input sample values for a given block of a given size. Figs. 11 to 18 show the spatial frequency response of the absolute gain function for the eight WHT output coefficients, which are derived from a 2x4 WHT. Each of these figures includes a table for in each case one WHT coefficient, the horizontal frequency ranging from d.c. (0,00) up to half the sampling frequency (0,50) and the vertical frequency ranging from d.c. (0,00) to half the vertical sampling frequency (0,50). The vertical sampling frequency is determined by the line structure of the image. For better visualisation additionally a three-dimensional plot of the frequency spectrum is shown. As expected, Fig.11 shows the two-dimensional low-pass characteristic of the "d.c. coefficient" WHT 0,0 , whereas Figs. 12 to 18 show the band-pass characteristic of the corresponding "a.c. current coefficient" WHT 0,1 to WHT 1,3 . The use of inverse WHT (IWHT) on the entire set of unmodified WHT coefficients would return the original input sample values for the WHT, multiplied by a constant factor of 8 (2x4). The WHT coefficient WHT 1,1 of Fig. 16 can be extracted as the chrominance signal component U and the WHT coefficient WHT 1,2 of Fig. 17 can be extracted as the chrominance signal component V. Figs. 16, 17 and 19 give the result for the individual chrominance signal components U and V, as well as the luminance component Y. Unlike in conventional TV decoders, Fig. 19 gives the complete horizontal and vertical bandwidth of the luminance signal component, but only the diagonal can be considered as the chrominance component. Fig. 20 shows the result if specific WHT coefficients are multiplied with different factors in order to obtain a horizontal and vertical peaking of contours (emphasising/de-emphasising of individual spectral components). The WHT output coefficients of the horizontal WHT circuit 35 are inputted into the control and setting circuit 36 shown in Fig. 8. This circuit has four multipliers 60, 63, which in the indicated manner are connected to a controller 64 and via an IC bus (I 2 C) 65 to a user interface. At the output of the multipliers 60 to 63 are separately outputted the U and V chrominance signal components, corresponding to specific WHT coefficients, and the luminance WHT coefficients. In addition, as shown in Fig. 8, there are three adders 66 to 68 in the control and setting circuit 36. Unlike in other known system architectures of digital decoders the decoder according to the invention allows the concentration of all the control and setting functions in a single hardware stage. This concentration in conjunction with the above-described multiplex scheme permits an optimum utilization of a minimum number of multipliers. For example, the following control and setting options can be provided: User Settings System Controls Brightness Chroma Aut. Gain Control Contrast Hor. Sub-Sampling Prefilter Hue/Tint Vert. Sub-Sampling Prefilter Hor. Peaking/Smoothing Color Killer Vert. Peaking/Smoothing As neither the user settings, nor the system control require a very high speed, the processing of the relevant parameters can be left to a general purpose controller. In order to economize IC pins, the user interface can be realized by means of a two-wire IC bus (I 2 C) or the like. The control outputs a to e alternate between two states, whereas the controller output f is only dedicated to the hue function. The brightness is controlled by means of the controller output a, which alternates between the setting values for the brightness (a 0 =16...+15) and the value a 1 =0. Unlike in the pixel domain, where the brightness control is obtained by the addition of a variable value to each pixel value, the same function is realized in the WHT domain in that by means of an adder 66 a specific setting value (a0 or a1) is added to the "direct current" coefficients (F 0,0 or WHT 0,0 ) of a given block. Whilst a video image line is active, the contrast has an equal impact on b 0 to e 0 and b 1 to e 1 , so that on changing the contrast the equilibrium between luminance and chrominance is maintained. During the blanking intervals the contrast is set to a nominal (neutral) value, in order not to disturb the chroma automatic gain control. Thus, much as in the pixel domain, the contract setting is achieved by multiplying each WHT value by a specific setting value. Whilst a video image line is active, the colour saturation is controlled by means of the value c 1 and d 1 , on which are superimposed the values for the chroma automatic gain control (-6dB... +20dB) and the colour killer (0 or 1). During the blanking intervals only the chroma automatic gain control (Chroma AGC) for the values c 1 and d 1 remains active. Thus, the colour saturation control is brought about by multiplying the colour difference values U and V, which are represented by the one WHT coefficient WHT 1,1 and WHT 1,2 , respectively by a specific setting value for each block. The function of the Chroma AGC 37, which cooperates with the control and setting circuit 36 (Fig. 5) is as follows. The Chroma AGC accumulates the absolute values of U and V or WHT 1,1 , WHT 1,2 during the burst gate pulse and outputs the result to the controller. The controller corrects the multiplication factors for WHT 1,1 and WHT 1,2 in such a way that the Chroma AGC stage output becomes equal to the user setting for the colour saturation. A colour killer (Coki) is additionally set under one of the three following conditions: a) if the line and burst phase-locked loop 33 is not synchronous to the colour subcarrier frequency and/or line frequency of the video signal (PLL unlocked), b) if U has the incorrect sign, or c) if the amplitude of the colour subcarrier signal is too small. As the control output f is only dedicated to the setting of the hue, there is no need to distinguish between f 0 and f 1 . As in the pixel domain, the control is achieved in that of the adders, 67 and 68, for the colour subcarrier PLL (burst PLL) an offset is added to the values for U and V, so that the phase of the sampling frequency changes correspondingly. As f only has an effect during the burst interval, it need not be disconnected during the remaining active video line. A horizontal and vertical peaking/smoothing can be achieved in that on the values b 0 to e 0 and b 1 to e 1 is superimposed a horizontal and/or vertical "contrast profile", i.e. the suitable WHT coefficients are multiplied with corresponding variable factors. In the same way it is also possible to bring about a prefiltering for horizontal and/or vertical subsample values. Whereas in the pixel domain an adaptive noise suppression is difficult to achieve, this is easily brought about in the WHT domain in that smaller WHT coefficient values are suppressed. Apart from the chroma automatic gain control, intensification control, which requires an 8 bit resolution, a 5 bit resolution is adequate for controlling all the other functions. Unlike in the pixel domain in which the different settings and controls influence the different signals in different stages of the overall digital decoder and require corresponding multipliers, in the case of the decoder according to the invention all the settings and controls can be performed by multiplications in the WHT range with a single multiplier stage, which processes a set of different factors. The two colour difference signals U and V can be directly taken from the WHT domain and require no inverse transformation. A multistandard decoder consequently requires no further adaptation for reading out the U and V colour difference signals, if it is switched between different standards, such as NTSC and PAL than the reading out of different WHT coefficients. In addition, a comparison of the corresponding WHT coefficients can be used for identifying the standard of the particular video signal. As the colour difference signals U and V are directly available as WHT coefficients WHT 1,1 and WHT 1,2 , no inverse Walsh - Hadamard transformation is necessary for these components, but must be performed for the luminance component Y. Fig. 9 shows the circuit diagram for the inverse horizontal WHT. The horizontal IWHT of Fig. 9 comprises six adders 70 to 75, which are interconnected as shown in Fig. 9. As a result of the overlap of the transformation windows or blocks of in each case two pixels for successive transformation windows the inverse horizontal WHT need only produce two of four possible output values for each window. To avoid errors at the block boundaries, it is advantageous to choose the two central values, which result from the simplified structure for the inverse horizontal structure WHT shown in Fig. 9. For the two vertical spectra the input and output values are alternatively advanced by means of a not shown multiplexer circuit. If the colour killer is active (Coki = 1), use is made of the entire spectrum for the luminance signal. The output signal of the horizontal IWHT circuit 39 is transferred to the vertical IWHT circuit 40 shown in Fig. 10. It has two delay elements 76, 77 and two adders 78, 79, which are interconnected in the manner shown. If it is only necessary to calculate the pixels of one line at a particular time, the vertical IWHT only has to calculate the vertical sum (not the difference) of the two output values of the horizontal IWHT, as shown in Fig. 7. The line delay can be replaced by a single register 76 or 77. For every other clock pulse the vertical IWHT simultaneously produces two luminance pixels. The resolution of the output signal is rounded off to 8 bits. If the frequency of the values for U, V and Y outputted by the digital decoder does not correspond to the desired frequency for the further processing of these signals, they can be converted by means of the output sample rate converter 41 into signal values of a desired output frequency.

Claims: Method for digitally decoding composite video signals (CVBS), comprising a brightness signal (luminance component Y) and two colour difference signals (chrominance components U, V), which modulate a colour subcarrier according to the quadrature amplitude modulation principle, in which (a) a plurality (N) of sample values of the video signal are transformed by means of a Walsh - Hadamard transformation (WHT) from the pixel domain into the WHT domain, (b) the colour difference signals (U, V) are derived as specific WHT coefficients of the WHT matrix obtained, (c) the WHT coefficients determining the colour difference signals (U, V) are subtracted from the WHT matrix, (d) the WHT matrix is transformed back into the pixel domain by means of an inverse Walsh - Hadamard transformation (IWHT) and (e) the brightness signal (Y) is derived from the IWHT result. Method according to claim 1, characterized in that in step (a) (a1) the sample values of the video signal are delayed by one line, (a2) each of N sample values of the actual line and N sample values of the delayed line are transformed by means of a vertical WHT and (a3) the resulting WHT coefficients are transformed by means of a horizontal WHT. Method according to claim 2, characterized in that in step (a2) N sample values of the delayed line are added to corresponding N sample values of the actual line in order to form a low-pass filter and said N sample values of the delayed line are subtracted from said N sample values of the actual line in order to form a high-pass filter and the vertical sum and difference values are used as input values for the horizontal WHT. Method according to any one of the preceding claims, characterized in that the video signal is digitized at a sampling frequency of four times the colour subcarrier frequency (4•fsc), so that with PAL video signals 1135 sample values per line are produced and with NTSC video signals 910 sample values per line are produced. Method according to any one of the preceding claims, characterized in that N=4 or N=8. Method according to any one of the preceding claims, characterized in that following step (a) the resulting WHT matrix is multiplied with a control and setting matrix. Method according to any one of the preceding claims, characterized in that the least significant WHT coefficient (WHT 0,0 ) of the WHT matrix is used for deriving the line sync pulse of the video signal. Method according to any one of the preceding claims, characterized in that for reducing noise low order WHT coefficients WHT x,y << WHT mean, are suppressed. Method according to any one of the preceding claims, characterized in that for reducing quantization noise low order WHT coefficients are reproduced with a lower precision (resolution) than higher order WHT coefficients. Digital decoder for composite video signals (CVBS), comprising a brightness signal (luminance component Y) and two colour difference signals (chrominance components U, V), having a transformation means (34, 35), which transforms a plurality (N) of sample values of the video signal by means of a Walsh - Hadamard transformation (WHT) from the pixel domain into the WHT domain, a setting means (36), which multiplies the WHT coefficients of the resulting WHT matrix with control and setting parameters, the setting means having an output for deriving specific WHT coefficients as colour difference signals (U, V), and an inverse transformation means (39, 40), which transforms back the remaining WHT coefficients of the WHT matrix by means of an inverse Walsh - Hadamard transformation (IWHT) into the pixel domain and outputs same as the brightness signal (Y). Decoder according to claim 10, characterized in that the transformation means has a vertical (34) and a horizontal (35) WHT means, which are connected in series. Decoder according to claim 11, characterized in that the vertical transformation means (34) has the following features: a delay means (44), which delays by one line the video signal sample values, an adder (45), which adds the N delayed sample values to corresponding N sample values of the actual line to form a low-pass filter, a subtracter (46), which subtracts the N delayed sample values from the N sample values of the actual line to form a high-pass filter and a multiplexer (49) in order to selectively output the vertical sum and difference values as input values for the horizontal transformation means. Decoder according to claim 11 or 12, characterized in that the horizontal transformation means (35) has an adding mechanism (50-55), which performs the following operation: in which F(u,v,t) are the transformed coefficients in the WHT domain, f(x,t) the sample values in the pixel domain and Φ u,v the Walsh - Hadamard transformation matrix. Decoder according to any one of the claims 10 to 13, characterized in that N=4. Decoder according to any one of the claims 11 to 14, characterized in that the horizontal transformation means (35) has eight adders (50-57), whereof in each case four are connected in parallel, the output signals of the first four adders serving as input signals of the second four adders, so that the following equation is fulfilled: wherein f(1), f(2), f(3), and f(4) are sample values in the pixel domain. Decoder according to any one of the claims 10 to 14, characterized by an input sample rate converter (32), which converts the input sample values of the video signals (CVBS) digitized at a first given clock frequency into desired sample values at a second virtual sampling frequency of four times the colour subcarrier frequency (4•fsc).

Inventors: DEMMER WALTER, DEMMER, WALTER
Applicants: HARRIS CORP, HARRIS CORPORATION
Application year: 1995
Main classification: H04N9
IPC codes: H04N9, H04N11, H04N7