JPH02112384A - Picture signal compressing and encoding device - Google Patents

Picture signal compressing and encoding device

Info

Publication number
JPH02112384A
JPH02112384A JP63263969A JP26396988A JPH02112384A JP H02112384 A JPH02112384 A JP H02112384A JP 63263969 A JP63263969 A JP 63263969A JP 26396988 A JP26396988 A JP 26396988A JP H02112384 A JPH02112384 A JP H02112384A
Authority
JP
Japan
Prior art keywords
data
image data
read
stored
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.)
Pending
Application number
JP63263969A
Other languages
Japanese (ja)
Inventor
Osamu Saito
理 斉藤
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP63263969A priority Critical patent/JPH02112384A/en
Publication of JPH02112384A publication Critical patent/JPH02112384A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the capacity of a memory storing picture data after orthogonal transformation by compressing the orthogonally transformed picture data to picture data, which are composed of the set of data having a prescribed length, and after that, encoding the picture data. CONSTITUTION:A picture signal compressing and encoding device is equipped with an orthogonal transforming means 14 to execute the two-dimensional orthogonal transformation of digital picture data, data compressing means 16 and 18 to compress the picture data which are orthogonally transformed, a storing means 20, a reading control means 26 and an encoding means 22 to encode the picture data which are read from the storing means. A transformation coefficient, which is orthogonally transformed, is compressed, after that, stored to the storing means 20, read and encoded. Thus, the capacity of the storing means 20 can be reduced and the control of an address is facilitated.

Description

【発明の詳細な説明】 皮亙且I 本発明は画像信号圧縮符号化装置に関し、特に2次元直
交変換符号化において、直交変換後のデータを一時蓄積
するメモリの容量を小さくする画像信号圧縮符号化装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an image signal compression encoding device, and in particular to an image signal compression encoding device that reduces the capacity of a memory for temporarily storing data after orthogonal transformation, particularly in two-dimensional orthogonal transformation encoding. related to conversion equipment.

11韮l 電子スチルカメラにより撮影された画像データのような
ディジタル画像データをメモリに記憶する場合には、デ
ータ量を減らしてメモリの記憶容量を少なくするため、
各種の圧縮符号化が行われている。特に2次元直交変換
符号化は、大きな圧縮率で符号化を行うことができ、か
つ符号化に伴う画像歪も抑圧できることから、広く用い
られている。
11. When storing digital image data such as image data taken by an electronic still camera in memory, in order to reduce the amount of data and the storage capacity of the memory,
Various compression encoding methods are used. In particular, two-dimensional orthogonal transform encoding is widely used because it can perform encoding at a high compression rate and can also suppress image distortion caused by encoding.

このような2次元直交変換された画像データ、すなわち
変換係数は、所定の閾値と比較され、閾値以下の部分の
切り捨て(係数切り捨て)が行われる0次に所定の量子
化ステップ値により除算されてステップ幅により量子化
され、その後、符号化が行われる。ところで、2次元直
交変換された変換係数、すなわち画像データは、低次の
変換係数が変換前の画像データの低域周波数成分を担い
、この部分が画像再生において重要なデータとなる。す
なわち、変換係数の低次の部分のデータに劣化が生ずる
と、再生画像信号の品質が低下する。
The image data that has been subjected to such two-dimensional orthogonal transformation, that is, the transformation coefficients, is compared with a predetermined threshold value, and the portion below the threshold value is truncated (coefficient truncation). Quantization is performed according to the step width, and then encoding is performed. By the way, in transform coefficients that have been subjected to two-dimensional orthogonal transformation, that is, image data, low-order transform coefficients carry low frequency components of the image data before transformation, and this portion becomes important data in image reproduction. That is, when data in the low-order portion of the transform coefficients deteriorates, the quality of the reproduced image signal deteriorates.

したがって、例えばデータの伝送や記憶を一足のデータ
量で打ち切るような画像信号の処理システムにおいては
、2次元直交変換された画像データを低次の変換係数か
ら高次の変換係数へと順次符号化して伝送または記憶し
、所定のデータ量になった時に符号化および伝送または
記憶を打ち切る方式が用いられている。
Therefore, for example, in an image signal processing system where data transmission or storage is stopped at a single data amount, image data that has undergone two-dimensional orthogonal transformation is encoded sequentially from low-order transform coefficients to high-order transform coefficients. A method is used in which the data is transmitted or stored, and the encoding and transmission or storage are terminated when a predetermined amount of data is reached.

