JPH0714212B2 - High efficiency encoder - Google Patents

High efficiency encoder

Info

Publication number
JPH0714212B2
JPH0714212B2 JP60272704A JP27270485A JPH0714212B2 JP H0714212 B2 JPH0714212 B2 JP H0714212B2 JP 60272704 A JP60272704 A JP 60272704A JP 27270485 A JP27270485 A JP 27270485A JP H0714212 B2 JPH0714212 B2 JP H0714212B2
Authority
JP
Japan
Prior art keywords
block
quantized
length coding
pixel
variable length
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Lifetime
Application number
JP60272704A
Other languages
Japanese (ja)
Other versions
JPS62132485A (en
Inventor
達郎 重里
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP60272704A priority Critical patent/JPH0714212B2/en
Publication of JPS62132485A publication Critical patent/JPS62132485A/en
Publication of JPH0714212B2 publication Critical patent/JPH0714212B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 産業上の利用分野 本発明は画像情報の高能率符号化装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high-efficiency coding apparatus for image information.

従来の技術 画像情報を高能率符号化する方法として予測符号化が良
く用いられる。予測符号化とは、ある画素を符号化する
時、その画素に隣接する画素からその画素の標本値に対
する予測値を求め、標本値と予測値との差(予測誤差)
を符号化するものである。一般に画像情報では隣接する
画素は標本値がだいたい等しいため、予測値と標本値の
差は非常に小さな値となり、大きな圧縮が可能となる。
また、予測値と標本値の差が小さい時には短い符号語
(小さなbits数)を割り当て、大きい時には長い符号語
(大きなbits数)を割り当てるという可変長符号化を用
いることにより、さらに大きな圧縮が可能となる。
PRIOR ART Predictive coding is often used as a method for highly efficient coding of image information. Predictive coding is the difference between the sample value and the predicted value (prediction error) when the predicted value for the sample value of the pixel is calculated from the pixels adjacent to the pixel when the pixel is coded.
Is to be encoded. In general, in image information, adjacent pixels have approximately the same sample value, and therefore the difference between the predicted value and the sample value is a very small value, and large compression is possible.
Further, by using variable length coding, short code words (small bits) are assigned when the difference between the predicted value and the sample value is small, and long code words (large bits) are assigned when the difference is large. Becomes

第4図は水平方向8画素垂直方向8画素の合計64画素か
らなる画像を可変長符号化した例である。第4図の数字
は、各画素を可変長符号化した場合のbits数を表してい
る。ここでは1画面合計で203bitsとなる。従って1画
面当りの伝送量を208bitsに定めると第4図の画像は全
て伝送可能となる。
FIG. 4 shows an example of variable length coding of an image consisting of 64 pixels in total of 8 pixels in the horizontal direction and 8 pixels in the vertical direction. The numbers in FIG. 4 represent the number of bits when each pixel is variable length coded. Here, one screen has a total of 203 bits. Therefore, if the transmission amount per screen is set to 208 bits, all the images in FIG. 4 can be transmitted.

ところで可変長符号化では画素毎に符号長が異なるた
め、伝送路で誤りが起きて誤った符号長の符号語を再生
するとそれ以後の全ての画素を誤って復号するおそれが
ある。このため伝送路誤りが無視できない場合には画面
を小さなブロックに分割し、ブロック毎に可変長符号化
することにより、伝送路誤りの影響をブロック単位で止
める方法が用いられている。
By the way, in the variable-length coding, the code length is different for each pixel, and therefore, if an error occurs in the transmission path and a codeword having an incorrect code length is reproduced, all the pixels thereafter may be erroneously decoded. Therefore, when the transmission path error cannot be ignored, a method is used in which the screen is divided into small blocks and variable length coding is performed for each block to stop the influence of the transmission path error in block units.

発明が解決しようとする問題点 さて第5図aは1画面をA〜Hの8つのブロックに分割
したもので1ラインを1ブロックとしている。そこで第
4図の画像を第5図aのような分割で可変長符号化する
と、各ブロックのbits数は16〜43bitsとなる。ここで各
ブロックのbits数を26bits(26bits=208bits/8)に制
限すると、D,E,Fブロックはbits数が不足し、符号語の
一部が伝送できなくなる。このため第5図bの斜線の部
分の画質が大きく劣化することになる。このように一般
の画像では1ライン毎に符号長が大きく変化するため、
画質劣化を招く。また逆に画質劣化を防ぐために1ブロ
ック当りの伝送量を増加させると圧縮率が劣化すること
になる。
Problems to be Solved by the Invention In FIG. 5a, one screen is divided into eight blocks A to H, and one line is one block. Therefore, when the image of FIG. 4 is subjected to variable length coding by division as shown in FIG. 5a, the number of bits of each block becomes 16 to 43 bits. Here, if the number of bits of each block is limited to 26 bits (26 bits = 208 bits / 8), the D, E, and F blocks lack the number of bits, and part of the codeword cannot be transmitted. As a result, the image quality in the shaded area in FIG. 5b is greatly degraded. In this way, in a general image, the code length greatly changes for each line,
Image quality is degraded. On the contrary, if the transmission amount per block is increased in order to prevent the deterioration of image quality, the compression rate will deteriorate.

さらに第5図aのような従来の分割では、伝送路誤りに
よってブロック単位の誤りが起った場合に、1ライン全
てが誤る可能性があり視覚上大きな画質劣化となる。
Further, in the conventional division as shown in FIG. 5A, when an error in block units occurs due to a transmission path error, there is a possibility that one line is erroneous, resulting in a large visual deterioration in image quality.

本発明はかかる点に鑑み、以上のような問題点を改善す
る高能率符号化装置を提供することを目的とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a high-efficiency coding apparatus that solves the above problems.

問題点を解決するための手段 本発明の高能率符号化装置は、1画面分の画像情報を画
素毎に前記画素に隣接する画素から得られる予測値と前
記画素の標本値との差分を求めて量子化する量子化値生
成手段と、前記量子化値生成手段によって得られた1画
面分の量子化値のうち、同一ブロック内に距離が離れか
つ同一水平および垂直直線上に存在しない量子化値が含
まれるようにブロック化するブロック生成手段と、前記
ブロック生成手段によって得られるブロック内の量子化
値を可変長符号化する可変長符号化手段とを備えること
を特徴とするものである。
Means for Solving the Problems The high-efficiency encoding device of the present invention obtains the difference between the predicted value obtained from the pixel adjacent to the pixel and the sample value of the pixel for one screen of image information for one screen. Of the quantized value generating means for quantizing by means of the quantized value and the quantized value for one screen obtained by the quantized value generating means, which are distant in the same block and do not exist on the same horizontal and vertical straight lines. It is characterized by comprising block generating means for making a block so that a value is included, and variable length coding means for variable length coding the quantized value in the block obtained by the block generating means.

作用 本発明は前記した構成により、画面の一部に非常に変化
の激しい所があっても、その部分の量子化値は全体のブ
ロックに分散されるため特定のブロックに大きな量子化
値が集中することがない。これにより各ブロックのブロ
ック単位の符号長の分散が小さくなり、一部のブロック
の画質だけが劣化するようなことがなくなる。また伝送
路で誤りが生起してブロック単位の誤りとなっても、誤
りが画面内で分散されるため画質の劣化が小さくなる。
Effect According to the present invention, even if a part of the screen is extremely changed, the quantized value of that part is distributed to the whole block, so that a large quantized value is concentrated in a specific block. There is nothing to do. As a result, the dispersion of the code length of each block in each block becomes small, and only the image quality of some blocks does not deteriorate. Further, even if an error occurs in the transmission line and becomes an error in block units, the error is dispersed in the screen, and the deterioration of the image quality is reduced.

実施例 第1図aは本発明における一実施例の高能率符号化装置
のブロック図を示すものである。
Embodiment FIG. 1a shows a block diagram of a high-efficiency coding apparatus according to an embodiment of the present invention.

第1図aの1は本装置の入力部分、2は予測誤差を生成
する予測誤差生成器、3は量子化器、4はブロック化
器、5は可変長符号化器、6は出力部分を示している。
1a, 1 is an input part of the apparatus, 2 is a prediction error generator for generating a prediction error, 3 is a quantizer, 4 is a blocker, 5 is a variable length encoder, and 6 is an output part. Shows.

第1図aの装置では、入力部分1から画像の標本値を予
測誤差生成器2に入力し、これによって得られる予測誤
差を量子化器3で量子化し、さらにブロック化器4でブ
ロックに分割する。分割された量子化器はそれぞれ可変
長符号化器5でブロック単位で一定長になるように可変
長符号化され、出力部分6に出力される。
In the apparatus of FIG. 1a, the sample value of the image is input from the input part 1 to the prediction error generator 2, the prediction error obtained by this is quantized by the quantizer 3, and further divided by the blocker 4 into blocks. To do. The divided quantizers are variable-length coded by the variable-length encoder 5 so that each block has a constant length and output to the output unit 6.

また第1図aの装置は第1図bのように変更することも
可能である。第1図bの7は入力部分、8は予測誤差を
生成する予測誤差生成器、9は量子化器、10は可変長符
号化器、11はブロック化器、12はブロック長制御器、13
は出力部分を示している。
The device of FIG. 1a can be modified as shown in FIG. 1b. In FIG. 1 b, 7 is an input part, 8 is a prediction error generator for generating a prediction error, 9 is a quantizer, 10 is a variable length encoder, 11 is a blocker, 12 is a block length controller, 13
Indicates the output part.

第1図bの装置では、入力部分7から画像の標本値を予
測誤差生成器8に入力し、これによって得られる予測誤
差を量子化器9で量子化し、可変長符号化器10で可変長
符号化する。可変長符号化された符号語はブロック化器
11でブロックに分割され、ブロック長制御器12でブロッ
ク単位で一定長になるようにして出力部分13へ出力され
る。
In the apparatus of FIG. 1b, the sample value of the image is input from the input part 7 to the prediction error generator 8, the prediction error obtained by this is quantized by the quantizer 9, and the variable length coder 10 changes the variable length. Encode. Variable length coded codeword is a blocker
It is divided into blocks at 11, and is outputted to the output portion 13 by the block length controller 12 so as to have a constant length in block units.

さて第1図aおよびbの予測誤差生成器2,8、量子化器
3,9、可変長符号化器5,10はそれぞれ従来の可変長予測
符号化器に用いられるものと同じであり、さまざまな方
法が適用可能である。ただし第1図bではブロック化器
11が可変長符号化器10より後であるため、各ブロックの
その時刻までの伝送bits数をブロック12を用いて計算
し、可変長符号化器10にフィードバックする必要があ
る。またブロック長制御器12はカウンタなどで簡単に構
成できる。
Now, the prediction error generators 2, 8 and the quantizer shown in FIGS.
3, 9 and variable length encoders 5 and 10 are the same as those used in the conventional variable length predictive encoder, and various methods can be applied. However, in FIG.
Since 11 is after the variable length encoder 10, it is necessary to calculate the number of transmission bits of each block up to that time using the block 12 and feed it back to the variable length encoder 10. Further, the block length controller 12 can be easily configured by a counter or the like.

次に第1図aおよびbのブロック化器4および11につい
て述べる。ブロック化器の簡単な構成法としては、量子
化器から入力される量子化値をまずRAMに読みこんで行
き、出力アドレスを制御してブロックに分配すればよ
い。
The blockers 4 and 11 of FIGS. 1a and 1b will now be described. As a simple construction method of the blocker, the quantized value input from the quantizer is first read into the RAM, and the output address is controlled to be distributed to the blocks.

ここでブロック化の具体的な内容について説明する。第
2図aはブロック化の第1の例である。第2図aは1画
面をA〜Hの8つのブロックに分割しているもので、各
ブロックは一番上のラインから下のラインに向ってライ
ン毎に3画素ずつ巡回シフトしながら符号化するものと
する。さて第4図で示した画像を第2図aのようにブロ
ック化した場合の各ブロックのbits数は23〜29bitsとな
り、第5図aに示した従来例(16〜43bits)に比べて分
散が小さくなっている。これは画像の持つ特定の地域に
連続して大きな量子化値や小さな量子化値が出現すると
いう性質が、このブロック化によって隣接する画素が多
数のブロックに分散されるために無くなってしまうため
である。従って第2図bのように1ブロックを26bitsに
制限することによって劣化する部分は、第5図bの従来
例に比べて半分近くに減少している。また同じ理由によ
り特定のブロックに大きな劣化が集中することが無いた
め、第2図bのように劣化する部分が画面の下端の方に
集中することになる。人間の視覚は画面の端の方の劣化
には鈍感であるため、視覚上画質の劣化は防がれる。さ
らに伝送路誤りによってブロック単位の誤りが生起した
場合にも誤りが画面上で分散されるため画質の劣化が目
立ちにくいという特長を持つ。
Here, the specific content of blocking will be described. FIG. 2a is a first example of blocking. FIG. 2A shows that one screen is divided into eight blocks A to H, and each block is encoded while cyclically shifting from the top line to the bottom line by 3 pixels for each line. It shall be. When the image shown in FIG. 4 is divided into blocks as shown in FIG. 2a, the number of bits of each block is 23 to 29 bits, which is more dispersed than the conventional example (16 to 43 bits) shown in FIG. 5a. Is getting smaller. This is because the property that large quantized values and small quantized values continuously appear in a specific area of an image disappears because adjacent pixels are dispersed into a large number of blocks by this block formation. is there. Therefore, the portion deteriorated by limiting one block to 26 bits as shown in FIG. 2b is reduced to almost half as compared with the conventional example of FIG. 5b. Further, for the same reason, a large amount of deterioration does not concentrate on a specific block, so that the deteriorated portion concentrates on the lower end of the screen as shown in FIG. 2b. Since human vision is insensitive to deterioration at the edges of the screen, deterioration of image quality can be visually prevented. Furthermore, even if block-based errors occur due to transmission line errors, the errors are dispersed on the screen, so the deterioration of image quality is less noticeable.

さて第2のブロック化の例は、第1のブロック化の例の
ブロック毎の可変長符号化の順序を変更したものであ
る。第3図aはこのブロック化の可変長符号化の説明図
で、ここでは第3図aの斜線の部分の画素に対する量子
化値を最後に符号化するように可変長符号化する。これ
によって第2図aからわかるように、Cブロックを除い
て各ブロックの最後に符号化される2つの符号語は第3
図aの斜線部分に集まる。従って1ブロックのbits数を
26bitsに制限した場合に劣化する部分も第3図bのよう
に画面の右および下の端の方に集中することになる。こ
のように第2の例では第1の例に比べて劣化する部分が
さらに画面の端の方へ集中するため、視覚上画質の劣化
が目立ちにくくなる。また可変長符号化では伝送路誤り
の影響がワード同期はずれなどによってブロックの後半
部分に集中するが、本実施例ではブロックの後半が画面
の端の方へ来るため画質劣化が目立ちにくくなる。
The second example of blocking is a modification of the variable length coding order for each block in the first example of blocking. FIG. 3A is an explanatory diagram of the variable length coding of this block formation. Here, variable length coding is performed so that the quantized value for the pixel in the shaded portion of FIG. 3A is coded last. Therefore, as can be seen from FIG. 2a, the two codewords encoded at the end of each block except the C block are the third codeword.
Collect in the shaded area in Figure a. Therefore, the number of bits in one block
The part that deteriorates when limited to 26 bits is also concentrated on the right and bottom edges of the screen as shown in FIG. 3b. As described above, in the second example, the deteriorated portion is further concentrated toward the edge of the screen as compared with the first example, so that the deterioration of the image quality is less noticeable visually. Further, in the variable length coding, the influence of the transmission path error concentrates on the latter half of the block due to the loss of word synchronization, but in the present embodiment, the latter half of the block comes toward the edge of the screen, so that the image quality deterioration is less noticeable.

以上2つのブロック化の例を用いて説明したが本発明の
ブロック化および符号化順序はこのほかにも多数の方法
が考えられる。また本発明では予測符号化を用いて説明
しているが、その他の高能率符号化法に適用することも
可能である。さらに本発明は実施例以外のいかなる画素
数の画面についても用いることができるものである。
Although the two blocking examples have been described above, a number of other methods can be considered for the blocking and coding order of the present invention. Further, although the present invention has been described by using predictive coding, it can be applied to other high efficiency coding methods. Furthermore, the present invention can be used for screens having any number of pixels other than the embodiment.

発明の効果 以上説明したように、本発明によれば、画像を可変長符
号化した場合に一部のブロックに大きな符号語が集中す
るという性質が改善されるため、全体として画質の劣化
する面積が小さくなる。また同時に伝送路誤りによる影
響が画面内に分散されて目立ちにくくなると共に、画質
の劣化が画面の端の方に集まるため、視覚上画質劣化が
防がれるという特長を持つ。このように本発明を用いる
ことにより、可変長符号化の持つ欠点を大幅に改善する
ことが可能となりその実用的効果は大きい。
EFFECTS OF THE INVENTION As described above, according to the present invention, the property that large codewords concentrate in some blocks when an image is variable-length coded is improved, so that the area where the image quality deteriorates as a whole. Becomes smaller. At the same time, the influence of the transmission path error is dispersed in the screen to make it inconspicuous, and the deterioration of the image quality is concentrated near the edge of the screen, so that the deterioration of the image quality can be visually prevented. As described above, by using the present invention, it is possible to significantly reduce the drawbacks of variable-length coding, and its practical effect is great.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明における一実施例のブロック図、第2図
は本発明の第1のブロック化の例の説明図、第3図は本
発明の第2のブロック化の例の説明図、第4図は可変長
符号化の説明図、第5図は従来例の説明図である。 2……予測誤差生成器、3……量子化器、4……ブロッ
ク化器、5……可変長符号化器。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is an explanatory diagram of a first blocking example of the present invention, and FIG. 3 is an explanatory diagram of a second blocking example of the present invention. FIG. 4 is an explanatory diagram of variable length coding, and FIG. 5 is an explanatory diagram of a conventional example. 2 ... Prediction error generator, 3 ... Quantizer, 4 ... Blocking device, 5 ... Variable length encoder.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】1画面分の画像情報を画素毎に前記画素に
隣接する画素から得られる予測値と前記画素の標本値と
の差分を求めて量子化する量子化値生成手段と、前記量
子化値生成手段によって得られた1画面分の量子化値の
うち、同一ブロック内に距離が離れかつ同一水平および
垂直直線上に存在しない量子化値が含まれるようにブロ
ック化するブロック生成手段と、前記ブロック生成手段
によって得られるブロック内の量子化値を可変長符号化
する可変長符号化手段とを備えることを特徴とする高能
率符号化装置。
1. Quantized value generation means for quantizing image information for one screen for each pixel by obtaining a difference between a predicted value obtained from a pixel adjacent to the pixel and a sample value of the pixel; Block generation means for dividing the quantized values for one screen obtained by the quantized value generating means so that the quantized values that are distant and do not exist on the same horizontal and vertical straight lines are included in the same block; And a variable length coding means for variable length coding the quantized value in the block obtained by the block generating means, the high efficiency coding device.
【請求項2】可変長符号化手段がブロック内の量子化値
を、量子化値が生成された順番に従って可変長符号化す
ることを特徴とする特許請求の範囲第1項記載の高能率
符号化装置。
2. The high efficiency code according to claim 1, wherein the variable length coding means performs variable length coding on the quantized values in the block according to the order in which the quantized values are generated. Device.
【請求項3】可変長符号化手段が画面上で最後に量子化
される画素の存在する角をはさむ2辺付近の画素に対す
る量子化値を最後に符号化するように可変長符号化する
ことを特徴とする特許請求の範囲第1項記載の高能率符
号化装置。
3. The variable-length coding means performs variable-length coding such that the quantized values for pixels near two sides sandwiching the corner where the pixel to be quantized last on the screen is present are finally coded. The high-efficiency coding device according to claim 1.
JP60272704A 1985-12-04 1985-12-04 High efficiency encoder Expired - Lifetime JPH0714212B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60272704A JPH0714212B2 (en) 1985-12-04 1985-12-04 High efficiency encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60272704A JPH0714212B2 (en) 1985-12-04 1985-12-04 High efficiency encoder

Publications (2)

Publication Number Publication Date
JPS62132485A JPS62132485A (en) 1987-06-15
JPH0714212B2 true JPH0714212B2 (en) 1995-02-15

Family

ID=17517622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60272704A Expired - Lifetime JPH0714212B2 (en) 1985-12-04 1985-12-04 High efficiency encoder

Country Status (1)

Country Link
JP (1) JPH0714212B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2845461B2 (en) * 1988-10-27 1999-01-13 松下電器産業株式会社 Variable length coding device
JP2620163B2 (en) * 1991-06-19 1997-06-11 三菱電機株式会社 High efficiency coding device
JP4742803B2 (en) * 2005-10-21 2011-08-10 パナソニック電工株式会社 Vehicle periphery monitoring device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2517701B2 (en) * 1983-10-25 1996-07-24 ソニー株式会社 Digital video signal recording device and recording / reproducing device

Also Published As

Publication number Publication date
JPS62132485A (en) 1987-06-15

Similar Documents

Publication Publication Date Title
US11750841B2 (en) Methods and apparatuses for coding transform blocks
JP2509469B2 (en) Method and apparatus for adaptive encoding and decoding of continuous image by conversion
US6898313B2 (en) Scalable layered coding in a multi-layer, compound-image data transmission system
US4200886A (en) Method for transmitting video signals with the aid of DPC modulation and controlled quantizer
AU2001256354A1 (en) Video coding
KR930014487A (en) Adaptive Image Compression Method of Variable Length
DE10296787B4 (en) Selective predication for intra-coding a video data block
DE3426939A1 (en) EMBEDDING QUANTIZATION DEVICE FOR A VECTOR SIGNAL
JPH0714212B2 (en) High efficiency encoder
KR950004121B1 (en) Image signal coder
JP2647929B2 (en) Point-to-point image coding
JPH0748859B2 (en) Predictive coding method for television signals
JPH02288695A (en) Picture coding and decoding device
JP3807110B2 (en) Image encoding device
JPS6225577A (en) Adaptive vector quantization system
JPS6359306B2 (en)
JPH03113979A (en) Moving picture coder
JPH0273793A (en) High efficient coding device
JPH1198511A (en) Image coder and image coding method
JPS63177672A (en) Picture encoding transmission system
JPH01158825A (en) Adaptive type coding control system
JPH01205670A (en) Picture signal encoding system
KR930019012A (en) Image Compression Coding and Decoding for Bit Fixing
KR100293369B1 (en) Digital video compression coding and decoding system using shape adaptive selection and thereof method
JP3191462B2 (en) High efficiency coding device