Method and device for spatial filtering of digital images decoded by transformation of block
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to the filtering of animated digital images which are obtained after coding and decoding by transformation of pixel blocks respectively in a transmitting terminal and a receiving terminal, the purpose of these coding and decoding operations being to reduce the data bit rate in a transmission line linking the two terminals. 
     2. Description of the Prior Art 
     Current studies in telecommunications networks are notably oriented towards the transmission of images between subscribers. To do this, in view of the infrastructure of existing networks, it is necessary to use transmission means with a limited frequency bandwidth. For indicative purposes, an animated television image requires a digital bit rate of the order of a hundredth of Mbit/s, whereas basic access to the Integrated Services Digital Network (ISDN) offers two channels at a rate of 64 kbit/s, one being intended for the transmission of sound and the other, in such applications, for the transmission of images. For such a low transmission bit rate that can be typically included between 64 and 1,920 kbit/s, coding and decoding devices have been provided in the transmitter and receiver in order to compress the image to be transmitted, and more precisely to limit the data to be transmitted in the transmission line while correctly reconstituting the animated image by the receiver. Three main techniques have been advocated to meet these requirements: 
     a) coding by prediction: this consists in the transmission of a prediction error by the transmitter to the receiver, to be added to the predicted value of the image point derived in the receiver, the prediction algorithms being identical in the transmitter and receiver; 
     b) coding by transformation: this consists in representing the image in a different space of the image plane, for easier separation of redundant and relevant data of the image and for transmission of the latter only; and 
     c) coding by approximation: this consists in deducing, from a part of the transmitted image, the other part of the image. 
     These three methods are combinable and separately call on three distinct operations, namely transformation, quantization and coding. 
     International standardization organizations, such as the CIE, CCITT and ISO, decided in 1988 to draw up a standard for the coding of fixed and animated images based on prediction, compensation of motion and discrete cosine transformation DCT (close to the Fourier transform). DCT transformation offers data compressing qualities, simplicity of use and compatibility with the standards being developed in the field of animated images (Visiophone (registered trade mark), digital television, . . . ). 
     Discrete cosine transformation consists in passing from a &#34;visual&#34; marking in which each picture element, called pixel, represents a brightness level varying e.g. from 0 to 255, to a &#34;transformed&#34; marking of the same dimension. The complexity in performing such operators being a function of the dimension (I.N)(J.N) of the image to be processed, the transformation applies to a plurality (I.J) of square blocks of pixels with dimension N 2  in the digitalized image, N, I and J being integers, and (I.N) and (J.N) denoting the number of lines of pixels and the number of columns of pixels in an image. Furthermore, as the function of the discrete cosine transform is to operate in a two-dimensional space where the coefficients are uncorrelated, a maximum level of uncorrelation between pixels of the image plane and &#34;pixels&#34; of the transformed plane is obtained thereby determining image blocks in which the pixels have a high level of correlation, which intuitively corresponds effectively to small image areas having substantially the same characteristics as regards brightness, color, etc. Typically, the values of N are equal to 8, 16 or 32. 
     This dividing into blocks of the digitalized image leads, at the level of the boundaries separating these blocks, to disturbance effects resulting in a mosaic impression in the image reconstituted by the receiving terminal. 
     These disturbance effects produce an appearance of block structure of the image, and are generated by: 
     discontinuities in brightness, or edge effects, at the boundaries of the blocks. This phenomenon is due to the fact that each block is virtually translated in the course of the transformation into an infinite and periodic (even) sequence for obtaining a periodic spectrum, and therefore transform coefficients in finite number; and 
     an inter-block noise generated by quantization errors from a given block to an adjacent block, quantizations being applied on the transform coefficients. 
     For purely explanatory purposes, FIGS. 1A and 1B show two square blocks, BL1 and BL2, which are consecutive in an image and each have N 2  =64 pixels, transmitted by a transmitter and reconstituted by a receiver. The image is presupposed to be in black and white. A closed curve CF in a dark line shows the appearance, as perceived by the eye, of the contour of a set of black pixels in the two blocks. A magnifying glass LO shows, by comparison with FIG. 1A, that in FIG. 1B, a break in the continuity of the curve is induced by these disturbance effects. The effect produced at the level of the entire image will be intuitively conceived. 
     OBJECT OF THE INVENTION 
     The main object of this invention is to attenuate, or indeed to suppress, the disturbance effects in an animated or fixed digitalized image, after the latter has been encoded and decoded by transformation of blocks, and before it is visualized e.g. on a television monitor. 
     SUMMARY OF THE INVENTION 
     Accordingly, there is provided a method for filtering a digital image obtained after coding and decoding by transformation and quantization of pixel blocks of dimension N ×N, N being an integer. Each of the blocks is comprised of N parallel segments of pixels having respective brightness levels, and is separated, in line and column, from adjacent blocks by respective boundaries. 
     The method comprises the following steps for each half-segment of said N segments in a given block separated from a corresponding colinear half-segment in one of the adjacent blocks by respective of said boundaries: 
     detecting discontinuity in brightness level with respect to a pixel of the each half-segment bordering on the respective boundary when two discrete gradients of brightness level depending respectively on brightness levels of two pixels adjacent to the bordering pixel have opposite signs; 
     and responsive to the brightness level discontinuity with respect to said bordering pixel being detected: 
     evaluating a discontinuity divergence equal to an absolute value of a difference between the brightness level of said bordering pixel and an arithmetical average of brightness levels of the two adjacent pixels; and 
     correcting the brightness level of the bordering pixel into a corrected brightness level respectively 
     by subtracting from the brightness level of said bordering pixel of a discontinuity correction factor which depends on the discontinuity divergence and on a quantization pitch used in the coding and decoding by transformation of the given block, when the brightness level of the bordering pixel is more than the arithmetical average, and by adding the discontinuity correction factor to the brightness level of the bordering pixel when the brightness level of the bordering pixel is less than the arithmetical average. 
     These first steps of the method contribute to attenuating the differences in brightness levels, such as peaks, right at the boundary between two adjacent blocks. 
     As will be seen in the description of a preferred embodiment hereinunder, the brightness levels are relative to one of the component video signals of an color image, such as luminance and chrominance. In practice, the method embodying the invention is used simultaneously for all the component video signals. 
     Preferably, the first steps of the method are followed by second steps improving the continuity of the image on both sides of the boundary between two adjacent blocks and thereby obviating the quantization errors between two adjacent blocks. 
     These second steps for said each half-segment in the given block and said corresponding colinear half-segment in the one of the adjacent blocks separated therebetween by said one of the boundaries, consist in: 
     evaluating a dummy brightness level at the one of the boundaries respectively 
     equal to a sum of the corrected brightness level of the bordering pixel of the each half-segment and of a half-difference of the corrected brightness level and a brightness level of a pixel of the corresponding half-segment which is adjacent to the bordering pixel when the corrected brightness level of the bordering pixel is more than the brightness level of the pixel adjacent to the bordering pixel, and 
     equal to a difference of the corrected brightness level of the bordering pixel and the half-difference when the corrected brightness level of the bordering pixel is less than the brightness level of the pixel adjacent to the bordering pixel; 
     evaluating a block divergence equal to a difference between two dummy brightness levels evaluated respectively for the each half-segment and the corresponding half-segment; 
     determinating a block correction factor as a function of the block divergence and of quantization pitchs used in the coding and decoding by transformation of the given block and one of the adjacent blocks respectively; and 
     correcting brightness levels of pixel of the each half-segment and the corresponding half-segment respectively 
     by subtracting from the pixel brightness levels the segment correction factor weighted by decreasing coefficients respectively in proportion to distances between the pixels and the boundary between the each half-segment and the corresponding half-segment, when the dummy brightness level relating to the each half-segment is more than the dummy brightness level relating to the corresponding half-segment, and 
     by adding to the pixel brightness levels the block correction factor weighted by the coefficients when the dummy brightness level relating to the each half-segment is less than the dummy brightness level relating to the corresponding half-segment. 
     The spatial processing of a decoded digitalized image according to the invention can indifferently consider the lines or the columns of a block as segments of the block. 
     The spatial processing of the image is performed equally well in the horizontal direction and in the vertical direction. 
     The method thus comprises: 
     beforehand, a translation of each of the blocks of segments of the image into a block translated according to a half-diagonal of said block, then a series of stages complying with the above-mentioned stages and relating to each of the two half-segments each composing lines, respectively columns, of said translated block in order to consitute a first corrected block, and 
     a series of stages complying with the above-mentioned stages and relating to each of the two half-segments each composing columns, respectively lines, of said translated block. 
     The invention further relates to a device for filtering digitalized images for implementing the method. 
     When the filtering device performs at least the first steps of the method, it comprises: 
     an input means for translating said decoded blocks according to a half-diagonal of the decoded blocks into translated blocks, each of the translated blocks having horizontal and vertical axes of symmetry corresponding to boundaries of the decoded blocks thereby producing in series N pixel segments of said each translated block, each of the pixel segments being formed with two colinear half-segments in two respective adjacent decoded blocks separated by a boundary; 
     a first means for successively evaluating, for each half-segment in the each of the pixel segments, a discontinuity divergence equal to an absolute value of a difference between a brightness level of a pixel of the each half-segment bordering on the boundary and a arithmetical average of brightness levels of two pixels adjacent to the bordering pixel and respectively included in the each half-segment and a corresponding half-segment which borders on the boundary and is colinear with the each half-segment; 
     a first means for determining, for the each half-segment, a discontinuity correction factor and a sign of the discontinuity divergence as a function of the discontinuity divergence and a quantization pitch used in the coding and decoding by transformation of the decoded block to which the each half-segment belongs; and 
     a first means for correcting the brightness levels of the pixels in the each half-segment and corresponding colinear half-segment as a function of discontinuity correction factor and sign, thereby deriving first corrected brightness levels of the pixels in the each of the pixel segments 
     When the filtering device also performs the second steps of the method, it comprises 
     a second means for successively evaluating, for the each of the pixel segments, a block divergence equal to a difference between two dummy brightness levels evaluated respectively for the each half-segment and the corresponding colinear half-segment, a dummy brightness level for the each half-segment being evaluated as a sum and a difference of the corrected brightness level of the bordering pixel and of a half-difference of the corrected brightness level and a brightness level of the pixel included in the corresponding colinear half-segment and bordering on the boundary respectively when the corrected brightness level of the bordering pixel is less and more than the brightness level of the pixel included in the corresponding colinear half-segment, 
     a second means for determining a block correction factor and a sign of the block divergence as a function of the block divergence and the quantization pitch; and 
     a second means for correcting brightness levels of pixels of the each half-segment and the corresponding colinear half-segment by adding respectively and subtracting from the pixel brightness levels the block correction factor weighted by decreasing coefficients, in proportion to distances between the pixels and the boundary respectively when the dummy brightness level relating to the each half-segment is more and less than the dummy brightness level relating to the corresponding colinear half-segment. 
     Preferably, in order to reduce the cost of the filtering device, the first and second determining means are merged. The filtering device comprises a first means for multiplexing discontinuity divergences and block divergences into multiplexed divergences applied to the merged determining means which transmit multiplexed discontinuity and block correction factors to the first and second correcting means. 
     When the filtering device corrects the disturbance effects in an image in both line direction and column direction, it comprises a second means set of second means for evaluating, determining and correcting relating to second segments constituted by columns, respectively lines of the translated blocks, which is similar to a first means set including the first means relating to first segments constituted by lines, respectively columns of the translated blocks, and which operates subsequent to the first means set. 
     To further reduce the cost of this filtering device processing both the lines and the columns of image blocks, the first and second divergence evaluating means are merged, and the first and second means for determining correction factors are merged. In this case, the device comprises a first means for transposing each block of first corrected segments coming from the first means set, into transposed blocks, a second means for multiplexing the translated blocks and the transposed blocks into multiplexed blocks applied to the second means set, and a means for transposing the corrected blocks produced by the second means set. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     Further features and advantages of the invention will be apparent more clearly from the following description of several preferred embodiments of this invention as illustrated in the corresponding accompanying drawings in which: 
     FIGS. 1A and 1B, previously commented, respectively show two image blocks transmitted and reconstituted to appreciate the effect of discontinuity at the boundaries of blocks; 
     FIG. 2 is a schematic block-diagram of a transmission/reception chain for reduced-rate digital images, including a spatial filtering device embodying the invention; 
     FIG. 3 shows an image of dimension (NI×NJ) pixels put into the form of a plurality of blocks of dimension (N×N) pixels; 
     FIG. 4 is a diagram of the brightness level for line, respectively column, in two adjacent blocks for computation of a discontinuity divergence; 
     FIG. 5 shows two curves of discontinuity correction factor as a function of discontinuity divergence; 
     FIG. 6 is a diagram of the brightness level for a line, respectively column, in two adjacent blocks for computation of a block divergence and a correction of this divergence; 
     FIG. 7 is a partial diagram of an image showing a translation operation performed on initial image blocks; 
     FIG. 8 shows a translated block; and 
     FIG. 9 is a block diagram of the spatial filtering device embodying the invention. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     In reference to FIG. 2, a chain of transmission of animated digitalized images embodying the prior art, e.g. within the framework of a video conference of the VISIOREUNION type between two distant groups of users, essentially comprises a video or a camera 1, an analog-to-digital color converter 2, an transformation encoder 3, a transmission line LT, a transformation decoder 4, a digital-to-analog color converter 6 and a color television monitor 7. The camera 1 produces the video analog signals relating to the luminance component L and the two interlaced chrominance components, representative of filmed animated images. The luminance component and the alternated chrominance components are sampled according to a predetermined television standard for each pixel in two 8-bit words in the converter 2 for transmission to the encoder 3. The encoder serially processes each of the two digitalized video components, after having previously divided the image into (I.N)(J.N) pixels in a plurality (I.J) of square blocks of dimension (N×N), as shown in FIG. 3. In practice, knowing that the alternated sampling periodicities of the chrominance components are equal to half that of the luminance component, the chrominance blocks each correspond to four luminance blocks. The prior dividing simplifies the processing of the transformation then performed on the blocks. This transformation operation is therefore performed on each of the blocks separately. The coefficients obtained by the transformation are then quantized and subsequently encoded for transmission in the transmission line LT. 
     An opposite operation to the operation performed by the encoder 3 is then carried out in the decoder 4. At a frequency taking into account man&#39;s psycho-visual limits, the decoder produces digital pixels of reconstituted animated images corresponding to the images initially filmed. These digital pixels are converted by the converter 6 into three video analog signals to be visualized in the form of the reconstituted images on the screen of the television monitor 7. 
     A filtering device 5 embodying the invention is inserted between the output of the decoder 4 and the input of the digital-to-analog converter 6, and receives blocks of each reconstituted image, comprised of digital pixels. 
     For the purposes of simplification, only one of the three video component signals, i.e., the luminance signal, is considered in the description hereinunder of the filtering device. In practice, the three component signals can be filtered in parallel by three filtering devices embodying the invention. The signal to be filtered will be called as a &#34;video component signal&#34; hereinafter. Likewise, the description is limited to a dividing of the image of dimension (I.N)(J.N) pixels into a plurality of square blocks with N 2  pixels, with N =8, although other divisions into blocks of e.g. 16×16 pixels are possible within the scope of the invention. Consequently, in the description and in compliance with coding by transformation of blocks, each initial image is divided into square blocks of (8×8) pixels each comprising eight line segments or equally eight column segments of eight pixels each. A limit between two adjacent blocks is called &#34;block boundary&#34;. These definitions are specified in FIG. 3. 
     In reference to FIGS.4 and 5, a first set of steps constitutive of the image filtering method embodying the invention concerns the discontinuity of brightness at the boundaries of adjacent blocks. 
     FIG. 4 shows a spatial distribution of amplitude level of two half-segments, which each comprise N/2=4 image pixels A, B, C and D, respectively E, F, G and H and which are colinear on both sides of the boundary separating two adjoining blocks BL1 and BL2. In practice, these half-segments are two block half-lines, or two block half-columns, and correspond to 2(N/2) =8 successive pixels of a line and a column, respectively, in the image. The discontinuity faults relating to the encoding by transformation of block mainly appear at the level of the boundary separating the segments of the two blocks. The axis of abscissa designates the distance X from a central point of any pixel of the segment of the image to a point of origin 0 of the latter. The pixel corresponds to an elementary square d×d of the image where d is the distance between two consecutive points of the segment. The axis of ordinate relates to the brightness level NL of the video component signal, e.g. quantized from 0 to (2 8  -1)=255, for the pixels of the two half-segments under consideration. A discrete representation of the brightness level is thus obtained. The distance between each of the central points of pixel A, B, C, D, E, F, G and H is equal to the length d of one side of a pixel. For the purposes of simplification, each point will be associated with a corresponding pixel for this first part of the method embodying the invention. 
     A &#34;break&#34; in the brightness appears at the boundary of block FR12, between points D and E, separating the two half-segments of the two adjacent blocks. This break corresponds in fact to a change of sign between two discrete gradients of brightness computed for point D, respectively with points C and E adjacent to point D. In fact, the difference between the brightness levels NL at point D and at point C preceding point D in the direction OX is positive, and the difference between the brightness levels at point E and at point D preceding point E in the direction OX is negative: 
     
         NL(D)-NL(C)&gt;0 
    
     
         NL(E)-NL(D)&lt;0 
    
     According to another example, a discontinuity at the boundary FR12 can be transcribed into inequalities having signs respectively opposed to the signs of the preceding inequalities, the level at point D being less than the levels at points C and E. 
     In order to suppress this discontinuity in brightness, it would be necessary a priori to linearize the brightness level of the pixel D bordering on the boundary with regard to the brightness level of pixels C and E, and thus compute a new brightness level for pixel D, corresponding to a pixel marked D&#39; in FIG. 4. In that case, it is only necessary to compute the arithmetical average of the brightness levels of two adjacent pixels C and E for the bordering pixel D in order to obtain the new brightness level of pixel D in pixel D&#39;: 
     
         NL(D&#39;)=(NL(C)+NL(E) )/2 
    
     This simple approach by linearization of a discontinuity pixel is not sufficient for a satisfactory filtering of the image, due to certain characteristics concerning the encoding by transformation method recalled hereinunder. As previously stated, the transformation operation consists in associating with a spatial representation of each image block, another type of representation, e.g. a frequency representation in the case of discrete cosine transformation (TCD). 
     After this image transformation thereby reducing the transmission bit rate, a quantization is carried out, consisting in a clipping for restricting the coefficients of the block having too high an amplitude, and a thresholding for eliminating those with too low an amplitude. Between these two extremes, a uniform linear quantization is applied for the coefficients of the transformed representation: a linear quantization pitch QZ is thus used for the quantization of the transformed coefficients of the block to be transmitted. 
     Nevertheless, this quantization pitch QZ is modified as a function of the dynamic advance of the image and of the spatial fineness required. In other words, the quantization pitch can change from one block to another in a same image, and can change in a same block located in the same place from one image to the next. In fact, the coefficients in the representation in discrete cosine transform each play a &#34;role&#34; in the reconstituting of the image both as regards the contours and general forms and as regards fineness and the &#34;texture&#34; of the image. The quantization pitchs QZ1 and QZ2 of the two blocks BL1 and BL2 are thus modified as a function of the dynamic advance of the image and depending on the limitation of the transmission bit rate. In a known manner, the quantization pitch of each block of images is transmitted with and before the selected quantized coefficients of the block, from the encoder 3 to the decoder 4, by time-division multiplexing, for reconstituting the block in the decoder. 
     Again in reference to FIG. 4, if the quantization pitch is small, a discontinuity divergence ED equal to the difference in brightness level between the initial bordering pixel D and the pixel corrected by linearity, as computed previously into point D&#39; will be representative of a real discontinuity error only for low values of ED. Conversely, for high values of this divergence ED, again presupposing a small quantization pitch is used, these high discontinuity values indicate a &#34;break&#34; in the real brightness in the image (contour, . . . ), and not a discontinuity error due to the encoding. 
     To sum up, for this first set of steps, the invention therefore advocates the detection of discontinuity break in brightness, by computation for each of the bordering pixels D and E at the boundary of the two blocks BL1 and BL2, of two discrete gradients of brightness [NL(D)-NL(C)] and [NL(E) NL(D)] [NL(F)-NL(E)] and [NL(E)-NL(D)], respectively with the two pixels adjacent to said bordering pixel. If the two gradients computed for the bordering pixel of the given block lead to two values having opposite signs, there is discontinuity. This operation is performed in the direction of the segments of the blocks constituting the image, i.e. for instance along the line sweeping from left to right, or according to the column sweeping from top to bottom. In the case of a discontinuity, a computation is made of the absolute value of the difference between the brightness level of the bordering pixel D and the arithmetical average NL(D&#39;)=[NL(E) +NL(C)]/2 of the brightness levels of the pixels E and C adjacent to said bordering pixel D. This computation of the absolute value gives the discontinuity divergence ED. With this discontinuity divergence is associated a discontinuity correction factor FCD as a function of the quantization pitch QZ used for the encoding and decoding of the block. 
     As an indication, two curves CQP and CQG shown in FIG. 5 were experimentally obtained and are representative of the function FCD(ED). The two curves CQP and CQG correspond to two respectively low and high quantization pitch values. The smaller the quantization pitch QZ1, QZ2 of the block BL1, BL2, the more the discontinuity error ED will be representative of a natural characteristic of the image, as has been previously specified. The brightness level of the discontinuous bordering pixel D is thus corrected by the associated discontinuity correction factor FCD which depends on the discontinuity error ED initially computed. More precisely, this discontinuity correction factor FCD associated with the discontinuity error ED and selected as a function of quantization pitch is added to or subtracted from the brightness level of the discontinuous bordering pixel D, as a function of the sign of the difference between the level of the bordering pixel D and the average of the levels of the adjacent points C and E, i.e. NL(D1)=NL(D) k D .FCD(ED) 
     with k D  =1 if NL(D)&lt;NL(D&#39;) and k D  =-1 if NL(D)&gt;NL(D&#39;). 
     According to FIG. 5, the illustrated curves CQP and CQG which have produced perfectly acceptable image correction results, are each composed of three straight line segments forming a trapezium with the ED-axis from the origin O D , corresponding to ED=0. For instance, the curve CQP comprises 
     a first straight line segment having a positive slope P1, originating at point 0 and having as end a point of abscissa ED1, 
     a second straight line segment having a slope P2=0, parallel to the axis of abscissa and included between the points of abscissa ED1 and ED2, and 
     a third straight line segment having a negative slope P3, such that |P3|&lt;P1, and originating at point of abscissa ED2. 
     To each quantization pitch QZ corresponds a 16-bit word including a 2-bit word for slope P1, a 6-bit word for abscissa ED1, a 2-bit word for slope P3, and a 6-bit word for abscissa ED2, which enables the correction curve to be deduced. As will be seen hereinafter, the 16-bit words of the correction parameters are included in a memory of tables addressed by the block quantization pitch. In practice, the values of P1 an P2 can take on four values, e.g. 1/4, 1/2, 1 and 2. 
     It should be noted that according to FIG. 4, the inequalities NL(D)&gt;NL(E)&gt;NL(F) imply the absence of discontinuity at point E of block BL2, and therefore no correction, i.e. E=E1; conversely, if N(E)&lt;NL(F), point E would be corrected into a point E1. 
     To the effects of discontinuity, in the appearance of the reconstituted image, is added a &#34;block effect&#34; due to an error in quantization from one block to a block adjacent to said block. This block effect results in a discontinuity on the average brightness value of adjacent blocks. It is recalled that this average value of the brightness levels of the N×N=64 pixels in a block is indicated by the first coefficient representative of the low-frequency component in the transformed representation of the block. A low difference in amplitude between two respective coefficients of the same rank in two adjacent blocks can generate different quantization levels for the encoding of the blocks. After decoding, the two adjacent blocks then appear with different average brightness levels depending on the respective quantization levels transmitted by the encoder to the decoder. 
     The purpose of these second steps of the filtering method embodying the invention is to reduce this block effect and therefore, in practice, to impose on the image reconstituted, after the filtering embodying the invention, an appearance of &#34;natural continuity&#34; of brightness between adjacent blocks. This block effect is all the more pronounced when the quantization pitch is large, or when the difference between the quantization pitchs relating to the two adjacent blocks is large. 
     This second step of the method concerns, as previously, each of the half-segments of pixels, i.e., two half-lines or half-columns, of two adjacent blocks separated by a block boundary, and is explained hereinunder in reference to the brightness level diagram shown in FIG. 6. 
     In order to accentuate the fineness of the spatial filtering for these second steps of the method, and knowing that the eight points of the two colinear half-segments A to D and E to H in the adjacent blocks BL1 and BL2 are imaginary central points of the corresponding pixels, voluntarily associated with the pixels in the preceding first steps, it is proposed to &#34;predict&#34; two purely dummy brightness levels of two imaginary points X and Y located on the boundary FR12 between blocks BL1 and BL2. This can be derived by a transposition of a discrete representation of a pixel-based image into a continuous (points) representation corresponding to reality. In this way, each pixel being a square with side of predetermined fixed length d (resolution of the image), the computation is made, for each bordering pixel corrected in discontinuity D1, E1 at the block boundary FR12, of a difference of brightness level between the bordering pixel and the adjacent pixel C, F of the same segment of the block. The bordering pixels are the pixels D1 and E1 corrected for discontinuity according to the first steps of the method. To the brightness level of a bordering pixel, e.g. D1, is added or subtracted, as a function of the sign of the difference, half the above-mentioned difference to obtain, by prediction, the brightness level of a dummy point X at the block boundary since the distance separating an imaginary central point of pixel D1 from the boundary is equal to the half-length d/2 of one side of a pixel. This operation results, e.g. for pixel D1, in the following relation: 
     
         NL(X)=NL(D1)+[NL(D1)-NL(C)]/2 
    
     Two brightness levels NL(X) and NL(Y) for two dummy points X and Y are thus obtained from the two bordering points D1 and El. The bordering pixels (or points) D1 and E1 represented in FIG. 6 are pixels processed for discontinuity at the block boundary; a block divergence EB equal to |NL(X)-NL(Y)| must be applied to both half-segments, since it corresponds to a quantization error between the two respective average components of the two blocks. 
     This notion must be specified by analogy with thermodynamics. When two respectively hot and cold bodies (two half-segments having different average brightness levels) are brought into contact, a homogenizing of the temperatures (of the image) of the two bodies takes place by modification of the temperature of each of the points constituting them (pixels) proportionally to the distance separating them from the sides of the bodies in contact (block boundary). For the image, this analogy must cease at the moment of reaching between the two half-segments an average brightness difference which is natural to the image (natural darkening of the block, . . . ). 
     In a similar manner to the first steps of the method, if the block divergence EB, equal to the difference in brightness levels NL(X)-NL(Y) between two dummy points at the block boundary, reaches a high value whereas the quantization pitch QZ is small, the block divergence is not only due to the quantization, but certainly constitutes a natural element in the image (darkening). 
     Thus, with this block divergence EB is associated a block correction factor FCB for the half-segments of blocks BL1 and BL2, as a function of quantization pitchs QZ1, QZ2 in these blocks, respectively. Curves substantially similar to those presented in reference to FIG. 5 have been experimentally obtained in order to associate with each block divergence EB, a block correction factor FCB selected as a function of the two quantization pitchs. As explained by analogy with thermodynamics, a natural homogeneity of the image is obtained by weighting this block correction factor FCB by respective coefficients decreasing in proportion to the distance of the pixel in question from boundary FR12. These different weighted block correction factors are subtracted from or added to the respective pixels of the two half-segments, as a function of the sign of the difference between the brightness levels NL of the bordering pixels D1 and E. 
     As an example, as illustrated in FIG. 6, the weighting coefficients are 7/16, 5/16, 3/16 and 1/16 for the four respective pixels D1, C, B and A; E1, F, G and H of a half-segment. The ordinates of the coefficient weighted points D2, C2, B2 and A2; E2, F2, G2 and H2 in FIG. 6 represent the brightness levels obtained after correction of the block effect. 
     A digitalized image filtering device for implementing the above-mentioned first and second steps of the method embodying the invention will now be described in reference to FIGS. 7, 8 and 9. 
     According to the method of the invention described hereinunder, the steps of the method are applied in relation to the boundaries of the blocks with N 2  =8×8 pixels divided up in the image for coding by transformation, and more precisely in relation to groups of two and four line or column pixels on both sides of the boundaries FIG. 7 shows that each block BL i ,j adjoins four adjacent blocks BL i ,j-1, BL i-1 ,j, BL i ,j+1 and BL i+1 ,j and is separated from the latter respectively by four boundaries FR j-1 , FR 1-i , FR j  and FR i , i and j being integer indices respectively lying between 1 and I, and 1 and J. In order to carry out the filtering processing embodying the invention on each couple of half-lines and each couple of halfcolumns divided by the corresponding boundaries, the initial square blocks BLi, j  are transformed into square blocks BT i  . in which are translated in one of the block diagonal directions and by a pitch equal to a block half-diagonal, as indicated by the arrow FT in FIG. 7. The boundaries of the initial blocks BL i ,j constitute horizontal and vertical central axes of the translated blocks BT i ,j. FIG. 8 shows in greater detail a translated block BT i ,j which is composed of 8×8=64 pixels, i.e., a matrix of 8 line (rank) segments with 8 pixels LI1 to LIN and 8 column segments with 8 pixels CO 1  to CO N , and of which the horizontal and vertical axes FR i  and FR j  correspond to two perpendicular boundaries of the initial block BL i ,j. 
     As shown in FIG. 9, the spatial filtering device 5 embodying the invention comprises a block translating circuit 10, a first multiplexer 11, a discontinuity divergence computing circuit 12, a second multiplexer 13, a modulus computing circuit 14, a correction factor computing circuit 15 associated with a memory of tables 16, a discontinuity correcting circuit 17, a block divergence computing circuit 18, a first delay circuit 19a and two second identical delay circuits 19b and 19c, two circuits 20 et 22 for correcting block with respect to line and column, respectively and two block transposing circuits 21 and 23. 
     The relative complexity of the filtering device is due to the two-way processing, for lines and columns, performed on each of the blocks translated in an image. In fact, the discontinuity correction according to FIGS.4 and 5 and the block correction according to FIG. 6 are performed on each of the line segments and column segments of the translated blocks. 
     Each digitalized image reconstituted by the decoder 4 (FIG. 2) is applied in the form of pixel digital signals to an input EN of the filtering device. This input EN is in practice an eight-wire bus which applies groups of N=64 successive pixel words each having 8 parallel bits to the input of circuit 10, the word groups representing in digital form the digital reconstituted blocks BL i ,j. All the circuits included in the filtering device are digital circuits which are controlled via a time-base (not shown) connected to the decoder 4, by various clock signals signalling notably the period of the pixel words, the period of the 8-pixel segments, the start and end of each block, the start and end of each image, and the quantization pitchs of the initial blocks. The circuit 10 carries out a translation of blocks BL i ,j in the reconstituted image into translated blocks BT i ,j of 8×8 pixels, having horizontal and vertical axes corresponding to block boundaries in the division of the image for encoding and decoding by transformation of blocks. The circuit 10 produces at output 8 brightness level words respectively for the 8 pixels of each of the eight lines of a translated block. 
     The operating cycle of the filtering device 5 in relation to a translated block, explained in detail hereinunder, is broken down, in compliance with the method having two sets of steps of the invention, into two successive steps for each of the line segments LI 1  to LI N , then for each of the column segments CO 1  to CO N  in a translated block BT i ,j (FIG. 8). 
     According to a simple embodiment of the filtering device, the latter could comprise a processing chain comprising in series a first means for successively computing correction factors FCD L  and FCB L  of the N line segments, the exponent &#34;L&#34; indicating a correction relating to a line, and for consequently correcting the line segments into first corrected segments constituting a first corrected block, then a second means for successively computing correction factors FCD C  and FCB C  of N column segments from the first corrected block, the exponent &#34;C&#34; indicating a correction relating to a column, into second corrected segments constituting a second corrected block. 
     Such an embodiment comprises two computing and correcting means which are identical since the processing of a block is bidimensional. In order to reduce the cost of the filtering device, the embodiment illustrated in FIG. 9 only comprises one computing and correcting means used both for the line segments and the column segments. This computing and correcting means is mainly constituted by the circuits 12 to 18 as regards the computation of the correction factors. However, the successive processings of the set of line segments, then of the set of column segments, imposes two conditions. 
     The first condition consists in transposing the first corrected block after correction of all the line segments in the translated block and before correction of all the column segments, in order for the columns of the first corrected block to be applied in series like lines to circuits 12 to 18. The final correction of the line segments, in relation to the block correction factors FCB L , is carried out in circuit 20 and the transposition of the first corrected block is performed in circuit 21. Likewise, circuit 22 corrects the columns transposed into lines of the first corrected block, and circuit 23 transposes the lines of the first corrected block, after correction of all the columns transposed into lines, into columns of the second corrected block in order for this block to correspond to the incoming but line- and column-corrected translated block. 
     The second condition results from the duration of processing of a block which, a priori, is at least equal to twice the duration of transmission of the N line segments of the translated block BLi, j  at input, since N line segments are processed, and then N column segments are processed. In other words after the N line segments of block BT i ,j have been entered and processed, the N line segments of the next block BT i ,j+1 are transmitted from the block translating circuit 10. For this purpose, a first multiplexer 11 is provided in the filtering device for two-by-two multiplexing the N segments of columns transposed into lines of the first corrected block outgoing from circuit 21 and relating to block BT i ,j, and the N line segments of the next block BT i ,j+1 outgoing from circuit 10. Thus, for a given block BT i ,j, the N line segments of the block BT i ,j transmitted from circuit 10 are corrected in circuits 12 to 18 and 20 while the N transposed-into-line column segments in the previous block BT i ,j-1 transmitted by the transposing circuit 21 are corrected by circuits 12 to 18 and 22; then in a similar way, the N transposed-into-line column segments in the given block BT i ,j transmitted by the transposing circuit 21 are corrected in circuits 12 to 18 and 22, while the N line segments in the next block BT i ,j+1 transmitted from circuit 10 are corrected in circuits 12 to 18 and 20. 
     The two previous conditions imply a relative complexity of the filtering device, though the cost of the latter is reduced by comparison with the simple embodiment. 
     The operation of the filtering device 5 will now be described mainly for the correction of any line segment LI n  in block BT i ,j, then for the correction of any transposed-into-line column segment CO n  in the first line-corrected block corresponding to block BT i ,j-1, n being a integer index lying between 1 and N=8. 
     Each of the 8-pixel-word signals relating to the line segments in the translated block BT i ,j is applied to an input of the block line correcting circuit 20 via the delay circuit 19b. The circuit 20 corrects each LI n  of the N line segments in the translated block BT i ,j thus received as a function of a respective block correction factor FCB L  which is applied to a factor input of circuit 20 and which is computed according to the second steps of the method. The eight block correction factors for the lines of blocks BT i ,j are in relation to the couples of quantization pitchs in the blocks BL i ,j -BL i ,j+1 and BL i+1 ,j -BL i+1 ,j+1 which are respectively used for the first four and last four lines of block BT i ,j. The line segments thus successively corrected are stored in a RAM memory included in the transposing circuit 21 which is read for transposing the first line-corrected block into columns CO 1  to CO N  when the 8 line segments LI 1   to LI 8  have been corrected. The 8 column segments of the first line-corrected block are thus applied in series by the circuit 21 to a second input of the multiplexer 11. 
     Simultaneously, when this second input receives the transposed column segments CO 1  to CO N  of block BT i ,j-1, a first input of the multiplexer 11 receives from circuit 10, the lines of the next translated block BT i ,j and multiplexes them. For instance the multiplexed line segment LI 1  of block BT i  and transposed column segment CO 1  of block BT i ,j-1 are successively applied to circuits 12 and 19a. Circuit 12 successively computes two discontinuity divergences respectively for the multiplexed line segment and column segment and produces at output two respective discontinuity divergences ED L  and ED C  according to the first steps of the method. 
     The two respective block divergences EB L  and EB C  are supplied at a first input of multiplexer 13 so that circuits 14 and 15 proceed to compute corresponding discontinuity correction factors FCD L  and FCD C  as a function of the quantization pitchs QZ. As previously indicated, the quantization pitchs are supplied by the decoder 4 before correction of the blocks of a reconstituted image and address the tables memory 16. 
     Thus, in order to correct the first four and last four line segments LI 1  to LI 4  and LI 5  to LI 8  in block BT i ,j, the memory 16 supplies correction curve parameter words which depend on the quantization pitchs of blocks BL i ,j and BL i ,j+1, respectively of blocks BL i+1 ,j and BL i+1 ,j+1, for the circuit 15 to compute the two factors FCD L  of each of the eight transposed column segments. Likewise, to correct the first four and last four transposed column segments CO 1  to CO 4  and CO 5  to CO 8  in the first corrected block BT i ,j, the memory 16 supplies parameter words which depend on the quantization pitch of blocks BL i ,j and BL i+1 ,j, respectively of blocks BL i ,j+1 and BL i+1 ,j+1, for the circuit 15 to compute the two factors FCD C  of each of the eight transposed column segments. It is recalled that the correction curves are of the type of those illustrated in FIG. 5. The computing circuit 14 computes the modulus (absolute value) of the discontinuity divergence ED L , ED C  corresponding to a difference of brightness level which can be either positive or negative. The sign of this divergence is of little importance for computing the correction factors FCD L , FCD C  which each depend on a quantization pitch QZ in a quarter of block BT i ,j for points D and E (FIG. 4). The discontinuity correction factors FCD L , FCD C  with the signs of the divergences ED L , ED C  are provided in multiplexed form by circuit 15 to circuit 17. 
     The bordering point (D1, E1) discontinuity correcting circuit 17 receives the two multiplexed discontinuity correction values FCD L  and FCD C  and the line segments LI n  and the column segments CO n  multiplexed to a second input of circuit 17 via the delay circuit 19a. The delay circuit 19a delays the couples of multiplexed line and column segments by a duration necessary for the computation of the divergence and correction factor performed by circuits 12 to 15. Circuit 17 thus simultaneously receives a transposed line LI n  or column CO n  segment and the two discontinuity correction factor FCD L  or FCD C  thereby producing at output a segment and particularly discontinuity-corrected brightness levels NL(D1) and NL(E1) according to FIG. 4, and this for the line LI n  of block BT i ,j and the column CO n  of block BT i ,j-1. Subsequent to the end of these first steps of the method, the corrected segment is applied to an input of the block divergence computing circuit 18 which computes the corresponding block divergence EB L , EB C  according to the second steps of the method. 
     Block divergence couples EB L , EB C  derived by circuit 18 are thus applied to a second input of multiplexer 13 to be multiplexed with discontinuity divergence couples ED L , ED C . 
     Circuits 14 and 15 are again used to compute the block correction factors FCB L  and FCB C  corresponding to the couple EB L  and EB C . The block correction factor for each of the transposed line or column segments depends on the two quantization pitchs QZ of the two adjacent blocks from which the half-segments of the segment are issued, in a similar manner to the first steps. Circuit 14 also derives the modulus and the sign of the corresponding divergence EB L , EB C  for the divergence modulus to be used for the computation of factor FCB L , FCB C  in circuit 15, and the divergence sign indicates to the corresponding correcting circuit 20, 22 whether the factor must be subtracted from or added to the levels of the half-segments, such as A, B, C and D1, and E1, F, G and H (FIG. 6) of the segment under consideration. 
     When the factor FCB L  of a line segment LI n  is applied by circuit 15 to the factor input of correcting circuit 20, the first level word of pixel A in segment LI n  is applied by delay circuit 19b to circuit 20. The levels of the segment pixels are thus successively corrected at the end of these second steps. However, at the end of the first steps, the levels of the corrected points, such as D1 and E1, transmitted by circuit 17, are memorized in circuit 20 for pixels D1 and E1, instead of points D and E, to be corrected into pixels D2 and E2 (FIG. 6) when the corresponding factor FCB L  has been computed. The levels of the corrected pixels A2 to H2 are thus successively memorized in transposing circuit 21 until the N=8 line segments of the block under consideration are corrected, before proceeding with the transposition of the columns of the first corrected block under consideration. 
     In a similar manner, the levels of pixels D1 and E1 of a transposed column segment CO n  transmitted by circuit 17 are temporarily memorized in correcting circuit 22 at the end of the first steps, and the corresponding correction factor FCB C  is applied to circuit 22 when delay circuit 19c connected to the output of transposing circuit 21 supplies the level of the first pixel A of the transposed column segment CO n . The levels of the eight pixels of this segment are thus successively corrected in circuit 22 and memorized in circuit 23. After complete correction of the eighth transposed column segment, circuit 23 proceeds to transpose the second corrected block thus produced in order for the latter to be transmitted line segment by line segment through an output S of the filtering device 5. 
     It should be noted that, in compliance with the two sets of steps of the method, the first and last three transposed column segments of the first corrected block corresponding to a block BT i ,j are identical to columns CO 1  to CO 3  and CO 5  to CO 8  in block BT i ,j, since the first steps only correct the central pixel levels D and E into pixels D1 and E1. On the other hand, the fourth and fifth central transposed segments of the first transposed block applied from circuit 21 to circuit 22 via delay circuit 19c only comprise levels of points A1 to H1 corrected by correcting circuit 17. 
     From what has been stated above, it appears that the delay circuits 19b and 19c each impose a delay equal to the sum of: 
     the duration of computation of two successive discontinuity correction factors FCD L  and FCD C  in circuits 12 to 16, which corresponds substantially to the delay imposed by the first delay circuit 19a; 
     the duration of two discontinuity corrections in circuit 17 and of the two block divergence computations in circuit 18, and 
     the duration of computation of two block correction factors in circuits 13 to 16. 
     Thus, in practice, the delay imposed by each of delay circuits 19b and 19c is substantially equal to three times the delay imposed by circuit 19a. 
     As shown in FIG. 9, a known type of time filtering module 24 is preferably connected in series at output S of the spatial filtering device 5 embodying the invention for notably attenuating the inter-image noise between two successive images. The time filtering module 24 comprises a programmable recursive filter. Each processed image produced at output S of the device 5 is compared with the previously processed image and is memorized in an image memory for being compared with the next image. 
     Each image is then corrected as a function of a difference which has been deduced from the comparison with the previous image, according to a non-linear law of this difference. Low amplitude differences are reduced, whereas high amplitude difference are not modified.