JPH02161874A - Picture signal coding system and device therefor - Google Patents

Picture signal coding system and device therefor

Info

Publication number
JPH02161874A
JPH02161874A JP63119842A JP11984288A JPH02161874A JP H02161874 A JPH02161874 A JP H02161874A JP 63119842 A JP63119842 A JP 63119842A JP 11984288 A JP11984288 A JP 11984288A JP H02161874 A JPH02161874 A JP H02161874A
Authority
JP
Japan
Prior art keywords
encoding
unit
band
code
block
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.)
Granted
Application number
JP63119842A
Other languages
Japanese (ja)
Other versions
JPH059986B2 (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
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 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

Abstract

PURPOSE:To realize a progressive coding system corresponding to the transmission speed by dividing plural quantization indexes included in a block into plural bands, transforming the quantization indexes included in the divided bands into the variable length codes for each band, and transmitting the produced codes over all blocks. CONSTITUTION:The quantization indexes included in a block are divided into plural bands based on a prescribed band dividing method. Each of these divided bands includes a quantization index 108. These indexes 108 included in the bands are successively transformed into the variable length codes via a coding part 6 and transmitted. At the decoding side a picture is decoded based on the index 108 included in the first band and a rough picture is displayed. The fine pictures are successively decoded with use of the second and third band information and displayed. Thus a progressive coding system is attained.

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 although it is possible to reproduce an image that is exactly the same as the original image through encoding and decoding, it requires high compression. rate is not available. 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 due to the encoding and decoding processing, resulting in deterioration of image quality. High compression ratio can be obtained.

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

この方式においては、一般に変換係数の電力が一部の変
換係数に集中するので、電力の大きな変換係数に対して
多くの情報量を割り当て、電力の小さい変換係数には少
ない情報量しが割り当てないという情報量の偏りを設け
ることにより、大幅な情報量の圧縮が可能となる。
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 a small amount of information is not allocated to conversion coefficients with low power. By creating this 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 transformation 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 images.

さらに、多値画像の符号化方式として、プログレッシブ
符号化方式というものがある。このプログレッシブ符号
化方式とは、まず第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, if the amount of rough information of the entire image used in the first stage is kept small, even if the information transmission speed in communication is slow, the coarse image will be used as the first stage. can be displayed quickly. In this first step, the entire image is displayed, albeit 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 when 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.

このようなプログレッシブ符号化方式は、直交変換を用
いた符号化方式を応用することにより、容易に実現でき
る。すなわち、全部の直交変換を伝送する代わりに、ま
ず直交変換係数の内で電力が集中しているもののみを画
像全体について符号化して伝送する。そして、伝送され
た直交変換係数のみを逆変換して、復号された画像を表
示する。
Such a progressive encoding method can be easily realized by applying an encoding method using orthogonal transformation. 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.

また、このようなプログ1/ツシブな符号化方式に対し
て、通常の行単位に順次画像を符号化して復号化する方
式を、シーケンシャルな符号化方式と呼ぶ。この方式を
実現するためには、最初から全部の直交変換係数を符号
化すれば良い。
In addition, in contrast to such a program/tsive encoding method, a method in which images are sequentially encoded and decoded 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 using such a method of quantizing orthogonal transform coefficients and variable length encoding, there is a demand for realizing both progressive and sequential encoding methods. For example, if an image is encoded and the codes are stored, and the stored codes are read out and used as needed, the sequential coding method is sufficient. When transmitting accumulated image information, it is necessary to transmit it using a progressive encoding method.

ところが、直交変換係数を量子化して可変長符号化する
方式を用いて、プログレッシブまたはシーケンシャルな
符号化方式を実現しようとする場合、それぞれに対応す
る符号の構成は大きく異なってl−まう。そこで両方の
符号化方式を利用するためには、それぞれの符号化方式
に対応する符号を別々に蓄積しでおかなければならなく
なってしまう。すなわち、1つの画像に対してプログレ
ッシブ用とシーケンシャル用との2つの符号を蓄積する
ことになり、画像情報を蓄積するための容量を浪費して
しまうという問題点がある。
However, when attempting to implement a progressive or sequential encoding method using a method in which orthogonal transform coefficients are quantized and variable-length encoded, the configurations of the corresponding codes 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 information is wasted.

また、伝送速度に応じてプログレッシブの方法を変化さ
せたいという要求もある。例えば、伝送速度がある程度
高速の場合には、最初の第1段階から多くの直交変換係
数を符号化して、多くの情報を伝送してしまうことがで
きる。しかし、伝送速度が非常に低速の場合には、最初
の第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 the progressive code in advance with an accumulation of 1-, the number of orthogonal transform coefficients to be sent first must be fixed, and it is not possible to realize encoding according to such a transmission speed. .

本発明は、シーケンシャル用の符号を蓄積しておき、画
像情報の伝送の際にこれを復号してプログレッシブ用の
符号を生成することで、画像情報を効率良く蓄積してお
くことができ、しかも伝送速度に応じたプログレッシブ
符号化を実現できる、画像信号の符号化方式とその装置
を提供することを目自勺とする。
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. Our goal is to provide an image signal encoding method and device that can realize progressive encoding according to the transmission speed.

(問題点を解決するための手段) 本発明の画像信号の符号化方式は、複数の画素からなる
ブロック単位で画像信号を読み出し、上記ブロック単位
に直交変換を施L2て複数の変換係数を求め、上記変換
係数を量子化して各変換係数に対応する量子化インデッ
クスを求め、上記量子化インデックスを可変長符号化し
て生成される符号を蓄積しておき、画像情報を伝送する
際に上記符号を読み出して量子化インデックスを復号し
、上記ブロック内の複数の量子化インデックスを複数の
バンドに分割し、上記バンド毎にそのバンドに含まれる
上記量子化インデックスを可変長符号化して生成される
符号を全ブロックについで伝送することを特徴とする。
(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 L2 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 codes generated by variable length coding the above quantization index are stored, and the above codes are used when transmitting image information. Read and decode the quantization index, divide the plurality of quantization indexes in the block into a plurality of bands, and code the quantization index included in the band for each band by variable length encoding. It is characterized in that it is transmitted after all blocks.

また、本発明の画像信号符号化装置は、複数の画素から
なるブロック単位で画像信号を読み出すブロック読み出
し部と、上記ブロック単位に直交変換を施して複数の変
換係数を求める直交変換部と、上記変換係数を量子化し
て各変換係数に対応する量子化インデックスを出力する
量子化部と、上記ブロック内の複数の量子化インデック
スを複数のバンドに分割するj:めのバンド分割テーブ
ルを記憶するバンド分割テーブル記憶部と、上記バンド
分割テーブルを読み出して符号化すべきバンドに含まれ
る量子化インデックスの位置を記憶する符号化位置記憶
部と、上記符号化位置記憶部に記憶された上記位置に対
応する上記量子化インデックスのみを可変長符号化1−
で符号を出力する符号化部と、上記符号化部から出力さ
れる符号を蓄積する符号蓄積部と、上記符号蓄積部に蓄
積された符号を復号して量子化インデックスを出力する
復号化部と、上記符号化部から出力される符号を伝送す
る符号伝送部と、上記画像信号を符号化し蓄積する際に
は全バンドを符号化するよう上記符号化位置記憶部に位
置を記憶させ上記画像信号を符号化して符号を蓄積する
処理を制御し、画像情報を伝送する際には上記バンド毎
にそのバンドのみを可変長符号化するよう上記の符号化
位置記憶部に位置を記憶させた上で全ブロックに対して
蓄積された上記符号から量子化インデックスを復号して
上記バンドに含まれる上記量子化インデックスのみを符
号化して伝送する処理を制御する制御部とで構成される
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 block 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; and a band that stores a band division table for dividing the plurality of quantization indices in the block into a plurality of bands. a partitioning table storage section, an encoding position storage section that reads out the band division table and stores the position of a quantization index included in a band to be encoded, and a coding position storage section that corresponds to the position stored in the encoding position storage section. Only the above quantization index is variable length encoded 1-
an encoding unit that outputs a code, a code storage unit that stores the code output from the code storage unit, and 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 the position in the encoding position storage unit so that all bands are encoded when encoding and storing the image signal; Controls the process of encoding and accumulating codes, and when transmitting image information, stores the position in the encoding position storage unit so that only that band is variable length encoded for each band. and a control unit that controls a process of decoding the quantization index from the codes accumulated for all blocks, encoding and transmitting only the quantization index included in the band.

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

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

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

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

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

このように蓄積された画像情報をプログレッシブ符号化
を形態で伝送する際には、まず蓄積された符号を読み出
して、量子化インデックスを復号する。そして、ブロッ
ク内の複数の量子化インデックスをあらかじめ定められ
たバンド分割方法に従って複数のバンドに分割する。こ
うして分割された各バンドは、それぞれ1つ以上の量子
化インデックスを含んでいる。このようにバンド分割方
法をあらかじめ定めておく代わりに、画像の統計量や画
像情報の伝送速度に合わせて決定することもできる。
When transmitting the image information stored in this way 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 indexes included in the first band are variable-length coded for all blocks and transmitted. Next, the second band, the third
, and the quantization index included in each band is sequentially 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) An embodiment of the present invention will be described below 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によってD
CT変換を行うブロック単位に画像信号を読み出す。例
えば、1画素当たり8bitの画像信号を縦8画素、横
8画素の計64画素を1ブロツクとして読み出す。そし
て、DCT変換部2は読み出された1ブロツク分の画像
信号101の2次元離散コサイン変換を行い、8×8個
の変換係数102を計算する。
As shown in FIG.
Image signals are read out in block units for CT conversion. 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 calculates 8×8 transform coefficients 102.

こうして計算された変換係数102を受けて、量子化部
3は変換係数102をあらかじめ与えられた量子化ステ
ップで割ることにより量子−化を行い、各変換係数10
2に対応する量子化インデックス103を出力する。た
だし、ここでは全ての変換係数を同一の量子化ステップ
で量子化することにするが、各変換係数102のブロッ
ク内での位置に応じて、異なる量子化ステップを用いる
こともできる。
Upon receiving the transform coefficients 102 calculated in this way, the quantizer 3 performs quantization by dividing the transform coefficients 102 by a pre-given quantization step, and each transform coefficient 10
A quantization index 103 corresponding to 2 is output. 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. 2(a), (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. 2(a), 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. ing.

そして、まず量子化部3から出力される量子化インデッ
クスJ−03を符号イ旧−て蓄積する際には、制御部1
0から全バンドを符号化することを示す制御情報が、符
号化位置記憶部5に送られる。この制御情報を受けた符
号化位置記憶部5は、第2図(b)に示すようにバンド
分割テーブル記・境部4の内容とは無関係にブロック内
の全ての量子化インデックス103の位置を、符号化す
べき位置】05とi〜で記憶する。こ、二で位置105
において、“′1″は符号化する係数位置を示し、+1
011は符号化l−ない係数位置を示す。
First, when storing the quantization index J-03 output from the quantization unit 3 as a code, the control unit 1
Control information indicating that all bands are to be encoded starting from 0 is sent to the encoding position storage section 5. The encoding position storage unit 5 that has received this control information stores the positions of all quantization indexes 103 within the block, regardless of the contents of the band division table entry/boundary section 4, as shown in FIG. 2(b). , position to be encoded]05 and i~. This, second position 105
, "'1" indicates the coefficient position to be encoded, +1
011 indicates an unencoded coefficient position.

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

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

画像情報の伝送の際に、まず符号蓄積部7に蓄積された
106を読み出して、復号化部8において符号106の
復号処理を行い量子化インデックス108を復号する。
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.

この量子化インデックス108は、量子化インデックス
103と同一のものである。
This quantization index 108 is the same as the quantization index 103.

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

次に符号化部6は、符号化位置記憶部5から符号化スヘ
キフロック内の量子化インデックス108の位置105
を読み出し、復号化部8から出力される量子化インデッ
クス108の内で、位置105で示されるもののみを可
変長符号化して、符号116を出力する。
Next, the encoding unit 6 extracts the position 105 of the quantization index 108 in the encoded schematized block from the encoding position storage unit 5.
out of the quantization indexes 108 output from the decoding unit 8, only the one indicated at position 105 is subjected to variable length encoding, and a code 116 is output.

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

このような第1のバンドに含まれる量子化インデックス
108の符号化から伝送までの処理を画像内の全ブロッ
クについて行った後に、制御部10はブロック内の符号
化すべきバンドどして第2のバンドを示す情報を符号化
位置記憶部5に送る。そL7て、第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 10 converts the bands to be encoded in the block into the second band. Information indicating the band is sent to the encoding position storage section 5. Then, at L7, the quantization index 108 included in the second band is processed in the same way, and the code 116 is transmitted from the encoding/transmission unit 9.

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

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

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

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

さらに、符号蓄積部7に蓄積された符号106をそのま
ま伝送すれば、シーケンシャルな画像の伝送および復号
も実行できる。
Furthermore, by transmitting the code 106 stored in the code storage section 7 as it is, sequential image transmission and decoding can 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 indexes 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 description, the block size is 8×8, but other sizes and shapes may be used.

また、以上の説明においては画像信号として特に規定は
していないが、多値の白黒画像、RGBの各カラー成分
画像、Y・(R−Y)・(B−Y)等の輝度・色差信号
は、すべてこの画像信号の中に含まれる。
In the above explanation, image signals are not particularly specified, but include multivalued black and white images, RGB color component images, luminance/color difference signals such as Y, (RY), (B-Y), etc. are all included in this image signal.

同様に、テレビジョン信号等の動画像におけるフレーム
間差分信号においても適用でき、十分な効果を得ること
ができる。このフレーム間差分信号については、参考文
献:[テレビジョン バンドウイドス コンプレッショ
ン トランスミッション バイ モーション モンペン
セイティトインターフレーム コーディング(Tele
visionBandwidth Compressi
on Transmission by Motion
−compensated Interframe C
oding) Jアイ・イー・イー・イー コミュニケ
ーション マガジン(IEEE Communicat
ion Magazine)誌、1982年11月号、
24−30頁に詳細に述べられている。
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 (Television Bandwidth Compression Transmission
visionBandwidth Compressi
on Transmission by Motion
-compensated Interframe C
oding) J.I.E.E.
ion Magazine), November 1982 issue,
It is described in detail on pages 24-30.

(発明の効果) 以上述べたように本発明の画像信号の符号化方式および
その装置を用いることにより、シーケンシャル用の符号
を蓄積しておき、画像情報の伝送の際にこれを復号して
プログレッシブ用の符号を生成できる。従って、画像情
報を効率良く蓄積しておくことができ、しかも伝送速度
に応じたプログレッシブ符号化を実現できる。
(Effects of the Invention) As described above, by using the image signal encoding method and device of the present invention, sequential codes are accumulated and are 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・・・バンド分割テーブル記憶部
、580.符号化位置記憶部、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 FIGS. 2(a) and (b)
, (C) is an explanatory diagram showing a method of dividing a plurality of quantization indices in a block into a plurality of bands. In the figure, 1...Block reading unit, 2...DCT conversion unit,
3... Quantization section, 4... Band division table storage section, 580. Encoding position storage unit, 6... Encoding unit, 7.
... code storage section, 8. ...Decoding section, 9... Code transmission section, 10... Control section.

Claims (2)

【特許請求の範囲】[Claims] (1)複数の画素からなるブロック単位で画像信号を読
み出し、上記ブロック単位に直交変換を施して複数の変
換係数を求め、上記変換係数を量子化して各変換係数に
対応する量子化インデックスを求め、上記量子化インデ
ックスを可変長符号化して生成される符号を蓄積してお
き、画像情報を伝送する際に上記符号を読み出して量子
化インデックスを復号し、上記ブロック内の複数の量子
化インデックスを複数のバンドに分割し、上記バンド毎
にそのバンドに含まれる上記量子化インデックスを可変
長符号化して生成される符号を全ブロックについて伝送
する画像信号の符号化方式。
(1) Read the image signal in block units consisting of multiple pixels, perform orthogonal transformation on the block units to obtain multiple transform coefficients, and quantize the above transform coefficients to determine the quantization index corresponding to each transform coefficient. , store the codes generated by variable-length coding the above quantization index, read out the above code and decode the quantization index when transmitting image information, and decode the plurality of quantization indexes in the above block. An encoding method for an image signal in which the image signal is divided into a plurality of bands, and codes generated by variable-length encoding the quantization index included in each band for each band are transmitted for all blocks.
(2)複数の画素からなるブロック単位で画像信号を読
み出すブロック読み出し部と、上記ブロック単位に直交
変換を施して複数の変換係数を求める直交変換部と、上
記変換係数を量子化して各変換係数に対応する量子化イ
ンデックスを出力する量子化部と、上記ブロック内の複
数の量子化インデックスを複数のバンドに分割するため
のバンド分割テーブルを記憶するバンド分割テーブル記
憶部と、上記バンド分割テーブルを読み出して符号化す
べきバンドに含まれる量子化インデックスの位置を記憶
する符号化位置記憶部と、上記符号化位置記憶部に記憶
された上記位置に対応する上記量子化インデックスのみ
を可変長符号化して符号を出力する符号化部と、上記符
号化部から出力される符号を蓄積する符号蓄積部と、上
記符号蓄積部に蓄積された符号を復号して量子化インデ
ックスを出力する復号化部と、上記符号化部から出力さ
れる符号を伝送する符号伝送部と、上記画像信号を符号
化し蓄積する際には全バンドを符号化するよう上記符号
化位置記憶部に位置を記憶させ上記画像信号を符号化し
て符号を蓄積する処理を制御し、画像情報を伝送する際
には上記バンド毎にそのバンドのみを可変長符号化する
よう上記の符号化位置記憶部に位置を記憶させた上で全
ブロックに対して蓄積された上記符号から量子化インデ
ックスを復号して上記バンドに含まれる上記量子化イン
デックスのみを符号化して伝送する処理を制御する制御
部とで構成される画像信号の符号化装置。
(2) A block readout unit that reads out an image signal in blocks each consisting of a plurality of pixels; an orthogonal transformation unit that performs orthogonal transformation on each block to obtain a plurality of transform coefficients; and an orthogonal transform unit that performs orthogonal transformation on each block to obtain a plurality of transform coefficients, and quantizes the transform coefficients to obtain each transform coefficient. a quantization unit that outputs a quantization index corresponding to the block; 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; an encoding position storage unit that stores the position of a quantization index included in a band to be read and encoded; and a variable length encoding unit that encodes only the quantization index corresponding to the position stored in the encoding position storage unit. an encoding unit that outputs a code; a code storage unit that stores the code output from the encoding unit; and 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; Controls the process of encoding and accumulating codes, and when transmitting image information, stores the position in the encoding position storage unit so that only that band is variable-length encoded for each band, and then all An image signal encoding device comprising a control unit that controls a process of decoding a quantization index from the code accumulated for a block, 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 true JPH02161874A (en) 1990-06-21
JPH059986B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0495469A (en) * 1990-08-10 1992-03-27 Fujitsu Ltd Method and device for restoring image data

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0495469A (en) * 1990-08-10 1992-03-27 Fujitsu Ltd Method and device for restoring image data

Also Published As

Publication number Publication date
JPH059986B2 (en) 1993-02-08

Similar Documents

Publication Publication Date Title
US6031937A (en) Method and apparatus for video compression using block and wavelet techniques
US6757438B2 (en) Method and apparatus for video compression using microwavelets
US9762917B2 (en) Quantization method and apparatus in encoding/decoding
KR100253931B1 (en) Approximate mpeg decoder with compressed reference frames
US7729423B2 (en) Fixed bit rate, intraframe compression and decompression of video
US6185253B1 (en) Perceptual compression and robust bit-rate control system
EP1324618A2 (en) Encoding method and arrangement
JP2003531553A (en) Efficient video data access using fixed compression ratio
US5703647A (en) Apparatus for encoding/decoding a video signal
EP1892965A2 (en) Fixed bit rate, intraframe compression and decompression of video
JPH02161874A (en) Picture signal coding system and device therefor
EP1629675B1 (en) Fixed bit rate, intraframe compression and decompression of video
JPH02122767A (en) Encoding/decoding system for picture signal
JPH02161887A (en) System and device for encoding image signal
JPH02171084A (en) System and device for coding picture signal
US20090074059A1 (en) Encoding method and device for image data
JPH0344187A (en) Coder for picture signal
JPH0822062B2 (en) Image signal encoding device
JPH02170671A (en) System and device for encoding picture signal
KR100295802B1 (en) Image data compression device using multiple variable encoding tables
JPH02113775A (en) System and device for encoding image signal
JPH04104662A (en) Picture signal encoding device
JPH06315143A (en) Image processor
JP2958970B2 (en) Image transmission apparatus and image transmission method
JP3032281B2 (en) Image encoding method and image decoding method