Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DIGITAL FILTER CONFIGURATION
Document Type and Number:
WIPO Patent Application WO/2004/098054
Kind Code:
A1
Abstract:
A digital filter configuration for the filtration of a digital video signal, wherein the functions of a zoom filter, in the form of a low-pass filter, which is a polyphase filter, and of at least one peaking filter, in the form of a high-pass filter, are realized, wherein the functions of the two filters are realized in a combined filter (1 - 17) in an integrated circuit in a manner such that, for each phase of the zoom filter to be set, combined filter coefficients are calculated from filter coefficients stored for this phase of the zoom filter and from filter coefficients stored for the peaking filter, which combined filter coefficients are applied to the video data to be filtered in a filtration process, so that both filtration functions are executed with the combined filter coefficients in this filtration process.

Inventors:
MATSCHULLAT FRANK (DE)
Application Number:
PCT/IB2004/001226
Publication Date:
November 11, 2004
Filing Date:
April 22, 2004
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
PHILIPS INTELLECTUAL PROPERTY (DE)
KONINKL PHILIPS ELECTRONICS NV (NL)
MATSCHULLAT FRANK (DE)
International Classes:
H03H17/02; H03H17/06; (IPC1-7): H03H17/02
Domestic Patent References:
WO2004055983A12004-07-01
Foreign References:
US20020012390A12002-01-31
US5892695A1999-04-06
Attorney, Agent or Firm:
Volmer, Georg (Weisshausstr. 2, Aachen, DE)
Download PDF:
Claims:
CLAIMS:
1. A digital filter configuration for the filtration of a digital video signal, wherein the functions of a zoom filter, in the form of a lowpass filter, which is a polyphase filter, and of at least one peaking filter, in the form of a highpass filter, are realized, wherein the functions of the two filters are realized in a combined filter (117) in an integrated circuit in a manner such that, for each phase of the zoom filter to be set, combined filter coefficients are calculated from filter coefficients stored for this phase of the zoom filter and from filter coefficients stored for the peaking filter, which combined filter coefficients are applied to the video data to be filtered in a filtration process, so that both filtration functions are executed with the combined filter coefficients in this filtration process.
2. A digital filter configuration as claimed in claim 1, characterized in that the filter coefficients for the polyphase filter are stored in a manner such that the value range of the coefficients is subjected to an offset, that negative values no longer occur and therefore no sign bit is stored, and that, following the readingout of the filter coefficients and before their application in the filter, the offset is cancelled.
3. A digital filter configuration as claimed in claim 1, characterized in that a data reduction of the x filter coefficients for the polyphase filter is applied in a manner such that the filter coefficients are stored for (q/2) of the desired q phases, and that the filter coefficients for the remaining phases are calculated from the stored filter coefficients in a manner such that, in order to calculate a set of coefficients of a phase Pqr, the stored filter coefficients of the phase Pr are used, reversing their order, wherein r is the consecutive number of the phase and q is the total number of phases.
4. A digital filter configuration as claimed in claim 1, characterized in that the calculation of the filter coefficients of the combined filter is undertaken in accordance with: Y1 * Coefficientk= Ez oF2 (y z*Fl (ky+l+) where F, = Coefficients of a phase of the zoom filter, x = Quantity of the coefficients F, of a phase of the zoom filter, F2 = Coefficients of the peaking filter, y = Quantity of the coefficients F2 of the peaking filter, n = Quantity of the coefficients of the combined filter, k = Consecutive number of the coefficient to be calculated (1, 2.. n) of the combined filter, wherein: n=x+y1.
Description:
Digital filter configuration

The invention relates to a digital filter configuration for filtration of a digital video signal. A zoom filter, in the form of a low-pass filter, which is a polyphase filter, and at least one peaking filter, in the form of a high-pass filter, are provided hereby.

Configurations of this kind are known from the prior art, wherein the zoom filter and the peaking filter are generally constructed individually as separate filters in these configurations. In principle, the peaking filter exhibits a filter characteristic for which a specific number of filter coefficients for setting the filter graduation are provided. The zoom filter takes the form of a polyphase filter, i. e. it can realize different filter characteristics as a function of different stored filter coefficients. This filter takes the form of a low-pass filter.

Both filters generally serve to process video signals in such a way that the representation of the video signal is zoomed-in on a display, i. e. an enlarged representation is achieved. The zoom filter hereby serves to suppress undesired high-frequency components. The zooming-in gives rise to a loss of definition, which is to be balanced out with the peaking filter.

Known from US patent 5422827 are a configuration and a method of filtering a video signal, in which both a zooming function and a peaking function are realized. With this known method too, however, the disadvantage still exists that the possible filter characteristics saved are all stored individually, and that, for every phase to be newly set, the filter coefficients for the combined filtration are read, from the stored values, from the filter coefficient stored for each phase of the zoom filter and from the filter coefficients of the peaking filter. The memory requirement for storing all possible filter coefficients is therefore considerable.

It is an object of the invention to specify a configuration of the kind mentioned above, in which the filtration functions of the zoom filter and peaking filter are realized in the simplest possible manner, wherein the smallest possible memory requirement exists for each of the stored filter coefficients of the two filters.

This object is achieved in accordance with the invention by means of the features claimed in claim 1: A digital filter configuration for the filtration of a digital video signal, wherein the functions of a zoom filter, in the form of a low-pass filter, which is a polyphase filter, and

of at least one peaking filter, in the form of a high-pass filter, are realized, wherein the functions of the two filters are realized in a combined filter in an integrated circuit in a manner such that, for each phase of the zoom filter to be set, combined filter coefficients are calculated from filter coefficients stored for this phase of the zoom filter and from filter coefficients stored for the peaking filter, which combined filter coefficients are applied to the video data to be filtered in a filtration process, so that both filtration functions are executed with the combined filter coefficients in this filtration process.

In the digital filter configuration in accordance with the invention for filtering a digital video signal, the zoom filter, in the form of a polyphase filter, and the peaking filter are realized in a combined filtration function. In other words, a filter is used in which, de facto, the filter coefficients are the combined filter coefficients calculated from the filter coefficients of the zoom filter and the peaking filter.

Since the zoom filter is a polyphase filter, which may have, for example, 16 different settings, then, in solutions that are part of the prior art, combined filter coefficients must be stored for all these 16 phases with the, for example, 3 filter coefficients of the peaking filter. This gives rise to a considerable memory requirement. Conversely, in the solution in accordance with the invention, the combined filter coefficients are calculated in real time. Account is hereby taken of which phase is set in the zoom filter. The combined filter coefficients are then calculated in real time, in the digital filter configuration, from the filter coefficients of the set phase of the zoom filter and the filter coefficients of the peaking filter, and are used in the combined filter. The storage of the combined filter coefficients for all phases of the zoom filter is thereby dispensed with. Only the storage of the filter coefficients of the polyphase filter per se need take place. Since the combined filter coefficients are of a greater number than the filter coefficients of the zoom filter alone, this gives rise to a saving in memory space.

The combining of the zoom filter and peaking filter further gives rise to an improvement of the filtration function. Given the same filter coefficients, a better peaking function is achieved with the combined filter in accordance with the invention than with individually provided filters with precisely these same filter coefficients.

A further reduction in memory space for the filter coefficients of the polyphase filter is achieved in accordance with one embodiment of the invention as claimed in claim 2. The filter coefficients may have negative values where applicable. In the case of solutions in accordance with the prior art, these negative values are identified in the memory by a particular sign bit. In the solution as claimed in claim 2, all filter coefficients to be stored

are subjected to an offset such that negative values no longer occur. The filter coefficients thus subjected to this offset are stored. A memory bit for the sign is hereby no longer necessary. Following the reading-out of the filter coefficients and before their application for the filtration, the offset is cancelled.

In accordance with a further embodiment of the invention as claimed in claim 3, only the filter coefficients of half the phases of the polyphase filter are stored for the polyphase filter. As a result, there is a further halving of the memory requirement. This is possible because the various phases of the polyphase filter are of a nature such that the filter coefficients are in mirror symmetry to each other. Through the filter coefficients of a phase of the polyphase filter, a virtual weighting takes place of various values used for the filtration.

The different phases of the filter provide a different weighting of these value ranges. In practice, these weightings proceed with mirror symmetry for the various phases of the polyphase filter. As provided under claim 3, therefore, the obtaining of the filter coefficients of the non-stored phases from the stored phases can be undertaken in a manner such that, with a total number of phases of q, only the phases from P, to Pq/2 are stored. If, for example, the set of coefficients of a phase Pq r is to be obtained, the filter coefficients of the phase Pr may be used, reversing their order. Half the filter coefficients can thereby be calculated from the other half, halving the memory requirement for the filter coefficients.

In accordance with a further embodiment of the invention as claimed in claim 4, the combined filter coefficients may advantageously be calculated in accordance with the formula specified in the claim. A quantity of combined filter coefficients thereby arises that is smaller by 1 than the sum of the filter coefficients of the two individual filters. Of significance here is the fact that the combined filter coefficients are calculated in real time and therefore do not have to be stored.

The invention will be further described with reference to examples of embodiments shown in the drawings, to which, however, the invention is not restricted.

Fig. 1 shows a schematic representation of the digital filter configuration in accordance with the invention with the combined filter.

Fig. 2 to Fig. 4 show some examples of sets of filter coefficients for the polyphase filter.

A filter configuration shown in Fig. 1 in the form of a schematic block circuit diagram serves to filter a digital video signal. Both a zoom filtration function, which involves a low-pass filter, and a peaking function, which involves a high-pass filter, are realized hereby. In the configuration in accordance with the invention, these two filtration functions are realized in a combined filter, which operates with combined filter coefficients. Depending on the setting of the zoom filter, which is a polyphase filter, the combined filter coefficients are calculated in real time.

Fig. 1 shows a memory 1 in which three filter coefficients are stored. These filter coefficients are those of the peaking filter. Also provided is an adjustable mixer 2, by means of which the setting of the intensity of the peaking function can be undertaken as a function of an external signal PEAK. The filter coefficients from memory 1 are hereby varied once more in order to adjust the strength of the peaking function. The filter coefficients for the peaking function, thus varied once more, are sent to a unit 3 for calculation of the combined filter coefficients.

Also provided is a ROM memory 4 in which filter coefficients for one phase of the zoom filter, in the form of a polyphase filter, are stored.

Also provided is a RAM memory 5 in which the particular filter coefficients assigned for the phases of the zoom filter, in the form of a polyphase filter, are stored.

The ROM 4 hereby serves to make available initially one set of filter coefficients during a cold start of the digital filter. Once the configuration has been put into service, the further sets of filter coefficients are written to RAM memory 5 and are available for the various phases. As a function of an external signal Ph, data is read out of the RAM memory 5 in a unit 6 for selection of the set phase as a function of these particular filter coefficients assigned, and passed on to a unit 7 for reconstruction of the filter coefficients.

Where applicable, the filter coefficients are not fully stored in the memories 4 and 5, as will be further explained below. The unit 7 can therefore reconstruct the actual filter coefficients as a function of the data reduction brought about with the storage of the filter coefficients. To this end, a signal MM, which indicates whether or not only half the filter coefficients are stored in the memories 4 and 5, is sent to the unit 7. Further, a signal VO, which indicates whether or not the filter coefficients are stored with an offset, is sent to the unit 7. Further, a signal SP, which indicates the total quantity of phases provided, is sent to the unit 7.

From the filter coefficients sent to it from the unit 6, the unit 7 calculates, as a function of the signals MM, SP and VO, the actual filter coefficients. Initially, these are still exclusively the filter coefficients for the zoom filtration function. The unit 7 supplies these

filter coefficients for the particular set phase to the unit 3 for calculation of the combined filter coefficients.

In the embodiment example shown in Fig. 1, it is assumed that the zoom filter exhibits four filter coefficients per phase, and the peaking filter three filter coefficients per phase. In this example, the unit 3 for calculation of the filter coefficients calculates six combined filter coefficients, the quantity of which is one less than the sum of the individual filter coefficients of the two filters. These filter coefficients are sent to six multipliers 11 to 16 provided in the filter configuration, to each of which one scanning value, S 1 to S6, of the video signal to be filtered is sent. If, for example, a zooming and peaking of the video signal is to take place in the vertical direction, then the scanning values S 1 to S6 are the values of six pixels located vertically one above the other in adjacent scanning lines.

In the multipliers 11 to 16, the values of these pixels have the particular filter coefficients applied to them. The values thereby obtained are added up in an adding stage 17.

In a rounding stage 18 downstream of this, the values obtained are rounded off, and then divided by a predetermined value in a stage 19, which in turn is downstream of this, as a result of which a scaling of the value to a desired value range is achieved. Since overshoots may occur in the digital signal as a result of the filtration function, a clipping stage 20 is also provided to eliminate these overshoots if they exceed predetermined values. The clipping stage 20 supplies the output signal to the digital filter configuration.

One important advantage of the digital filter configuration in accordance with the invention consists in the fact that the calculation of the combined filter coefficients in the unit 3 takes place in real time, depending on the phase of the zoom filtration function set. The combined filter coefficients do not, therefore, have to be stored for all phases. All that need actually be stored are the non-combined, i. e. individual, filter coefficients of the two filtration functions. And further memory space can be saved hereby, as will be explained below.

The unit 3 for calculation of the combined filter coefficients may, advantageously, undertake its calculation according to the following formula: Y-1 Coefficient Zz=0 2 (-) ! (--+'+z)- Here, F, are the coefficients of a phase of the zoom filter and X2 is its quantity.

Correspondingly, F2 are the coefficients of the peaking filter, which exhibits only one phase, and y is its quantity. n is the quantity of the coefficients of the combined filter, which derives from n = x + y-1. k is the consecutive number of the coefficient to be calculated, which runs

from 1 to n. For each set phase, therefore, the assigned combined set of filter coefficients can be calculated from this formula. This is illustrated with reference to two examples: Example 1: F = A, B, C, D wherein A is the first coefficient, B is the second coefficient, etc.

F2 = E, F, G wherein E is the first coefficient, F is the second coefficient, etc.

Coefficient 1: (k = 1, x = 4, y = 3) z=0 z=1 z=2 y-z = 3-> G y-z = 2-> F y-z = 1-> E k-y+l+z =-1-> 0 k-y+l+z = 0-> 0 k-y+l+z = 1-> A => G*0 + F*0 +E*A = E*A Coefficient 1 = E*A Coefficient 2: (k = 2, x = 4, y = 3) z=0 z=1 z=2 y-z = 3-> G y-z = 2-> F y-z = 1-> E k-y+l+z = 0-> 0 k-y+l+z = 1-> A k-y+l+z = 2-> B => G*0 + F*A +E*B = F*A + E*B Coefficient 2 = F*A + E*B With corresponding application of the above formula, the following is derived for the remaining coefficients: Coefficient 3 = C*E + F*B + A*G Coefficient 4 = D*E + C*F + B*G Coefficient 5 = D*F + C*G Coefficient 6 = G*D

Example 2: Fl = E, F, G wherein E is the first coefficient, F is the second coefficient, etc.

F2 = A, B, C, D wherein A is the first coefficient, B is the second coefficient, etc.

Coefficient 1: (k = 1, x = 3, y = 4) z=0 z=1 z=2 z=3<BR> y-z=4->D y-z=3->C y-z=2->B y-z= 1->A<BR> k-y+l+z =-2-> 0 k-y+l+z =-1-> 0 k-y+l+z = 0-> 0 k-y+l+z = 1-> E D*0 + C*0 + B*0 + A*E = E*A Coefficient 1 = E*A Coefficient 2: (k = 2, x = 3, y = 4) z=0 z=1 z=2 z=3<BR> y-z = 4-> D y-z = 3-> C y-z = 2-> B y-z = 1-> A k-y+l+z =-1-> 0 k-y+l+z = 0-> 0 k-y+l+z = 1-> E k-y+l+z = 2-> F D*0 + C*A + B*E + A*F = F*A + E*B Coefficient 2 = F*A + E*B With corresponding application of the above formula, the following is derived for the remaining coefficients: Coefficient 3 = C*E + F*B + A*G Coefficient 4 = D*E + C*F + B*G Coefficient 5 = D*F + C*G Coefficient 6 = G*D

These two examples show that the filter coefficients are"shifted one above another"in a kind of convolution, giving rise to the above-mentioned combined filter coefficients 1 to 6. These combined filter coefficients then realize a combined filtration, during which both the zoom filtration function and the peaking filtration function are realized.

As a result of this calculation of the combined filter coefficients in the unit 3 of the configuration in accordance with Fig. 1, a considerable saving in memory space is obtained, since, depending on the phase set, these combined filter coefficients are calculated in real time and do not have to be stored.

As already explained above, the filter coefficients for the various phases of the zoom filtration function are stored in the memories 4 and 5. Fig. 2 shows a possible set of filter coefficients of this kind for eight phases. In the example shown in Fig. 2, four filter coefficients per phase are assumed for the sake of simplicity. By way of example, therefore, in the example shown in Fig. 2, the filter coefficients for phase 0 would be-6,34, 215 and 13.

Basically, there is an option of storing the filter coefficients in the memory 5 in the pattern as shown in Fig. 2.

However, a further reduction in memory space can be achieved in the filter configuration in accordance with the invention. To this end, the set of filters shown in the arrangement in Fig. 3 is, in principle, the same as those in Fig. 2, but subjected to an offset such that none of the filter coefficients is smaller than 0. As the set of filter data in Fig. 2 shows, the smallest negative value occurring is the value-6. If the filter coefficients of the data set shown in Fig. 2 are now subjected to an offset of +6, then we derive the filter coefficient sets as shown in Fig. 3. In the filter data set shown in Fig. 3, negative filter coefficients no longer occur. If these filter coefficients are now stored in the version indicated in Fig. 3, the necessity to provide a sign bit no longer applies for storage in this manner. One memory space per filter coefficient is thereby saved.

As the arrangement in Fig. 3 also shows, the filter coefficients are arranged in mirror symmetry to one another, wherein there is a reversal of the order of the filter coefficients. If the filter coefficients of phase 0 are compared with those of phase 7, for example, they are identical if this reversal of the order is applied. The same applies to phases 1 and 6, to phases 2 and 5, and to phases 3 and 4. It is therefore sufficient, as the schematic diagram of Fig. 4 illustrates, to store only the filter coefficients for phases 0 to 3. The filter coefficients for phases 4 to 7 can then be calculated from phases 0 to 3, wherein the above-

explained principle is applied for the calculation. As a result, a further reduction, namely a halving, of the necessary memory requirement can be realized in the memory 5.

Overall, as a result of the calculation of the combined filter coefficients being undertaken in real time as a function of the phase of the zoom filter set, and, where applicable, of the further reduction of the data for the various phases of the zoom filtration function, a considerable reduction in memory requirement is achieved with the digital filter configuration in accordance with the invention. This is especially important in practice because memory space demands a relatively large amount of chip surface in integrated circuits.