WO1999038332A1 - Method and device for converting image data blocks into image lines - Google Patents

Method and device for converting image data blocks into image lines Download PDF

Info

Publication number
WO1999038332A1
WO1999038332A1 PCT/DE1999/000013 DE9900013W WO9938332A1 WO 1999038332 A1 WO1999038332 A1 WO 1999038332A1 DE 9900013 W DE9900013 W DE 9900013W WO 9938332 A1 WO9938332 A1 WO 9938332A1
Authority
WO
WIPO (PCT)
Prior art keywords
pictures
picture
target
bitrate
rate
Prior art date
Application number
PCT/DE1999/000013
Other languages
German (de)
French (fr)
Other versions
WO1999038332A9 (en
Inventor
Christoph Heer
Mladen Berekovic
Original Assignee
Siemens Aktiengesellschaft
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Siemens Aktiengesellschaft filed Critical Siemens Aktiengesellschaft
Priority to EP99906027A priority Critical patent/EP1051854A1/en
Priority to JP2000529088A priority patent/JP2002502049A/en
Priority to KR1020007008191A priority patent/KR20010034420A/en
Publication of WO1999038332A1 publication Critical patent/WO1999038332A1/en
Publication of WO1999038332A9 publication Critical patent/WO1999038332A9/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding

Definitions

  • the invention relates to a method and a device in which image data blocks which follow one another in time in the line direction and contain, for example, brightness and color information for pixels, are converted into image lines in such a way that between the writing of the
  • Image data blocks Information for pixels of an image line is output from a memory in the correct sequence in time.
  • the object on which the invention is based is now a device or an arrangement for converting
  • FIG. 1 shows an illustration to explain the data structures and memory addressing
  • FIG. 2 shows a flow chart to explain the method
  • FIG. 3 shows a block diagram of a device for carrying out the method
  • Figure 4 is a block diagram for explaining the function of an input address generator of Figures 3 and
  • FIG. 5 shows a block diagram for explaining the output address generator from FIG. 3.
  • the underlying object is achieved according to the invention in that image block data are written into a memory and image lines are read from the memory in such a way that the memory only has to be dimensioned so large that it can accommodate a line of image blocks. A so-called doubling of the memory due to the simultaneous write and read operations is not necessary.
  • an image B consisting of image block lines 1 ... 36 is shown, each image block line having 44 image blocks.
  • the picture blocks of picture block row 1 are labeled 1.1, ..., 1.44
  • the picture blocks of picture block row 2 are labeled 2.1, ..., 2.44
  • the last block of picture block row 36 is labeled 36.44.
  • the CCIR-601 standard with 704 x 576 pixels per field (frame) and a 4: 2: 2 format for brightness and color information is assumed.
  • a word W n in which the image information for 16 pixels is divided into 8 columns SP1 ... SP8, with column SP1 two brightness information Y0 and Yl and two color difference values U0 and V0 and column SP8 has two brightness values Y14 and Y15 and two color difference values U7 and V7.
  • Each line of a word in an image block thus has the data of 16 pixels, two pixels sharing a common color described by two color difference values.
  • triples T21, T22, T31 and T32 are indicated as examples in the upper first part of FIG. 1 in the picture block lines 2 and 3, the triplet T21 consisting of the picture blocks 2.1, 2.2 and 2.3, the triplet T22 consisting of the picture blocks 2.4, 2.5 and 2.6, the triple T31 consist of blocks 3.1, 3.2 and 3.3 and the triple T32 consist of image data blocks 3.4, 3.5 and 3.6.
  • FIG. 1 shows a memory M with memory blocks M]... M48 and three memory blocks M ⁇ _, M2 and M 3 up to M45, M47 and M48 to memory triple TM1 to memory block triple TM16 are summarized.
  • a third part of FIG. 1 shows a video image V with image lines L ] _ ... L576, the image line L] _ initially having a pixel P1 and at the end of the line having a pixel 704.
  • a memory block represents a memory area that can hold 16 x 16 pixels, for example.
  • Memory blocks can advantageously correspond to exactly one image block, but in principle a different size of a memory block is also possible.
  • a flow chart is shown in FIG. 2 to explain the exemplary method. It is clear from this that first, in a first step, all image blocks 1.1 ... 1.44 of the first block line 1 of image B are calculated and stored in the memory M. Thereupon, in a second step, the first image line L_ is output as the first line of the memory M up to the memory block M44. As soon as the first line L_ has been output, the first three lines of the memory blocks can already be written with the first three image blocks 2.1, 2.2 and 2.3 of the next block line 2 of the image B.
  • the first words W Worte (2.1) ..., W ⁇ (2.3) of the first trip ice T21 and in the memory block triple TM2 the second words Words W 2 (2.1) ... W 2 (2.3) of the first trip ice up to the sixteenth words W g (2.1), ..., W g (2.3) of the first trip ice are stored in the memory block triple TM16.
  • the respective second lines of the memory blocks can be written with the next triple T22 of the next block line 2.
  • the first line of the second picture block line 2 contains the words W 1 (2.1) ... W sugar (2.44) in the first memory block triple TM1.
  • the picture line 17 can be read out line by line of the first memory block
  • the memory block triple TM2 is then read out and at the same time the triple T31 of the third block line is written into the memory block triple TM1 read out and described with the new image blocks, the process can start again and convert block lines 3 and 4 into image lines 33 to 64 etc.
  • z 576 image lines
  • FIG. 3 shows a block circuit for carrying out the method specified above, which has the memory M, an input address generator EAG, a write switch SFW, an output address generator AAG and a read switch LSW in addition to a clock supply CLK.
  • the clock supply CLK is connected to the input address generator EAG, the switching mechanism SSW, the reading switching mechanism LSW and the output address generator AG.
  • the input address generator is controlled by an output signal MODI of the write switch and generates a write address SADR for the memory M.
  • the write switch SSW generates a write activation signal SEN for the memory M.
  • the write switch reports to the read switch LSW with the aid of a signal BZS that a Block line was written and the read switch LSW reports to the write switch using a signal ZL that a picture line has been read.
  • the output address generator is driven by an output signal MOD2 of the read switching mechanism and generates a read address LADR in the memory M. Data DI is written into the memory M and data DO is read out.
  • An input memory MI and / or a FIFO memory FIFO are optionally additionally provided, indicated by dashed lines. If there is an input memory MI for storing the data DI, it can advantageously also be controlled by the input address generator. In the event that a FIFO memory is available for receiving the output data DO, this can advantageously be controlled by a signal FIN generated in the read switching mechanism. 14
  • a frame buffer 201 is used to temporarily disturb to re-ordering and processing needs.
  • Each input picture is divi before encoding.
  • Temporal redundancy of each MB may be re 202 and motion compensation 203. 5
  • a MB is subjected to discr 204 and DCT coefficient quantization 205 based on quantizatio stepsize.
  • the quantized MB of I- or P-picture is inverse qua cosine transformed 210, and subjected to corresponding motion c quantized MB is reconstructed and stored locally in frame b estimation and compensation needs.
  • the quantized MB is ru (variable length coding) at 206, together with all necessary si encoded bitstream of the input sequence.
  • the encoded bitstream 207 of the encoder for output at 208 at desired data rates.
  • ch the daem ⁇ in 210 may be those defined and / or allowed in the ISO / IEC MPE ⁇ r t ed by MB acti -> «* « * o Pt , ona cu ; 20 Before encoding, a target quality of encoding (219) and maxi are set.
  • the maximum and minimum bit rates (BR m ⁇ and RR define the boundary bit rates which the encoder shall operate at, the encoded picture quality that the encoder shall target by co rate within the given bit rate boundaries.
  • target bit rate estimation 223 may be performed based max min bit rates to generate an initial target bit rate (BR largel ). based on experimentally determined fixed values which m picture (s) to be coded. With the target bit rate, the bit all
  • the QS ref of each MB in the picture to be coded can be computed, for example, as follows:
  • D IPB Virtual buffer fullness of corresponding I-, P-, or B-picture, updated (after coding each MB) by the difference between the bits used by the MB and the bits allocated to the MB based on the corresponding T ! PB , a set of initial values for D pursueD P , D B may be assumed at sequence Start, and K, is a constant (eg. 31).
  • Adaptive quantization 218 may be applied in which the determined QS ref ⁇ ' s scaled according to the local activities of the MB as generated by MB activity calculation process 216 and the average MB activity of the previously coded (or optionally current picture) as produced by the frame activity average process 217.
  • Example implementations of the MB activity calculation 216, frame activity average 217, and adaptive quantization process 218 are found in MPEG-2 TM5.
  • the output quantization stepsize (QS) is used to quantized DCT coefficients of the MB.
  • the number of bits (S l PB , corresponding value for I-, P-, or B- picture) generated by encoding the picture is accumulated by Frame Bit-Count 214, and the quantization stepsize (QS) is averaged by Frame Q Step Average 213 process.
  • the encoded picture quality is also determined by Frame Quality Measure 220 process.
  • One method of determining the encoded picture quality is by the average value of the reference quantization stepsize (QS average ) used for coding the picture since it indicates roughly the amount of quantization noise in the encoded picture.
  • the target quality set at 219 is defmed as the target reference quantization stepsize (QS ⁇ rgel ).

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Input (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Image Processing (AREA)

Abstract

The invention provides a special read- and write-addressing technique which halves the size of the memory required for the conversion by eliminating the need for the memory to 'double up'. Normally this is made necessary by simultaneous write- and read accesses.

Description

Beschreibungdescription
Verfahren und Vorrichtung zur Konvertierung von Bilddatenblöcken in Bildzeilen.Method and device for converting image data blocks into image lines.
Die Erfindung betrifft ein Verfahren bzw. eine Vorrichtung, bei dem/der in Zeilenrichtung zeitlich aufeinanderfolgende Bilddatenblöcke, die beispielsweise Helligkeits- und Farbinformationen für Bildpunkte (pixel) enthalten, so in Bildzei- len umgewandelt werden, daß zwischen dem Einschreiben derThe invention relates to a method and a device in which image data blocks which follow one another in time in the line direction and contain, for example, brightness and color information for pixels, are converted into image lines in such a way that between the writing of the
Bilddatenblöcke Informationen für Pixel einer Bildzeile zeitlich in der richtigen Reihenfolge aus einem Speicher ausgegeben werden.Image data blocks Information for pixels of an image line is output from a memory in the correct sequence in time.
Aus der US-Schrift 5,563,623 ist ein solches Verfahren bzw. eine solche Anordnung im Zusammenhang mit einer Ansteuerung einer aktiv adressierbaren Anzeigeeinheit bekannt.Such a method or such an arrangement is known from US Pat. No. 5,563,623 in connection with a control of an actively addressable display unit.
Im kommenden objektbasierten Videostandard MPEG-4 sind zu- sätzlich Speicher für die Objekte eines vorhergehenden Bildes für die Prädiktion erforderlich, da das darzustellende Bild aus der Komposition verschiedener Bildobjekte entsteht und diese nicht mehr komplett und unverändert darstellt. Es werden also zwei getrennte Speicher notwendig, nämlich ein soge- nannter Frame-Buffer zur Aufnahme von Bilddatenblöcken und ein Speicher für Bildobjekte, was einen höheren Hardwareaufwand im Vergleich zu früheren Videostandards bedeutet.In the upcoming object-based video standard MPEG-4, additional memories for the objects of a previous picture are required for the prediction, since the picture to be displayed arises from the composition of different picture objects and no longer represents them completely and unchanged. Two separate memories are therefore necessary, namely a so-called frame buffer for holding image data blocks and a memory for image objects, which means a higher hardware expenditure in comparison to earlier video standards.
Die der Erfindung zugrundeliegende Aufgabe besteht nun darin, eine Vorrichtung bzw. eine Anordnung zur Konvertierung vonThe object on which the invention is based is now a device or an arrangement for converting
Bilddatenblöcken in Bildzeilen anzugeben, bei dem/der der Gesamtspeicherbedarf möglichst gering ist.Specify image data blocks in image lines in which the total memory requirement is as small as possible.
Diese Aufgabe wird hinsichtlich des Verfahrens durch die Merkmale des Patentanspruchs 1 und hinsichtlich der Anordnung durch die Merkmale des Patentanspruchs 2 gelöst. Die weiteren Ansprüche betreffen vorteilhafte Ausgestaltungen der erfindungsgemäßen Vorrichtung.This object is achieved with regard to the method by the features of patent claim 1 and with regard to the arrangement by the features of patent claim 2. The further claims relate to advantageous configurations of the device according to the invention.
Die Erfindung wird im folgenden anhand eines in den Zeichnun- gen dargestellten Ausführungsbeispiels näher erläutert. Dabei zeigtThe invention is explained in more detail below with reference to an exemplary embodiment shown in the drawings. It shows
Figur 1 eine Darstellung zur Erläuterung der Datenstrukturen und Speicheradressierung,FIG. 1 shows an illustration to explain the data structures and memory addressing,
Figur 2 ein Flußdiagramm zur Erläuterung des Verfahrens,FIG. 2 shows a flow chart to explain the method,
Figur 3 ein Blockschaltbild einer Vorrichtung zur Durchführung des Verfahrens,FIG. 3 shows a block diagram of a device for carrying out the method,
Figur 4 ein Blockschaltbild zur Erläuterung der Funktion eines Eingangsadreßgenerators von Figur 3 undFigure 4 is a block diagram for explaining the function of an input address generator of Figures 3 and
Figur 5 ein Blockschaltbild zur Erläuterung des Ausgangs- adreßgenerators von Figur 3.FIG. 5 shows a block diagram for explaining the output address generator from FIG. 3.
Die zugrundegelegte Aufgabe wird erfindungsgemäß dadurch gelöst, daß Bildblockdaten derart in einen Speicher eingeschrieben und Bildzeilen aus dem Speicher derart ausgelesen werden, daß der Speicher lediglich so groß dimensioniert werden muß, daß er eine Zeile von Bildblöcken aufnehmen kann. Ein sogenanntes Aufdoppel des Speichers wegen der gleichzeitig erfolgenden Schreib- und Leseoperationen ist hierbei nicht erforderlich.The underlying object is achieved according to the invention in that image block data are written into a memory and image lines are read from the memory in such a way that the memory only has to be dimensioned so large that it can accommodate a line of image blocks. A so-called doubling of the memory due to the simultaneous write and read operations is not necessary.
Im ersten Teil von Figur 1 ist ein Bild B bestehend aus Bildblockzeilen 1 ... 36 dargestellt, wobei jede Bildblockzeile 44 Bildblöcke aufweist. Die Bildblöcke der Bildblockzeile 1 sind mit 1.1, ...., 1.44, die Bildblöcke der Bildblockzeile 2 sind mit 2.1, ..., 2.44 und der letzte Block der Bildblockzeile 36 ist mit 36.44 bezeichnet. Jeder Bildblock weist, wie beim Bildblock 1.1 exemplarisch angedeutet, M = 16 Wörter W]_ ... Wι_g auf. In dem hier beschriebenen Beispiel ist der CCIR- 601 Standard mit 704 x 576 Bildpunkten pro Teilbild (Frame) und einem 4:2:2-Format für Helligkeits- und Farbinformation angenommen. Im unteren Teil von Figur 1 ist dies exemplarisch an einem Wort Wn verdeutlicht, bei dem die Bildinformation für 16 Pixel auf 8 Spalten SP1 ... SP8 aufgeteilt ist, wobei die Spalte SP1 zwei Helligkeitsinformationen Y0 und Yl und zwei Farbdifferenzwerte U0 und V0 und die Spalte SP8 zwei Helligkeitswerte Y14 und Y15 sowie zwei Farbdifferenzwerte U7 und V7 aufweist. Jede Zeile eines Wortes in einem Bildblock weist somit die Daten von 16 Pixeln auf, wobei sich jeweils zwei Pixel eine durch zwei Farbdifferenzwerte beschriebene gemeinsame Farbe teilen.In the first part of FIG. 1, an image B consisting of image block lines 1 ... 36 is shown, each image block line having 44 image blocks. The picture blocks of picture block row 1 are labeled 1.1, ..., 1.44, the picture blocks of picture block row 2 are labeled 2.1, ..., 2.44 and the last block of picture block row 36 is labeled 36.44. Each image block has, as indicated by way of example in image block 1.1, M = 16 words W] _ ... Wι_g on. In the example described here, the CCIR-601 standard with 704 x 576 pixels per field (frame) and a 4: 2: 2 format for brightness and color information is assumed. In the lower part of FIG. 1 this is exemplified by a word W n in which the image information for 16 pixels is divided into 8 columns SP1 ... SP8, with column SP1 two brightness information Y0 and Yl and two color difference values U0 and V0 and column SP8 has two brightness values Y14 and Y15 and two color difference values U7 and V7. Each line of a word in an image block thus has the data of 16 pixels, two pixels sharing a common color described by two color difference values.
Darüber hinaus sind im oberen ersten Teil von Figur 1 in den Bildblockzeilen 2 und 3 exemplarisch Tripel T21, T22, T31 und T32 angedeutet, wobei das Tripel T21 aus den Bildblöcken 2.1, 2.2 und 2.3, das Tripel T22 aus den Bildblöcken 2.4, 2.5 und 2.6, das Tripel T31 aus den Blöcken 3.1, 3.2 und 3.3 sowie das Tripel T32 aus den Bilddatenblöcken 3.4, 3.5 und 3.6 bestehen.In addition, triples T21, T22, T31 and T32 are indicated as examples in the upper first part of FIG. 1 in the picture block lines 2 and 3, the triplet T21 consisting of the picture blocks 2.1, 2.2 and 2.3, the triplet T22 consisting of the picture blocks 2.4, 2.5 and 2.6, the triple T31 consist of blocks 3.1, 3.2 and 3.3 and the triple T32 consist of image data blocks 3.4, 3.5 and 3.6.
In einem zweiten Teil von Figur 1 ist ein Speicher M mit Speicherblöcken M]_ ... M48 dargestellt und jeweils drei Spei- cherblöcke Mη_, M2 und M3 bis hin zu M45, M47 und M48 zu Spei- chertripel TM1 bis hin zum Speicherblocktripel TM16 zusammengefaßt sind. In einem dritten Teil von Figur 1 ist ein Videobild V mit Bildzeilen L]_ ... L576 gezeigt, wobei die Bildzeile L]_ zu Beginn ein Pixel Pl und am Ende der Zeile ein Pixel 704 aufweist.In a second part of FIG. 1, a memory M is shown with memory blocks M]... M48 and three memory blocks Mη_, M2 and M 3 up to M45, M47 and M48 to memory triple TM1 to memory block triple TM16 are summarized. A third part of FIG. 1 shows a video image V with image lines L ] _ ... L576, the image line L] _ initially having a pixel P1 and at the end of the line having a pixel 704.
Ein Speicherblock stellt einen Speicherbereich dar, der zum Beispiel 16 x 16 Pixel aufnehmen kann. Speicherblöcke können vorteilhafterweise genau einem Bildblock ehtsprechen, es ist jedoch prinzipiell auch eine andere Größe eines Speicherblocks möglich. In Figur 2 ist zur Erläuterung des beispielhaft angegebenen Verfahrens ein Flußdiagramm dargestellt. Hieraus wird deutlich, daß zunächst, in einem ersten Schritt, alle Bildblöcke 1.1 ... 1.44 der ersten Blockzeile 1 des Bildes B berechnet und im Speicher M abgelegt werden. Daraufhin wird, in einem zweiten Schritt, die erste Bildzeile Lι_ als erste Zeile des Speichers M bis zum Speicherblock M44 ausgegeben. Sobald die erste Zeile Lι_ ausgegeben wurde, können die jeweils ersten Zeilen der Speicherblöcke bereits mit den ersten drei Bild- blocken 2.1, 2.2 und 2.3 der nächsten Blockzeile 2 des Bildes B beschrieben werden. Diese werden verschachtelt abgelegt, das heißt, daß im ersten Speicherblocktripel TM1, wie im zweiten Teil von Figur 1 eingetragen, die ersten Worte Wχ(2.1) ..., Wχ(2.3) des ersten Tripeis T21 sowie im Spei- cherblocktripel TM2 die zweiten Worte W2(2.1) ... W2(2.3) des ersten Tripeis bis hin zu den sechszehnten Worten W g(2.1), ..., W g(2.3) des ersten Tripeis in dem Speicherblocktripel TM16 gespeichert werden. Sobald die zweite Zeile L2 ausgegeben wurde, können die jeweils zweiten Zeilen der Speicher- blocke mit dem nächsten Tripel T22 der nächsten Blockzeile 2 beschrieben werden. Diese werden ebenfalls in entsprechender Weise verschachtelt abgelegt. Gleichzeitig wird die dritte Bildzeile L3 ausgegeben. Sind alle m = 16 Bildzeilen ausgegeben bzw. alle k = m Tripel der zweiten Bildzeile eingeschrie- ben, ist der gesamte Speicher also die Speicherblöcke M^ ... M48 bereits wieder mit den Daten für die nächsten m = 16 Zeilen gefüllt. Allerdings sind diese Bildzeilen nun „blockweise" abgelegt. Im ersten Speicherblocktripel TM1 liegt die erste Zeile der zweiten Bildblockzeile 2 also die Worte W1(2.1) ... Wχ(2.44). Entsprechend kann die Bildzeile 17 durch zeilenweises Auslesen des ersten Speicherblocktri- pels TM1 erfolgen. Anschließend wird das Speicherblocktripel TM2 ausgelesen und gleichzeitig das Tripel T31 der dritten Blockzeile in das Speicherblocktripel TM1 eingeschrieben. Entsprechend werden auch die anderen Speicherblocktripel bis zum Tripel TM16 ausgelesen und entsprechend die Tripel der dritten Blockzeile eingeschrieben. Sind alle Speicherblöcke ausgelesen und mit den neuen Bildblöcken beschrieben, kann das Verfahren von neuem beginnen und die Blockzeilen 3 und 4 in Bildzeilen 33 bis 64 usw. umwandeln. Bei z = 576 Bildzeilen muß das oben angegebene Teilverfahren ab dem zweiten Schritt z/2*m = 18 mal durchgeführt werden, wobei die Einspeicherung einer weiteren Blockzeile beim letzten Durchlauf natürlich unterbleibt.A memory block represents a memory area that can hold 16 x 16 pixels, for example. Memory blocks can advantageously correspond to exactly one image block, but in principle a different size of a memory block is also possible. A flow chart is shown in FIG. 2 to explain the exemplary method. It is clear from this that first, in a first step, all image blocks 1.1 ... 1.44 of the first block line 1 of image B are calculated and stored in the memory M. Thereupon, in a second step, the first image line L_ is output as the first line of the memory M up to the memory block M44. As soon as the first line L_ has been output, the first three lines of the memory blocks can already be written with the first three image blocks 2.1, 2.2 and 2.3 of the next block line 2 of the image B. These are stored nested, that is, in the first memory block triple TM1, as entered in the second part of FIG. 1, the first words W Worte (2.1) ..., Wχ (2.3) of the first trip ice T21 and in the memory block triple TM2 the second words Words W 2 (2.1) ... W 2 (2.3) of the first trip ice up to the sixteenth words W g (2.1), ..., W g (2.3) of the first trip ice are stored in the memory block triple TM16. As soon as the second line L 2 has been output, the respective second lines of the memory blocks can be written with the next triple T22 of the next block line 2. These are also nested in a corresponding manner. At the same time, the third image line L3 is output. If all m = 16 image lines have been output or all k = m triples of the second image line have been written in, the entire memory, that is to say the memory blocks M ^ ... M48, is already filled again with the data for the next m = 16 lines. However, these picture lines are now stored "block by block". The first line of the second picture block line 2 contains the words W 1 (2.1) ... W liegt (2.44) in the first memory block triple TM1. Accordingly, the picture line 17 can be read out line by line of the first memory block The memory block triple TM2 is then read out and at the same time the triple T31 of the third block line is written into the memory block triple TM1 read out and described with the new image blocks, the process can start again and convert block lines 3 and 4 into image lines 33 to 64 etc. With z = 576 image lines, the above-mentioned sub-procedure must be carried out z / 2 * m = 18 times from the second step, whereby, of course, no further block line is saved during the last run.
In Figur 3 ist eine Blockschaltung zur Durchführung des vor- her angegebenen Verfahrens dargestellt, die den Speicher M, einen Eingangsadreßgenerator EAG, ein Schreibschaltwerk SFW, ein Ausgangsadreßgenerator AAG und ein Leseschaltwerk LSW neben einer Taktversorgung CLK aufweist. Die Taktversorgung CLK ist dabei mit dem Eingangsadreßgenerator EAG dem Schaltwerk SSW, dem Leseschaltwerk LSW und dem Ausgangsadreßgenerator AG verbunden. Der Eingangsadreßgenerator wird durch ein Ausgangssignal MODI des Schreibschaltwerkes angesteuert und erzeugt eine Schreibadresse SADR für den Speicher M. Darüber hinaus erzeugt das Schreibschaltwerk SSW ein Schreibaktivie- rungssignal SEN für den Speicher M. Das Schreibschaltwerk meldet dem Leseschaltwerk LSW mit Hilfe eines Signals BZS, daß eine Blockzeile geschrieben wurde und das Leseschaltwerk LSW meldet dem Schreibschaltwerk mit Hilfe eines Signales ZL, daß eine Bildzeile gelesen wurde. Der Ausgangsadreßgenerator wird durch ein Ausgangssignal MOD2 des Leseschaltwerkes angesteuert und erzeugt eine Leseadresse LADR im Speicher M. In den Speicher M werden Daten DI eingeschrieben und Daten DO ausgelesen.FIG. 3 shows a block circuit for carrying out the method specified above, which has the memory M, an input address generator EAG, a write switch SFW, an output address generator AAG and a read switch LSW in addition to a clock supply CLK. The clock supply CLK is connected to the input address generator EAG, the switching mechanism SSW, the reading switching mechanism LSW and the output address generator AG. The input address generator is controlled by an output signal MODI of the write switch and generates a write address SADR for the memory M. In addition, the write switch SSW generates a write activation signal SEN for the memory M. The write switch reports to the read switch LSW with the aid of a signal BZS that a Block line was written and the read switch LSW reports to the write switch using a signal ZL that a picture line has been read. The output address generator is driven by an output signal MOD2 of the read switching mechanism and generates a read address LADR in the memory M. Data DI is written into the memory M and data DO is read out.
Optional sind zusätzlich, gestrichelt angedeutet, ein Eingangsspeicher MI und/oder ein Fifo-Speicher FIFO vorgesehen. Falls ein Eingangsspeicher MI zur Speicherung der Daten DI vorhanden ist, kann dieser vorteilhafterweise ebenfalls durch den Eingangsadreßgenerator angesteuert werden. Für den Fall, daß ein FIFO-Speicher zur Aufnahme der Ausgangsdaten DO vorhanden ist, kann dieser vorteilhafterweise durch ein im Leseschaltwerk erzeugtes Signal FIN angesteuert werden. 14An input memory MI and / or a FIFO memory FIFO are optionally additionally provided, indicated by dashed lines. If there is an input memory MI for storing the data DI, it can advantageously also be controlled by the input address generator. In the event that a FIFO memory is available for receiving the output data DO, this can advantageously be controlled by a signal FIN generated in the read switching mechanism. 14
1515
or B-picture). A frame buffer 201 is used to temporarily störe to re-ordering and processing needs. Each input picture is divi before encoding. Temporal redundancy of each MB may be re 202 and motion compensation 203. 5or B-picture). A frame buffer 201 is used to temporarily disturb to re-ordering and processing needs. Each input picture is divi before encoding. Temporal redundancy of each MB may be re 202 and motion compensation 203. 5
After necessary motion compensation, a MB is subjected to discr 204 and DCT coefficient quantization 205 based on quantizatio stepsize. The quantized MB of I- or P-picture is inverse qua cosine transformed 210, and subjected to corresponding motion c quantized MB is reconstructed and stored locally in frame b estimation and compensation needs. The quantized MB is ru (variable length coding) at 206, together with all necessary si encoded bitstream of the input sequence. The encoded bitstream 207 of the encoder for output at 208 at desired data rates.After necessary motion compensation, a MB is subjected to discr 204 and DCT coefficient quantization 205 based on quantizatio stepsize. The quantized MB of I- or P-picture is inverse qua cosine transformed 210, and subjected to corresponding motion c quantized MB is reconstructed and stored locally in frame b estimation and compensation needs. The quantized MB is ru (variable length coding) at 206, together with all necessary si encoded bitstream of the input sequence. The encoded bitstream 207 of the encoder for output at 208 at desired data rates.
Figure imgf000008_0001
Methods of motion estimation 202, motion compensation 203, quantization 205, run-length VLC encoding 206, inverse quantiz ppIied ln wh|ch the daemιin 210 may be those defined and/or allowed in the ISO/IEC MPE ^ r ted by MB acti -> «* «* oPt,ona cu; 20 Before encoding, a target quality of encoding (219) and maxi are set. The maximum and minimum bit rates (BR and RR define the boundary bit rates which the encoder shall operate at, the encoded picture quality that the encoder shall target by co rate within the given bit rate boundaries. The minimum bit ra
Figure imgf000008_0001
Methods of motion estimation 202, motion compensation 203, quantization 205, run-length VLC encoding 206, inverse quantiz pp Iied ln wh | ch the daemιin 210 may be those defined and / or allowed in the ISO / IEC MPE ^ r t ed by MB acti -> «*« * o Pt , ona cu ; 20 Before encoding, a target quality of encoding (219) and maxi are set. The maximum and minimum bit rates (BR and RR define the boundary bit rates which the encoder shall operate at, the encoded picture quality that the encoder shall target by co rate within the given bit rate boundaries. The minimum bit ra
2525
Initially, target bit rate estimation 223 may be performed based max min bit rates to generate an initial target bit rate (BRlargel). based on experimentally determined fixed values which m picture(s) to be coded. With the target bit rate, the bit allInitially, target bit rate estimation 223 may be performed based max min bit rates to generate an initial target bit rate (BR largel ). based on experimentally determined fixed values which m picture (s) to be coded. With the target bit rate, the bit all
30 determine a target number of bits for the picture to be coded (30 determine a target number of bits for the picture to be coded (
Figure imgf000008_0002
15
Figure imgf000008_0002
15
determines a reference quantization step size (QSr for each MB based on the estimated number of bits for the picture (TI P B) and the bit utilization by the run-length VLC encoder 206. The QSref of each MB in the picture to be coded can be computed, for example, as follows:determines a reference quantization step size (QS r for each MB based on the estimated number of bits for the picture (T IPB ) and the bit utilization by the run-length VLC encoder 206. The QS ref of each MB in the picture to be coded can be computed, for example, as follows:
Figure imgf000009_0001
Figure imgf000009_0001
where DI P B is Virtual buffer fullness of corresponding I-, P-, or B-picture, updated (after coding each MB) by the difference between the bits used by the MB and the bits allocated to the MB based on the corresponding T! P B, a set of initial values for D„ DP, DB may be assumed at sequence Start, and K, is a constant (eg. 31).where D IPB is Virtual buffer fullness of corresponding I-, P-, or B-picture, updated (after coding each MB) by the difference between the bits used by the MB and the bits allocated to the MB based on the corresponding T ! PB , a set of initial values for D „D P , D B may be assumed at sequence Start, and K, is a constant (eg. 31).
Adaptive quantization 218 may be applied in which the determined QSref \'s scaled according to the local activities of the MB as generated by MB activity calculation process 216 and the average MB activity of the previously coded (or optionally current picture) as produced by the frame activity average process 217. Example implementations of the MB activity calculation 216, frame activity average 217, and adaptive quantization process 218 are found in MPEG-2 TM5. The output quantization stepsize (QS) is used to quantized DCT coefficients of the MB.Adaptive quantization 218 may be applied in which the determined QS ref \ ' s scaled according to the local activities of the MB as generated by MB activity calculation process 216 and the average MB activity of the previously coded (or optionally current picture) as produced by the frame activity average process 217. Example implementations of the MB activity calculation 216, frame activity average 217, and adaptive quantization process 218 are found in MPEG-2 TM5. The output quantization stepsize (QS) is used to quantized DCT coefficients of the MB.
After encoding a picture, the number of bits (Sl P B , corresponding value for I-, P-, or B- picture) generated by encoding the picture is accumulated by Frame Bit-Count 214, and the quantization stepsize (QS) is averaged by Frame Q Step Average 213 process. The encoded picture quality is also determined by Frame Quality Measure 220 process. One method of determining the encoded picture quality is by the average value of the reference quantization stepsize (QSaverage) used for coding the picture since it indicates roughly the amount of quantization noise in the encoded picture. In this method, the target quality set at 219 is defmed as the target reference quantization stepsize (QSωrgel). Three different QSωrgel values After encoding a picture, the number of bits (S l PB , corresponding value for I-, P-, or B- picture) generated by encoding the picture is accumulated by Frame Bit-Count 214, and the quantization stepsize (QS) is averaged by Frame Q Step Average 213 process. The encoded picture quality is also determined by Frame Quality Measure 220 process. One method of determining the encoded picture quality is by the average value of the reference quantization stepsize (QS average ) used for coding the picture since it indicates roughly the amount of quantization noise in the encoded picture. In this method, the target quality set at 219 is defmed as the target reference quantization stepsize (QS ωrgel ). Three different QS rule values

Claims

16 16
may be set at 219 for corresponding I-, P-, and B-pictures; alternatively, the values can be determined by:may be set at 219 for corresponding I-, P-, and B-pictures; alternatively, the values can be determined by:
QS,arga for I-pictures = QSMτga QSmrg« for P-pictures = KP * QSωrga QSmrgel for B-pictures = KB * QSarget QS, arga for I-pictures = QS Mτga QS mrg « for P-pictures = K P * QS ωrga QS mrgel for B-pictures = K B * QS arget
where KP and KB are constants which can be experimentally determined (example KP = 1.0 d KB = 1.4).where K P and K B are constants which can be experimentally determined (example K P = 1.0 d K B = 1.4).
A fiirther condition may be applied to the final ÖS„r-«., for B-pictures such that it is not lower than the QSaveragf of the last coded I- or P-picture so that bits can be efficiently used to improve the quality of anchor I- or P-pictures first before improving the quality of the B- pictures.A fiirther condition may be applied to the final ÖS " r - " ., For B-pictures such that it is not lower than the QS averagf of the last coded I- or P-picture so that bits can be efficiently used to improve the quality of anchor I- or P-pictures first before improving the quality of the B- pictures.
In the process of Frame Quality Measure 220 process, the target quality QSMτga is compared to the picture quality QSaverage. Since a higher value of QSmerage implies higher quantization noise and therefore lower encoded picture quality, when the value of QSavemge is found to be higher than QSarga, the difference of the two values will be used to increase the target bit rate BRurg at target bitrate estimator 222. On the other hand, when QSmerage is lower than QSMrge„ BRmτget is decreased at target bitrate estimator 222. Optionally, the value of QS^^, may be used at the rate Controller 215 as a lower limit for the final output QSref value so that when this target is reached (target quality reached), bits are saved for future encoding immediately. Hence, the output reference quantization stepsize at rate Controller 215 may be set according to:In the process of Frame Quality Measure 220 process, the target quality QS Mτga is compared to the picture quality QS average . Since a higher value of QS merage implies higher quantization noise and therefore lower encoded picture quality, when the value of QS avemge is found to be higher than QS arga , the difference of the two values will be used to increase the target bit rate BR urg at target bitrate estimator 222. On the other hand, when QS merage is lower than QS Mrge "BR mτget is decreased at target bitrate estimator 222. Optionally, the value of QS ^^, may be used at the rate Controller 215 as a lower limit for the final output QS ref value so that when this target is reached (target quality reached), bits are saved for future encoding immediately. Hence, the output reference quantization stepsize at rate Controller 215 may be set according to:
if (QSref < QSurg , then QSref =QSωrget .if (QS ref <QS urg , then QS ref = QS ωrget .
For target bit rate estimation, a rate-quantization model for example one developed by WeiFor target bit rate estimation, a rate-quantization model for example one developed by Wei
Ding and Bede Liu, "Rate Control of MPEG Video Coding and Recording by Rate- Quantization Modelling", IEEE Trans, on Circuit and Systems for Video Technology, Vol. 17Ding and Bede Liu, "Rate Control of MPEG Video Coding and Recording by Rate- Quantization Modeling", IEEE Trans, on Circuit and Systems for Video Technology, Vol. 17
6, No. 1 , Feb. 1996, may be adopted. To avoid large estimation error or complex local fitting of the rate-quantization model, an alternative embodiment of the present invention may consist of a method of target bitrate estimation comprising the steps of predicting a bitrate (BRpredictat) at a Bitrate Predictor 221 based on bits used for encoding the last I-, P-, and B- picture, and esümating a new target bitrate (BRMrge^) at the target bitrate estimator 222 based on the said predicted bit rate and the difference between QSawrngr and QSlorχ„. The predicted bitrate (BRpre(iicled) and the new target bitrate (BRMrgel) may be computed as follows:6, No. 1, Feb. 1996, may be adopted. To avoid large estimation error or complex local fitting of the rate-quantization model, an alternative embodiment of the present invention may consist of a method of target bitrate estimation comprising the steps of predicting a bitrate (BR predictat ) at a Bitrate Predictor 221 based on bits used for encoding the last I-, P-, and B- picture, and esümating a new target bitrate (BR Mrge ^) at the target bitrate estimator 222 based on the said predicted bit rate and the difference between QS awrngr and QS lorχ ". The predicted bitrate (BR pre (iicled ) and the new target bitrate (BR Mrgel ) may be computed as follows:
(Sj+np^Sp+nB^SB)(S j + n p ^ S p + n B ^ S B )
BR predicted ( . +/| } BR predicted ( . + / |}
Dp . Dp j. f (OS average - O —S target > ) ϋKtargβ~ ßKpredicted+ K2 *Dp. Dp j . f (OS average - O —S target>) ϋK targβ ~ ßK predicted + K 2 *
ÖS averageÖS average
if (BRωτget> BR , then BRmrga = 5R„ if (BRmrgel< 5RTO.π), then BRmga = BRm if (BR ωτget > BR, then BR mrga = 5R „if (BR mrgel <5R TO . π ), then BR mga = BR m
wherewhere
S„ SP, SB are number of bits generated by previously encoded I-, P-, B-picture, nP is the total number of P-pictures in the current GOP, nB is the total number of B-pictures in the current GOP, and K2 may be a constant, or a factor of BRpredicud, BR^, or BRarga.S „S P , S B are number of bits generated by previously encoded I-, P-, B-picture, n P is the total number of P-pictures in the current GOP, n B is the total number of B-pictures in the current GOP, and K 2 may be a constant, or a factor of BR predicud , BR ^, or BR arga .
The new target bit rate (5RMr.rt) can be computed after encoding each picture or after encoding a certain number of pictures. The bit allocation process 212 and the rate Controller 215 are updated with the new BRurge, value once it is determined. An embodiment of the bit allocation process 212 comprises the steps of.The new target bit rate (5R Mr. Rt ) can be computed after encoding each picture or after encoding a certain number of pictures. The bit allocation process 212 and the rate controller 215 are updated with the new BR urge , value once it is determined. An embodiment of the bit allocation process 212 comprises the steps of.
a) Before encoding the first picture in a group of pictures (GOP), determining R which a) Before encoding the first picture in a group of pictures (GOP), determining R which
PCT/DE1999/000013 1998-01-27 1999-01-07 Method and device for converting image data blocks into image lines WO1999038332A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP99906027A EP1051854A1 (en) 1998-01-27 1999-01-07 Method and device for converting image data blocks into image lines
JP2000529088A JP2002502049A (en) 1998-01-27 1999-01-07 Method and apparatus for converting image data blocks into scan lines
KR1020007008191A KR20010034420A (en) 1998-01-27 1999-01-07 Method and device for converting image data blocks into image lines

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE19803027.4 1998-01-27
DE19803027 1998-01-27

Publications (2)

Publication Number Publication Date
WO1999038332A1 true WO1999038332A1 (en) 1999-07-29
WO1999038332A9 WO1999038332A9 (en) 1999-10-28

Family

ID=7855780

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/DE1999/000013 WO1999038332A1 (en) 1998-01-27 1999-01-07 Method and device for converting image data blocks into image lines

Country Status (4)

Country Link
EP (1) EP1051854A1 (en)
JP (1) JP2002502049A (en)
KR (1) KR20010034420A (en)
WO (1) WO1999038332A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2367489B1 (en) 2008-04-04 2012-09-07 Rothenberger, S.A. MANUAL DRIVE CURVATUBES.

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5359694A (en) * 1992-07-27 1994-10-25 Teknekron Communications Systems, Inc. Method and apparatus for converting image data
US5446560A (en) * 1993-05-12 1995-08-29 Ricoh Company, Ltd Method and apparatus for raster to block and block to raster pixel conversion
US5581310A (en) * 1995-01-26 1996-12-03 Hitachi America, Ltd. Architecture for a high definition video frame memory and an accompanying data organization for use therewith and efficient access therefrom
EP0841654A2 (en) * 1996-11-06 1998-05-13 Kabushiki Kaisha Toshiba Apparatus for controlling display memory for storing decoded picture data to be displayed and method thereof
WO1999016252A1 (en) * 1997-09-19 1999-04-01 Sony Electronics Inc. Motion compensated digital video decoding with buffered picture storage memory map
EP0917375A2 (en) * 1997-11-18 1999-05-19 STMicroelectronics, Inc. Picture memory mapping for compression and decompression of image sequences

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5359694A (en) * 1992-07-27 1994-10-25 Teknekron Communications Systems, Inc. Method and apparatus for converting image data
US5446560A (en) * 1993-05-12 1995-08-29 Ricoh Company, Ltd Method and apparatus for raster to block and block to raster pixel conversion
US5581310A (en) * 1995-01-26 1996-12-03 Hitachi America, Ltd. Architecture for a high definition video frame memory and an accompanying data organization for use therewith and efficient access therefrom
EP0841654A2 (en) * 1996-11-06 1998-05-13 Kabushiki Kaisha Toshiba Apparatus for controlling display memory for storing decoded picture data to be displayed and method thereof
WO1999016252A1 (en) * 1997-09-19 1999-04-01 Sony Electronics Inc. Motion compensated digital video decoding with buffered picture storage memory map
EP0917375A2 (en) * 1997-11-18 1999-05-19 STMicroelectronics, Inc. Picture memory mapping for compression and decompression of image sequences

Also Published As

Publication number Publication date
JP2002502049A (en) 2002-01-22
KR20010034420A (en) 2001-04-25
EP1051854A1 (en) 2000-11-15
WO1999038332A9 (en) 1999-10-28

Similar Documents

Publication Publication Date Title
EP0687111B1 (en) Method for coding and decoding a data stream
DE3814627C2 (en)
DE69826155T2 (en) Method and apparatus for digital video signal filtering and encoding
DE69026739T2 (en) Signal processing device
DE69125549T2 (en) Compressed image memory for high-resolution computer graphics
EP0276753B1 (en) Method and apparatus for transmitting digital information and/or for recording and reproducing
DE69122595T2 (en) Recording and playback device
DE69838729T2 (en) METHOD AND DEVICE FOR REDUCING THE NECESSARY STORAGE SPACE FOR STORING REFERENCE IMAGES IN A VIDEO CODE
DE69831894T2 (en) Signal coding, recording and transmission
EP0554300B1 (en) Process, coder and decoder for data transmission and/or storage
DE69627920T2 (en) Memory control arrangement and picture decoder with it
DE4408522C2 (en) Device for processing image data and method for processing image data
DE69535392T2 (en) Apparatus for decoding variable length codes using relative addressing
DE19752929A1 (en) Image processing device
DE69916662T2 (en) METHOD AND DEVICE FOR MOTION COMPENSATION IN A TEXTURE-TRAINING SYSTEM
DE60107149T2 (en) Digital image output device
DE69126525T2 (en) DIGITAL IMAGE PROCESSING WITH FILTERING THE BLOCK EDGES
DE19946683A1 (en) Video data decoder system, especially for simultaneous processing of several data streams, controlling data transmission between processor and several memories according to processed image type
DE68914331T2 (en) Device for displaying digitized video images.
DE19935604A1 (en) Moving image decoder includes buffer memories and memory bus interacting with RAM connected through memory management, with improved access efficiency
DE19738917A1 (en) Bidirectional scanning system for video coefficients
DE4218695A1 (en) Methods, encoders and decoders for data transmission and / or storage
EP0346635A2 (en) Method and device for coding pictures
EP0836785B1 (en) Process for decoding and coding a compressed video data stream with reduced memory requirements
EP1051854A1 (en) Method and device for converting image data blocks into image lines

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP KR US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
AK Designated states

Kind code of ref document: C2

Designated state(s): JP KR US

AL Designated countries for regional patents

Kind code of ref document: C2

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

COP Corrected version of pamphlet

Free format text: PAGES 14-22, DESCRIPTION, REPLACED BY CORRECT PAGES 6 AND 7; PAGES 23-27, CLAIMS, REPLACED BY CORRECT PAGES 8 AND 9; PAGES 1/4-4/4, DRAWINGS, ADDED; INTERNATIONAL SEARCH REPORT ADDED (6 PAGES)

WWE Wipo information: entry into national phase

Ref document number: 1999906027

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 09601059

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1020007008191

Country of ref document: KR

WWP Wipo information: published in national office

Ref document number: 1999906027

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1020007008191

Country of ref document: KR

WWW Wipo information: withdrawn in national office

Ref document number: 1999906027

Country of ref document: EP

WWR Wipo information: refused in national office

Ref document number: 1020007008191

Country of ref document: KR