このような符号化は、変換係数が高次になるにつれてO
となることが多いため、Oの値のデータの続く長さ、0
のランレングスと、0でない値のデータの値、非零の振
幅を求め、これをハフマン符号化することによって行わ
れる。
Such encoding reduces O as the transform coefficients become higher order.
Since this is often the case, the length of the O value data is 0.
This is done by finding the run length, non-zero data value, and non-zero amplitude, and then Huffman encoding them.

従来、このようにブロックごとに2次元直交変換された
画像データを符号化するためには、2次元直交変換され
た1画面分の画像データを一旦蓄積するバッファメモリ
を用いている。すなわちブロックごとに2次元直交変換
された1画面分の画像データをバッファメモリに記憶し
、このデータを各ブロックの低域のデータから順に読み
出して上記の0のランレングスおよび非零の振幅を求め
、これをハフマン符号化して、伝送または記憶していた
。このようにブロック化され、変換された画像データを
1画面分記憶するバッファメモリを必要とするため、回
路規模が増大する欠点があった。さらに、バッファメモ
リから読み出す場合のアドレス制御もアドレスデータが
多くなるため、面倒であった・ 1−塑 本発明はこのような従来技術の欠点を解消し、直交変換
後の画像データを記憶するメモリの容量を少なくするこ
とのできる画像信号圧縮符号化装置を提供することを目
的とする。
Conventionally, in order to encode image data that has been subjected to two-dimensional orthogonal transformation for each block, a buffer memory is used to temporarily store one screen's worth of image data that has been subjected to two-dimensional orthogonal transformation. That is, one screen's worth of image data that has been subjected to two-dimensional orthogonal transformation for each block is stored in a buffer memory, and this data is read out in order from the low-frequency data of each block to find the run length of 0 and the amplitude of non-zero. , this was Huffman encoded and then transmitted or stored. Since a buffer memory is required to store one screen worth of image data that has been divided into blocks and converted in this way, there is a drawback that the circuit size increases. Furthermore, address control when reading from the buffer memory is troublesome because the amount of address data increases.1-Plastic The present invention eliminates the drawbacks of the prior art and provides a memory for storing image data after orthogonal transformation. An object of the present invention is to provide an image signal compression encoding device that can reduce the capacity of the image signal.

1に月j 本発明によれば、1つの画面を構成するディジタル画像
データを複数のブロックに分割して各ブロックの画像デ
ータについて2次元直交変換符号化を行う画像信号圧縮
符号化装置は、複数のブロックに分割されたデジタル画
像データを2次元直交変換する直交変換手段と、直交変
換手段により直交変換された画像データを所定の長さの
データの集合によって構成される画像データに圧縮する
データ圧縮手段と、データ圧縮手段により圧縮された画
像データを記憶する記憶手段と、記憶手段に記憶された
画像データを、低次のデータから順に読み出すように制
御する読み出し制御手段と、記憶手段から読み出された
画像データを符号化する符号化手段とを有し、読み出し
制御手段は、データ圧縮手段により圧縮され、記憶手段
に記憶されたブロックごとの画像データの数に応じた相
対アドレスを用いて読み出しアドレスを制御するもので
ある。
According to the present invention, an image signal compression encoding device that divides digital image data constituting one screen into a plurality of blocks and performs two-dimensional orthogonal transform encoding on the image data of each block is configured to orthogonal transformation means for two-dimensional orthogonal transformation of digital image data divided into blocks; and data compression for compressing the image data orthogonally transformed by the orthogonal transformation means into image data constituted by a set of data of a predetermined length. storage means for storing the image data compressed by the data compression means; readout control means for controlling the image data stored in the storage means to be read out in order from lower order data; and reading control means for reading out the image data from the storage means. and an encoding means for encoding the image data compressed by the data compression means and read using a relative address corresponding to the number of image data for each block stored in the storage means. It controls addresses.

支1撚旦1」 次に添付図面を参照して本発明による画像信号圧縮符号
化装置の実施例を詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of an image signal compression encoding apparatus according to the present invention will be described in detail with reference to the accompanying drawings.

第1図には本発明による画像信号圧縮符号化装置の一実
施例が示されている。
FIG. 1 shows an embodiment of an image signal compression encoding device according to the present invention.

