JPH059986B2 - - Google Patents

Info

Publication number
JPH059986B2
JPH059986B2 JP11984288A JP11984288A JPH059986B2 JP H059986 B2 JPH059986 B2 JP H059986B2 JP 11984288 A JP11984288 A JP 11984288A JP 11984288 A JP11984288 A JP 11984288A JP H059986 B2 JPH059986 B2 JP H059986B2
Authority
JP
Japan
Prior art keywords
encoding
code
band
quantization index
quantization
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
JP11984288A
Other languages
Japanese (ja)
Other versions
JPH02161874A (en
Inventor
Keiji Nemoto
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
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP63119842A priority Critical patent/JPH02161874A/en
Publication of JPH02161874A publication Critical patent/JPH02161874A/en
Publication of JPH059986B2 publication Critical patent/JPH059986B2/ja
Granted legal-status Critical Current

Links

Description

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

(従来の技術) 多値画像(例えば1画素8bit,256レベル)に
対するデータ圧縮方式には、情報保存型の符号化
と情報非保存型の符号化がある。情報保存型の符
号化とは、符号化の過程に量子化を含まないもの
を指し、符号化・復号化の処理によつて原画像と
全く同一の画像を再生することが可能であるが、
高い圧縮率は得られない。一方情報非保存型の符
号化とは、符号化の過程でなんらかの量子化処理
を含むものを指し、符号化・復号化の処理によつ
て再生画像は量子化雑音を含み画品質の劣化を伴
うが、高い圧縮率が得られる。
(Prior Art) Data compression methods for multivalued images (for example, 8 bits per pixel, 256 levels) include information preservation type encoding and information non-preservation type encoding. Information-preserving encoding refers to encoding that does not include quantization in the encoding process, and it is possible to reproduce an image that is exactly the same as the original image through the encoding and decoding processes.
High compression ratio cannot be obtained. On the other hand, non-information preserving encoding refers to encoding that includes some kind of quantization processing during the encoding process, and the reproduced image contains quantization noise and deterioration of image quality due to the encoding/decoding process. However, a high compression ratio can be obtained.

情報非保存型の符号化の場合には一般に量子化
歪(S/N比)とデータ圧縮率(情報量)との関
係で評価されるが、良好なS/N比対情報量の関
係を実現するひとつの方式として直交変換後の変
換係数を量子化して可変長符号化する方式があ
る。
In the case of non-information preserving encoding, it is generally evaluated based on the relationship between quantization distortion (S/N ratio) and data compression rate (information amount), but it is important to have a good relationship between S/N ratio and information amount. One method for realizing this is a method in which transform coefficients after orthogonal transform are quantized and variable length coded.

この方式においては、一般に変換係数の電力が
一部の変換係数に集中するので、電力の大きな変
換係数に対して多くの情報量を割り当て、電力の
小さい変換係数には少ない情報量しか割り当てな
いという情報量の偏りを設けることにより、大幅
な情報量の圧縮が可能となる。
In this method, the power of the conversion coefficients is generally concentrated in some conversion coefficients, so a large amount of information is allocated to conversion coefficients with high power, and only a small amount of information is allocated to conversion coefficients with low power. By providing a bias in the amount of information, it becomes possible to significantly compress the amount of information.

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

さらに、多値画像の符号化方式として、プログ
レツシブ符号化方式というものがある。このプロ
グレツシブ符号化方式とは、まず第1段階として
画像全体の大まかな情報を用いて粗い画像を表示
し、順次段階的に細かな情報を用いてより精細な
画像を表示していく方法である。
Furthermore, there is a progressive encoding method as an encoding method for multivalued images. This progressive encoding method is a method in which, in the first step, rough information about the entire image is used to display a coarse image, and then finer information is used in stages to display a finer image. .

このプログレツシブ符号化方式において、第1
段階で用いられる画像全体の大まかな情報の情報
量を少なくしておけば、通信における情報の伝送
速度が遅い場合でも、とりあえずまず第1段階と
して粗い画像を高速に表示することができる。こ
の第1段階としては粗い画像ではあるが画像全体
が表示されるので、通常の画像を行単位に順次精
細な画像として復号していく場合に比て、より素
早く画像全体の情報を得ることができる。従つ
て、伝送速度が遅い場合でも利用者に与える負担
を大幅に軽減できる。
In this progressive encoding method, the first
By reducing the amount of rough information about the entire image used in each step, even if the information transmission speed in communication is slow, a rough image can be displayed at high speed as the first step. In this first step, the entire image is displayed, although it is a coarse image, so it is possible to obtain information about the entire image more quickly than when a normal image is decoded line by line as finer images. can. Therefore, even if the transmission speed is slow, the burden on the user can be significantly reduced.

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

このようなプログレツシブ符号化方式は、直交
変換を用いた符号化方式を応用することにより、
容易に実現できる。すなわち、全部の直交変換を
伝送する代わりに、まず直交変換係数の内で電力
が集中しているもののみを画像全体について符号
化して伝送する。そして、伝送された直交変換係
数のみを逆変換して、復号された画像を表示す
る。
This kind of progressive encoding method uses an encoding method using orthogonal transformation to
It can be easily achieved. That is, instead of transmitting all the orthogonal transforms, only those orthogonal transform coefficients in which power is concentrated are first encoded and transmitted for the entire image. Then, only the transmitted orthogonal transform coefficients are inversely transformed and the decoded image is displayed.

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

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

また、このようなプログレツシブな符号化方式
に対して、通常の行単位に順次画像を符号化して
復号化する方式を、シーケンシヤルな符号化方式
と呼ぶ。この方式を実現するためには、最初から
全部の直交変換係数を符号化すれば良い。
In addition, in contrast to such progressive encoding methods, a normal method of sequentially encoding and decoding images row by row is called a sequential encoding method. In order to implement this method, it is sufficient to encode all orthogonal transform coefficients from the beginning.

(発明が解決しようとする問題点) このような直交変換係数を量子化して可変長符
号化する方式を用いる場合、プログレツシブとシ
ーケンシヤルと両方の符号化方式を実現したいと
いう要求が生じる。例えば、画像を符号化して符
号を蓄積しておいて、必要に応じて蓄積された符
号を読み出して利用するような場合には、シーケ
ンシヤル符号化方式で十分である。しかしなが
ら、このように蓄積された画像の情報を伝送する
場合には、プログレツシブ符号化方式での伝送が
必要になる。
(Problems to be Solved by the Invention) When such a method of quantizing orthogonal transform coefficients and variable length coding is used, there arises a demand for realizing both progressive and sequential coding methods. For example, in a case where an image is encoded and the codes are stored, and the stored codes are read out and used as needed, a sequential encoding method is sufficient. However, when transmitting image information accumulated in this manner, transmission using a progressive encoding method is required.

ところが、直交変換係数を量子化して可変長符
号化する方式を用いて、プログレツシブまたはシ
ーケンシヤルな符号化方式を実現しようとする場
合、それぞれに対応する符号の構成は大きく異な
つてしまう。そこで両方の符号化方式を利用する
ためには、それぞれの符号化方式に対応する符号
を別々に蓄積しておかなければならなくなつてし
まう。すなわち、1つの画像に対してプログレツ
シブ用とシーケンシヤル用との2つの符号を蓄積
することになり、画像信号を蓄積するための容量
を浪費してしまうという問題点がある。
However, when trying to implement a progressive or sequential encoding method using a method of quantizing orthogonal transform coefficients and variable-length encoding, the configurations of the corresponding codes will differ greatly. Therefore, in order to use both encoding methods, codes corresponding to each encoding method must be stored separately. That is, two codes, one for progressive and one for sequential, are stored for one image, resulting in a problem that the capacity for storing image signals is wasted.

また、伝送速度に応じてプログレツシブの方法
を変化させたいという要求もある。例えば、伝送
速度がある程度高速の場合には、最初の第1段階
から多くの直交変換係数を符号化して、多くの情
報を伝送してしまうことができる。しかし、伝送
速度が非常に低速の場合には、最初の第1段階で
は少しの直交変換係数のみを符号化して画像全体
の非常に大まかな情報のみを少ない情報量で伝送
すべきとなる。しかしながら、あらかじめプログ
レツシブ用の符号を蓄積しておくためには、最初
に送るべき直交変換係数の個数などを固定してお
かなければならず、このような伝送速度に応じた
符号化を実現できない。
There is also a demand for changing the progressive method depending on the transmission speed. For example, when the transmission speed is high to a certain extent, many orthogonal transform coefficients can be encoded from the first stage, and a lot of information can be transmitted. However, if the transmission speed is very low, only a few orthogonal transform coefficients should be encoded in the first stage to transmit only very rough information about the entire image with a small amount of information. However, in order to store progressive codes in advance, it is necessary to fix the number of orthogonal transform coefficients to be sent first, and it is not possible to realize coding according to such a transmission rate.

本発明は、シーケンシヤル用の符号を蓄積して
おき、画像情報の伝送の際にこれを復号してプロ
グレツシブ用の符号を生成することで、画像情報
を効率良く蓄積しておくことができ、しかも伝送
速度に応じたプログレツシブ符号化を実現でき
る。画像信号の符号化方法とその装置を提供する
ことを目的とする。
The present invention enables image information to be efficiently accumulated by accumulating sequential codes and decoding them to generate progressive codes when transmitting image information. It is possible to realize progressive encoding according to the transmission speed. An object of the present invention is to provide a method and apparatus for encoding an image signal.

(問題点を解決するための手段) 本発明の画像信号の符号化方法は、複数の画素
からなるブロツク単位で画像信号を読み出し、上
記ブロツク単位に直交変換を施して複数の変換係
数を求め、上記変換係数を量子化して各変換係数
に対応する量子化インデツクスを求め、上記量子
化インデツクスを可変長符号化して生成される符
号を蓄積しておき、画像情報を伝送する際に上記
符号を読み出して量子化インデツクスを復号し、
上記ブロツク内の複数の量子化インデツクスを複
数のバンドに分割し、上記バンド毎にそのバンド
に含まれる上記量子化インデツクスを可変長符号
化して生成される符号を全ブロツクについて伝送
することを特徴とする。
(Means for Solving the Problems) The image signal encoding method of the present invention reads out an image signal in blocks each consisting of a plurality of pixels, performs orthogonal transformation on each block, and obtains a plurality of transform coefficients. The above transform coefficients are quantized to obtain a quantization index corresponding to each transform coefficient, the above quantization index is variable length encoded, the generated code is stored, and the above code is read out when transmitting image information. decode the quantization index using
The plurality of quantization indexes in the block are divided into a plurality of bands, and the quantization indexes included in the band are subjected to variable length coding for each band, and codes generated are transmitted for all blocks. do.

また、本発明の画像信号符号化装置は、複数の
画素からなるブロツク単位で画像信号を読み出す
ブロツク読み出し部と、上記ブロツク単位に直交
変換を施して複数の変換係数を求める直交変換部
と、上記変換係数を量子化して各変換係数に対応
する量子化インデツクスを出力する量子化部と、
上記ブロツク内の複数の量子化インデツクスを複
数のバンドに分割するためのバンド分割テーブル
を記憶するバンド分割テーブル記憶部と、上記バ
ンド分割テーブルを読み出して符号化すべきバン
ドに含まれる量子化インデツクスの位置を記憶す
る符号化位置記憶部と、上記符号化位置記憶部に
記憶された上記位置に対応する上記量子化インデ
ツクスのみを可変長符号化して符号を出力する符
号化部と、上記符号化部から出力される符号を蓄
積する符号蓄積部に蓄積された符号を復号して量
子化インデツクスを出力する復号化部と、上記符
号化部から出力される符号を伝送する符号伝送部
と、上記画像信号を符号化し蓄積する際には全バ
ンドを符号化するよう上記符号化位置記憶部に位
置を記憶させた上記画像信号を符号化して符号を
蓄積する処理を制御し、画像情報を伝送する際に
は上記バンド毎にそのバンドのみを可変長符号化
するよう上記の符号化位置記憶部に位置を記憶さ
せた上で全ブロツクに対して蓄積された上記符号
から量子化インデツクスを復号して上記バンドに
含まれる上記量子化インデツクスのみを符号化し
て伝送する処理を制御する制御部とで構成され
る。
Further, the image signal encoding device of the present invention includes a block readout unit that reads out an image signal in units of blocks each consisting of a plurality of pixels, an orthogonal transformation unit that performs orthogonal transformation on each of the blocks to obtain a plurality of transform coefficients, and the a quantization unit that quantizes the transform coefficients and outputs a quantization index corresponding to each transform coefficient;
A band division table storage unit that stores a band division table for dividing a plurality of quantization indexes in the block into a plurality of bands, and a band division table storage unit that stores a band division table for dividing a plurality of quantization indexes in the block into a plurality of bands, and a position of a quantization index included in a band to be encoded by reading out the band division table. an encoding position storage section for storing the above-mentioned position; an encoding section for variable-length encoding only the above-mentioned quantization index corresponding to the above-mentioned position stored in the above-mentioned encoding position storage section and outputting a code; a decoding unit that decodes the code stored in the code storage unit that stores the output code and outputs a quantization index; a code transmission unit that transmits the code output from the encoding unit; and the image signal. Controls the process of encoding and accumulating codes of the image signal whose position is stored in the encoding position storage unit so that all bands are encoded when encoding and storing the image information, and when transmitting the image information, For each band, the position is stored in the encoding position storage section so that only that band is variable-length coded, and then the quantization index is decoded from the code stored for all blocks to encode the band. and a control unit that controls processing for encoding and transmitting only the quantization index included in the quantization index.

(作用) 本発明の画像信号の符号化方法について説明す
る。
(Operation) The image signal encoding method of the present invention will be explained.

まず、複数の画素からなるブロツク単位で画像
信号を読み出す。このブロツクとしては、n×n
画素からなる正方形のブロツクを用いる場合が多
い。
First, image signals are read out in blocks each consisting of a plurality of pixels. This block is n×n
A square block consisting of pixels is often used.

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

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

こうして求められた量子化インデツクスを可変
長符号化して、生成される符号を蓄積しておく。
The quantization index thus obtained is subjected to variable length coding, and the generated codes are stored.

このように蓄積された画像情報をプログレツシ
ブ符号化を形態で伝送する際には、まず蓄積され
た符号を読み出して、量子化インデツクスを復号
する。そして、ブロツク内の複数の量子化インデ
ツクスをあらかじめ定められたバンド分割方法に
従つて複数のバンドに分割する。こうして分割さ
れた各バンドは、それぞれ1つ以上の量子化イン
デツクスを含んでいる。このようにバンド分割方
法をあらかじめ定めておく代わりに、画像の統計
量や画像情報の伝送速度に合わせて決定すること
もできる。
When transmitting image information stored in this manner in the form of progressive encoding, the stored code is first read out and the quantization index is decoded. Then, the plurality of quantization indices within the block are divided into a plurality of bands according to a predetermined band division method. Each band thus divided includes one or more quantization indices. Instead of predetermining the band division method in this way, it can also be determined in accordance with the image statistics and the transmission speed of image information.

こうして分割されたバンドの内で、まず第1の
バンドに含まれる量子化インデツクスのみを全ブ
ロツクについて可変長符号化して伝送する。次
に、第2のバンド、第3のバンドと順次各バンド
に含まれる量子化インデツクスを可変長符号化し
て伝送する。
Of the bands thus divided, only the quantization index included in the first band is variable-length coded for all blocks and transmitted. Next, the quantization indexes included in the second band, third band, and each band are variable-length coded and transmitted.

復号側では、まず第1のバンドに含まれる量子
化インデツクスに基づいて画像の復号を行い、粗
い画像を表示する。そして、第2,第3のバンド
の情報を得ることにより、順次精細な画像を復号
して表示する。
On the decoding side, the image is first decoded based on the quantization index included in the first band, and a rough image is displayed. Then, by obtaining information on the second and third bands, finer images are sequentially decoded and displayed.

このように各量子化インデツクスをバンド毎に
符号化して伝送することにより、プログレツシブ
な符号化を実現できる。
By encoding and transmitting each quantization index for each band in this way, progressive encoding can be realized.

(実施例) 以下、図面により本発明の一実施例を説明す
る。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図は本発明の画像信号の符号化方法を実現
する符号化装置の一例を示すブロツク図である。
なお、以下の説明では直交変換として2次元の離
散コサイン変換を用いているが、アダマール変換
などの直交変換を用いることも可能である。
FIG. 1 is a block diagram showing an example of an encoding device that implements the image signal encoding method of the present invention.
Note that in the following description, a 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図に示すように、ブロツク読み出し部1に
よつてDCT変換を行うブロツク単位に画像信号
を読み出す。例えば、1画素当たり8bitの画像信
号を縦8画素、横8画素の計64画素を1ブロツク
として読み出す。そして、DCT変換部2は読み
出された1ブロツク分の画像信号101の2次元
離散コサイン変換を行い、8×8個の変換係数1
02を計算する。
As shown in FIG. 1, a block readout section 1 reads out image signals in units of blocks that undergo DCT transformation. For example, an image signal of 8 bits per pixel is read out as one block of 64 pixels in total, 8 pixels vertically and 8 pixels horizontally. Then, the DCT transform unit 2 performs two-dimensional discrete cosine transform on the read image signal 101 for one block, and converts the 8×8 transform coefficients 1
Calculate 02.

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

第2図a,b,cは、ブロツク内の複数の量子
化インデツクスを複数のバンドに分割する方法を
示す説明図である。第2図aに示すように、バン
ド分割テーブル記憶部4には、ブロツク内の各量
子化インデツクス103の位置に対応して、その
量子化インデツクス103が含まれるバンドを示
す情報が記憶されている。
FIGS. 2a, b, and c are explanatory diagrams showing a method of dividing a plurality of quantization indices in a block into a plurality of bands. As shown in FIG. 2a, the band division table storage unit 4 stores information indicating the band in which the quantization index 103 is included, corresponding to the position of each quantization index 103 within the block. .

そして、まず量子化部3から出力される量子化
インデツクス103を符号化して蓄積する際に
は、制御部10から全バンドを符号化することを
示す制御情報が、符号化位置記憶部5に送られ
る。この制御情報を受けた符号化位置記憶部5
は、第2図bに示すようにバンド分割テーブル記
憶部4の内容とは無関係にブロツク内の全ての量
子化インデツクス103の位置を、符号化すべき
位置105として記憶する。ここで位置105に
おいて、“1”は符号化する係数位置を示し“0”
は符号化しない係数位置を示す。
First, when encoding and storing the quantization index 103 output from the quantization section 3, control information indicating that all bands are to be encoded is sent from the control section 10 to the encoding position storage section 5. It will be done. Encoding position storage unit 5 receiving this control information
As shown in FIG. 2b, the positions of all quantization indices 103 within the block are stored as positions 105 to be encoded, regardless of the contents of the band division table storage section 4. Here, at position 105, “1” indicates the coefficient position to be encoded, and “0”
indicates the coefficient position that is not encoded.

次に符号化部6は、符号化位置記憶部5から符
号化すべきブロツク内の量子化インデツクス10
3の位置105を読み出し、この位置105に対
応して量子化部3から出力される量子化インデツ
クス103を可変長符号化して、符号106を出
力する。ただし、この場合はブロツク内の全ての
量子化インデツクス103の位置が符号化すべき
位置105として指定されているので、ブロツク
内の全ての量子化インデツクス103を可変長符
号化して出力することになる。
Next, the encoding unit 6 retrieves the quantization index 10 in the block to be encoded from the encoding position storage unit 5.
3 is read out, and the quantization index 103 output from the quantization section 3 corresponding to this position 105 is variable-length coded and a code 106 is output. However, in this case, since the positions of all the quantization indexes 103 in the block are designated as the positions 105 to be encoded, all the quantization indexes 103 in the block are variable-length coded and output.

こうして出力される符号106は、符号蓄積部
7に蓄積される。
The code 106 thus output is stored in the code storage section 7.

画像情報の伝送の際に、まず符号蓄積部7に蓄
積された106を読み出して復号化部8において
符号106の復号処理を行い量子化インデツクス
108を復号する。この量子化インデツクス10
8は、量子化インデツクス103と同一のもので
ある。
When transmitting image information, first the code 106 stored in the code storage section 7 is read out, and the decoding section 8 decodes the code 106 to decode the quantization index 108. This quantization index 10
8 is the same as the quantization index 103.

そして制御部10は、ブロツク内の符号化すべ
きバンドとして、第1のバンドを示す制御情報を
符号化位置記憶部5に送る。この制御情報を受け
た符号化位置記憶部5は、バンド分割テーブル記
憶部4からバンドを示す情報を読み出し、第2図
cに示すように、第1のバンドを含まれる量子化
インデツクス108の位置を符号化すべき位置1
05として記憶する。
Then, the control section 10 sends control information indicating the first band as the band to be encoded in the block to the encoding position storage section 5. The encoding position storage unit 5 that has received this control information reads information indicating bands from the band division table storage unit 4, and as shown in FIG. 2c, the position of the quantization index 108 that includes the first band Position 1 to encode
Store as 05.

次に符号化部6は、符号化位置記憶部5から符
号化すべきブロツク内の量子化インデツクス10
8の位置105を読み出し、復号化部8から出力
される量子化インデツクス108の内で、位置1
05で示されるもののみを可変長符号化して、符
号116を出力する。
Next, the encoding unit 6 retrieves the quantization index 10 in the block to be encoded from the encoding position storage unit 5.
Position 105 of 8 is read out, and position 1 of the quantization index 108 output from the decoder 8
Only the code indicated by 05 is variable-length coded and a code 116 is output.

こうして出力された符号116は、符号伝送部
9から伝送される。
The code 116 thus output is transmitted from the code transmitter 9.

このような第1のバンドに含まれる量子化イン
デツクス108の符号化から伝送までの処理を画
像内の全ブロツクについて行つた後に、制御部1
0はブロツク内の符号化すべきバンドとして第2
のバンドを示す情報を符号化位置記憶部5に送
る。そして、第2のバンドに含まれる量子化イン
デツクス108が、同様に処理されて符号伝送部
9から符号116が伝送される。
After performing the processing from encoding to transmission of the quantization index 108 included in the first band for all blocks in the image, the control unit 1
0 is the second band to be encoded within the block.
information indicating the band is sent to the encoding position storage section 5. Then, the quantization index 108 included in the second band is similarly processed and the code 116 is transmitted from the code transmitter 9.

以下、同様に各バンドが順番に符号化されて伝
送され、ブロツク内の全てのバンドが符号化され
て伝送されるまで制御部10は処理を繰り返す制
御を行う。
Thereafter, each band is similarly encoded and transmitted in turn, and the control unit 10 performs control to repeat the process until all bands in the block are encoded and transmitted.

なお、ここでは各バンドを符号化する毎に復号
化部8で符号106の復号処理を行つて量子化イ
ンデツクス108を復号するものとした。その代
わりに、復号化部8に量子化インデツクス108
のメモリを設けており、第1のバンドを復号化す
るときのみこの復号処理を行い、以下のバンド符
号化するときにはこのメモリに記憶された量子化
インデツクス108を用いることもできる。
Here, it is assumed that the decoding unit 8 performs decoding processing of the code 106 and decodes the quantization index 108 every time each band is encoded. Instead, the decoding unit 8 receives the quantization index 108.
It is also possible to perform this decoding process only when decoding the first band, and use the quantization index 108 stored in this memory when encoding the following bands.

ここで、符号蓄積部7に蓄積された符号106
は全ての量子化インデツクス103を符号化した
ものであるので、シーケンシヤル用の符号となつ
ており、この符号をそのまま復号すれば、シーケ
ンシヤルな画像の復号が実行できる。
Here, the code 106 stored in the code storage unit 7
Since this is a code for all the quantization indexes 103, it is a sequential code, and if this code is decoded as it is, sequential image decoding can be executed.

また、画像情報の伝送の際には、ブロツク内の
各バンド毎に量子化インデツクス108を符号化
して伝送しているので、これを逆変換して復号す
ることによりプログレツシブな画像の伝送および
復号が実行できる。
Furthermore, when transmitting image information, the quantization index 108 is encoded and transmitted for each band within a block, so progressive image transmission and decoding can be achieved by inversely converting and decoding this. Can be executed.

さらに、符号蓄積部7に蓄積された符号106
をそのまま伝送すれば、シーケンシヤルな画像の
伝送および復号も実行できる。
Furthermore, the code 106 stored in the code storage unit 7
If the images are transmitted as they are, sequential image transmission and decoding can also be performed.

このように、シーケンシヤル用の符号を蓄積し
ておくのみで、シーケンシヤルとプログレツシブ
の両方を実現できることができる。
In this way, both sequential and progressive modes can be realized simply by storing sequential codes.

また、バンド分割テーブル記憶部4に記憶され
たバンド分割テーブルを変化させることにより、
全体のバンドの数や各バンドに含まれる量子化イ
ンデツクスの数を変化させることができる。これ
により、プログレツシブに画像情報を伝送する際
の各段階で伝送する情報量や、画像が段階的に精
細となる様子を自由に設定できる。従つて、様々
な伝送速度や画像を対象とした場合でも、それに
応じたプログレツシブ符号化方式を実現できる。
Furthermore, by changing the band division table stored in the band division table storage unit 4,
The total number of bands and the number of quantization indices included in each band can be changed. With this, it is possible to freely set the amount of information to be transmitted at 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 encoding method corresponding to the various transmission speeds and images.

以上の説明においてはブロツクサイズを8×8
として説明したが、別のサイズや形状を用いても
差し支え無い。
In the above explanation, the block size is 8×8.
However, other sizes and shapes may be used.

また、以上の説明においては画像信号として特
に規定はしていないが、多値の白黒画像、RGB
の各カラー成分画像、Y・(R−Y)・(B−Y)
等の輝度・色差信号は、すべてこの画像信号の中
に含まれる。同様に、テレビジヨン信号等の動画
像におけるフレーム間差分信号においても適用で
き、十分な効果を得ることができる。このフレー
ム間差分信号については、参考文献:「テレビジ
ヨン バンドウイドス コンプレツシヨン トラ
ンスミツシヨン バイ モーシヨン モンペンセ
イテイド インターフレーム コーデイング
(Television Bandwidth Compression
Transmission by Motioncompensated
Interframe Coding)」アイ・イー・イー・イ
ー・ コミユニケーシヨン マガジン(IEEE
Communication Magazine)誌、1982年11月号、
24−30頁に詳細に述べられている。
In addition, in the above explanation, although there is no specific specification as an image signal, multivalued black and white images, RGB
Each color component image of Y, (RY), (B-Y)
All luminance and color difference signals such as , etc. are included in this image signal. Similarly, the present invention can be applied to interframe difference signals in moving images such as television signals, and sufficient effects can be obtained. Regarding this interframe difference signal, please refer to the following reference: "Television Bandwidth Compression Transmission by Motion Interframe Coding".
Transmission by motioncompensated
Interframe Coding)” IE Communication Magazine (IEEE
Communication Magazine), November 1982 issue,
Details are given on pages 24-30.

(発明の効果) 以上述べたように本発明の画像信号の符号化方
法およびその装置を用いることにより、シーケン
シヤル用の符号を蓄積しておき、画像情報の伝送
の際にこれを復号してプログレツシブ用の符号を
生成できる。従つて、画像情報を効率良く蓄積し
ておくことができ、しかも伝送速度に応じたプロ
グレツシブ符号化を実現できる。
(Effects of the Invention) As described above, by using the image signal encoding method and apparatus of the present invention, sequential codes are stored and decoded when transmitting image information to generate progressive signals. can generate codes for Therefore, image information can be stored efficiently, and progressive encoding can be realized according to the transmission speed.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の画像信号の符号化方法を実現
する符号化装置の一例を示すブロツク図、第2図
a,b,cはブロツク内の複数の量子化インデツ
クスを複数のバンドに分割する方法を示す説明図
である。 図において、1…ブロツク読み出し部、2…
DCT変換部、3…量子化部、4…バンド分割テ
ーブル記憶部、5…符号化位置記憶部、6…符号
化部、7…符号蓄積部、8…復号化部、9…符号
伝送部、10…制御部。
FIG. 1 is a block diagram showing an example of an encoding device that implements the image signal encoding method of the present invention, and FIG. It is an explanatory diagram showing a method. In the figure, 1...block reading unit, 2...
DCT conversion unit, 3... Quantization unit, 4... Band division table storage unit, 5... Encoding position storage unit, 6... Encoding unit, 7... Code storage unit, 8... Decoding unit, 9... Code transmission unit, 10...Control unit.

