Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0628444B2 - Image coding method - Google Patents
[go: Go Back, main page]

JPH0628444B2 - Image coding method - Google Patents

Image coding method

Info

Publication number
JPH0628444B2
JPH0628444B2 JP62240453A JP24045387A JPH0628444B2 JP H0628444 B2 JPH0628444 B2 JP H0628444B2 JP 62240453 A JP62240453 A JP 62240453A JP 24045387 A JP24045387 A JP 24045387A JP H0628444 B2 JPH0628444 B2 JP H0628444B2
Authority
JP
Japan
Prior art keywords
block
coefficient
blocks
insignificant
significant
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 - Fee Related
Application number
JP62240453A
Other languages
Japanese (ja)
Other versions
JPS6482782A (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 Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP62240453A priority Critical patent/JPH0628444B2/en
Priority to GB8821600A priority patent/GB2210229B/en
Priority to US07/248,915 priority patent/US5054103A/en
Priority to DE19883832476 priority patent/DE3832476A1/en
Priority to FR8812454A priority patent/FR2621146A1/en
Publication of JPS6482782A publication Critical patent/JPS6482782A/en
Publication of JPH0628444B2 publication Critical patent/JPH0628444B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

【発明の詳細な説明】 [技術分野] 本発明は、原画像に直交変換を施すことにより得られる
変換係数の位置情報および振幅情報を圧縮して符号化す
る画像符号化方式に関するものである。
Description: TECHNICAL FIELD The present invention relates to an image coding method for compressing and coding position information and amplitude information of transform coefficients obtained by performing orthogonal transform on an original image.

[背景技術] 従来より画像信号の統計的性質を利用してデータ量を圧
縮する画像符号化としては、外挿予測サイン変換符号化
法(山根,森川,浜田:“2次元外挿予測−離散サイン
変換による画像の高能率符号化法”,第9回情報理論と
その応用シンポジウム予稿集,昭和61年)が知られて
いる。この画像符号化方式は、第4図に示すように、離
散サイン変換を行なうサイン変換部1を有しており、原
画像を分割したブロックを符号化の後に復号化した再生
画像のブロックから外挿的に予測することによりブロッ
ク間の冗長度の除去を行なった後に、予測誤差に対して
離散サイン変換を行なって予測誤差のもつ冗長度を除去
するようにしたものである。すなわち、再生画像により
外挿予測された予測信号列 の各要素を、原画像の画素信号列{Xij}の各要素から
減算して得た予測誤差列{yij}をサイン変換部1で離
散サイン変換して変換係数{Yij}を得、さらに、変換
係数符号化部2を通して圧縮符号に変換するのである。
予測信号列 は次のようにして得られる。すなわち、圧縮符号を変換
係数復号化部3において変換係数列{ij}に復号化
し、さらに逆サイン変換部4で予測誤差列{ij}を得
た後に、予測誤差列{ij}と予測信号列 とが加算されるのであり、この値が再生画像ブロック内
の画素信号列{ij}に対応し、遅延メモリ5に格納さ
れることになる。遅延メモリ5に格納された画像信号列
{ij}は、外挿的に予測を行なう外挿予測部6に入力
されて予測信号列 に変換され、その後に入力される原画像の画素信号列
{Xij}と比較されるのである。一方、このようにして
得られた圧縮信号から再生画像を得るのは、圧縮符号を
得るために予測信号列 を得たのと同じ方法が適用できるのであって、第4図に
示すように、圧縮符号を変換係数復号化部3で復号して
変換係数列{ij}を得、これを逆サイン変換部4で逆
サイン変換して予測誤差列{ij}を求め、遅延メモリ
5に格納された再生済みの画像の画素信号列から外挿予
測部6で外挿的に予測に予測を行なった予測信号列 と各成分ごとに加算すれば、再生画像の画素信号列{
ij}を得ることができるのである。この画像符号化方式
では、外挿的な予測を行なうことによりブロック間の相
関(冗長度)を除去した後に、予測誤差の冗長度を除去
するから、符号化歪を考慮しても4×4画素程度のブロ
ックを用いることで、比較的小規模なハードウェアを用
い、比較的少ない計算量で優れた符号化特性(すなわ
ち、原画像の圧縮率)が得られるようになっている。
[Background Art] Conventionally, as an image coding for compressing a data amount by using the statistical property of an image signal, an extrapolation prediction sine transform coding method (Yamane, Morikawa, Hamada: "2D extrapolation prediction-discrete "High-efficiency image coding method using sine transformation", 9th Information Theory and its Application Symposium Proceedings, 1986) is known. As shown in FIG. 4, this image encoding system has a sine transform unit 1 for performing a discrete sine transform, and the block obtained by dividing the original image is decoded from the block of the reproduced image which is decoded after being encoded. After removing the redundancy between blocks by performing the insertion prediction, the redundancy of the prediction error is removed by performing the discrete sine transform on the prediction error. That is, the prediction signal sequence extrapolated by the reproduced image The prediction error sequence {yij} obtained by subtracting each element of the above from each element of the pixel signal sequence {Xij} of the original image is subjected to the discrete sine transformation in the sine transformation unit 1 to obtain the transformation coefficient {Yij}, and It is converted into a compressed code through the conversion coefficient coding unit 2.
Predicted signal sequence Is obtained as follows. That is, after the compression code is decoded into the transform coefficient sequence {ij} in the transform coefficient decoding unit 3 and the prediction error sequence {ij} is obtained in the inverse sine transform unit 4, the prediction error sequence {ij} and the prediction signal sequence And are added, and this value corresponds to the pixel signal string {ij} in the reproduced image block and is stored in the delay memory 5. The image signal sequence {ij} stored in the delay memory 5 is input to the extrapolation prediction unit 6 that performs extrapolative prediction, and the predicted signal sequence Is converted into a pixel signal sequence {Xij} of the original image that is input after that. On the other hand, a reproduced image is obtained from the compressed signal obtained in this way in order to obtain a compressed code. It is possible to apply the same method as that obtained in FIG. 4, and as shown in FIG. 4, the transform coefficient decoding unit 3 decodes the compression code to obtain the transform coefficient sequence {ij}, which is obtained by the inverse sine transform unit. 4, a prediction error sequence {ij} is obtained by inverse sine transformation, and a prediction signal obtained by extrapolatively predicting the pixel signal sequence of the reproduced image stored in the delay memory 5 by the extrapolation prediction unit 6. Row Then, by adding for each component,
ij} can be obtained. In this image coding method, since extrapolation-based prediction is performed to remove correlation (redundancy) between blocks and then redundancy of prediction error is removed, 4 × 4 even if coding distortion is taken into consideration. By using a block of approximately pixels, a relatively small amount of hardware is used, and an excellent encoding characteristic (that is, compression rate of an original image) can be obtained with a relatively small amount of calculation.

変換係数符号化部2としては、第6図に示すように、Sc
ene Adaptive Coding法(米国特許第4,394,7
74号、米国特許第4,302,775号等)が用いら
れる。すなわち、1つのブロックB内の変換係数列{Yi
j}を、第7図に示すように、ジグザグ状に走査して2
次元情報である変換係数列{Yij}を1次元情報に変換
した後、係数判定部11において予め設定されたしきい
値Tと各成分とを比較して、しきい値Tよりも大きい変
換係数は有意係数とし、それ以外を無意係数としたもの
であって、有意係数は量子化部13で量子化された後
に、可変長符号化部14において量子化値に対応する可
変長符号に変換されて、振幅圧縮符号Cとして出力さ
れるのである。また、変換係数が無意係数として判定さ
れると、変換係数を0として扱い、無意係数のランレン
グスをカウンタ15により求め、ランレングスの値は可
変長符号化部16で符号化されて可変長のランレングス
圧縮符号CRLが得られる。振幅圧縮符号Cであるかラ
ンレングス圧縮符号CRLであるかが識別できるように、
ランレングス圧縮符号CRLにはランレングス前置符号F
が前置して出力されるようになっている。また、ブロ
ック内で途中から終了までの間、無意係数が連続した場
合には、そのランレングスは符号化せずに、ブロック終
了符号Fを出力してそのブロックの符号化を打ち切
る。有意係数が1つも存在しないブロックでは、ブロッ
ク終了符号Fのみが出力されることになる。ランレン
グス前置符号Fやブロック終了符号Fの発生は制御
部12により管理される。以上のようにして、振幅情報
が振幅圧縮符号Cとして、また位置情報がランレング
ス圧縮符号CRLとして圧縮されるのである。
As shown in FIG. 6, the transform coefficient coding unit 2 uses Sc
ene Adaptive Coding method (US Pat. No. 4,394,7
74, US Pat. No. 4,302,775, etc.) are used. That is, the transform coefficient sequence {Yi in one block B
j} is scanned in a zigzag pattern as shown in FIG.
After converting the conversion coefficient string {Yij}, which is the dimensional information, into one-dimensional information, the coefficient determination unit 11 compares the preset threshold value T with each component, and the conversion coefficient larger than the threshold value T. Is a significant coefficient and the others are insignificant coefficients. The significant coefficient is quantized by the quantizing unit 13 and then converted into a variable length code corresponding to the quantized value by the variable length coding unit 14. And is output as the amplitude compression code C A. Further, when the transform coefficient is determined as the insignificant coefficient, the transform coefficient is treated as 0, the run length of the insignificant coefficient is obtained by the counter 15, and the run length value is encoded by the variable length encoding unit 16 to obtain the variable length. A run length compression code C RL is obtained. In order to identify whether it is the amplitude compression code C A or the run length compression code C RL ,
The run length compression code C RL has a run length prefix code F.
P is output in front. When the insignificant coefficient continues in the block from the middle to the end, the run length is not encoded and the block end code F E is output to terminate the encoding of the block. In the block having no significant coefficient, only the block end code F E is output. The generation of the run-length prefix code F P and the block end code F E is managed by the control unit 12. As described above, the amplitude information is compressed as the amplitude compression code C A and the position information is compressed as the run length compression code C RL .

ところで、このような処理を行なうと、無意係数は実際
にはなんらかの値を持っているにもかかわらず、0に丸
められるから、1つのブロックにおいて変換係数列{Yi
j}のすべての成分が無意変数であるとすれば、逆サイ
ン変換部4の出力である変換係数列{ij}の成分もす
べて0になるのであり、結局、再生画像の画素信号列
{ij}の成分は予測信号列 に一致することになる。しかるに、原画像に濃淡の変化
が非常に緩やかな領域が存在すると、この領域での予測
誤差列{yij}の各成分の値が小さくなり、変換係数列
{Yij}の成分がすべて無意係数である無意ブロックが
発生しやすくなる。無意ブロックは、予測信号列 と再生画像の画素信号列{ij}とが一致するから、無
意ブロックが連続して発生すると、外挿的に予測した値
を使って、さらに外挿的に予測することになり、予測誤
差が次第に蓄積され再生画像の濃淡レベルが原画像から
次第にずれていくことになる。予測誤差がある値を越え
ると、有意係数を含む有意ブロックとなるから、ここで
再生画像の濃淡レベルは原画像に近付くことになるが、
有意ブロックが発生した時点で濃淡レベルが急激に変化
することになるから、この変化が目に見える歪みとして
現われることがある。
By the way, when such processing is performed, the insignificant coefficient is rounded to 0, even though it actually has some value, so that the conversion coefficient string {Yi
If all the components of j} are insignificant variables, all the components of the transform coefficient sequence {ij} which is the output of the inverse sine transform unit 4 are also 0, and in the end, the pixel signal sequence {ij of the reproduced image } Is the predicted signal sequence Will match. However, if there is a region in the original image with a very gradual change in shading, the value of each component of the prediction error string {yij} in this region becomes small, and all the components of the transform coefficient string {Yij} are insignificant coefficients. Certain unintentional blocks are likely to occur. Insignificant block is the prediction signal sequence And the pixel signal sequence {ij} of the reproduced image match, if an insignificant block continuously occurs, the value predicted by extrapolation is used to perform extrapolation prediction, resulting in a prediction error. The gradation level of the reproduced image is gradually accumulated and gradually shifts from the original image. When the prediction error exceeds a certain value, it becomes a significant block including a significant coefficient, so the gray level of the reproduced image approaches the original image here,
This change may appear as a visible distortion because the gray level changes abruptly when a significant block occurs.

[発明の目的] 本発明は上述の点に鑑みて為されたものであって、その
目的とするところは、無意係数のみからなる無意ブロッ
クが連続的に発生する頻度を減少させることにより、外
挿的な予測による予測誤差の蓄積を抑制し、再生画像の
濃淡レベルの急減な変化による歪みを軽減するようにし
た画像符号化方式を提供することにある。
[Object of the Invention] The present invention has been made in view of the above points, and an object of the present invention is to reduce the frequency of continuous occurrence of insignificant blocks consisting of only insignificant coefficients. An object of the present invention is to provide an image coding method that suppresses the accumulation of prediction errors due to the insertional prediction and reduces the distortion caused by a sudden change in the gray level of a reproduced image.

[発明の開示] (構成) 本発明に係る画像符号化方式は、原画像を複数画素を有
するブロックに分割し、各ブロック内の画素信号列をそ
の時点までに符号化したブロックから外挿的に予測して
得られた予測信号列と比較し、予測誤差列に直交変換を
施して変換係数列を求め、変換係数列に含まれる各変換
係数をそれぞれしきい値と比較し、変換係数のうちしき
い値よりも大きい変換係数を有意係数とするとともにし
きい値よりも小さい変換係数を無意係数として判定し、
有意係数についてのみブロック内での位置と値とを符号
化する画像符号化方式において、符号化の対象となって
いるブロックの近傍に位置するとともにすでに符号化さ
れているブロックについて、有意係数を含む有意ブロッ
クであるか、無意係数のみからなる無意ブロックである
かを判定し、符号化の対象となっているブロックの近傍
の複数ブロックが無意ブロックを多く含むほど上記しき
い値を小さく設定するものであり、これにより、無意係
数のみからなる無意ブロックが連続的に発生する頻度を
減少させるようにしたものである。
DISCLOSURE OF THE INVENTION (Structure) The image coding method according to the present invention divides an original image into blocks having a plurality of pixels, and extrapolates the pixel signal sequence in each block from the blocks coded up to that point. The prediction error sequence is compared with the prediction signal sequence obtained by the prediction, and the prediction error sequence is subjected to orthogonal transformation to obtain a transform coefficient sequence, and each transform coefficient included in the transform coefficient sequence is compared with a threshold value. Among them, the conversion coefficient larger than the threshold value is determined as the significant coefficient, and the conversion coefficient smaller than the threshold value is determined as the insignificant coefficient,
In an image coding method that encodes the position and value within a block only for the significant coefficient, the significant coefficient is included for the block that is located near the block to be encoded and has already been encoded. It is determined whether it is a significant block or an insignificant block consisting of only insignificant coefficients, and the above threshold is set smaller as multiple blocks near the block to be encoded include more insignificant blocks. In this way, the frequency of continuous occurrence of insignificant blocks consisting only of insignificant coefficients is reduced.

(実施例) 本発明の基本構成は第4図の構成と同じであり、変換係
数符号化部2だけが第4図構成とは異なるから、以下の
説明では変換係数符号化部2についてのみ説明を行なう
ことにする。
(Embodiment) Since the basic configuration of the present invention is the same as the configuration of FIG. 4 and only the transform coefficient coding unit 2 is different from the configuration of FIG. 4, only the transform coefficient coding unit 2 will be described below. Decide to do.

第1図に示すように、原画像のブロックに対応する画素
信号列と外挿的に予測した予測信号列との差である誤差
信号列を直交変換することにより得た係数信号列{Yi
j}の各成分が、係数判定部11でしきい値Tと比較さ
れ、成分の値がしきい値T以上であると有意係数、しき
い値Tよりも小さいと無意係数として判定される。しき
い値Tは、特定の条件に基づいて可変となっている。
As shown in FIG. 1, a coefficient signal sequence {Yi obtained by orthogonally transforming an error signal sequence which is a difference between a pixel signal sequence corresponding to a block of an original image and a prediction signal sequence predicted by extrapolation
Each component of j} is compared with the threshold value T by the coefficient determination unit 11, and if the value of the component is greater than or equal to the threshold value T, it is determined as a significant coefficient, and if smaller than the threshold value T, it is determined as an insignificant coefficient. The threshold value T is variable based on a specific condition.

以下、しきい値Tの設定の基本原理を第2図に基づいて
説明する。第2図において斜線部はすでに符号化された
ブロックを示している。今、ブロックEがこれから符号
化する対象であるとすると、このブロックEに隣接する
ブロックB,Cが参照される。ブロックBとブロックC
とについて、これらのブロックB,C内の成分が有意係
数を含むかどうかが設定基準となるのであって、有意係
数を含むブロックであれば有意ブロック、無意係数のみ
からなるブロックであれば無意ブロックと呼ばれる。し
かるに、両ブロックB,Cがともに無意ブロックである
場合には、1つ前のブロック(ここではブロックB)を
符号化したときりも、しきい値Tを一定量下げるように
する。しきい値Tが下がれば係数判定部11として無意
係数が発生する頻度が低減し、無意ブロックが連続的に
発生するのを抑制することができるのである。一方、こ
のような処理を行なって、一方的にしきい値Tが低下す
ると、有意ブロックの発生頻度が増加して圧縮効率が低
下するから、符号化の対象となるブロックEに隣接する
ブロックB,Cがともに有意ブロックであるときには、
1つ前のブロック(ブロックB)を符号化したときより
も、しきい値を一定量上げるようにする。もちろん、ブ
ロックB,Cのうちのいずれか一方だけが有意ブロック
であるときには、しきい値Tは変化しないようにする。
このように、符号化の対象となっているブロックEに隣
接するブロックB,Cに合わせて、しきい値Tを調節す
るから、しきい値Tの調整量を適宜設定すれば、無意ブ
ロックばかりが連続したり、圧縮効率が極端に低下する
ことがなく、歪みの程度と圧縮効率との関係を最適化す
ることができる。また、符号化の対象となるブロックE
に隣接したブロックB,Cのみではなく、近隣のブロッ
クA,Dの情報を加味してしきい値Tを調節してもほぼ
同等の効果が得られる。
The basic principle of setting the threshold T will be described below with reference to FIG. In FIG. 2, the shaded areas indicate blocks that have already been encoded. Now, assuming that the block E is a target to be encoded, blocks B and C adjacent to this block E are referred to. Block B and Block C
For and, the setting criterion is whether or not the components in these blocks B and C include a significant coefficient, and if the block includes a significant coefficient, it is a significant block, and if it is a block consisting of only insignificant coefficients, it is an insignificant block. Called. However, when both blocks B and C are both insignificant blocks, the threshold value T is lowered by a certain amount even when the immediately preceding block (block B in this case) is encoded. If the threshold value T is lowered, the frequency of occurrence of the insignificant coefficient in the coefficient determination unit 11 is reduced, and it is possible to suppress the continuous occurrence of insignificant blocks. On the other hand, if the threshold value T decreases unilaterally by performing such processing, the frequency of occurrence of significant blocks increases and the compression efficiency decreases, so that the blocks B adjacent to the block E to be encoded are When both C are significant blocks,
The threshold value is increased by a certain amount as compared with the case where the immediately preceding block (block B) is encoded. Of course, when only one of the blocks B and C is a significant block, the threshold T is not changed.
In this way, the threshold value T is adjusted according to the blocks B and C adjacent to the block E to be coded. Therefore, if the adjustment amount of the threshold value T is appropriately set, only insignificant blocks will be obtained. , And the compression efficiency does not drop extremely, and the relationship between the degree of distortion and the compression efficiency can be optimized. Also, the block E to be encoded
Even if the threshold value T is adjusted in consideration of not only the blocks B and C adjacent to the block B but also the information of the blocks A and D in the vicinity, almost the same effect can be obtained.

以上のしきい値Tの調節は、ハードウェアとしては、第
1図に示すように、記憶部17としきい値設定部18と
を用いて行なわれる。すなわち、制御部12を通してブ
ロック内に有意係数が含まれるかどうかが判定され、ブ
ロック内に有意係数が1つも含まれていないと、そのブ
ロックは無意ブロックであるものとして記憶部17に記
憶され、有意係数が1つでも含まれていると、そのブロ
ックは有意ブロックであるものとして記憶部17に記憶
される。したがって、記憶部17には、符号化の対象と
なるブロックの周囲に存在するブロックに関する位置情
報(記憶部17内のメモリ番地で示す)と、そのブロッ
クが有意ブロックであるが無意ブロックであるかの情報
とが格納されるのである。しきい値設定部18では、符
号化の対象となっているブロックの位置に応じて必要な
情報を記憶部17から読み出し、上述のように係数判定
部11のしきい値Tを設定するのである。こうして、こ
のしきい値Tを使う点を除いて、第5図従来例と同様
に、輝度情報に相当する振幅圧縮符号C、位置情報に
相当するランレングス圧縮符号CRL等が出力されるので
ある。1つのブロックについて符号化が終了すると、そ
のブロックが有意ブロックであるか無為ブロックである
かの情報が記憶部17に格納され、次のブロックについ
て符号化が行なわれるのである。
The above adjustment of the threshold value T is performed by using a storage unit 17 and a threshold value setting unit 18 as hardware, as shown in FIG. That is, it is determined through the control unit 12 whether or not a significant coefficient is included in the block. If no significant coefficient is included in the block, the block is stored in the storage unit 17 as an insignificant block, If even one significant coefficient is included, the block is stored in the storage unit 17 as a significant block. Therefore, in the storage unit 17, the position information (indicated by the memory address in the storage unit 17) regarding blocks existing around the block to be encoded and whether the block is a significant block or an insignificant block. The information and are stored. The threshold setting unit 18 reads necessary information from the storage unit 17 according to the position of the block to be encoded, and sets the threshold T of the coefficient determining unit 11 as described above. . Thus, except that the threshold value T is used, the amplitude compression code C A corresponding to the luminance information and the run length compression code C RL corresponding to the position information are output as in the conventional example of FIG. Of. When the coding of one block is completed, information as to whether the block is a significant block or a nonsense block is stored in the storage unit 17, and the coding of the next block is performed.

ところで、記憶部17において原画像のすべてのブロッ
クについての情報を格納すると、記憶容量の増大をきた
すから、必要な情報だけを格納するように工夫がなされ
ている。すなわち、今、原画像を縦横にマトリクス状に
分割して多数のブロックを形成し、符号化の対象となる
ブロックが第2図中の第M行、第N列に位置するブロッ
クEであるとする。記憶部17は、第3図に示すよう
に、1行分のブロックの識別情報が記憶できる大きさを
有していて、1番地から(N-1)番地までは、第M行の
情報が格納され、N番地以降には、第(M-1)行の情報
が記憶されている。したがって、第2図に示したA〜D
の情報は、第3図(a)に示すように、記憶部17内では
(N-2)番地から(N+1)番地までに格納されることにな
る。このようにして、必要な位置の情報を使用して符号
化の対象としているブロックEを符号化した後には、第
3図(b)に示すように、N番地の情報がブロックCの情
報からブロックEの情報に書き換えられるのであり、次
のブロックの符号化ができるようになるのである。この
ようにして、情報を順次更新することにより、1行分の
情報が記憶可能な記憶部17を用いながらも、全画面に
ついてのしきい値Tの設定情報を順次得ることができる
のである。
By the way, if information about all the blocks of the original image is stored in the storage unit 17, the storage capacity is increased. Therefore, it is devised to store only necessary information. That is, the original image is divided vertically and horizontally into a matrix to form a large number of blocks, and the block to be encoded is the block E located at the Mth row and the Nth column in FIG. To do. As shown in FIG. 3, the storage unit 17 has a size capable of storing the identification information of blocks for one row, and the information of the Mth row is stored from the address 1 to the address (N-1). The information of the (M-1) th row is stored after the address N. Therefore, A to D shown in FIG.
As shown in FIG. 3 (a), the information of is stored in the storage unit 17 from the address (N-2) to the address (N + 1). In this way, after the block E to be encoded is encoded using the information of the required position, the information of the address N is changed from the information of the block C as shown in FIG. 3 (b). The information of the block E is rewritten so that the next block can be encoded. In this way, by sequentially updating the information, it is possible to sequentially obtain the setting information of the threshold T for the entire screen while using the storage unit 17 that can store the information for one line.

[発明の効果] 本発明は上述のように、原画像を複数画素を有するブロ
ックに分割し、各ブロック内の画素信号列をその時点ま
でに符号化したブロックから外挿的に予測して得られた
予測信号列と比較し、予測誤差列に直交変換を施して変
換係数列を求め、変換係数列に含まれる各変換係数をそ
れぞれしきい値と比較し、変換係数のうちしきい値より
も大きい変換係数を有意係数とするとともにしきい値よ
りも小さい変換係数を無意係数として判定し、有意係数
についてのみブロック内での位置と値とを符号化する画
像符号化方式において、符号化の対象となっているブロ
ックの近傍に位置するとともにすでに符号化されている
ブロックについて、有意係数を含む有意ブロックである
か、無意係数のみからなる無意ブロックであるかを判定
し、符号化の対象となっているブロックの近傍の複数ブ
ロックが無意ブロックを多く含むほど上記しきい値を小
さく設定するものであり、符号化の対象となっているブ
ロックの周囲に無意ブロックが多いほど、無意係数か有
意係数かを判定するしきい値を下げるので、無意係数の
みからなる無意ブロックが連続的に発生する頻度を減少
させることができ、その結果、外挿的な予測による予測
誤差の蓄積を抑制し、再生画像の濃淡レベルの急激な変
化による歪みを軽減することができる利点を有するので
ある。
As described above, the present invention divides the original image into blocks having a plurality of pixels, and obtains the pixel signal sequence in each block by extrapolating from the blocks encoded up to that point. The prediction error sequence is subjected to orthogonal transformation to obtain a transform coefficient sequence, each transform coefficient included in the transform coefficient sequence is compared with a threshold value, and the transform coefficient is calculated from the threshold value. Is set as a significant coefficient, a transform coefficient smaller than the threshold is determined as an insignificant coefficient, and the position and value in the block are coded only for the significant coefficient. For blocks that are located near the target block and have already been encoded, determine whether they are significant blocks that include significant coefficients or are insignificant blocks that consist of only insignificant coefficients. , The threshold is set to be smaller as a plurality of blocks in the vicinity of the block to be encoded include more insignificant blocks, and there are many insignificant blocks around the block to be encoded. The lower the threshold for determining whether the coefficient is the insignificant coefficient or the significant coefficient, it is possible to reduce the frequency of continuous occurrence of the insignificant block consisting only of the insignificant coefficient. That is, it has an advantage that the accumulation of the image can be suppressed and the distortion due to the abrupt change of the gray level of the reproduced image can be reduced.

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

第1図は本発明の一実施例を示す要部ブロック図、第2
図は同上の原理説明図、第3図は同上に用いる記憶部の
動作説明図、第4図は本発明に係る画像符号化方式の基
本構成を示すブロック図、第5図は第4図に対応する画
像再生部のブロック図、第6図は従来例を示す部分ブロ
ック図、第7図は同上の動作説明図である。 1はサイン変換部、2は変換係数符号化部、3は変換係
数復号化部、4は逆サイン変換部、5は遅延メモリ、6
は外挿予測部、11は係数判定部、12は制御部、13
は量子化部、14は可変長符号化部、15はカウンタ、
16は可変長符号化部、17は記憶部、18はしきい値
設定部である。
FIG. 1 is a block diagram of an essential part showing an embodiment of the present invention, and FIG.
FIG. 3 is a diagram for explaining the principle of the same as above, FIG. 3 is a diagram for explaining the operation of the storage unit used in the same as above, FIG. 4 is a block diagram showing the basic configuration of the image coding system according to the present invention, and FIG. FIG. 6 is a block diagram of a corresponding image reproducing unit, FIG. 6 is a partial block diagram showing a conventional example, and FIG. 7 is an operation explanatory diagram of the same. 1 is a sine transform unit, 2 is a transform coefficient coding unit, 3 is a transform coefficient decoding unit, 4 is an inverse sine transform unit, 5 is a delay memory, 6
Is an extrapolation prediction unit, 11 is a coefficient determination unit, 12 is a control unit, 13
Is a quantizer, 14 is a variable length encoder, 15 is a counter,
Reference numeral 16 is a variable length coding unit, 17 is a storage unit, and 18 is a threshold value setting unit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 藤井 寿隆 大阪府門真市大字門真1048番地 松下電工 株式会社内 (72)発明者 浜田 博 岡山県岡山市高島新屋敷164―4 (72)発明者 森川 良孝 岡山県赤磐郡瀬戸町江尻旭ケ丘3丁目1― 18 (72)発明者 山根 延元 岡山県岡山市津島中1丁目3番RB棟103 (56)参考文献 特開 昭62−195989(JP,A) 特開 昭56−136093(JP,A) 特公 昭49−31808(JP,B1) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Toshitaka Fujii 1048 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Works, Ltd. (72) Inventor Hiroshi Hamada 16-4 Takashima New Mansion, Okayama City, Okayama Prefecture (72) Inventor Yoshitaka Morikawa 3-1-1-18 Asahigaoka, Ejiri, Seto-cho, Akaban-gun, Okayama (72) Inventor Nobumoto Yamane 1-3-3 RB, Tsushimanaka, Okayama-shi, Okayama 103 (56) Reference JP 62-195989 (JP, A) JP-A-56-136093 (JP, A) JP-B-49-31808 (JP, B1)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】原画像を複数画像を有するブロックに分割
し、各ブロック内の画素信号列をその時点までに符号化
したブロックを復号化して得られた再生画像のブロック
から外挿的に予測を行なった予測信号列と比較し、予測
誤差列に直交変換を施して変換係数列を求め、変換係数
列に含まれる各変換係数をそれぞれしきい値と比較し、
変換係数のうちしきい値よりも大きい変換係数を有意係
数とするとともにしきい値よりも小さい変換係数を無意
係数として判定し、有意係数についてのみブロック内で
の位置と値とを符号化する画素符号化方式において、符
号化の対象となっているブロックの近傍に位置するとと
もにすでに符号化されているブロックについて、有意係
数を含む有意ブロックであるか、無意係数のみからなる
無意ブロックであるかを判定し、符号化の対象となって
いるブロックの近傍の複数ブロックが無意ブロックを多
く含むほど上記しきい値を小さく設定することを特徴と
する画像符号化方式。
1. An original image is divided into blocks having a plurality of images, and pixel signals in each block are extrapolated from blocks of a reproduced image obtained by decoding blocks encoded up to that point. Is compared to the prediction signal sequence, the prediction error sequence is orthogonally transformed to obtain a conversion coefficient sequence, and each conversion coefficient included in the conversion coefficient sequence is compared with a threshold value.
Pixel for which the conversion coefficient larger than the threshold value among the conversion coefficients is set as the significant coefficient and the conversion coefficient smaller than the threshold value is determined as the insignificant coefficient, and the position and the value in the block are coded only for the significant coefficient. In the encoding method, whether the block located near the block to be encoded and already encoded is a significant block containing significant coefficients or an insignificant block consisting of only insignificant coefficients An image coding method, wherein the threshold value is set to be smaller as the plurality of blocks near the block to be coded that are determined include more insignificant blocks.
JP62240453A 1987-09-24 1987-09-24 Image coding method Expired - Fee Related JPH0628444B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP62240453A JPH0628444B2 (en) 1987-09-24 1987-09-24 Image coding method
GB8821600A GB2210229B (en) 1987-09-24 1988-09-15 Picture encoding system
US07/248,915 US5054103A (en) 1987-09-24 1988-09-22 Picture encoding system
DE19883832476 DE3832476A1 (en) 1987-09-24 1988-09-23 IMAGE CODING SYSTEM
FR8812454A FR2621146A1 (en) 1987-09-24 1988-09-23 IMAGE ENCODING SYSTEM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62240453A JPH0628444B2 (en) 1987-09-24 1987-09-24 Image coding method

Publications (2)

Publication Number Publication Date
JPS6482782A JPS6482782A (en) 1989-03-28
JPH0628444B2 true JPH0628444B2 (en) 1994-04-13

Family

ID=17059724

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62240453A Expired - Fee Related JPH0628444B2 (en) 1987-09-24 1987-09-24 Image coding method

Country Status (1)

Country Link
JP (1) JPH0628444B2 (en)

Also Published As

Publication number Publication date
JPS6482782A (en) 1989-03-28

Similar Documents

Publication Publication Date Title
JP3716931B2 (en) Adaptive decoding device for continuous images
JP2891772B2 (en) Digital image coding method using random scanning of image frames
JP3356663B2 (en) Image encoding device, image encoding method, and recording medium recording image encoding program
US20070248162A1 (en) Video coder providing implicit coefficient prediction and scan adaptation for image coding and intra coding of video
JP5469192B2 (en) Method for predicting coefficient in decoder, decoding method, video decoder
JPH08116447A (en) Coder for image signal
JP4101034B2 (en) Encoding apparatus and method
WO2005088981A1 (en) Encoding apparatus, encoding method, decoding apparatus, and decoding method
JP3087835B2 (en) Image encoding method and apparatus and image decoding method and apparatus
KR20020026189A (en) Efficient video data access using fixed ratio compression
EP1684529A2 (en) Video coder providing implicit coefficient prediction and scan adaption for image coding and intra coding of video
JP2839142B2 (en) Image coding method
EP0238254B1 (en) Data compression using block list transform
JPH0628444B2 (en) Image coding method
US6064696A (en) Encoding apparatus
JP2862022B2 (en) Image coding method
JP3027605B2 (en) Image processing device
CN1135854C (en) Method and apparatus for encoding video image
JP3001758B2 (en) Huffman encoding device and Huffman encoding method
JP2919990B2 (en) Image data compression method
JP2820807B2 (en) Image data encoding method
KR0134358B1 (en) Coding and Decoding System Using Variable Scan Method
JP3200073B2 (en) Image processing device
JP2002209219A (en) Moving image information compression method and system
KR100212327B1 (en) Digital video signal quantization method and apparatus

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees