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
JPH0822063B2 - Image signal encoding device - Google Patents
[go: Go Back, main page]

JPH0822063B2 - Image signal encoding device - Google Patents

Image signal encoding device

Info

Publication number
JPH0822063B2
JPH0822063B2 JP17926989A JP17926989A JPH0822063B2 JP H0822063 B2 JPH0822063 B2 JP H0822063B2 JP 17926989 A JP17926989 A JP 17926989A JP 17926989 A JP17926989 A JP 17926989A JP H0822063 B2 JPH0822063 B2 JP H0822063B2
Authority
JP
Japan
Prior art keywords
stage
code
unit
block
image
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
JP17926989A
Other languages
Japanese (ja)
Other versions
JPH0344187A (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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP17926989A priority Critical patent/JPH0822063B2/en
Publication of JPH0344187A publication Critical patent/JPH0344187A/en
Publication of JPH0822063B2 publication Critical patent/JPH0822063B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、画像信号の伝送時間を短縮する、あるいは
蓄積記憶容量を削減するための画像信号符号化装置、お
よびその方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image signal coding apparatus and method for shortening the transmission time of an image signal or reducing the storage capacity.

(従来の技術) 多値画像(例えば1画素8bit,256レベル)に対するデ
ータ圧縮方式には、情報保存型符号化方式と情報非保存
型符号化方式とがある。情報保存型符号化は、符号化の
過程に量子化を含んでおらず、符号化・複合化の処理に
よって原画像と全く同一の画像を再生することが可能で
あるが、高い圧縮率は得られない。一方、情報非保存型
符号化は、符号化の過程でなんらかの量子化処理を含ん
でおり、符号化・復号化の処理によって再生画像は量子
化雑音を含み画品質の劣化を伴うが、高い圧縮率が得ら
れる。
(Prior Art) As a data compression method for a multi-valued image (for example, 1 pixel 8 bits, 256 levels), there are an information storage type coding system and an information non-storage type coding system. Information-preserving encoding does not include quantization in the encoding process, and it is possible to reproduce the exact same image as the original image by encoding / compositing processing, but a high compression rate is not obtained. I can't. On the other hand, the information non-conservation type encoding includes some quantization processing in the encoding process, and the reproduced image includes quantization noise and deterioration of image quality due to the encoding / decoding processing, but high compression is required. The rate is obtained.

情報非保存型符号化の性能は一般に量子化歪(S/N
比)とデータ圧縮率(情報量)との関係で評価される
が、良好なS/N比対情報量の関係を実現するひとつの方
式として直交変換後の変換係数を量子化して可変長符号
化する方式がある。
The performance of information non-conservative coding is generally quantized distortion (S / N
Ratio) and the data compression rate (information amount), but as one method to realize a good S / N ratio vs. information amount, the transform coefficient after orthogonal transformation is quantized and the variable length code is used. There is a method to make it.

一般に変換係数の電力は一部の変換係数に集中するの
で、この方式では電力の大きな変換係数に対して多くの
情報量を割り当て、電力の小さい変換係数には少ない情
報量しか割り当てないようにして、大幅な情報量の圧縮
を可能にしている。
In general, the power of the transform coefficient is concentrated in a part of the transform coefficients, so in this method, a large amount of information is assigned to the transform coefficient of large power, and a small amount of information is assigned to the transform coefficient of low power. , Enables a significant amount of information compression.

また、通常の画像信号の分布は画像によって大幅に異
なっているが、この変換係数の分布は画像に依らずある
一定のモデルに従っている場合が多い。従って、このモ
デルに基づいて設計した可変長符号を用いることによ
り、画像に依らない情報量の圧縮が実現できる。
Further, the distribution of the normal image signal differs greatly depending on the image, but the distribution of this conversion coefficient often follows a certain model regardless of the image. Therefore, by using the variable-length code designed based on this model, it is possible to realize the compression of the information amount independent of the image.

さらに、多値画像の符号化方式として、プログレッシ
ブ符号化方式というものがある。このプログレッシブ符
号化方式とは、まず第1段階として画像全体の大まかな
情報を用いて粗い画像を表示し、順次段階的に細かな情
報を用いてより精細な画像を表示していく方法である。
Further, there is a progressive coding system as a coding system for multi-valued images. The progressive coding method is a method of displaying a rough image by using rough information of the entire image as a first step and displaying a finer image by sequentially using fine information. .

このプログレッシブ符号化方式において、第1段階で
用いられる画像全体の大まかな情報の情報量を少なくし
ておけば、通信における情報の伝送速度が遅い場合で
も、とりあえずまず第1段階として粗い画像を高速に表
示することができる。この第1段階では粗い画像ではあ
るが画像全体が表示されるので、通常の画像を行単位に
順次精細な画像として復号していく場合に比べて、受信
者はより素早く画像全体の内容を知ることができる。従
って、伝送速度が遅い場合でも利用者に与える負担を大
幅に軽減できる。
In this progressive coding method, if the amount of rough information of the entire image used in the first stage is reduced, even if the transmission speed of information in communication is slow, the first step is to convert a rough image into high speed. Can be displayed on. In this first stage, the entire image is displayed although it is a rough image, so the receiver can know the contents of the entire image more quickly than in the case where a normal image is sequentially decoded as a fine image. be able to. Therefore, even if the transmission speed is slow, the burden on the user can be greatly reduced.

また、細かな情報を受信するにつれて画像全体が徐々
に精細となって行くので、全ての情報を受信する以前に
画像の判別が可能となる。従って、大量の画像のなかか
ら必要な画像のみを検索したい場合、判別ができた時点
で情報の伝送を打ち切ることができるので、検索の効率
を大幅に向上できる。
Further, as the detailed information is received, the entire image becomes finer and finer, so that the image can be discriminated before all the information is received. Therefore, when it is desired to retrieve only a necessary image from a large number of images, the transmission of information can be stopped at the time when the determination can be made, and the retrieval efficiency can be greatly improved.

このようなプログレッシブ符号化方式は、直交変換を
用いた符号化方式を応用することにより、容易に実現で
きる。すなわち、全部の直交変換係数を伝送する代わり
に、まず直交変換係数の内で電力が集中しているものの
みを画像全体について符号化して伝送する。そして、伝
送された直交変換係数のみを逆変換して、複合された画
像を表示する。
Such a progressive coding system can be easily realized by applying a coding system using orthogonal transform. That is, instead of transmitting all the orthogonal transform coefficients, only the orthogonal transform coefficients whose power is concentrated are encoded and transmitted for the entire image. Then, only the transmitted orthogonal transform coefficient is inversely transformed to display the composite image.

この場合、一部の直交変換係数のみを伝送しているの
で、全部の直交変換係数を伝送する場合に比べて情報量
ははるかに小さくなる。従って、情報の伝送速度が遅い
場合でも、高速に伝送可能である。また、画像全体の情
報を伝送しているので、粗い画像ではあるが画像全体を
表示することができる。
In this case, since only some of the orthogonal transform coefficients are transmitted, the amount of information is much smaller than when all the orthogonal transform coefficients are transmitted. Therefore, even if the information transmission speed is low, the information can be transmitted at high speed. Further, since the information of the entire image is transmitted, the entire image can be displayed although it is a rough image.

そして、順次残りの直交変換係数を伝送することによ
り、より精細な復号画像を得ることができる。
Then, by transmitting the remaining orthogonal transform coefficients sequentially, a finer decoded image can be obtained.

また、このようなプログレッシブな符号化方式に対し
て、通常の行単位に順次画像を符号化して復号化する方
式を、シーケンシャルな符号化方式と呼ぶ。この方式を
実現するためには、最初から全部の直交変換係数を符号
化すれば良い。
Further, in contrast to such a progressive encoding method, a method of sequentially encoding and decoding an image on a row-by-row basis is called a sequential encoding method. To realize this method, all orthogonal transform coefficients may be encoded from the beginning.

(発明が解決しようとする課題) このような直交変換係数を量子化して可変長符号化す
る方式を用いてプログレッシブ符号化を実現する場合、
まずあらかじめ画像全体の直交変換と量子化処理を行
い、量子化された直交変換係数を記憶しておく。そし
て、プログレッシブの第1段階として電力の集中した一
部の直交変換係数のみを画像全体について符号化して伝
送し、順次残りの直交変換係数を符号化する。
(Problem to be Solved by the Invention) When progressive coding is realized by using a method of quantizing such an orthogonal transform coefficient to perform variable length coding,
First, orthogonal transformation and quantization processing of the entire image are performed in advance, and the quantized orthogonal transformation coefficient is stored. Then, as the first step of progressive, only some orthogonal transform coefficients in which power is concentrated are encoded and transmitted for the entire image, and the remaining orthogonal transform coefficients are sequentially encoded.

ところが、このような方法でプログレッシブ符号化を
実現する場合に、画像サイズが大きいと、直交変換係数
を記憶するために膨大な記憶容量が必要となってしまう
という問題がある。
However, when the progressive coding is realized by such a method, there is a problem that an enormous storage capacity is required to store the orthogonal transform coefficient when the image size is large.

従って、直交変換係数をメモリに記憶した場合に非常
に多数のメモリが必要となり、符号化装置が高額かつ大
型になってしまうという問題点もある。
Therefore, when the orthogonal transform coefficient is stored in the memory, a very large number of memories are required, and there is a problem that the encoding device becomes expensive and large.

このように直交変換係数を記憶しておく代わりに、プ
ログレッシブの各段階毎に直交変換や量子化処理をやり
直すこともできる。しかし、このような場合にも入力し
た画像信号を記憶しておかなければならないので、同様
の問題が生じる。
Instead of storing the orthogonal transform coefficient in this way, the orthogonal transform and the quantization process can be redone for each progressive step. However, even in such a case, since the input image signal must be stored, the same problem occurs.

また、一般に画像サイズが大きい場合の直交変換の処
理時間は長いので、このように同じ処理を何度もやり直
すことにより、全体の処理時間が膨大となってしまうと
いう問題点がある。
Further, since the processing time of orthogonal transformation is generally long when the image size is large, there is a problem that the entire processing time becomes enormous by repeating the same processing a number of times.

本発明は、量子化後の変換係数を記憶しておく代わり
に、プログレッシブ符号化の各段階毎の符号をそれぞれ
各段階毎に記憶しておくことで、大量の記憶容量を用い
ずにプログレッシブ符号化を実現できる、画像信号の符
号化方式とその装置を提供することを目的とする。
The present invention, instead of storing the quantized transform coefficient, stores the code for each stage of progressive encoding for each stage, so that the progressive code can be stored without using a large storage capacity. It is an object of the present invention to provide an image signal encoding method and an apparatus therefor that can realize the encoding.

(課題を解決するための手段) 本発明の画像信号符号化装置は、複数の画素からなる
ブロック単位で画像信号を読み出すプロック読み出し部
と、 上記プロック単位に直交変換を施して複数の変換係数
を求める直交変換部と、 上記複数の変換係数を量子化して複数の量子化インデ
ックスを出力する量子化部と、 上記複数の量子化インデックスを複数のステージに分
割して伝送するために各ステージにおいて伝送すべき量
子化インデックスのブロック内の位置を記憶する位置記
憶部と、 上記位置に基づき上記量子化インデックスを可変長符
号化して各ステージに対応する符号を出力する符号化部
と、 上記符号を各ステージ毎に記憶する符号記憶部と、 上記符号記憶部に記憶された上記符号を第1ステージ
から順番に各ステージ毎に伝送する符号伝送部とで構成
される。
(Means for Solving the Problem) An image signal coding apparatus according to the present invention includes a block reading unit that reads an image signal in a block unit including a plurality of pixels, and a plurality of transform coefficients by performing orthogonal transform in the block unit. An orthogonal transformation unit to be obtained, a quantization unit that quantizes the plurality of transform coefficients and outputs a plurality of quantization indexes, and transmits each stage to divide the plurality of quantization indexes into a plurality of stages for transmission. A position storage unit that stores the position of the quantization index to be processed in the block, an encoding unit that performs variable length encoding of the quantization index based on the position, and outputs a code corresponding to each stage, and the code A code storage unit for storing each stage, and a code for transmitting the code stored in the code storage unit for each stage in order from the first stage. Signal transmission unit.

また、本発明の別の画像信号符号化装置は、複数の画
素からなるブロック単位で画像信号を読み出すブロック
読み出し部と、 上記ブロック単位に直交変換を施して複数の変換係数
を求める直交変換部と、 上記複数の変換係数を量子化して複数の量子化インデ
ックスを出力する量子化部と、 上記複数の量子化インデックスを複数のステージに分
割して伝送するために各ステージにおいて伝送すべき量
子化インデックスのブロック内の位置を記憶する位置記
憶部と、 上記位置に基づき上記量子化インデックスを可変長符
号化して各ステージに対応する符号を出力する符号化部
と、 第2ステージ以降の各ステージの上記符号を各ステー
ジ毎に記憶する符号記憶部と、 まず上記符号化部から出力される第1ステージの符号
を伝送し次に上記符号記憶部に記憶された符号を第2ス
テージから順番に各ステージ毎に伝送する符号伝送部と
で構成される。
Further, another image signal encoding device of the present invention includes a block reading unit that reads an image signal in a block unit including a plurality of pixels, and an orthogonal transform unit that performs orthogonal transform in the block unit to obtain a plurality of transform coefficients. , A quantizer that quantizes the plurality of transform coefficients and outputs a plurality of quantization indexes, and a quantization index that should be transmitted in each stage in order to divide the plurality of quantization indexes into a plurality of stages for transmission. A position storage unit that stores the position in the block, a coding unit that performs variable length coding on the quantization index based on the position, and outputs a code corresponding to each stage, and a coding unit that outputs the code corresponding to each stage. A code storage unit that stores a code for each stage, and first transmits the code of the first stage output from the encoding unit, and then transmits the code. Composed of the code transmission unit to be transmitted to each stage parts stored in the code in order from the second stage.

(作用) 本発明の画像信号の符号化装置について説明する。(Operation) An image signal encoding apparatus of the present invention will be described.

まず、ブロック読み出し部は複数の画素からなるブロ
ック単位で画像信号を読み出す。このブロックとして
は、n×n画素からなる正方形のブロックを用いる場合
が多い。
First, the block reading unit reads an image signal in units of blocks including a plurality of pixels. A square block composed of n × n pixels is often used as this block.

次に、直交変換部はこのブロック単位に直交変換を施
して複数の変換係数を求める。この直交変換としては、
2次元の離散コサイン変換やアダマール変換など、任意
の直交変換を用いることができる。もしn×n画素から
なる正方形のブロックを用いた場合、この複数の変換係
数も1ブロック当たりn×n個となる。
Next, the orthogonal transform unit performs orthogonal transform on this block unit to obtain a plurality of transform coefficients. For this orthogonal transformation,
An arbitrary orthogonal transform such as a two-dimensional discrete cosine transform or Hadamard transform can be used. If a square block consisting of n × n pixels is used, the number of transform coefficients is also n × n per block.

そして、量子化部は各変換係数をあらかじめ与えられ
た量子化ステップで割ることにより量子化を行い、各変
換係数に対応する量子化インデックスを求める。ただ
し、ここでは全ての変換係数を同一の量子化ステップで
量子化することにするが、各変換係数のブロック内での
位置に応じて、異なる量子化ステップを用いることもで
きる。
Then, the quantizer performs quantization by dividing each transform coefficient by a given quantization step, and obtains a quantization index corresponding to each transform coefficient. However, here, all transform coefficients are quantized in the same quantization step, but different quantization steps may be used depending on the position of each transform coefficient in the block.

ここで、画像情報を複数のステージに分割して伝送す
るために、各ステージで伝送すべき量子化インデックス
のブロック内での位置を、あらかじめ位置記憶部に記憶
しておく。この際に、画像の品質や伝送速度を考慮して
各ステージで伝送する量子化インデックスの個数を決定
し、それにしたがって伝送する量子化インデックスの位
置を決定して記憶させる。ただし、画像の統計量に基づ
いてこの位置、すなわち各ステージで伝送する量子化イ
ンデックスの個数を画像毎に可変にすることもできる。
Here, in order to divide and transmit the image information to a plurality of stages, the position in the block of the quantization index to be transmitted in each stage is stored in the position storage unit in advance. At this time, the number of quantization indexes to be transmitted at each stage is determined in consideration of image quality and transmission rate, and the positions of the quantization indexes to be transmitted are determined and stored accordingly. However, this position, that is, the number of quantization indexes transmitted in each stage, can be made variable for each image based on the statistical amount of the image.

この位置に基づき、符号化部は各ステージに対応する
量子化インデックスを可変長符号化し、各ステージに対
応する符号を出力する。すなわち、第1ステージで伝送
すべき量子化インデックスの位置を位置記憶部から読み
出して、これを可変長符号化して第1ステージの符号と
して出力する。同様に、各ステージの符号を出力する。
Based on this position, the coding unit performs variable length coding on the quantization index corresponding to each stage, and outputs the code corresponding to each stage. That is, the position of the quantization index to be transmitted in the first stage is read from the position storage unit, this is subjected to variable length coding and output as the code of the first stage. Similarly, the code of each stage is output.

ところで、量子化インデックスを可変長符号化する方
法としては、ブロック内の全ての量子化インデックスを
それぞれ個別に可変長符号化する方法が一般的だが、そ
の他にも連続する0の量子化インデックスをゼロランと
して一まとめにしてしまい、その長さを可変長符号化す
る方法など、様々な方法がある。
By the way, as a method of variable-length coding the quantization indexes, a method of individually variable-length coding all the quantization indexes in the block is generally used. However, there are various methods such as a method in which the length is grouped and the length is variable length coded.

これらの方法の一例は、例えば文献1:太田睦、古閑敏
夫著、「動き補償フレーム間ハイブリッド符号化方式に
おける各種不等長符号化の比較」、昭和61年度電子通信
学会通信部門全国大会講演論文集、分冊1、1-206頁
や、文献2:坪井幸利、岡本貞二著、「カラー静止画像符
号化におけるエントロピー符号化の各種方式の比較検
討」、画像符号化シンポジウム、第2回シンポジウム資
料、71-72頁などに述べられている。
An example of these methods is, for example, Reference 1: Mutsumi Ota, Toshio Koga, "Comparison of Variable Length Coding in Motion Compensated Interframe Hybrid Coding Systems," 1986, IEICE Communications Division National Conference Collection, Volumes 1, 1-206 and Reference 2: Yukitoshi Tsuboi, Sadaji Okamoto, "Comparative Study of Various Entropy Coding Methods for Color Still Image Coding", Image Coding Symposium, 2nd Symposium Material, It is described on pages 71-72.

そして、符号記憶部は符号を各ステージ毎に別々に記
憶する。
Then, the code storage unit stores the code separately for each stage.

このような処理を画像内の全てのブロックに対して実
行した後に、符号伝送部は符号記憶部に記憶された符号
を第1ステージから順番に伝送する。すなわち、まず第
1ステージの符号として記憶された符号をすべて伝送す
る。次に、第2ステージの符号として記憶された符号す
べて伝送する。そして、全てのステージの全ての符号を
伝送した後に、符号の伝送を終了する。
After performing such a process for all the blocks in the image, the code transmission unit sequentially transmits the codes stored in the code storage unit from the first stage. That is, first, all the codes stored as the codes of the first stage are transmitted. Next, all the codes stored as the codes of the second stage are transmitted. Then, after transmitting all the codes of all the stages, the transmission of the codes is completed.

また、このようにまず符号記憶部に各ステージの符号
を各ステージ毎に記憶してから符号の伝送を行う代わり
に、第1ステージの符号のみは符号記憶部に記憶しない
で、符号化部から出力されると同時に符号伝送部から伝
送することもできる。そして、第2ステージ以降のステ
ージの符号は、同様に符号記憶部に記憶する。こうする
ことにより、符号伝送を早く開始できるので、全体の符
号化処理に要する時間を短縮できる。
Further, instead of first storing the code of each stage in the code storage unit for each stage and then transmitting the code as described above, only the code of the first stage is not stored in the code storage unit, but is transmitted from the encoding unit. It can also be transmitted from the code transmission unit at the same time as being output. Then, the codes of the second and subsequent stages are similarly stored in the code storage unit. By doing so, code transmission can be started earlier, and the time required for the entire encoding process can be shortened.

復号側では、まず第1ステージで伝送された符号から
復号される量子化インデックスに基づいて画像の復号を
行い、粗い画像を表示する。そして、第2、第3のステ
ージの情報を得て、これらをそれ以前のステージで伝送
された符号と併せて画像の復号を行うことにより、順次
精細な画像を復号して表示する。
On the decoding side, first, the image is decoded based on the quantization index decoded from the code transmitted in the first stage, and a rough image is displayed. Then, by obtaining the information of the second and third stages and decoding the image together with the information transmitted in the previous stage, the fine images are sequentially decoded and displayed.

このように量子化インデックスを各ステージに分割し
て伝送することにより、プログレッシブな符号化が実現
できる。
By thus dividing and transmitting the quantization index to each stage, progressive encoding can be realized.

ところで、符号記憶部に記憶されるのは可変長符号化
後の符号である。このため、その符号量は元の画像信号
に比べて大幅に減少している。従って、量子化インデッ
クスを記憶しておいてプログレッシブ符号化を行う場合
に比べてはるかに少ない記憶容量でこの符号記憶部を構
成できる。すなわち、小型で低価格の符号化装置を簡単
に実現できる。
By the way, what is stored in the code storage unit is the code after the variable length coding. Therefore, the code amount is significantly reduced as compared with the original image signal. Therefore, this code storage unit can be configured with a storage capacity much smaller than that in the case where the quantization index is stored and the progressive coding is performed. That is, a compact and low-priced encoding device can be easily realized.

(実施例) 以下、図面により本発明の一実施例を説明する。Embodiment An embodiment of the present invention will be described below with reference to the drawings.

第1図(a)は、第1の発明の画像信号の符号化装置
の一実施例を示すブロック図である。なお、以下の説明
では直交変換として2次元の離散コサイン変換を用いて
いるが、アダマール変換などの直交変換を用いることも
可能である。
FIG. 1 (a) is a block diagram showing an embodiment of an image signal encoding apparatus of the first invention. In the following description, the two-dimensional discrete cosine transform is used as the orthogonal transform, but it is also possible to use an orthogonal transform such as Hadamard transform.

第1図(a)に示すように、ブロック読み出し部1に
よってDCT変換を行うブロック単位に画像信号を読み出
す。例えば、1画素当たり8bitの画像信号を縦8画素、
横8画素の計64画素を1ブロックとして読み出す。そし
て、DCT変換部2は読み出された1ブロック分の画像信
号101の2次元離散コサイン変換を行い、8×8個の変
換係数102を計算する。
As shown in FIG. 1A, the block reading unit 1 reads an image signal in units of blocks for DCT conversion. For example, an 8-bit image signal per pixel is 8 pixels vertically,
A total of 64 pixels of 8 pixels horizontally are read as one block. Then, the DCT transform unit 2 performs a two-dimensional discrete cosine transform of the read image signal 101 for one block, and calculates 8 × 8 transform coefficients 102.

こうして計算された変換係数102を受けて、量子化部
3は変換係数102をあらかじめ与えられた量子化ステッ
プで割ることにより量子化を行い、各変換係数102に対
応する量子化インデックス103を出力する。ただし、こ
こでは全ての変換係数を同一の量子化ステップで量子化
することにするが、各変換係数102のブロック内での位
置に応じて、異なる量子化ステップを用いることもでき
る。
Upon receiving the transform coefficients 102 calculated in this way, the quantizing unit 3 quantizes the transform coefficients 102 by dividing the transform coefficients 102 by a given quantization step, and outputs a quantization index 103 corresponding to each transform coefficient 102. . However, here, all transform coefficients are quantized in the same quantization step, but different quantization steps may be used depending on the position of each transform coefficient 102 in the block.

ここで、ブロックの複数の量子化インデックス103を
複数のステージに分割して伝送するために、位置記憶部
8に、各ステージにおいて伝送すべき量子化インデック
ス103のブロック内の位置108をあらかじめ記憶させてお
く。
Here, in order to divide and transmit a plurality of quantization indexes 103 of a block to a plurality of stages, the position storage unit 8 stores in advance the positions 108 in the block of the quantization indexes 103 to be transmitted in each stage. Keep it.

第2図(a)、(b)は、各ステージにおいて伝送す
べき量子化インデックスの位置の説明図である。第2図
(a)に示すように、ブロック内の各量子化インデック
ス103にはその位置を示す番号を割り当てておく。そし
て第2図(b)に示すように、各ステージにおいて伝送
すべき量子化インデックス103の番号を位置108として位
置記憶部8に記憶する。第2図(b)の例では、第1ス
テージで1個、第2ステージで3個の量子化インデック
ス103を伝送することになる。
FIGS. 2A and 2B are explanatory diagrams of the positions of the quantization indexes to be transmitted in each stage. As shown in FIG. 2A, a number indicating the position is assigned to each quantization index 103 in the block. Then, as shown in FIG. 2B, the number of the quantization index 103 to be transmitted in each stage is stored in the position storage unit 8 as the position 108. In the example of FIG. 2B, one quantization index 103 is transmitted in the first stage and three quantization indexes 103 are transmitted in the second stage.

そして符号化部4は、位置記憶部8からまず第1ステ
ージで伝送すべき量子化インデックス103の位置108を読
み出し、第1ステージで伝送すべき量子化インデックス
103の可変長符号化を行い、第1ステージに対応する符
号111を出力する。この量子化インデックス103の可変長
符号化方法は、文献1や文献2に示されている。
Then, the encoding unit 4 first reads the position 108 of the quantization index 103 to be transmitted in the first stage from the position storage unit 8, and reads the quantization index to be transmitted in the first stage.
The variable length encoding of 103 is performed, and the code 111 corresponding to the first stage is output. The variable length coding method of the quantization index 103 is shown in Documents 1 and 2.

次に、符号化部4は位置記憶部8から第2ステージで
伝送すべき量子化インデックス103の位置108を読み出
し、第2ステージで伝送すべき量子化インデックス103
の可変長符号化を行い、第2ステージに対応する符号11
2を出力する。
Next, the encoding unit 4 reads the position 108 of the quantization index 103 to be transmitted in the second stage from the position storage unit 8, and the quantization index 103 to be transmitted in the second stage.
The variable length encoding of the
Output 2

以下同様に、符号化部4は第3ステージに対応する符
号113、第4ステージに対応する符号114というように符
号化処理を行う。
Similarly, the encoding unit 4 performs the encoding process such as the code 113 corresponding to the third stage and the code 114 corresponding to the fourth stage.

そして符号記憶部6は、符号化部4から出力される符
号111、112、113、114等を各ステージ毎に記憶する。
The code storage unit 6 stores the codes 111, 112, 113, 114 and the like output from the coding unit 4 for each stage.

このような記憶処理を画像内の全てのブロックに対し
て実行した後に、符号伝送部7はまず第1ステージの全
ての符号111を符号106として符号記憶部6から読み出し
て、符号107として伝送する。次に、符号伝送部7は第
2ステージの全ての符号112を符号106として符号記憶部
6から読み出して、符号107として伝送する。以下、同
様の処理を各ステージについて繰り返し、全てのステー
ジの全ての符号106を符号記憶部6から読み出してこれ
を符号107として伝送した時点で、符号107の伝送処理を
終了する。
After performing such a storage process for all the blocks in the image, the code transmission unit 7 first reads all the codes 111 of the first stage from the code storage unit 6 as code 106 and transmits them as code 107. . Next, the code transmission unit 7 reads all the codes 112 of the second stage as code 106 from the code storage unit 6 and transmits them as code 107. Hereinafter, the same processing is repeated for each stage, and when all the codes 106 of all the stages are read from the code storage unit 6 and transmitted as the code 107, the transmission processing of the code 107 is ended.

第1図(b)は、第2の発明の画像信号の符号化装置
の一実施例を示すブロック図である。第1図(b)に示
すように、第1ステージの符号111は符号化部4から出
力されると同時に、符号伝送部7から符号107として伝
送される。このように第1ステージの符号111のみは符
号記憶部6に記憶しないで伝送することで、符号107の
伝送開始を早めることができ、全体の符号化処理時間を
短縮できる。
FIG. 1 (b) is a block diagram showing an embodiment of an image signal encoding apparatus of the second invention. As shown in FIG. 1 (b), the code 111 in the first stage is output from the coding unit 4 and at the same time transmitted from the code transmission unit 7 as code 107. As described above, by transmitting only the code 111 in the first stage without storing it in the code storage unit 6, it is possible to speed up the start of transmission of the code 107 and reduce the overall encoding processing time.

以上説明した符号化装置において、符号記憶部6に記
憶されるのは可変長符号化後の符号となっている。従っ
て、その符号量は最初の画像信号101や量子化インデッ
クス103に比べてはるかに少なくなっている。このた
め、画像信号101や量子化インデックス103を記憶してお
いてプログレッシブ符号化を実現する場合に比べて、は
るかに少ない記憶容量でプログレッシブ符号化を実現で
きる。すなわち、符号記憶部6を非常に少ない個数のメ
モリで構成することができ、小型で低価格の符号化装置
を実現できることになる。
In the coding apparatus described above, the code stored in the code storage unit 6 is the code after the variable length coding. Therefore, the code amount is much smaller than the initial image signal 101 and the quantization index 103. Therefore, it is possible to realize progressive coding with a much smaller storage capacity than in the case where the image signal 101 and the quantization index 103 are stored and the progressive coding is realized. That is, the code storage unit 6 can be configured with a very small number of memories, and a compact and low-priced encoding device can be realized.

なお、位置記憶部8に記憶された位置108を変化させ
ることにより、プログレッシブに画像情報を伝送する際
の各ステージで伝送する情報量や、画像が段階的に精細
となる様子を自由に設定できる。従って、様々な伝送速
度や画像を対象とした場合でも、それに応じたプログレ
ッシブ符号化方式を実現できる。その際に、画像の統計
量に応じて画像毎に位置108を可変にする事もできる。
By changing the position 108 stored in the position storage unit 8, it is possible to freely set the amount of information to be transmitted in each stage when progressively transmitting image information and the manner in which the image becomes finer in stages. . Therefore, even when various transmission speeds and images are targeted, it is possible to realize a progressive coding method corresponding to them. At that time, the position 108 can be made variable for each image according to the statistical amount of the image.

また、第1ステージで伝送すべき符号の位置108とし
てブロック内の全量子化インデックス103を指定するこ
とにより、この符号化装置を用いてシーケンシャルな画
像の伝送も実行できる。
Further, by specifying the total quantization index 103 in the block as the position 108 of the code to be transmitted in the first stage, it is possible to execute sequential image transmission using this encoding device.

以上の説明においてはブロックサイズを8×8として
説明したが、別のサイズや形状を用いても差し支え無
い。
In the above description, the block size is 8 × 8, but another size or shape may be used.

また、以上の説明においては画像信号として特に規定
はしていないが、多値の白黒画像、RGBの各カラー成分
画像、Y・(R−Y)・(B−Y)等の輝度・色差信号
は、すべてこの画像信号の中に含まれる。同様に、テレ
ビジョン信号等の動画像におけるフレーム間差分信号に
おいても適用でき、十分な効果を得ることができる。こ
のフレーム間差分信号については、文献3:「テレビジョ
ン バンドウィドス コンプレッション トランスミッ
ション バイ モーション コンペンセイティド イン
ターフレーム コーディング(Television Bandwidth C
ompression transmission by Motion-compensated Inte
rframe Coding)」アイ・イー・イー・イー コミュニ
ケーション マガジン(IEEE Communication Magazin
e)誌、1982年11月号、24-30頁に詳細に述べられてい
る。
Further, in the above description, although not specifically defined as an image signal, a multi-valued black-and-white image, RGB color component images, luminance / color difference signals such as Y, (RY), (BY), etc. Are all included in this image signal. Similarly, the present invention can be applied to a frame difference signal in a moving image such as a television signal, and a sufficient effect can be obtained. This inter-frame difference signal is described in Reference 3: “TV Band Widows Compression Transmission Bi-Motion Compensated Inter-frame Coding (Television Bandwidth C
ompression transmission by Motion-compensated Inte
rframe Coding) ”IEEE Communication Magazin
e) magazine, November 1982, pages 24-30.