Claims (1)

【特許請求の範囲】 1 複数の画素からなるブロツク単位で画像信号
を読み出し、上記ブロツク単位に直交変換を施し
て複数の変換係数を求め、上記変換係数を量子化
して各変換係数に対応する量子化インデツクスを
求め、上記量子化インデツクスを可変長符号化し
て生成される符号を蓄積しておき、画像情報を伝
送する際に上記符号を読み出して量子化インデツ
クスを復号し、上記ブロツク内の複数の量子化イ
ンデツクスを複数のバンドに分割し、上記バント
毎にそのバンドに含まれる上記量子化インデツク
スを可変長符号化して生成される符号を全ブロツ
クについて伝送する画像信号の符号化方法。 2 複数の画素からなるブロツク単位で画像信号
を読み出すブロツク読み出し部と、上記ブロツク
単位に直交変換を施して複数の変換係数を求める
直交変換部と、上記変換係数を量子化して各変換
係数に対応する量子化インデツクスを出力する量
子化部と、上記ブロツク内の複数の量子化インデ
ツクスを複数のバンドに分割するためのバンド分
割テーブルを記憶するバンド分割テーブル記憶部
と、上記バンド分割テーブルを読み出して符号化
すべきバンドに含まれる量子化インデツクスの位
置を記憶する符号化位置記憶部と、上記符号化位
置記憶部に記憶された上記位置に対応する上記量
子化インデツクスのみを可変長符号化して符号を
出力する符号化部と、上記符号化部から出力され
る符号を蓄積する符号蓄積部と、上記符号蓄積部
に蓄積された符号を復号して量子化インデツクス
を出力する復号化部と、上記符号化部から出力さ
れる符号を伝送する符号伝送部と、上記画像信号
を符号化し蓄積する際には全バンドを符号化する
よう上記符号化位置記憶部に位置を記憶させ上記
画像信号を符号化して符号を蓄積する処理を制御
し、画像情報を伝送する際には上記バンド毎にそ
のバンドのみを可変長符号化するよう上記の符号
化位置記憶部に位置を記憶させた上で全ブロツク
に対して蓄積された上記符号から量子化インデツ
クスを復号して上記バンドに含まれる上記量子化
インデツクスのみを符号化して伝送する処理を制
御する制御部とで構成される画像信号の符号化装
置。
[Scope of Claims] 1. An image signal is read out in units of blocks consisting of a plurality of pixels, orthogonal transformation is performed on the blocks to obtain a plurality of transform coefficients, and the transform coefficients are quantized to obtain a quantum signal corresponding to each transform coefficient. The code generated by variable-length encoding the quantization index is stored, and when transmitting image information, the code is read out and the quantization index is decoded. A method for encoding an image signal, in which a quantization index is divided into a plurality of bands, and codes generated by variable-length encoding the quantization index included in the band for each band are transmitted for all blocks. 2. A block readout unit that reads out an image signal in units of blocks consisting of a plurality of pixels, an orthogonal transformation unit that performs orthogonal transformation on the block units to obtain a plurality of transformation coefficients, and a quantization unit that quantizes the transformation coefficients to correspond to each transformation coefficient. a quantization unit that outputs a quantization index to be processed; a band division table storage unit that stores a band division table for dividing the plurality of quantization indices in the block into a plurality of bands; and a band division table storage unit that reads out the band division table. A coding position storage unit that stores the position of a quantization index included in a band to be coded; and a code is generated by variable length coding only the quantization index corresponding to the position stored in the coding position storage unit. a code storage unit that stores the code output from the code storage unit; a decoding unit that decodes the code stored in the code storage unit and outputs a quantization index; a code transmission unit that transmits the code output from the encoding unit; and a code transmission unit that stores a position in the encoding position storage unit so that all bands are encoded when encoding and storing the image signal, and encodes the image signal. When transmitting image information, the position is stored in the encoding position storage section so that only that band is variable-length encoded for each band, and then all blocks are stored. an image signal encoding device comprising: a control section for controlling a process of decoding a quantization index from the code stored in the video signal and encoding and transmitting only the quantization index included in the band;
JP63119842A 1988-05-16 1988-05-16 Picture signal coding system and device therefor Granted JPH02161874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63119842A JPH02161874A (en) 1988-05-16 1988-05-16 Picture signal coding system and device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63119842A JPH02161874A (en) 1988-05-16 1988-05-16 Picture signal coding system and device therefor