本装置はフレームバッファ12を有する。フレームバッ
ファ12には電子スチルカメラにより撮像された1フレ
一ム分のスチル画像データが入力端子lOを通して入力
され、記憶される。フレームバッファ12に記憶された
画像データは複数のブロックに分割されてブロックごと
に読み出され、2次元直交変換部14に送られる。2次
元直交変換部14はブロックごとの画像データを2次元
直交変換する。2次元直交変換としては、ディスクリー
トコサイン変換、アダマール変換等の周知の直交変換が
用いられる。
The device has a frame buffer 12. Still image data for one frame captured by an electronic still camera is input to the frame buffer 12 through an input terminal IO and is stored therein. The image data stored in the frame buffer 12 is divided into a plurality of blocks, read out block by block, and sent to the two-dimensional orthogonal transformation section 14. The two-dimensional orthogonal transform unit 14 performs two-dimensional orthogonal transform on the image data for each block. As the two-dimensional orthogonal transformation, well-known orthogonal transformations such as discrete cosine transformation and Hadamard transformation are used.

2次元直交変換部14において2次元直交変換されたブ
ロックごとの画像データは第3図に示すように縦横に配
列され、左上の部分に低次のデータが配列され、矢印の
方向に向かうにつれて高次のデータとなる。2次元直交
変換部14の出力は量子化部1Bに送られる。
The image data for each block that has been subjected to two-dimensional orthogonal transformation in the two-dimensional orthogonal transformation unit 14 is arranged vertically and horizontally as shown in FIG. The following data will be obtained. The output of the two-dimensional orthogonal transform section 14 is sent to the quantization section 1B.

量子化部16は、2次元直交変換部14において2次元
直交変換された画像データ、すなわち変換イオ1数に対
して係数切り捨ておよび量子化を行う。係数切り捨ては
、直交変換された画像デー・夕を所定の閾値と比較し、
閾値以下の部分を切り捨てるものである。量子化は、係
数切り捨てを行われた画像データを所定の量子化ステッ
プ値により除算し、ステップ幅による量子化を行うもの
である。
The quantization unit 16 performs coefficient truncation and quantization on the image data subjected to the two-dimensional orthogonal transformation in the two-dimensional orthogonal transformation unit 14, that is, the number of transformed io1s. Coefficient truncation is performed by comparing orthogonally transformed image data with a predetermined threshold,
The part below the threshold value is discarded. Quantization is performed by dividing the image data whose coefficients have been truncated by a predetermined quantization step value, and performing quantization based on the step width.

量子化部16の出力は、ランレングス振幅符号化部18
に送られる。ランレングス振幅符号化部18は、量子化
部1Bから送られる量子化された画像データのOのラン
レングスおよび非零の振幅の符号化を行う。すなわち、
量子化された画像データを第4図に示すように低次の部
分から高次の部分へとジグザグ状に処理し、第5図に示
すように、0のランレングスおよび非零の振幅をセット
にして符号化を行う、量子化された画像データは低次の
部分においてはOでない値をとるが、高次の部分は第4
図に示すようにジグザグ状に読み出した場合に、Oが続
くことが多くなる。そこで、量子化された各画像デ・−
夕をそのまますべて後述するハフマン符号化するのは効
率が悪いため、Oの続く長さ、すなわちOのランレング
スを求め、これとその後に出現するOでないデータの値
、すなわち非零の振幅とを第5図に示すように1つのセ
ットとして符号化する。同図に示すように、例えばOの
ランレングスを6ビツト、非零の振幅を3ビツト、非零
の各振幅レンジの内部におけるレベルを7ビツト、計I
Bビットで表し、1組のデータとする。
The output of the quantization section 16 is sent to the run length amplitude encoding section 18.
sent to. The run length amplitude encoding section 18 encodes the O run length and non-zero amplitude of the quantized image data sent from the quantization section 1B. That is,
The quantized image data is processed in a zigzag manner from low-order parts to high-order parts as shown in Figure 4, and the run length of 0 and non-zero amplitude are set as shown in Figure 5. The quantized image data that is encoded takes a value other than O in the low-order part, but the high-order part takes a
When read out in a zigzag pattern as shown in the figure, O's often follow. Therefore, each quantized image de-
Since it is inefficient to perform Huffman encoding of all data as it is, which will be described later, we calculate the length of O, that is, the run length of O, and calculate the value of non-O data that appears after that, that is, the non-zero amplitude. The data is encoded as one set as shown in FIG. As shown in the figure, for example, the run length of O is 6 bits, the non-zero amplitude is 3 bits, and the level within each non-zero amplitude range is 7 bits, for a total of I
It is represented by B bits and is one set of data.

