`
`
`
`
`
`
`
`
`
`
`
`
`
`
`}
`| \a
`
`
`ms
`
`
`7
`
`at
`.
`
`
`
`
`
`
`f
`
`
`
`fou
`nOee
`
`-
`‘
`
`
`lan
`foe
`oe
`
`af
`Ve"
`WoHoe
`Py
`ae
`te
`tm oea eee
`
`
`
`
`
`
`
`
`
`we
`
`
`
`
`
`are
`
`a
`heer
`
`LES
`peas)
`
`an
`
`
`
`
`THIS PAGE BLANK(useto)
`
`
`Page 1 of 27
`
`GOOGLE EXHIBIT 1016
`
`Page 1 of 27
`
`GOOGLE EXHIBIT 1016
`
`
`
`Office européen
`
`
`
`
`
`
`
`i)
`
`
`
`
`
`Les documentsfixés a Yer
`Die angehefteten Unteria-
`The attached documents
`
`
`
`
`
`
`
`
`
`Ng
`cette attestation sont
`gen stimmen mit der
`are exact copies of the
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`ursprdnglich eingereichten European patent application conformes a !a version
`v<<;
`
`
`
`
`
`
`
`
`
`Fassung der auf dem nach- described on the following_initialernent déposée de CO
`
`
`
`
`
`
`
`
`
`
`
`
`sten Blatt bezeichneten
`page, as originally filed.
`la demande de brevet
`
`
`
`
`
`
`
`
`
`
`
`
`europaischen Patentanmel-
`européen spécifiée ala
`:
`
`
`
`
`
`
`
`dung dberein.
`page suivante.
`
`Europdlsches
`
`
`9 Patentamt
`
`
`
`.
`
`
`
`European
`
`
`Patent Office
`
`
`
`Bescheinigung
`
`
`
`Certificate
`
`
`
`
`
`
`
`
`
`
`
`des brevets
`
`Attestation
`
`
`
`
`
`
`
`
`
`
`
`
`
`Patentanmeldung Nr.
`
`
`
`
`
`
`
`
`
`Patent application No. Demande de brevet n°
`
`
`
`01400588. 8
`
`
`
`Der Prasident des Eurapdischen Patentarmts;
`
`
`
`
`Im Auftrag
`
`
`For the President of the European Patent Office
`
`
`
`
`
`
`
`Le Président de |’Office eurepéen des brevets
`
`
`
`
`
`
`p.o.
`
`
`
`
`
`
`
`
`
`1.L.C. HATTEN-HECKMAN
`
`
`
`
`
`DEN HAAG, DEN
`
`
`THE HAGUE,
`
`
`LA HAYE,LE
`
`11/10/01
`
`
`
`EPA/SEPO/OQEB Form
`
`
`
`
`1014
`
`
`
`-0291
`
`
`
`Page 2 of 27
`
`Page 2 of 27
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`THIS PAGE BLANK (usrto)
`
`
`Page 3 of 27
`
`Page 3 of 27
`
`
`
`ei
`
`mee
`
`—
`
`0)
`
`
`
`
`
`Europaisches
`
`
`Patentamt
`
`
`
`European
`
`
`Patent Office
`
`
`
`
`Blatt 2 der Bescheinigung
`
`
`
`
`
`Sheet 2 of the certificate
`
`
`
`
`Page 2 de l’attestation
`
`
`
`
`
`
`
`
`Office européen
`
`
`
`des brevets
`
`Anmeldetag:
`
`Date of filing
`
`
`
`Date de dépét:
`
`
`
`
`
`06/03/01
`
`
`
`01400588.8
`
`
`
`Anmeldung Nr.:
`
`
`Application no.:
`
`
`Demande n*:
`
`
`Anmelder.
`
`Applicant(s):
`
`Demandeur(s}
`
`Koninklijke Philips Electronics N.¥.
`
`
`
`
`
`
`5621 BA Efndhoven
`
`
`
`NETHERLANDS
`
`
`
`Bezaichnung der Erfindung:
`
`
`Title of the invention:
`
`
`
`
`Titre de Vinvention:
`
`
`
`
`
`
`
`
`
`
`
`Method of transmitting and transcoding device with embedded filters
`
`
`
`
`
`In Anspruch genommene Prionat(en} / Priority(ies) claimed / Priorité{s) revendiquée(s}
`
`
`
`
`
`
`
`
`Staat:
`Tag:
`Aktenzeichen:
`
`
`
`Fila no.
`State:
`Date:
`
`
`
`Numéro de depot:
`Date:
`Pays:
`
`
`
`
`
`
`
`
`
`internationale Patentkiassifikation:
`
`
`International Patent classification:
`
`
`
`Ctassification intarnationala des brevets:
`
`
`
`
`
`
`/
`
`
`Am Anmeidetag benannte Vertragstaaten:
`
`
`
`
`Contracting states designated at date of filing: AT/BE/CH/CY/DE/DK/ES/FI/FR/G B/G RVIEAIT/LIAZLU/MC/NL/PTAS EVTR
`
`
`
`
`
`
`
`Etats contractants désignés lors du depot:
`
`
`
`
`
`
`Bemerkungen:
`Remarks:
`
`Remarques:
`
`
`
`
`
`
`
`EPA/EPO/OEB Form
`
`
`
`
`io12
`
`
`
`= 11.00
`
`
`
`Page 4 of 27
`
`Page 4 of 27
`
`
`
`
`
`
`
`
`
`
`THIS PAGE BLANK (uspTo)
`
`
`Page 5 of 27
`
`Page 5 of 27
`
`
`
`
`
`
`IRRomen ene, ssEEREENmeemeetpemren
`
`“ARES ox ene
`
`
`
`Pyinieck? 1-10-2001
`
`
`
`eneEI
`
`
`
`
`
`
`
`
`
`Method of transcoding and transcoding device with embedded filters
`
`
`
`1
`
`
`
`FIELD OF THE INVENTION
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`The present invention relates to a method of transcoding a primary encoded signal
`
`
`
`
`
`
`
`
`
`
`
`
`comprising a sequence of pictures, into a secondary encoded signal, said method of
`
`
`
`
`
`
`
`
`
`
`
`transcoding comprising at least the stepsof:
`
`
`
`
`
`
`
`
`
`
`
`decoding a current picture of the primary encoded signal, said decoding step
`
`
`
`
`
`
`
`
`
`
`comprising a dequantizing sub-step for providing a first transformed signal,
`
`
`
`
`
`
`
`
`
`
`encoding, following the decoding step, for obtaining the secondary encoded signal,
`
`
`
`
`
`
`
`sald encoding step comprising a quantizing sub-step.
`
`
`
`
`
`
`
`
`
`
`
`
`The invention also relates to a corresponding device for carrying out such a method
`
`
`-
`
`-
`
`
`of transcoding.
`
`.
`
`
`
`
`
`
`
`5
`
`
`
`10
`
`
`
`20
`
`
`
`25
`
`
`
`30
`
`
`
`35
`
`
`
`.
`
`“
`
`7
`
`:
`»
`
`
`
`}
`
`i}
`
`Page 6 of 27
`
`15
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`This invention is particularly. relevant for the transcoding of MPEG encoded video
`
`
`
`
`signals.
`
`BACKGROUNDOF THE INVENTION
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Bit-rate transcoding is a technique which allows a primary video stream encoded at
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`a bit-rate BR1 to be converted into a secondary video stream encoded at a bit-rate BR2
`lower than BR1, the bit-rate reduction being performed in order to meet requirements ,
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`imposed by the means of transport during broadcasting. A transcoding device as described
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`in the opening paragraph is disclosed in the European Patent Application n° EP 0690 392
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`(PHF 94001) and is depicted in Fig. 1. Said device (100) for transcoding encoded digital
`
`
`
`
`
`
`
`
`
`
`
`
`signals (S1) which are representative of a sequence of images, comprises a decoding
`
`
`
`
`
`
`
`
`
`
`
`
`channel (11,12) followed by an encoding channel (13,14,15). A prediction channel is
`connected in cascade between these two channels, and said prediction channel comprises,
`
`
`
`
`
`
`
`
`
`
`
`in series, between two subtractors (101,102), an inverse discrete cosine transform circuit
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`IDCT (16), a picture memory MEM (17), a circuit for motion compensation MC (18) in view
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`of displacement vectors (V) which are representative of the motion of each image, and a
`
`
`
`
`
`
`discrete cosine transform circuit DCT (19).
`
`
`
`SUMMARYOF THE INVENTION
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`It is an object of the invention to provide a method of transcoding and a
`
`
`
`
`
`
`
`
`
`
`
`
`corresponding device that allows a better quality of pictures for low bit-rate applications. The
`
`
`
`
`
`
`
`
`present invention takes the following aspect into consideration.
`
`
`
`
`
`
`
`OOnOSeOn
`
`Page 6 of 27
`
`
`
`Printeck1 1-10-2001
`
`
`
`
`
`
`
`
`
`aoe
`ToL rn oe aren entt 8 eeSR =
`=
`*
`7
`2
`ONSOOS85)
`
`DESS
`
`.
`
`
`
`.
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`2
`
`
`
`
`
`
`
`
`
`
`
`
`
`With the advent of home digital video recording of MPEG broadcasts, transcoders
`
`
`
`
`
`
`
`
`
`
`
`
`can be used in consumer devices to implement long play modes or to quarantee the
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`recording time. However, the input signal to be transcoded has often been encoded at a
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`variable bit-rate with a low averagebit-rate. This is due to the generalization of statisticai
`
`
`
`
`
`
`
`
`
`
`
`
`
`multiplexing that allows broadcasters to put a lot of video programs in a multiplex in order to
`
`
`save the bandwidth. It is likely that a coarser re-quantization of the input signal, using a
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`method of transcoding according to the prior art, will lead to conspicuous quantization
`
`artifacts. As a consequence, such a transcoding method is not adapted for low bit-rate
`
`
`
`
`
`
`
`
`
`
`
`applications.
`
`
`
`
`
`
`
`
`
`
`
`To overcome this drawback, the method of transcoding in accordance with the
`
`
`
`
`
`
`
`invention is-characterized in that it further comprises a filtering step betweén the
`dequantizing sub-step and the quantizing sub-step.
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`The transcoding method in accordance with the invention allows to implementfilters
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`in the transcoder of the prior art at a negligible cost. Those filters can be tuned to control
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`the static and dynamic resolution and also to perform noise reduction. For the same number
`
`
`
`
`
`
`
`
`
`
`of bits, the filtered transformed signal is encoded with a smaller quantization scale thus
`
`
`
`
`
`
`
`
`
`
`
`
`reducing visual artifacts such as biocking, ringing and mosquito noise.
`
`
`
`
`
`
`
`
`
`
`
`
`In a first embodiment of the invention, the method of transcoding comprises a step
`
`
`
`
`
`
`
`
`
`
`
`
`
`of predicting a transformed motion compensated signal from a transformed encoding error
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`derived from the encoding step, said prediction step being located between the encoding
`
`
`
`
`
`
`
`
`
`
`
`
`and decoding steps, and is characterized in that the filtering step is a temporalfiltering step
`
`
`
`
`
`
`
`
`
`
`
`for receiving the transformed motion compensated signal and thefirst transformed signal
`
`
`
`
`
`
`
`
`
`
`
`
`and for providing a filtered transformed signal to the quantizing sub-step.
`
`
`
`
`
`
`
`
`
`
`
`
`
`Such a temporalfiltering step allows to perfarm noise reduction using, for example,
`
`
`
`
`
`
`
`
`
`
`@ recursive filter. As a consequence, bits are only spent on the useful information contained
`
`
`
`
`
`
`
`
`
`
`
`
`in the picture and the picture quality is thus increased.
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`In a second embodiment of the invention, the method of transcoding also comprises
`
`
`
`
`
`
`
`
`
`
`
`
`
`@ prediction step and is characterized in that the filtering step is a spatial filtering step for
`
`
`
`
`
`
`
`
`
`
`receiving the first transformed signal and for providing a filtered transformed signal, said
`
`
`
`
`filtered transformed signal and the transformed motion compensated signal being provided
`
`
`
`
`
`
`
`
`
`
`
`
`
`to the quantizing sub-step.
`
`
`
`
`
`
`
`
`
`Such a spatial filtering allows a reduction of the sharpness of the picture and
`
`
`
`
`
`
`
`
`
`
`
`
`decreases the possible source of ringing and mosquito noise.
`
`
`
`The present invention also relates to a corresponding device for carrying out such a
`
`
`
`
`
`
`
`
`
`
`
`
`method of transcoding.
`
`06-08-2001
`
`|
`
`
`
` 14
`
`q
`
`
`
`
`
`10
`
`
`
`1s
`
`
`
`
`
`20
`
`25
`
`
`
`30
`
`
`
`35
`
`
`
`Page 7 of 27
`
`Page 7 of 27
`
`
`
`
`
`foreaahorooor DESC
`
`
`
`3
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`The presentinvention finally relates to a computer program product for a receiver,
`
`
`
`
`
`
`
`
`
`
`
`
`
`such as a digital video recorder or a set-top-box, that comprises a set of instructions, which,
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`when loaded into the receiver causes the receiver to carry out the method of transcoding.
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`These and other aspects of the invention will be apparent from and will be
`
`
`
`
`
`
`
`
`elucidated with reference to the embodiments described hereinafter.
`
`
`
`
`
`
`
`BRIEF DESCRIPTION OF THE DRAWINGS
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`The present invention will now be described in more detail, by way of example, with
`
`
`
`
`
`
`reference to the accompanying drawings, wherein :
`
`
`
`
`
`
`
`
`
`
`
`
`
`Fig. 1 is a block diagram correspondingto a transcoding device according to the prior
`
`art,
`
`
`
`
`
`
`
`
`
`
`
`Fig. 2 is a block diagram corresponding to a first embodiment of a transceding device
`
`
`
`
`
`
`
`
`
`
`
`according to the invention, said device comprising a temporalfilter circuit,
`
`
`
`
`
`
`
`
`
`
`
`Fig. 3 is a block diagram corresponding to a second embodiment of a transcoding device
`
`
`
`
`
`
`
`
`
`
`
`according to the invention, said device comprising a spatialfilter circuit,
`
`
`
`
`
`
`
`
`
`
`
`Fig. 4 a block diagram corresponding to a third embodiment of a transcoding device
`
`
`
`
`
`
`
`
`
`
`
`
`
`according to the invention, said device also comprising a spatialfilter circuit, and
`
`
`
`
`
`
`
`
`
`
`
`Fig. 5 a block diagram corresponding to a fourth embodiment of a transcoding device
`
`
`
`
`
`
`
`
`
`
`
`
`
`according to the invention, said device also comprising a spatialfilter circuit and,
`
`
`
`
`
`possibly, a temporalfilter circuit.
`
`
`
`
`
`
`
`
`
`,
`
`
`
`
`
`-
`
`-
`
`-
`
`-
`
`-
`
`
`
`10
`
`
`
`is
`
`
`
`20
`
`
`25
`
`
`30
`
`
`35
`
`
`DETAILED DESCRIPTION OF THE INVENTION
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`The present invention relates to an improved method of and a corresponding device
`
`
`
`
`
`
`
`
`
`
`
`
`for transceding video encoded signals. It relates, more especially, to MPEG-2 encoded
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`signais but it will be apparent to a person skilled In the art that said method of transcoding
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`stays also applicable to any type of video signals encoded using a block-based technique
`
`
`
`
`
`
`
`
`
`
`
`
`
`such as, for exampie, those provided by MPEG-1, MPEG-4, H-261 or H-263 standards.
`
`
`
`
`
`
`
`
`
`
`
`
`A transcoding device allows a primary encoded signal (Si) previously encoded with a
`
`
`
`
`
`
`
`
`
`
`
`
`
`first quantization scale and comprising a sequence ofpictures, to be converted into a
`
`
`
`
`
`
`
`
`
`
`secondary encoded signal ($2) encoded with a second quantization scale.
`
`
`
`
`
`
`
`
`
`Such a transcoding device comprises at least the following elements:
`
`
`
`
`
`
`
`
`
`
`
`
`a decoding unit comprising a variable length decoder VLD and a first dequantizer IQ for
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`decoding a current picture of the primary encoded signal and for providing a first
`
`
`transformed signal,
`
`
`
`
`
`
`
`
`
`
`
`
`
`an encoding unit comprising a quantizer Q, a variable length encoder VLC for obtaining
`
`
`
`
`
`
`
`
`
`the secondary encoded signal, and a second dequantizer IQ,
`
`
`
`
`
`
`
`
`
`
`
`
`
`-
`
`-
`
`
`
`
`
`Page 8 of 27
`
`
`
`Page 8 of 27
`
`
`
`_—
`
`.
`
`Breetoro
`
`
`4
`
`
`EE
`
`ee
`
`rs
`OEoosee
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`a prediction unit, between the encoding unit and the decoding unit, and comprising in
`
`series :
`
`
`
`
`
`
`
`
`
`
`
`
`*
`an inverse discrete transform circuit IDCT (an Inverse Discrete Cosine Transform in
`
`
`
`
`the case of MPEG),
`
`
`
`a picture memory MEM,
`
`
`
`
`
`
`
`
`
`
`
`
`a circuit MC for motion compensation in view of displacement vectors which are
`
`
`
`
`
`
`
`representative of the motion of each picture,
`
`
`
`
`
`
`
`
`
`
`a discrete transform circuit DCT for predicting a transformed motion compensated
`
`
`
`
`
`
`
`
`
`
`
`signal (Rmc) from a transformed encoding error (Re) derived from the encoding
`
`
`-
`
`-
`
`
`e
`
`e
`
`
`*
`
`
`e
`
`
`¢
`
`unit,
`
`
`
`
`
`
`
`
`
`
`
`
`an adder for determining a sum of the transformed motion compensated signa! and
`
`
`
`
`
`
`a transformed signal (R1 or Rf),
`
`
`
`
`
`
`
`
`
`
`a Subtractor for determining the transformed encoding error from a difference
`
`
`
`
`
`
`
`
`
`
`
`
`between said sum and a second transformed signal (R2) provided by the encoding
`
`
`
`
`
`
`unit,
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`a filter circuit, between the first dequantizer and the quantizer, for providing a filtered
`
`
`
`transformed signal (Rf).
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Said filter circuit can be a temporal or a spatial filter circuit adapted to control the
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`static and dynamic resolution and to perform noise reduction on a picture. The different
`
`
`
`
`
`
`
`
`
`
`
`
`
`implementations of such filters are described in the following Figs. 2 to 5.
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`It will be apparent to a person skilled in the art that the result of the transcoding
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`device is unchanged if the adderis replaced by another subtractor adapted to determine a
`
`
`
`
`
`
`
`
`
`
`
`
`difference between a transformed signal (R1 or Rf) and the transformed motion
`
`
`
`
`
`
`
`
`
`
`
`
`
`compensated signal (Rmc) andif the first cited subtractor is adapted to determine the
`
`
`
`
`
`
`
`
`
`
`
`
`transformed encoding error (Re) from a difference between the second transformed signal
`
`
`
`
`
`
`
`
`(R2) and the output of the other subtractor.
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`In a first embodiment of the invention, the transcoder implements a motion
`
`
`
`
`
`
`
`
`
`
`
`compensated temporalfilter. Temporal filtering allows to reduce signals which are not
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`correlated from frame to frame. It can very effectively reduce noise when combined with
`
`
`
`
`
`
`
`
`
`
`
`
`motion compensation, as motion compensation tries to correlate the image content from
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`frame to frame. In this embodiment, a recursive filter is implemented since it provides a
`
`
`
`
`
`better selectivity at lower cost.
`
`
`
`
`
`
`
`
`
`A nalve transcoding chain with a motion compensated recursive temporalfilter
`
`
`
`
`usually comprises in cascade :
`
`
`
`
`
`
`
`
`
`
`
`
`
`a decoder for providing motion compensated blocks Di of decoded pictures from an
`
`
`input stream,
`
`
`
`
`
`
`
`-
`
`\
`|
`\
`i
`,
`
`03-08-2001
`
`
`5
`
`
`
`10
`
`
`
`15
`
`
`
`20
`
`
`25
`
`
`
`30
`
`
`
`35
`
`
`
`Page 9 of 27
`
`Page 9 of 27
`
`
`
`re MEN os Shee
`
`Crees
`
`OS
`
`o1aooses
`
`
`
`5
`
`-
`
`-
`
`-
`
`-
`
`-
`
`-
`
`-
`
`
`
`
`
`
`
`
`
`(1)
`
`
`
`
`
`
`
`(2)
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`a recursive temporalfilter for providing filtered blocks Df of decoded pictures, and
`
`
`
`
`
`
`
`
`
`
`
`
`
`an encoder for providing an output stream and motion compensated blocks D2 of locally
`
`
`
`
`decoded pictures after encoding.
`
`
`
`
`
`
`
`
`
`
`
`
`
`To reduce costs, the motion compensation In the encoder is re-used in the recursive
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`temporal filter. Thus, the signal D2 is fed back to said filter instead of Df. The filtering
`
`
`
`
`
`
`
`
`equation of a motion compensated block Df{n,m) is then :
`
`
`
`
`
`Df(h,m)= (1 - a)- Di(n, m)+ « -MC(D2(p(n)), Vin, mn},
`
`where :
`
`
`
`
`
`
`
`n is the index of the current picture,
`
`
`
`
`
`
`
`
`
`- mis the index of a block of said current picture,
`
`
`
`
`
`
`
`
`
`
` V(n,m) is the motion associated with block m, of picture n,
`
`
`
`
`
`
`
`
`
`
`
`p(n) Is the index of the anchor picture associated with image n,
`
`
`
`
`
`
`
`MC is the motion compensation operator, and
`
`
`
`
`
`
`
`
`
`
`
`ais a positive scalar smaller than one that tunes the filter response.
`
`
`
`
`
`
`
`
`
`
`
`An expression similar to equation (1) can be drawn for bidirectional motion
`
`
`
`
`
`
`
`
`
`
`
`compensation. However, without loss of generality, we shall restrict the demonstration to
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`the unidirectional case. Note that intra encoded blocks cannot be filtered since no prediction
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`is formed for them. Yet, intra encoded blocks in non intra pictures correspond most often to
`
`
`
`
`
`
`
`
`
`
`newly exposed regions that could not possibly be temporally filtered.
`
`
`
`
`
`
`
`
`
`
`
`
`The naive transcoding chain can be simplified using the hypothesis that the motion
`
`
`
`
`
`
`
`
`
`
`
`compensation information is unchanged. To this end, the motion compensated block
`
`
`
`
`
`Di(n,m) is expressed as follows :
`
`
`
`
`
`Di(n,m) = Mt -R1(n,m)-M+MC(D1(p(n)), vin,m)),
`
`
`where ;
`
`
`
`
`
`
`
`
`- Mis the 8 x 8 discrete cosine transform matrix,
`
`
`
`
`
`
` M*is the corresponding transposed matrix, and
`-
`
`
`
`
`
`
`
`
`
`
`
`R1(n,m) is the residue retrieved from the input bit-stream after variable length
`-
`
`
`
`
`
`decoding VLC and dequantization IQ.
`
`
`
`
`
`
`
`
`
`
`
`
`M is defined by equation (3) and is such that MM' =1:
`
`
`(2/4
`ifi= 0,
`
`
`
`
`
`
` |cos(in (2)+1)/16)/2 otherwise.
`"
`
`
`
`
`
`
`
`
`
`
`Then, the filtered block is encoded using the same motion compensation
`
`
`
`
`
`
`
`information. Let Rf(n,m) be the corresponding residue :
`
`
`
`
`
`
`Rf(n,m) = M-Df(n,m)- mt - M-MC(D2(p(n)), V(n, m)}-M*.
`
`
`
`
`
`
`
`
`
`
`
`
`The residue is then quantized and dequantized again to compute the locally decoded
`
`
`
`
`
`
`
`
`
`
`pictures D2. Let R2(n,m) be the quantized and dequantized residue:
`
`My,
`
`=
`
`
`
`
`
`
`
`
`
`
`
`
`
`(3)
`
`
`
`(4)
`
`
`
`
`
`;
`
`
`
`s
`
`
`
`10
`
`
`
`15
`
`
`
`26
`
`
`25
`
`
`
`30
`
`
`
`35
`
`
`
`Page 10 of 27
`
`
`
`Page 10 of 27
`
`
`
`Printedk1 1-10-2001
`
`
`
`D2:
`
`DESCMEE
`
`
`6
`
`OMMOOsee
`
`
`
`
`
`
`R2(n,m) = M-D2(n,m)-Mé -M-MC(D2(p(n)), V(n,m))- Mt
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`The equations (1) and (4) are combined so that Rf is derived directly from D1 and
`
`
`
`(5)
`
`
`
`
`
`
`
`
`RF(n,m) = (t—a)[M-D1{n,m)-Mt —M-MC(O2(p(n)), vin, m)-M
`
`
`
`
`
`
`
`
`Combining the equation (2) with equation (6) gives :
`
`
`
`
`Rf(n,m)= (1 -«)[ Ri(fn,m)+M-MC{O1(p(n)), Vin, m))- Mt
`
`
`
`—M-MC{02(p(n)),Vn,m))-M*].
`
`
`
`
`
`
`
`
`
`
`
`Since motion compensation is performed identically from D1 and from D2, the
`
`
`
`
`
`
`
`
`
`
`
`
`
`motion compensation operator MC can operate on the picture difference,i.e., on the error
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`signal due to the transcoding operation. Defining 8D = D1 - D2, equation (7) is rewritten as
`
`follows :
`
`
`
`
`
`
`
`
`Re(n,m)=(1-2) [R1(n,m)+M-MC(sD(p(n)), Via, m))-M* (8)
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`The error signal 5D can be derived from the prediction errors, combining equations
`
`
`
`
`5
`
`
`
`10
`
`
`
`(5) and (6):
`
`
`
`
`
`
`
`
`
`(6)
`
`
`
`7)
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Equations (8) and (9) define the transcoder structure depicted in Fig. 2. Said
`
`
`
`transcoder (200) comprises :
`
`
`
`
`
`
`
`
`
`
`
`
`
`a decoding channel comprising a variable length decoder VLD (11) anda first
`
`
`
`
`
`
`
`
`
`
`
`
`
`dequantizer IQ (12) for decoding a current picture of a primary enceded signal (S1) and
`
`
`
`
`
`
`
`for providing a first transformed signal (R1),
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`an encoding channel comprising a quantizer Q (13), a variable length encoder VLC (14)
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`for obtaining the secondary encoded siqnal (S2), and a second dequantizer IQ (15) for
`
`
`
`
`
`providing a second transformedsignal (R2),
`
`
`
`
`
`
`a prediction channel comprising, in series :
`
`
`
`
`
`
`
`
`
`
`
`
`*®
`a subtractor (201) for determining a transformed encoding error (Re) and whose
`
`
`
`
`
`
`
`negative input receives the second transformed signal,
`
`
`
`
`
`
`
`
`
`an inverse discrete cosine transform circuit IDCT (16),
`*
`
`
`
`
`
`
`a picture memory MEM (17),
`e
`
`
`
`
`
`
`
`acircuit for motion compensation MC (18),
`*
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`‘
`
`30 #.adiscrete cosine transform circuit DCT (19) for predicting a transformed motion
`
`
`
`compensated signal (Rmc)},
`
`
`
`
`
`
`
`
`
`
`
`
`an adder (202) for providing a sum of the transformed motion compensated signal
`
`
`
`
`
`
`
`
`
`
`
`
`
`and the first transformed signal (R1) to the positive input of the subtractor,
`
`
`
`(9)
`
`
`
`
`
`
`
`{
`
`
`SD(n,m)= Mt[en)_Raf,m) -M.
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`15
`
`
`20
`
`
`25
`
`-
`
`-
`
`-
`
`
`e
`
`
`
`Page 11 of 27
`
`
`
`Page 11 of 27
`
`
`
`ae
`
`Feritedaipeos200;) a
`
`.
`
`DES
`
`OAOOSSS
`
`7
`
`
`-
`
`
`
`a temporalfilter circuit Wt (21) for receiving said sum and for providing the filtered
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`transformed signal (Rf) to the quantizer Q (13).
`
`
`
`
`
`
`
`
`
`
`
`In an advantageous embodiment of the invention, the strength of the motion
`
`
`
`
`
`
`
`
`
`
`compensated recursive temporalfilter is adjusted separately for each transformed coefficient
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Rf[i], i.e., for each DCT sub-band. The transformed coefficient of rank i is multiplied by W{]i]
`
`
`
`
`
`= 1- afi] suchas:
`
`
`
`
`
`RELI] = WE} (Rifi] + Rmc[ij)
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Thus, the noise reduction can be tuned to the spectral shape of the noise. It can also be
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`decided notto filter low frequencies in order to avoid visible artifact in case of a bad motion
`
`
`
`
`
`
`
`
`compensation and in order to reduce the noise.
`
`
`
`
`
`(10)
`
`
`
`
`
`
`
`
`
`
`
`
`
`16
`
`
`
`15
`
`
`
`20
`
`
`
`
`25
`
`30
`
`
`
`35
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`In the second and third embodiments of the invention, the transcoder implements a
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`spatialfilter. Spatiaifiltering is not so efficient to reduce the noise as motion compensated
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`temporalfiltering is. Yet, it can prevent block artifacts at low bit-rate, smoothing down sharp
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`edges that would otherwise create ringing effects. It can also simplify complex patterns that
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`would be otherwise randomly distorted from one picture to the other, resulting in the so-
`
`
`
`called mosquito noise.
`
`
`
`
`
`
`
`
`
`
`
`
`
`Let us consider again the naive transcoding chain. The pixel domainfilter shall have
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`a granularity which is the same as the granularity of the decoder. Thus we consider a block-
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`wise filter, Let Di(n,m) be block m of picture n. The filtered block Di(n,m) is computed as
`
`
`foliows :
`
`
`
`
`
`
`
`Df(n,m) = Fv{n)- Difn,m)-Fh'(n)
`
`
`
`
`
`
`
`
`
`
`
`
`
`where Fv(n) and Fh(n) are matrices that define respectively the verticai and
`
`
`
`(11)
`
`
`
`
`
`
`
`
`
`
`horizontal filtering within the block.
`
`
`
`
`
`
`
`
`
`
`Combining the equation (11) with the equation (2), we find :
`Df(n,m) = Fv(n)-M* -Ri(n,m)-M-Fh*(n)
`
`
`
`
`
`
`
`
`(12)
`+ Fv(n)- MC(D1(p(n)), V(n, m))- Frt(n)
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Tf the filter is the same for a group of pictures, then Fv(n) = Fv(p(n)) and Fh(n) =
`
`
`Fh(p(n)). Thus, the following approximation can be given for equation (12} based on the
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`assumption that block-wise filtering commutes with motion compensation :
`Df(n,m) = Fv(n)-Mé -Ri(p,m)-M-Fht (a) +MC{OF(p(n)), vin, m))
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`It follows that the block-wise filter can be applied to residue Ri(n,m) after an
`inverse discrete cosine transform IDCT. To implement the spatial filter in the transcoder, the
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`residue Ri(n,m) needs to be substituted by :
`Rf(n,m) = M-Fv(n)-M® -R1(n,m)-M-Fh*(n)- Me
`
`
`
`
`
`
`
`
`
`
`
`
`(13)
`
`
`
`
`
`(14)
`
`
`
`
`
`Page 12 of 27
`
`
`
`Page 12 of 27
`
`
`
`BocaoeeOon
`
`ee a Le ad
`
`
`
`.
`
`aa
`
`acne ao eS
`
`DESOmn
`
`
`
`5
`wee TTT
`zs
`~ Re ese FF TS
`
`
`=. re,
`, ne
`
`Ozooses)
`
`
`
`
`
`
`
`
`
`
`
`Evenif the matrices M-Fv{n)-M' and M-Fh'(n).M! can be pre-computed, their
`
`
`
`
`
`
`
`
`
`
`
`
`
`computing seems to involve many operations. Said computing can be simplified for a class of
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`block-wise filters for which the two matrices are diagonal. Such filters are symmetric filters
`
`
`
`
`
`
`
`
`
`
`
`
`
`with an even numberof taps. In our embodiment, we consider normalized 3-tap symmetric
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`filters since they are more suitable for small blocks. Such filters have a single parameter,
`
`
`
`
`
`
`
`
`
`
`
`
`denoted a. The corresponding pixel domain filtering matrix, (F,poaj<a, is defined by :
`
`
`
`
`
`
`a
`fori=j=1ito6,
`
`
`
`
`fi
`fori=j+1,
`1
`F, =——i 24a|i+a fori=j=Oand7,
`
`
`
`
`
`
`
`
`
`otherwise.
`
`
`
`
`
`
`
`
`
`(15)
`
`
`
`6
`
`
`
`Then,
`
`
`M.-F,
`
`
`
`
`
`
`
`-Mb = ———2+a {o
`
`1
`
`(2cos(in/8)+a
`
`
`
`
`
`
`
`
`otherwise.
`fori=j
`
`
`
`
`
`(16)
`
`
`
`
`
`
`
`
`
`
`
`
`
`Thus, to implementfiltering with horizontal parameter a, and vertical parametera,,
`
`
`
`
`
`
`
`
`
`
`
`
`the residue R1(n,m) needs to be weighted (component-wise) by (Ws,jJoas<a defined as
`
`follows :
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Ws, =2eeslal)+2. 2eoeln/s)+2,
`
`
`
`
`
`
`
`
`
`an)
`
`
`
`
`
`10
`
`
`
`15
`
`
`
`20
`
`
`
`25
`
`
`
`30
`
`
`
`
`
`
`
`
`
`
`
`
`Fig. 3 shows a transcoder with spatial pre-filtering according to the second
`
`
`
`
`
`
`
`
`embodiment of the invention. Said transceder (300) comprises :
`
`
`
`
`
`
`
`
`
`
`
`
`a decoding channel comprising a variable length decoder VLD (11) and a first
`
`
`
`
`
`
`
`
`
`
`dequantizer IQ (12) for providing a first transformed signal (R1),
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`a Spatialfilter circuit Ws (31) for receiving said first transformed signal and for providing
`
`
`
`
`
`the filtered transformed signal (Rf),
`
`
`
`
`
`
`
`
`
`
`
`
`
`an encoding channel comprising a quantizer Q (13), a variable length encoder VLC (14)
`
`
`
`
`
`
`
`
`
`
`
`
`
`and a second dequantizer IQ (15) for providing a second transformed signal (R2),
`
`
`
`
`
`
`a prediction channel comprising, in series :
`
`
`
`
`
`
`
`
`
`
`
`
`e
`a subtractor (201) for determining a transformed encoding error (Re) and whose
`
`
`
`
`
`
`
`negative input receives the second transformed signal,
`
`
`
`
`
`
`
`
`an inverse discrete cosine transform circuit IDCT (16),
`
`
`
`
`
`a picture memory MEM (17),
`
`
`
`
`
`
`a ireuit for motion compensation MC (18),
`
`
`
`
`
`
`
`
`
`
`
`a discrete cosine transform circuit DCT (19) for predicting a transformed motion
`
`
`
`
`compensated signal (Rmc), and
`
`
`
`
`
`
`
`
`
`
`
`
`anadder (302) for providing a sum of said transformed motion compensated signal
`
`
`
`
`
`
`
`
`
`
`
`
`
`and thefiltered transformed signal (Rf) to the positive input of the subtractor.
`
`-
`
`-
`
`-
`
`-
`
`
`*
`
`«
`
`®
`
`*
`
`
`«
`
`
`
`
`
`
`
`
`
`
`
`
`
`.
`
`
`
`Page 13 of 27
`
`03-08-2001 E
`
`Page 13 of 27
`
`
`
`MOTE Toten.
`:
`SBTTL
`
`ecteOOor
`
`a
`
`ONAOO588
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Fig. 4 is a transcoder according to the third embodiment of the invention, with
`
`
`
`
`
`
`
`
`
`
`spatial post-filtering whose weighting factors are Ws,;. Said transcoder (400) comprises :
`
`
`
`
`
`
`
`
`
`
`
`
`
`a decoding channel comprising a variable length decoder VLD (11) andafirst
`
`
`
`
`
`
`
`
`
`
`dequantizer 1Q (12) for providing a first transformed signal (R1),
`
`
`
`
`
`
`
`
`
`
`
`
`
`an encoding channel comprising a quantizer Q (13), a variabie length encoder VLC (14)
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`and a second dequantizer 1Q (15) and further comprising an inversefilter circuit (42) for
`
`
`
`
`
`
`providing a second transformed signal (R2),
`
`
`
`
`
`
`& prediction channel comprising, in series :
`
`
`
`
`
`
`
`
`
`
`
`
`*
`a subtractor (201) for determining a transformed encoding error (Re} and whose
`
`
`
`
`
`
`
`negative input receives the second transformed signal,
`
`
`
`
`
`
`
`
`an inverse discrete cosine transform circuit IDCT (16),
`
`
`
`
`
`a picture memory MEM (17),
`
`
`
`
`
`
`a circuit for motion compensation MC (18),
`
`
`
`
`
`
`
`
`
`
`
`a discrete cosine transform circuit DCT (19) for predicting a transformed motion
`
`
`
`,
`compensated signal (Rmc),
`
`
`
`
`
`
`
`
`
`
`
`
`anadder (202) for providing a sum of said transformed motion compensated signal
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`and the first transformed signal (R1} to the positive input of the subtractor, and
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`@ spatial filter circuit Ws (41) for teceiving said sum and for providing a filtered
`
`
`
`
`
`
`
`transformed signal (Rf) to the encoding channel.
`
`
`
`
`
`
`
`
`
`
`
`
`Compared to pre-filtering, the spatial filtering is performed in the encoding part of
`
`
`the transcoder.
`
`
`
`
`
`10
`
`
`
`15
`
`
`
`20
`
`
`«
`
`*
`
`*
`
`*
`
`
`e
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Fig. 5 is a transcoder according to the fourth embodiment of the invention, with
`
`
`
`
`
`
`spatial post-filtering. Said transcoder (500) comprises:
`
`
`
`
`
`
`
`
`
`
`
`
`a decoding channel comprising a variable length decoder VLD (11) and a first
`
`
`
`
`
`
`
`
`
`
`dequantizer IQ (12) for providing a first transformed signal (R1),
`
`
`
`
`
`
`
`
`
`
`
`
`
`an encoding channel comprising a quantizer Q (13), a variable length encoder VLC (14)
`
`
`
`
`
`
`
`
`
`
`
`
`
`and a second dequantizer IQ (15) for providing a second transformed signal (R2),
`
`
`
`
`
`
`
`
`
`
`a prediction channel comprising, in series a subtractor (201) for determining a
`
`
`
`
`
`
`
`
`
`
`transformed encoding error (Re) and whose negative input receives the second
`
`
`
`
`
`
`
`
`
`
`
`transformed signal, an inverse discrete cosine transform circuit IDCT (16), a picture
`
`
`
`
`
`
`
`
`
`
`
`
`
`memory MEM (17), a circuit for motion compensation MC (18), a discrete cosine
`
`
`
`
`
`
`
`
`
`
`transform circuit DCT (19) for predicting a transformed motion compensated signal
`
`
`
`
`
`
`
`
`
`
`
`
`
`(Rme}, and an adder (202) for providing a sum of said transformed motion compensated
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`signal and the first transformed signal (R1) to the positive input of the subtractor.
`
`
`
`
`
`
`
`
`
`
`
`
`
`Said transcoder further comprises a switch (52) having at least two positions. In a
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`first position (a) of the switch, a spatial filter circuit Ws (51) is adapted to receive the output
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`OGHOSHACOT
`
`
`25
`
`
`
`30
`
`
`
`35
`
`
`
`Page 14 of 27
`
`Page 14 of 27
`
`
`
`§ Printedk1 1-10-2001
`
`DESS
`
`
`
`10
`
`-
`
`OOseS
`
`
`
`ap3a- -
`
`BN ee
`
`-
`
`ae wee
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`of the adder and to provide a filtered transformed signal (Rf) to the quantizing circuit (13).
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`In that case, and contrary to Figs. 3 and 4, the spatialfilter circuit is not applied to every
`
`
`
`
`
`
`
`
`
`
`
`
`
`macroblocks contained in the current picture but is only applied to intra coded macroblocks
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`contained in said picture. In a second position (b) of the switch, no filtering is applied : this
`
`
`
`
`
`
`
`
`position corresponds mainly to n