Publications (2)

Publication Number Publication Date
JPH02161874A JPH02161874A (en) 1990-06-21
JPH059986B2 true JPH059986B2 (en) 1993-02-08

Family

ID=14771611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63119842A Granted JPH02161874A (en) 1988-05-16 1988-05-16 Picture signal coding system and device therefor

Country Status (1)

Country Link
JP (1) JPH02161874A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2839943B2 (en) * 1990-08-10 1998-12-24 富士通株式会社 Image data restoration method and apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5096118A (en) * 1973-12-24 1975-07-31
JPS6318787A (en) * 1986-07-10 1988-01-26 Toshiba Corp Encoder for orthogonal transformation
JPS6373786A (en) * 1986-09-16 1988-04-04 Nippon Telegr & Teleph Corp <Ntt> Hierarchical burst communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5096118A (en) * 1973-12-24 1975-07-31
JPS6318787A (en) * 1986-07-10 1988-01-26 Toshiba Corp Encoder for orthogonal transformation
JPS6373786A (en) * 1986-09-16 1988-04-04 Nippon Telegr & Teleph Corp <Ntt> Hierarchical burst communication system

Also Published As

Publication number Publication date
JPH02161874A (en) 1990-06-21

Similar Documents

Publication Publication Date Title
US6757438B2 (en) Method and apparatus for video compression using microwavelets
US6031937A (en) Method and apparatus for video compression using block and wavelet techniques
US5301242A (en) Apparatus and method for motion video encoding employing an adaptive quantizer
US20010003544A1 (en) Image processing apparatus and method and storage medium
US20090003438A1 (en) Fixed bit rate, intraframe compression and decompression of video
US6185253B1 (en) Perceptual compression and robust bit-rate control system
CN113613004A (en) Image encoding method, image encoding device, electronic device, and storage medium
US5793892A (en) Method and system for compressing a pixel map signal using dynamic quantization
EP1324618A2 (en) Encoding method and arrangement
US5923787A (en) Quantization device and method, inverse-quantization device and method, and image processing device and method
JPH09200757A (en) Encoder, decoder and data transmitter
US20100002946A1 (en) Method and apparatus for compressing for data relating to an image or video frame
JP2003531553A (en) Efficient video data access using fixed compression ratio
US5703647A (en) Apparatus for encoding/decoding a video signal
JPH059986B2 (en)
JPH02122767A (en) Encoding/decoding system for picture signal
CA2639643C (en) Fixed bit rate, intraframe compression and decompression of video
JPH02161887A (en) System and device for encoding image signal
JPH0344187A (en) Coder for picture signal
US20090074059A1 (en) Encoding method and device for image data
JPH02171084A (en) System and device for coding picture signal
JPH02170671A (en) System and device for encoding picture signal
JPH0516226B2 (en)
JPH0822062B2 (en) Image signal encoding device
JPH06315143A (en) Image processor