(発明の効果) 以上述べたように本発明の画像信号の符号化装置を用
いることにより、プログレッシブ符号化の各ステージの
符号をそれぞれ記憶しておくことで、大量の記憶容量を
用いずにプログレッシブ符号化を実現でき、小型で低価
格の符号化装置を実現できる。
(Effects of the Invention) As described above, by using the image signal coding apparatus of the present invention, the codes of each stage of progressive coding are stored, so that the progressive coding can be performed without using a large storage capacity. Coding can be realized, and a compact and low-priced coding device can be realized.

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

第1図(a)は第1の発明の画像信号の符号化装置の一
実施例を示すブロック図、第1図(b)は第2の発明の
画像信号の符号化装置の一実施例を示すブロック図、第
2図(a)、(b)は各ステージにおいて伝送すべき量
子化インデックスの位置の説明図である。 図において、 1…ブロック読み出し部、2…DCT変換部、3…量子化
部、4…符号化部、6…符号記憶部、7…符号伝送部、
8…位置記憶部。
FIG. 1 (a) is a block diagram showing an embodiment of an image signal encoding apparatus of the first invention, and FIG. 1 (b) is an embodiment of an image signal encoding apparatus of the second invention. The block diagrams shown in FIGS. 2A and 2B are explanatory diagrams of the positions of the quantization indexes to be transmitted in each stage. In the figure, 1 ... block reading unit, 2 ... DCT conversion unit, 3 ... quantization unit, 4 ... encoding unit, 6 ... code storage unit, 7 ... code transmission unit,
8 ... Position storage unit.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】複数の画素からなるブロック単位で画像信
号を読み出すブロック読み出し部と、 上記ブロック単位に直交変換を施して複数の変換係数を
求める直交変換部と、上記複数の変換係数を量子化して
複数の量子化インデックスを出力する量子化部と、 上記複数の量子化インデックスを複数のステージに分割
して伝送するために各ステージにおいて伝送すべき量子
化インデックスのブロック内の位置を記憶する位置記憶
部と、 上記位置に基づき上記量子化インデックスを可変長符号
化して各ステージに対応する符号を出力する符号化部
と、 上記符号を各ステージ毎に記憶する符号記憶部と、 上記符号記憶部に記憶された上記符号を第1ステージか
ら順番に各ステージ毎に伝送する符号伝送部とで構成さ
れる画像信号の符号化装置。
1. A block reading unit for reading an image signal in a block unit composed of a plurality of pixels, an orthogonal transform unit for performing a orthogonal transform in the block unit to obtain a plurality of transform coefficients, and quantizing the plurality of transform coefficients. And a position for storing the position in the block of the quantization index to be transmitted in each stage in order to divide and transmit the plurality of quantization indexes into a plurality of stages. A storage unit, a coding unit that performs variable-length coding on the quantization index based on the position and outputs a code corresponding to each stage, a code storage unit that stores the code for each stage, and the code storage unit And an image signal encoding device configured to transmit the above-described code stored in step 1 in order from the first stage to each stage.
【請求項2】複数の画素からなるブロック単位で画像信
号を読み出すブロック読み出し部と、 上記ブロック単位に直交変換を施して複数の変換係数を
求める直交変換部と、 上記複数の変換係数を量子化して複数の量子化インデッ
クスを出力する量子化部と、 上記複数の量子化インデックスを複数のステージに分割
して伝送するために各ステージにおいて伝送すべき量子
化インデックスのブロック内の位置を記憶する位置記憶
部と、 上記位置に基づき上記量子化インデックスを可変長符号
化して各ステージに対応する符号を出力する符号化部
と、 第2ステージ以降の各ステージの上記符号を各ステージ
毎に記憶する符号記憶部と、 まず上記符号化部から出力される第1ステージの符号を
伝送し次に上記符号記憶部に記憶された符号を第2ステ
ージから順番に各ステージ毎に伝送する符号伝送部とで
構成される画像信号の符号化装置。
2. A block reading unit for reading an image signal in a block unit composed of a plurality of pixels, an orthogonal transform unit for performing a orthogonal transform in the block unit to obtain a plurality of transform coefficients, and quantizing the plurality of transform coefficients. And a position for storing the position in the block of the quantization index to be transmitted in each stage in order to divide and transmit the plurality of quantization indexes into a plurality of stages. A storage unit, a coding unit that performs variable-length coding on the quantization index based on the position and outputs a code corresponding to each stage, and a code that stores the code of each stage after the second stage for each stage. The storage unit, first transmitting the code of the first stage output from the encoding unit, and then transmitting the code stored in the code storage unit to the second stream. Encoding apparatus of the image signal composed of over di a code transmitter for transmitting in sequence for each stage.
JP17926989A 1989-07-11 1989-07-11 Image signal encoding device Expired - Lifetime JPH0822063B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17926989A JPH0822063B2 (en) 1989-07-11 1989-07-11 Image signal encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17926989A JPH0822063B2 (en) 1989-07-11 1989-07-11 Image signal encoding device