ランレングス振幅符号化部18において第5図に示すよ
うに符号化されたデータは、フレームバッファ20に送
られる。フレームバッファ20はランレングス振幅符号
化部18から入力される画像データを1フレ一ム分記憶
するバッファである。フレームバッファ20に記憶され
るデータの例を第6図に示す、同図に示される例におい
ては、ブロック1のデータがアドレスOからアドレス1
5まで、ブロック2のデータがアドレス1Bからアドレ
ス27まで、ブロック3のデータがアドレス28からア
ドレス38までに、それぞれ格納されている。これは、
ランレングス振幅符号化部!8において処理された時に
非零のデータが、ブロックlには16個、ブロック2に
は12個、ブロック3には11個あったためであり、こ
れらの非零のデータがそれぞれOのランレングスととも
に1組のデータ(16ビツト)として1つのアドレスに
記憶されている。
The data encoded as shown in FIG. 5 by the run-length amplitude encoder 18 is sent to the frame buffer 20. The frame buffer 20 is a buffer that stores one frame of image data input from the run-length amplitude encoder 18. An example of data stored in the frame buffer 20 is shown in FIG. 6. In the example shown in FIG.
5, the data of block 2 is stored from address 1B to address 27, and the data of block 3 is stored from address 28 to address 38, respectively. this is,
Run-length amplitude encoder! This is because when processed in 8, there were 16 non-zero data in block l, 12 in block 2, and 11 in block 3, and these non-zero data each have a run length of O. It is stored in one address as one set of data (16 bits).

したがって、フレームバッファ20に記憶されるデータ
の敬は、各ブロックの非零のデータの数に応じて変化す
る。いいかえると、各ブロックにおいてOのデータが多
く出現し、0のランレングスが長い場合には、この部分
が圧縮されて非零のデータと合わせて第5図に示す1組
のデータとなるため、フレームバッファ20に記憶され
るデータの量が少なくなる。
Therefore, the value of data stored in the frame buffer 20 changes depending on the number of non-zero data in each block. In other words, if a lot of O data appears in each block and the run length of 0 is long, this part will be compressed and combined with non-zero data to form one set of data as shown in Figure 5. The amount of data stored in frame buffer 20 is reduced.

フレームバッファ20には読出書込制御部26が接続さ
れ、読出書込制御部26にはアドレス発生部30が接続
されている。アドレス発生部30は、第2図に示すよう
に、ポインタメモリ32.加算器34、インクリメンタ
36を有する。ポインタメモリ32はリングカウンタに
よって構成され、第7図に示すように、フレームバッフ
ァ20に記憶されるブロックごとのデータ数に応じたデ
ータが格納される。すなわち、第6図に示すようなフレ
ームバッファ20に記憶されるデータは、ブロックlが
16個、ブロック2が12個、ブロック3が11個であ
るから、これに対応してポインタメモリ32にはデータ
1612.11が記憶される。ポインタメモリ32に記
憶されるこのようなアドレスデータは、例えば6ビツト
とされる。
A read/write controller 26 is connected to the frame buffer 20, and an address generator 30 is connected to the read/write controller 26. As shown in FIG. 2, the address generation section 30 includes a pointer memory 32. It has an adder 34 and an incrementer 36. The pointer memory 32 is constituted by a ring counter, and as shown in FIG. 7, data corresponding to the number of data for each block stored in the frame buffer 20 is stored. That is, since the data stored in the frame buffer 20 as shown in FIG. Data 1612.11 is stored. Such address data stored in the pointer memory 32 is, for example, 6 bits.

ポインタメモリ32の出力は加算器34の一方の入力に
入力される。また、ポインタメモリ32の出力はインク
リメンタ3Bに入力される。インクリメンタ36は、ポ
インタメモリ32に格納されたデータの値に1を加算し
た値を再びポインタメモリ32に格納する。
The output of pointer memory 32 is input to one input of adder 34. Further, the output of the pointer memory 32 is input to the incrementer 3B. The incrementer 36 adds 1 to the value of the data stored in the pointer memory 32 and stores the value in the pointer memory 32 again.

加算器34の出力からは、後述するようににフレームバ
ッファ20の実アドレスを示すアドレスデータが出力さ
れ、読出書込制御部26を通してフレームバッファ20
に送られるとともに、このアドレスデータは加算器34
の他方の入力として入力される。
Address data indicating the real address of the frame buffer 20 is outputted from the output of the adder 34 as will be described later, and is sent to the frame buffer 20 through the read/write control section 26.
At the same time, this address data is sent to the adder 34.
is input as the other input.

各ブロックを構成するOのランレングスおよび非零のデ
ータの組がフレームバッファ20へ入力される時に、各
ブロックのこれらのデータ数、すなわち非零のデータの
数に応じたデータが、読出書込制御部26を通してポイ
ンタメモリ32に入力される1例えば、第7図に示すよ
うに、フレームバッファ20に記tl!されるブロック
ごとのデータ数に応じたデータ、18.12.11・・
・がポインタメモリ32に格納される。
When a set of O run lengths and non-zero data constituting each block is input to the frame buffer 20, data corresponding to the number of these data in each block, that is, the number of non-zero data, is read/written. For example, as shown in FIG. 7, tl! is input to the pointer memory 32 through the control unit 26 and written in the frame buffer 20. Data according to the number of data per block, 18.12.11...
. is stored in the pointer memory 32.

フレームバッファ20からのデータの読み出しにおいて
は、読出書込制御部26はまず最初にアドレス0を指定
L、フレームバッファ20のアドレス0に記憶されてい
る1番目のブロックの最初のデータを読み出す0次にポ
インタメモリ32から上記のデータ】6が読み出されて
加算器34に送られる。加算器34の他方の入力には上
記のアドレスOが入力され、加算器34においてデータ
16と加算され、加算された値18が次のアドレスとし
て、読出書込制御部26を通してフレームバッファ20
に出力される。
When reading data from the frame buffer 20, the read/write control unit 26 first specifies address 0 and reads the first data of the first block stored at address 0 of the frame buffer 20. The above data [6] is read out from the pointer memory 32 and sent to the adder 34. The above address O is input to the other input of the adder 34, and added to the data 16 in the adder 34, and the added value 18 is sent to the frame buffer 20 through the read/write controller 26 as the next address.
is output to.

これによりフレームバッファ20の゛アドレス16に記
tαされている2番目のブロックの最初のデータが読み
出される。さらに、ポインタメモリ32から次のデータ
12が読み出されて加算器34に送られる。加算器34
の他方の入力には上記のアドレス16が入力されており
、加算器34においてデータ12と加算され、加算され
た値28が次のアドレスとして1読出書込制御部28を
通してフレームバッファ20に出力される。これにより
フレームバッファ20のアドレス28に記憶されている
3番目のブロックの最初のデータが読み出される。
As a result, the first data of the second block written at address 16 of the frame buffer 20 is read out. Furthermore, the next data 12 is read from the pointer memory 32 and sent to the adder 34. Adder 34
The address 16 mentioned above is input to the other input of the adder 34, and is added to the data 12, and the added value 28 is output as the next address to the frame buffer 20 through the 1 read/write controller 28. Ru. As a result, the first data of the third block stored at address 28 of frame buffer 20 is read.

同様にしてポインタメモリ32からデータ11が読み出
され、フレームバッファ20のアドレス38に記憶され
ている4番目のブロックの最初のデータが読み出される
Similarly, data 11 is read from the pointer memory 32, and the first data of the fourth block stored at address 38 of the frame buffer 20 is read.

一方、フレームバッファ20に記憶された各ブロックの
最初のデータが読み出される毎に、インクリメンタ36
はポインタメモリ32に格納されたデータの値に1を加
算し、この値を再びポインタメモリ32に格納する。そ
してフレームバッファ20に記憶された各ブロックの最
初のデータがすべて読み出された後、読出書込制御部2
6は、ポインタメモリ32に格納されたデータの値を基
に、フレームバッファ20に記憶された各ブロックの2
番目のデータを読み出す、すなわち、ポインタメモリ3
2に格納されたデータの個に1を加算されたデータ1.
17,29.40・・・が読み出される。まず、1が読
み出され、111i目のブロックの2番目のデータが読
み出される0次に17が読み出され、2番目のブロック
の2番目のデータが読み出される。さらに、29が読み
出され、3番目のブロックの2番目のデータが読み出さ
れる。同様にして各ブロックの2番目のデータが読み出
される。
On the other hand, each time the first data of each block stored in the frame buffer 20 is read, the incrementer 36
adds 1 to the value of the data stored in the pointer memory 32, and stores this value in the pointer memory 32 again. After all the first data of each block stored in the frame buffer 20 is read out, the read/write control unit 2
6 indicates the value of each block stored in the frame buffer 20 based on the value of the data stored in the pointer memory 32.
Read the th data, i.e. pointer memory 3
Data 1 is obtained by adding 1 to the data stored in 2.
17, 29, 40, . . . are read out. First, 1 is read, and the second data of the 111i-th block is read. 0, then 17 is read, and the second data of the second block is read. Furthermore, 29 is read out, and the second data of the third block is read out. The second data of each block is read out in the same manner.

各ブロックの2番目のデータが読み出されると、同様に
して各ブロックの37If目以降のデータが読み出され
る。
When the second data of each block is read, the 37th If and subsequent data of each block are read in the same way.

このようにして各ブロックを構成するデータが低次のデ
ータから順に読み出される。
In this way, the data constituting each block is read out in order from the lowest order data.

このようにフレームバッファ20から読み出されたデー
タは、ハフマン符号化部22に送られ、ハフマン符号化
される。ハフマン符号化部22からの出力は出力端子2
4へ出力され1例えばメモリなどの記憶媒体に記憶され
る。ハフマン符号化部22からの出力はまた、送出ビッ
ト数累積部2Bへ送られる。送出ビャト数累積部2日の
出力は読出書込制御部2Bに接続されている。送出ビッ
ト数累積部28は、ハフマン符号化部22から出力され
るデータのビット数を累積し、所定のビット数に達する
と、その旨の出力を読出書込制御部26に出力する。
The data read out from the frame buffer 20 in this manner is sent to the Huffman encoding section 22 and subjected to Huffman encoding. The output from the Huffman encoder 22 is output from the output terminal 2.
4 and stored in a storage medium such as a memory. The output from the Huffman encoding section 22 is also sent to the transmission bit number accumulating section 2B. The output of the sending bit number accumulating section 2 is connected to the read/write control section 2B. The transmission bit number accumulation unit 28 accumulates the number of bits of data output from the Huffman encoding unit 22, and when a predetermined number of bits is reached, outputs an output to that effect to the read/write control unit 26.

読出書込制御部2Bは、これによってフレームバッファ
へ20のアドレスの進出を停止し、フレームバッファ2
0からのデータの読み出しが停止される。したがって、
フレームバッファ20から読み出されるデータは所定の
ビット数で停止されるから、出力端子24に出力するデ
ータを所定の量で打ち切ることができる。
Accordingly, the read/write control unit 2B stops advancing address 20 to the frame buffer, and
Reading data from 0 is stopped. therefore,
Since the data read from the frame buffer 20 is stopped at a predetermined number of bits, the data output to the output terminal 24 can be stopped at a predetermined amount.

本実施例によれば、上記のように、画像データを2次元
直交変換し、変換された変換係数の0のランレングスお
よび非零のデータをフレームバッファ2Gに記憶した後
、読み出しアドレスを制御することによって記憶された
各ブロックのデータを読み出している。従来は、変換さ
れた変換係数を0のランレングスおよび非零のデータと
することなく、そのまま−旦フレームバッファに記憶し
、これを読み出した後に0のランレングスおよび非零の
データとしていた。これに対して本実施例にヨレハ、変
換された変換係数を0のランレングスおよび非零のデー
タとしてフレームバッファ2oに記憶するから、フレー
ムバッファ20の容量ヲ少なくすることができる。
According to this embodiment, as described above, the image data is subjected to two-dimensional orthogonal transformation, and after storing the zero run length and non-zero data of the transformed transformation coefficients in the frame buffer 2G, the read address is controlled. The stored data of each block is read out. Conventionally, the converted transform coefficients are stored in a frame buffer as they are without being converted into run lengths of 0 and non-zero data, and then read out and converted into run lengths of 0 and non-zero data. On the other hand, in this embodiment, the converted conversion coefficients are stored in the frame buffer 2o as run lengths of 0 and non-zero data, so the capacity of the frame buffer 20 can be reduced.

また、フレームバッファ20からのデータの読み出しの
ためのアドレスはポインタメモリ32に記憶されたデー
タを相対アドレスとして用いるから、アドレスデータの
発生が容易であり、アドレス処理を簡易に行うことがで
きる。
Furthermore, since the address for reading data from the frame buffer 20 uses the data stored in the pointer memory 32 as a relative address, address data can be easily generated and address processing can be performed easily.

さらに、フレームバッファ20に記憶される各ブロック
を構成するデータの数が異なる場合にも、低次のデータ
から所定の数に達したところで読み出しを停止するから
、各ブロックから同数のデータを低次のものから順に読
み出し、符号化することができる。
Furthermore, even if the number of data constituting each block stored in the frame buffer 20 is different, reading is stopped when a predetermined number is reached from the lower order data, so the same number of data from each block is read out from the lower order data. It is possible to sequentially read and encode the data.

効  果 本発明によれば、直交変換された変換係数を圧縮した後
、記憶手段に記憶し、これを読み山して符号化している
。したがって、直交変換された変換係数をそのまま記憶
手段に記憶するものと比較して記憶手段の容量を少なく
することができる。
Effects According to the present invention, after the orthogonally transformed transform coefficients are compressed, they are stored in the storage means, and are read and encoded. Therefore, the capacity of the storage means can be reduced compared to the case where the orthogonally transformed transformation coefficients are stored as they are in the storage means.

また、データ圧縮されて記憶手段に記憶されたブロック
ごとの画像データの数に応じた相対アドレスを用いて読
み出しアドレスを制御するから、アドレスの発生に用い
るデータを少なくすることができ、アドレスの制御が容
易である。
In addition, since the readout address is controlled using a relative address according to the number of image data for each block compressed and stored in the storage means, it is possible to reduce the amount of data used to generate the address, and control the address. is easy.

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

第1図は、本発明による画像信号圧縮符号化装置の一実
施例を示すブロック図。 第2図は、第1図のアドレス発生部を示すブロック図。 第3図は、2次元直交変換されたブロックごとの画像デ
ータの例を示す図 第4図は、ランレングスおよび非零の振幅の符号化を行
う順序を示す図、 第5図は、ランレングスおよび非零の振幅の符号化を行
われたデータの例を示す図、 me図は、第1図のフレームバッファに記憶されるデー
タの例を示す図、 第7図は、第2図のポインタメモリに記憶されるデータ
の例を示す図である。 一部 の 号の説明 14、、.2次元直交変換部 1B、、、量子化部 18、、、ランレングス振幅符号化部 20、、、フレームバッファ 22、、、ハフマン符号化部 2B、、、読出書込制御部 30、、、アドレス発生部 尾3 図 ′#−、4 図 本5 図 尾6 ワ 奉 図
FIG. 1 is a block diagram showing an embodiment of an image signal compression encoding device according to the present invention. FIG. 2 is a block diagram showing the address generation section of FIG. 1. Figure 3 shows an example of image data for each block that has been subjected to two-dimensional orthogonal transformation. Figure 4 shows the order in which run lengths and non-zero amplitudes are encoded. Figure 7 shows an example of data stored in the frame buffer of Figure 1. Figure 7 shows an example of data encoded with non-zero amplitude. FIG. 3 is a diagram showing an example of data stored in a memory. Explanation of some issues 14... Two-dimensional orthogonal transform unit 1B, Quantization unit 18, Run-length amplitude encoding unit 20, Frame buffer 22, Huffman encoding unit 2B, Read/Write control unit 30, Address Generation part tail 3 Figure '#-, 4 Figure book 5 Figure tail 6 Wahozu

Claims (1)