Publications (2)

Publication Number Publication Date
JPH0344187A JPH0344187A (en) 1991-02-26
JPH0822063B2 true JPH0822063B2 (en) 1996-03-04

Family

ID=16062889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17926989A Expired - Lifetime JPH0822063B2 (en) 1989-07-11 1989-07-11 Image signal encoding device

Country Status (1)

Country Link
JP (1) JPH0822063B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2802378B2 (en) * 1992-03-16 1998-09-24 大日本スクリーン製造株式会社 Decompression method of compressed image data
JP4001946B2 (en) * 1995-12-04 2007-10-31 ソニー株式会社 Playback device
JP2005286863A (en) * 2004-03-30 2005-10-13 Secom Co Ltd ENCODED SIGNAL SEPARATING DEVICE, ENCODED SIGNAL SYNTHESIS DEVICE, AND ENCODED SIGNAL SEPARATING SEPARATION SYSTEM

Also Published As

Publication number Publication date
JPH0344187A (en) 1991-02-26

Similar Documents

Publication Publication Date Title
KR100253931B1 (en) Method and apparatus for decoding digital image sequence
KR100944282B1 (en) DCT Compression with VOLUMO-RIC Coding
EP1834487B1 (en) Method for improved entropy coding
US5714950A (en) System for variable-length-coding and variable-length-decoding digitaldata
CN113613004A (en) Image encoding method, image encoding device, electronic device, and storage medium
CN1058689A (en) Use the data compression of feedforward quantization estimator
WO1999004553A2 (en) Image compression
KR100510756B1 (en) Image decoding apparatus and method and image reproducing apparatus
CN100553151C (en) Apparatus and method for encoding various descriptions
CN1875635A (en) Transform domain sub-sampling for video transcoding
JPH08289294A (en) Animation image compression system by adaptive quantization
KR100267125B1 (en) Compressed digital video sequence decoding and display method and compressed digital video information decoding apparatus
JP3880088B2 (en) Encoding device and decoding device
JPH0822063B2 (en) Image signal encoding device
JPH0822062B2 (en) Image signal encoding device
JPH02122767A (en) Encoding/decoding system for picture signal
JPH0683442B2 (en) Image signal coding method and apparatus
JPH06113140A (en) Image processing device
JPH02171084A (en) System and device for coding picture signal
US20090074059A1 (en) Encoding method and device for image data
KR950008640B1 (en) Image compression coding method and decoding method for bit fixation
JPH02161874A (en) Picture signal coding system and device therefor
RU2261532C1 (en) Method for compressing and restoring messages
JPH0516226B2 (en)
JPH04104662A (en) Picture signal encoding device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080304

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090304

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090304

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100304

Year of fee payment: 14

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100304

Year of fee payment: 14