【特許請求の範囲】 1、1つの画面を構成するディジタル画像データを複数
のブロックに分割して各ブロックの画像データについて
2次元直交変換符号化を行う画像信号圧縮符号化装置に
おいて、該装置は、 前記複数のブロックに分割されたデジタル画像データを
2次元直交変換する直交変換手段と、該直交変換手段に
より直交変換された前記画像データを所定の長さのデー
タの集合によって構成される画像データに圧縮するデー
タ圧縮手段と、 該データ圧縮手段により圧縮された画像データを記憶す
る記憶手段と、 該記憶手段に記憶された画像データを、低次のデータか
ら順に読み出すように制御する読み出し制御手段と、 前記記憶手段から読み出された画像データを符号化する
符号化手段とを有し、 前記読み出し制御手段は、前記データ圧縮手段により圧
縮され、前記記憶手段に記憶された前記ブロックごとの
画像データの数に応じた相対アドレスを用いて読み出し
アドレスを制御することを特徴とする画像信号圧縮符号
化装置。 2、請求項1に記載の装置において、前記読み出し制御
手段は、前記相対アドレスを格納する相対アドレス格納
手段と、該相対アドレス格納手段に格納された相対アド
レスをインクリメントするインクリメント手段とを有し
、前記相対アドレス格納手段から読み出される相対アド
レスを用いて前記記憶手段に記憶された前記ブロックご
との画像データを前記ブロックからそれぞれ1つずつ読
み出すごとに、前記相対アドレス格納手段に格納された
前記相対アドレスを前記インクリメント手段によってイ
ンクリメントすることにより、前記画像データを前記ブ
ロックの低次の画像データから順に読み出すことを特徴
とする画像信号圧縮符号化装置。
[Claims] 1. An image signal compression encoding device that divides digital image data constituting one screen into a plurality of blocks and performs two-dimensional orthogonal transform encoding on the image data of each block, the device comprising: , orthogonal transformation means for two-dimensional orthogonal transformation of the digital image data divided into the plurality of blocks, and image data constituted by a set of data of a predetermined length from the image data orthogonally transformed by the orthogonal transformation means. a data compression means for compressing the image data into a data compression means; a storage means for storing the image data compressed by the data compression means; and a readout control means for controlling the image data stored in the storage means to be read out in order from lower order data. and encoding means for encoding the image data read from the storage means, the readout control means compressing the image data for each block compressed by the data compression means and stored in the storage means. An image signal compression encoding device characterized in that a read address is controlled using a relative address according to the number of data. 2. The apparatus according to claim 1, wherein the read control means includes a relative address storage means for storing the relative address, and an increment means for incrementing the relative address stored in the relative address storage means, Each time the image data for each block stored in the storage means is read out one by one from the blocks using the relative address read from the relative address storage means, the relative address stored in the relative address storage means is An image signal compression encoding device characterized in that the image data is read out in order from the lower-order image data of the block by incrementing the image data by the incrementing means.
JP63263969A 1988-10-21 1988-10-21 Picture signal compressing and encoding device Pending JPH02112384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63263969A JPH02112384A (en) 1988-10-21 1988-10-21 Picture signal compressing and encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63263969A JPH02112384A (en) 1988-10-21 1988-10-21 Picture signal compressing and encoding device

Publications (1)

Publication Number Publication Date
JPH02112384A true JPH02112384A (en) 1990-04-25

Family

ID=17396738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63263969A Pending JPH02112384A (en) 1988-10-21 1988-10-21 Picture signal compressing and encoding device

Country Status (1)

Country Link
JP (1) JPH02112384A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010005614A (en) * 2008-05-30 2010-01-14 Kobukuro Techno Co Ltd Drum screen

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010005614A (en) * 2008-05-30 2010-01-14 Kobukuro Techno Co Ltd Drum screen

Similar Documents

Publication Publication Date Title
JP3069455B2 (en) Quantization and dequantization circuits in image data compression and decompression equipment
US5629779A (en) Image coding method and apparatus therefor
JP3298915B2 (en) Encoding device
US6330369B1 (en) Method and apparatus for limiting data rate and image quality loss in lossy compression of sequences of digital images
JPH06217274A (en) Image signal compressing device
JPS62295583A (en) Image reconstitution method from image data subjected to compression processing
JPS62173870A (en) Orthogonal transform coding method for picture data
KR0141875B1 (en) Run length decoder
US5694489A (en) Image signal processing apparatus with no change of signal processing mode in compression/expansion processing loop
JPH02112384A (en) Picture signal compressing and encoding device
JP2915922B2 (en) Image signal compression coding device
JP2931328B2 (en) Image signal compression coding device
JP2638179B2 (en) Image signal compression / encoding device and image signal compression / decompression system
JPH04971A (en) Picture encoding system
JPS62172885A (en) Orthogonal transform coding method for picture data
KR100234239B1 (en) Method and apparatus of quantizing for decreasing blocking effect
JP2700355B2 (en) Image data compression device
JPS63198420A (en) Picture compressing device
JP2000083214A (en) Image processor and image processing method
JPH04324779A (en) Picture encoder
JP2802136B2 (en) Image data encoding method and apparatus
KR0186113B1 (en) Variable-length coding data recording method of digital vcr
JPH01114179A (en) High efficient coding device
JPH05114240A (en) Image compression and coding apparatus
JP2521359B2 (en) Image coding device