JPH03266564A - Method and device for encoding picture - Google Patents

Method and device for encoding picture

Info

Publication number
JPH03266564A
JPH03266564A JP2064257A JP6425790A JPH03266564A JP H03266564 A JPH03266564 A JP H03266564A JP 2064257 A JP2064257 A JP 2064257A JP 6425790 A JP6425790 A JP 6425790A JP H03266564 A JPH03266564 A JP H03266564A
Authority
JP
Japan
Prior art keywords
encoding
data
image
block
scan table
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
JP2064257A
Other languages
Japanese (ja)
Inventor
Izuru Horiuchi
出 堀内
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2064257A priority Critical patent/JPH03266564A/en
Publication of JPH03266564A publication Critical patent/JPH03266564A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Image Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To raise the compression rate and to keep a high picture quality by selecting an encoding order of high compression rate in accordance with the distribution of picture information to be subjected to orthogonal conversion to encode information and using compressed and encoded data and data, which discriminates the encoding order, as encoded data of picture information. CONSTITUTION:The coefficient of a quantized DCT(discrete cosine transform) of each block is inputted to a scan table selecting part 16 to select a scan table. The code outputted from the scan table selecting part 16 is sent to a scan table 18 and a multiplexing part 21 and is multiplexed and is outputted to an output terminal 22. Thus, picture information is properly encoded though components after orthogonal conversion are not concentracted to a specific part, and the compression rate of the whole of the picture is raised and a high picture quality is kept.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は画像符号化方式、特に画像信号のデジタル処理
装置の分野に利用される直交変換を用いてデータ圧縮を
行なう画像符号化方式及びその装置に関するものである
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to an image encoding method, particularly an image encoding method that performs data compression using orthogonal transformation, which is used in the field of digital processing devices for image signals, and It is related to the device.

[従来の技術] 従来の直交変換による画像符号化方式においては、直交
変換後のデータを量子化した後、ブロック内の量子化さ
れたデータを予め定められた順序に従って符号化する方
式が知られている。
[Prior Art] In a conventional image encoding method using orthogonal transform, a method is known in which data after orthogonal transform is quantized and then the quantized data in a block is encoded in a predetermined order. ing.

以下、従来例について、第5図を用いて説明する。入力
端子51から入力された画像データは、ブロック化手段
52で8X8の画素のブロックに分割され、DCT部5
3でD CT (DiscreteCosine Tr
ansform)処理が行なわれる。各DCT係数は、
量子化マトリクス・テーブル55に従い量子化手段54
で量子化される。量子化手段54で量子化されたデータ
の1例を第6図に示す。
Hereinafter, a conventional example will be explained using FIG. 5. The image data inputted from the input terminal 51 is divided into blocks of 8×8 pixels by the blocking means 52, and then divided into blocks of 8×8 pixels.
3 to D CT (Discrete Cosine Tr
(ansform) processing is performed. Each DCT coefficient is
Quantization means 54 according to quantization matrix table 55
quantized by . An example of data quantized by the quantization means 54 is shown in FIG.

第6図において、右側はどブロックの水平方向のより高
域の成分であり、下側はど垂直方向のより高域の成分で
ある。画像の性質として、低域側に周波数成分が偏るこ
とから、一般的には第8図(a)の斜線部の付近に成分
が集中し、他の係数はほとんどがOである。
In FIG. 6, the right side is the higher frequency component in the horizontal direction of the block, and the lower side is the higher frequency component in the vertical direction. Due to the nature of the image, frequency components are biased towards the low frequency side, so generally the components are concentrated near the shaded area in FIG. 8(a), and most of the other coefficients are O.

ブロック内スキャン部56では、スキャン・テーブル5
7に従ってブロックのデータを1列に並べ換える。スキ
ャン・テーブル57の従来例を第7図(a)に示す。第
7図(a)の各数字は、対応する位置にある係数の符号
化の順番を表わしている。第7図(b)は符号化の順番
を矢印で図示したものである。1列に並べ換えられたデ
ータは、エントロピー符号化58により効率的符号化が
行なわれる。具体的には、各ブロックの1番目のデータ
はDC成分であり、他のブロックとの差分値がハフマン
符号化される。2番目以降はAC成分であり、Oでない
係数とその前に続く0の個数との組合わせによって、順
に符号化される。係数の値は可変長符号化テーブル59
に従って符号化され、可変長符号の長さとOの個数は2
つの組み合わせでハフマン符号化を行なう。
In the intra-block scanning section 56, the scan table 5
7, rearrange the block data into one column. A conventional example of the scan table 57 is shown in FIG. 7(a). Each number in FIG. 7(a) represents the coding order of the coefficients in the corresponding position. FIG. 7(b) shows the encoding order using arrows. The data rearranged into one column is efficiently encoded by entropy encoding 58. Specifically, the first data of each block is a DC component, and the difference value from other blocks is Huffman encoded. The second and subsequent components are AC components, which are sequentially encoded by a combination of a non-O coefficient and the number of 0s preceding it. The coefficient values are in the variable length encoding table 59
The length of the variable length code and the number of O's are 2.
Huffman encoding is performed using a combination of two.

尚、このハフマン符号の中には、E OB (End 
ofB 1ock)のコードも含まれる。符号化された
データは出力端子60から出力される。
Note that this Huffman code contains E OB (End
ofB 1ock) is also included. The encoded data is output from the output terminal 60.

上記で述べたように、直交変換と量子化が行なわれた後
のデータは、一般的に第8図(a)のように一部分に集
中し、これに対して、第7図(b)のように、成分の集
中する部分から順にエントロピー符号化することにより
、係数がOの成分に対して効率的な符号化を行なうこと
が可能となり、画像全体の圧縮率を高めることができる
As mentioned above, the data after orthogonal transformation and quantization is generally concentrated in one part as shown in Figure 8(a), whereas the data in Figure 7(b) By performing entropy encoding in order from the part where the components are concentrated, it is possible to perform efficient encoding on the component with a coefficient of O, and it is possible to increase the compression rate of the entire image.

[発明が解決しようとしている課題] しかしながら、上記従来例では、分割されたブロックの
中で線や輪郭部分を含むブロックにおいては、量子化後
の係数が必ずしも第8図(a)に示す分布とならず、こ
のようなブロックでは符号化量が多くなっていた。その
結果、文字。
[Problems to be Solved by the Invention] However, in the conventional example described above, in blocks that include lines or contours among the divided blocks, the coefficients after quantization do not necessarily have the distribution shown in FIG. 8(a). However, such a block requires a large amount of encoding. As a result, the characters.

や輪郭部分の多く含まれる画像では、圧縮率が低下する
欠点があった。
This method has the disadvantage that the compression ratio decreases for images that contain many outlines.

また、量子化のステップ・サイズを可変にする等の方法
で圧縮率を一定にする処理を行なった場合には、線や輪
郭を多く含む画像は一般的な画像に比べ画質が劣化して
いた。
In addition, when processing to keep the compression rate constant by making the quantization step size variable, etc., the image quality of images containing many lines and contours was degraded compared to general images. .

本発明は、前記従来の欠点を除去し、あらゆる画像につ
いて、圧縮率を高めると共に高画質を保つ画像符号化方
式を提供する。
The present invention eliminates the above-mentioned conventional drawbacks and provides an image encoding method that increases the compression rate and maintains high image quality for all images.

特に、線や輪郭部分を多く含む画像について、圧縮率を
高めると共に高画質を保つ画像符号化方式を提供する。
In particular, the present invention provides an image encoding method that increases the compression rate and maintains high image quality for images that include many lines and contours.

又、前記方式を実現する画像符号化装置を提供する。The present invention also provides an image encoding device that implements the above method.

[課題を解決するための手段] この課題を解決するために、本発明の画像符号化方式は
、直交変換された画像情報を圧縮符号化する画像符号化
方式であって、 前記直交変換された画像情報の分布に従って、圧縮率の
高い符号化順序を選んで符号化を行い、該圧縮符号化さ
れたデータ・と前記符号化順序を識別するデータとを前
記画像情報の符号化データとする。
[Means for Solving the Problem] In order to solve this problem, the image encoding method of the present invention is an image encoding method that compresses and encodes orthogonally transformed image information, which comprises: According to the distribution of the image information, a coding order with a high compression ratio is selected and encoded, and the compression-encoded data and data identifying the coding order are used as coded data of the image information.

又、本発明の画像符号化装置は、画像情報を複数画素か
らなるブロック毎に圧縮符号化を行なう画像符号化装置
であって、 各ブロックごとに直交変換を行なう直交変換手段と、該
直交変換されたデータの各ブロック内での分布に基づい
て、各ブロック内におけるデータの符号化順序を選択す
る符号化順序選択手段と、該選択された各ブロックの符
号化順序に従い、前記直交変換されたデータを符号化す
る符号化手段とを備える。
Further, the image encoding device of the present invention is an image encoding device that compresses and encodes image information for each block consisting of a plurality of pixels, and includes orthogonal transformation means that performs orthogonal transformation for each block, and the orthogonal transformation. coding order selection means for selecting the coding order of the data in each block based on the distribution of the data in each block; and encoding means for encoding data.

更に、前記符号化順序の情報を符号化する第2の符号化
手段を備える。
Furthermore, a second encoding means for encoding the information on the encoding order is provided.

[作用] かかる構成において、直交変換後の係数のうち値がOの
係数の分布に着目し、この分布に対して適応的に係数の
符号化順序を変え、さらに符号化順序を表わす符号を付
加する。このような手段を設けることにより、直交変換
後の成分が特定の部分に集中するような分布を持たなく
ても適切な符号化を行なうことが可能となり、画像全体
の圧縮率を高めるものである。
[Operation] In such a configuration, attention is paid to the distribution of coefficients having a value of O among the coefficients after orthogonal transformation, the coding order of the coefficients is adaptively changed with respect to this distribution, and a code representing the coding order is added. do. By providing such a means, it is possible to perform appropriate encoding even if the components after orthogonal transformation do not have a distribution that concentrates in a specific part, increasing the compression rate of the entire image. .

[実施例] 以下、添付図面に従って、本発明の詳細な説明する。[Example] Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

第1A図は本発明の画像符号化方式を実現する実施例の
画像符号化装置のブロック図であり、第1B図は本実施
例の画像符号化装置のハードウェア構成例を示す図であ
る。
FIG. 1A is a block diagram of an image encoding apparatus according to an embodiment of the present invention, and FIG. 1B is a diagram showing an example of the hardware configuration of the image encoding apparatus according to this embodiment.

まず、第1B図に従って、本実施例の画像符号化装置の
ハードウェア構成例を説明する。
First, an example of the hardware configuration of the image encoding apparatus of this embodiment will be described with reference to FIG. 1B.

100は本画像符号化装置を制御する演算・制御用のC
PUで、符号化順序を選択するための直交変換後のデー
タ分布を表す数値j、jを記憶するレジスタ101,1
02を有している。
100 is C for calculation and control to control the image encoding device.
In the PU, registers 101 and 1 that store numerical values j and j representing the data distribution after orthogonal transformation for selecting the encoding order.
02.

200はCPU100の制御手順1のプログラムを格納
するROM、300は演算補助あるいは各テーブルを記
憶するRAMであり、量子化マトリクス・テーブル30
1.可変長符号化テーブル302、スキャン・テーブル
303A、303B、・・・を有している。尚、i、j
はRAM300上に記憶されても良いし、一方各テーブ
ルがROM200上に格納されていても良い。400は
符号化されていない画像データを本装置に入力するCC
Dセンサやコンピュータからの入力インターフェースな
どの画像データ入力部、500は本装置により圧縮符号
化された符号化データを出力する符号化データ出力部で
ある6ここに出力された符号化データは、メモリに蓄積
され、あるいは通信手段を介して伝送される。
200 is a ROM that stores the program for control procedure 1 of the CPU 100; 300 is a RAM that stores calculation aids or each table;
1. It has a variable length encoding table 302, scan tables 303A, 303B, . . . Furthermore, i, j
may be stored on the RAM 300, or each table may be stored on the ROM 200. 400 is a CC that inputs unencoded image data to this device.
D is an image data input unit such as an input interface from a sensor or a computer, and 500 is an encoded data output unit that outputs encoded data compressed and encoded by this device.6 The encoded data output here is stored in a memory. or transmitted via communication means.

次に、第1A図に従って、本実施例の画像符号化装置の
動作手順を詳細に説明する。
Next, the operation procedure of the image encoding apparatus of this embodiment will be explained in detail with reference to FIG. 1A.

入力端子11から入力された画像データは、ブロック化
手段12により8×8の画素のブロックに分割される。
Image data input from the input terminal 11 is divided into blocks of 8×8 pixels by the blocking means 12.

各ブロックのデータはDCT部13によりDCTが行な
われ、64個のDCT係数は、量子化マトリクス・テー
ブル15に従って、量子化手段14によって量子化され
る。
The data of each block is subjected to DCT by the DCT section 13, and the 64 DCT coefficients are quantized by the quantization means 14 according to the quantization matrix table 15.

各ブロックの量子化された64個の係数は、スキャン・
テーブル選択部16に入力され、スキャン・テーブルの
選択が行なわれる。
The 64 quantized coefficients of each block are scanned and
The data is input to the table selection section 16, and a scan table is selected.

スキャン・テーブル選択部16では、第2図に示すフロ
ーチャートによってスキャン・テーブルの選択が行なわ
れる。第2図において、まずステップS21でブロック
ごとの特徴を表わす2つの数値j、iを求める。第3図
に示すように、jはOでない係数が左から何列目まで存
在するかを表わす値、また、iは上から何行目まで存在
するかを表わす値である。ステップS22では、jとi
の差の絶対値1j−ifがしきい値Th未満ならばステ
ップS24へ、しきい値Th以上ならばステップS23
へ分岐をする。
In the scan table selection section 16, a scan table is selected according to the flowchart shown in FIG. In FIG. 2, first, in step S21, two numerical values j and i representing the characteristics of each block are determined. As shown in FIG. 3, j is a value representing how many columns from the left there are coefficients other than O, and i is a value representing how many rows from the top there are coefficients. In step S22, j and i
If the absolute value 1j-if of the difference is less than the threshold Th, go to step S24, and if it is more than the threshold Th, go to step S23.
Branch to .

本実施例ではTh=3としてあり、ステップS24へ分
岐した場合はCode= Oとする。ステップS23へ
分岐した場合、Jく1ならばステップS25へ分岐して
Code= jとし、j<iでなければステップS26
に進んでCode= i + 10とする。
In this embodiment, Th=3, and when the process branches to step S24, Code=O. When branching to step S23, if J is not 1, branching to step S25 and setting Code=j; if j<i, step S26
Proceed to and set Code=i + 10.

このCodeは、ステップ5207でハフマン符号化さ
れる。ブロック内の元の画像が縦方向エツジまたは横方
向エツジを含む場合、それぞれ量子化後の係数のOでな
い成分の分布は、第8図(b)あるいは(C)のように
なり、第2図ではそれぞれステップ5206又はステッ
プ5205へ分岐して、Code= i + 10又は
Code= jとなる。
This code is Huffman encoded in step 5207. When the original image in a block includes vertical edges or horizontal edges, the distribution of non-O components of the coefficients after quantization will be as shown in Fig. 8 (b) or (C), and Fig. 2 Then, the process branches to step 5206 or step 5205, respectively, and Code=i+10 or Code=j.

第1A図でスキャン・テーブル選択部16から出力され
た符号は、スキャン・テーブル18と多重化部21へ送
られる。スキャン・テーブル18は、送られた符号に対
応するテーブルを出力する。例えば、Code= Oに
相当する符号が送られた場合は、第7図(a)に示すス
キャン・テーブルが選択され、Code= 3に相当す
る符号が送られた場合は、第4図(a)に示すスキャン
・テーブルが選択される。また、Code= 12に相
当する符号が送られた場合は、第4図(c)に示すスキ
ャン・テーブルが選択される。それぞれの符号化順序を
図示したものが、第7図(b)と第4図(b)、(d)
である。本実施例では、スキャンの範囲内の順序は第7
図と同じにしている。
The code output from the scan table selection section 16 in FIG. 1A is sent to the scan table 18 and the multiplexing section 21. Scan table 18 outputs a table corresponding to the sent symbols. For example, if a code corresponding to Code=O is sent, the scan table shown in FIG. 7(a) is selected, and if a code corresponding to Code=3 is sent, the scan table shown in FIG. 4(a) is selected. ) is selected. Further, when a code corresponding to Code=12 is sent, the scan table shown in FIG. 4(c) is selected. Figures 7(b) and 4(b) and (d) illustrate the respective encoding orders.
It is. In this example, the order within the scan range is the seventh
It is the same as the figure.

スキャン・テーブル18から出力されたテーブルを基に
、ブロック内スキャン部17で1列のデータに並べ換え
る。1列に並べ換えられたデータは、エントロピー符号
化手段19によって符号化される。エントロピー符号化
の方法は従来例と同様であり、ブロックの2番目以降の
係数について、Oでない係数とその前に続く○の個数の
組み合わせで符号化を行なう。Oでない係数は、可変長
符号化テーブル20を基に可変長符号化し、可変長符号
の符号長とOの個数を組み合わせてハフマン符号化を行
なう。
Based on the table output from the scan table 18, the intra-block scan section 17 rearranges the data into one column. The data rearranged into one column is encoded by entropy encoding means 19. The entropy encoding method is the same as in the conventional example, and the second and subsequent coefficients of the block are encoded using a combination of a non-O coefficient and the number of O's preceding it. Coefficients other than O are variable-length coded based on the variable-length coding table 20, and Huffman coding is performed by combining the code length of the variable-length code and the number of O's.

前記のハフマン符号化を行なう画像全体の符号について
、可変長符号の符号長を定めてOの個数に対するヒスト
グラムをとると、本実施例では第9図(b)のような分
布となる。一方、従来例では第9図(a)のように分布
する。符号の総数は同じであるから、本実施例の第9図
(b)のような分布の方がエントロピーが減少し、効率
的な符号化が行なわれることが解る。
If the code length of the variable-length code is determined for the code of the entire image to be subjected to Huffman encoding, and a histogram is taken for the number of O's, the distribution in this embodiment is as shown in FIG. 9(b). On the other hand, in the conventional example, the distribution is as shown in FIG. 9(a). Since the total number of codes is the same, it can be seen that the distribution as shown in FIG. 9(b) of this embodiment reduces entropy and performs efficient encoding.

エントロピー符号化手段19からの出力とスキャン・テ
ーブル選択部16の出力は、多重化部21で多重化され
て出力端子22へ出力される。
The output from the entropy encoding means 19 and the output from the scan table selection section 16 are multiplexed by a multiplexing section 21 and output to an output terminal 22.

尚、本実施例では、多重化部21において、スキャン・
テーブル18を選択するための符号Codeをハフマン
符号化したものを第10図(a)のように各ブロックの
データの前に付加するが、例えば、第10図(b)のよ
うにまとめて付加しても良い。また、ブロック毎に付加
する場合にはハフマン符号化を行わず、単なる所定ビッ
ト(2ビツト)の選択信号であってもよい。
In this embodiment, the multiplexer 21 performs scanning and
A Huffman-encoded code for selecting table 18 is added to the front of each block of data as shown in Figure 10(a), but for example, it is added all at once as shown in Figure 10(b). You may do so. Furthermore, when adding each block, Huffman encoding may not be performed, and a mere selection signal of predetermined bits (2 bits) may be used.

又、本実施例においてはしきい値Th=3としたが、他
の値を用いても良い。即ち、ブロックの特徴の検出方法
は、上記実施例には限らない。
Further, in this embodiment, the threshold value Th is set to 3, but other values may be used. That is, the method of detecting the characteristics of a block is not limited to the above embodiment.

また、スキャン・テーブル18の各テーブルのスキャン
の範囲を、例えば、第11図(a)〜(d)に示すよう
な他の形にしても良い。
Further, the scan range of each table in the scan table 18 may be set in other forms as shown in FIGS. 11(a) to 11(d), for example.

第1I図(a)〜(d)に対応するテーブルを第12図
(a)〜(d)に示す。
Tables corresponding to FIGS. 1I (a) to (d) are shown in FIGS. 12(a) to (d).

また、スキャン・テーブル18をメモリに持たず、スキ
ャン方法が決まるごとにテーブルを生成しても良い。ま
た、直交変換はDCTを用いたが、アダマール変換やそ
の他の変換方法を用いても同様の効果が得られる。また
、圧縮率を一定にする手段(固定長符号化手段)と組み
合わせても良い。また、扱うブロックのサイズは16X
16画素や他の画素数でも良いし、ブロックの形も他の
形で良い。
Alternatively, the scan table 18 may not be stored in memory, and the table may be generated each time a scan method is determined. Further, although DCT is used for orthogonal transformation, similar effects can be obtained by using Hadamard transformation or other transformation methods. Furthermore, it may be combined with means for keeping the compression rate constant (fixed length encoding means). Also, the size of the block to be handled is 16X
The number of pixels may be 16 pixels or other number of pixels, and the shape of the block may also be other shapes.

また、スキャンの範囲内における符号化順序は、本実施
例では第7図のスキャン・テーブルに沿っていたが、画
像の性質に合わせて他の符号化順序が選ばれる。
Furthermore, although the encoding order within the scanning range was in accordance with the scan table shown in FIG. 7 in this embodiment, another encoding order is selected depending on the nature of the image.

上述の画像符号化方式は、静止画像、動画像を問わず適
用することができる。例えば、画像ファイルシステムや
スチルビデオカメラ等の記憶装置、複写機等の画像記録
装置、ファクシミリやテレビ電話等の画像伝送装置など
の静止画像処理装置の他、ビデオカメラや動画像のテレ
ビ電話等の動画像処理装置にも本発明は有効である。
The above-described image encoding method can be applied to both still images and moving images. For example, in addition to still image processing devices such as image file systems and storage devices such as still video cameras, image recording devices such as copying machines, and image transmission devices such as facsimiles and video telephones, as well as still image processing devices such as video cameras and video telephones that handle moving images, etc. The present invention is also effective for moving image processing devices.

また、白黒画像のみでな(、カラー画像に対しても本発
明は適用できる。例えば、カラー画像信号を(R,G、
B)、(Y、M、C’) 、(X、Y。
Furthermore, the present invention is applicable not only to black and white images (but also to color images. For example, the present invention can be applied to color images (R, G,
B), (Y, M, C'), (X, Y.

2)や(Y、I、Q)、(L”、  ”、b”)、(L
、u、v)、(L、R,B)等の各色成分の各々につい
て、本発明の符号化のアルゴリズムを用いて符号化すれ
ばよい。その際、特に、(Y。
2) and (Y, I, Q), (L”, “, b”), (L
, u, v), (L, R, B), etc., may be encoded using the encoding algorithm of the present invention. In particular, (Y.

I、Q)のように輝度信号と色度信号とに分離されてい
る場合には、色度信号に対してはより少ない符号量に圧
縮しても、画像の劣化は人間の目には目立たない。
When the luminance signal and chromaticity signal are separated as in I, Q), even if the chromaticity signal is compressed to a smaller amount of code, the image deterioration will not be noticeable to the human eye. do not have.

また、エントロピー符号化は、ハフマン符号化に限らず
、MH符号化、MMR符号化、算術符号化などであって
もよい。また、エントロピー符号化に限らず、ランレン
グス符号化等であってもよい。
Furthermore, entropy encoding is not limited to Huffman encoding, and may be MH encoding, MMR encoding, arithmetic encoding, or the like. Furthermore, the encoding is not limited to entropy encoding, and may be run-length encoding or the like.

以上説明したように、直交変換と量子化とを行なった各
ブロックのデータについて、適応的に符号化の順序を変
える手段を設けたことにより、文字、線1輪郭部分等を
多く含む画像についても高い圧縮率を得ることができる
As explained above, by providing a means to adaptively change the encoding order for data of each block that has undergone orthogonal transformation and quantization, it is possible to adapt even images containing many characters, line 1 outlines, etc. High compression ratio can be obtained.

また、圧縮率を一定にする手段と併用した場合、特に上
記のような画像において、同じ圧縮率の従来方式に比べ
高画質を達成することができる。
Furthermore, when used in combination with means for keeping the compression rate constant, higher image quality can be achieved compared to conventional methods with the same compression rate, especially in the above-mentioned images.

[発明の効果] 本発明により、あらゆる画像について、圧縮率を高める
と共に高画質を保つ画像符号化方式を提供できる。
[Effects of the Invention] According to the present invention, it is possible to provide an image encoding method that increases the compression rate and maintains high image quality for all images.

特に、線や輪郭部分を多く含む画像について、圧縮率を
高めると共に高画質を保つ画像符号化方式を提供できる
In particular, it is possible to provide an image encoding method that increases the compression rate and maintains high image quality for images that include many lines and contours.

又、前記方式を実現する画像符号化装置を提供できる。Furthermore, it is possible to provide an image encoding device that implements the above method.

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

第1A図は本発明の画像符号化方式を実現する実施例の
画像符号化装置のブロック図、第1B図は本実施例の画
像符号化装置のハードウェア構成例を示すブロック図、 第2図はスキャン・テーブル選択部の処理手順を示すフ
ローチャート、 第3図は量子化後のデータとj、iToの対応を示す図
、 第4図(a)、(C)は本実施例のスキャン・テーブル
の1つを示す図、 第4図(b)、(d)は第4図(a)、(c)の順序を
矢印で示した図、 第5図は従来例の画像符号化装置のブロック図、 第6図は量子化後のデータの1例を示す図、第7図(a
)は従来例のスキャン・テーブルを示す図、 第7図(b)は第7図(a)の順序を示した図、 第8図(a)、(b)、(c)は量子化後のデータのO
でない係数の分布を示す図、第9図(a)、(b)はO
の個数に対する頻度を示すヒストグラム、 第10図(a)、(b)は符号化されたデータ列の構成
例を示す図、 第11図(a) 、 (b) 、 (c) 、 (d)
はスキャンの範囲の他の実施例を示す図、第12図(a
) 〜(d)は第11図(a)〜(d)に対応するスキ
ャン・テーブルの例を示す図である。 図中、11・・・入力端子、12・・・ブロック化手段
、13・・・DCT部、14・・・量子化手段、15・
・・量子化マトリクス・テーブル、16・・・スキャン
・テーブル選択部、17・・・ブロック内スキャン部、
18・・・スキャン・テーブル、19・・・エントロピ
ー符号化手段、20・・・可変長符号化テーブル、21
・・・多重化部、22・・・出力端子、100 ・CP
 U、101 ・L/レジスタ、102 ・・・レジス
タj、200・・・ROM、300・・・RAM、30
1・・・量子化マトリクス・テーブル、302・・・可
変長符号化テーブル、303A、303B・・・スキャ
ン・テーブル、400・・・画像データ入力部、500
・・・符号化データ出力部である。 第2図 (a) 第7図 (a) (b) 第8図 (b) (C) 1 5 00@軟 1 00個数 ( ) (b) 第9 図 ス″+e7テーアル連l天符号 (b) ( ) (a) (b) ( ) (b) [′ ( ) (d) II2 図 第11図
FIG. 1A is a block diagram of an image encoding device according to an embodiment of the present invention, and FIG. 1B is a block diagram showing an example of the hardware configuration of the image encoding device of this embodiment. is a flowchart showing the processing procedure of the scan table selection section; FIG. 3 is a diagram showing the correspondence between quantized data and j and iTo; FIGS. 4(a) and (C) are scan tables of this embodiment. 4(b) and 4(d) are diagrams showing the order of FIGS. 4(a) and 4(c) with arrows. FIG. 5 is a block diagram of a conventional image encoding device. Figure 6 shows an example of data after quantization, Figure 7 (a
) is a diagram showing the conventional scan table, Figure 7(b) is a diagram showing the order of Figure 7(a), and Figures 8(a), (b), and (c) are after quantization. O of the data of
Figure 9 (a) and (b) are diagrams showing the distribution of coefficients that are not
Histogram showing the frequency with respect to the number of items, Figure 10 (a), (b) is a diagram showing an example of the structure of the encoded data string, Figure 11 (a), (b), (c), (d)
Figure 12 (a) is a diagram showing another example of the scan range.
) to (d) are diagrams showing examples of scan tables corresponding to FIGS. 11(a) to (d). In the figure, 11... input terminal, 12... blocking means, 13... DCT unit, 14... quantizing means, 15...
... Quantization matrix table, 16... Scan table selection section, 17... Intra-block scan section,
18... Scan table, 19... Entropy encoding means, 20... Variable length encoding table, 21
... Multiplexing section, 22 ... Output terminal, 100 ・CP
U, 101 ・L/register, 102...Register j, 200...ROM, 300...RAM, 30
1... Quantization matrix table, 302... Variable length encoding table, 303A, 303B... Scan table, 400... Image data input unit, 500
...This is an encoded data output section. Fig. 2 (a) Fig. 7 (a) (b) Fig. 8 (b) (C) 1 5 00 @ soft 1 00 number ( ) (b) Fig. 9 ) ( ) (a) (b) ( ) (b) [' ( ) (d) II2 Figure 11

Claims (3)

【特許請求の範囲】[Claims] (1)直交変換された画像情報を圧縮符号化する画像符
号化方式であつて、 前記直交変換された画像情報の分布に従つて、圧縮率の
高い符号化順序を選んで符号化を行い、該圧縮符号化さ
れたデータと前記符号化順序を識別するデータとを前記
画像情報の符号化データとすることを特徴とする画像符
号化方式。
(1) An image encoding method that compresses and encodes orthogonally transformed image information, which performs encoding by selecting a coding order with a high compression rate according to the distribution of the orthogonally transformed image information, An image encoding method characterized in that the compression-encoded data and data identifying the encoding order are used as encoded data of the image information.
(2)画像情報を複数画素からなるブロツク毎に圧縮符
号化を行なう画像符号化装置であつて、各ブロツクごと
に直交変換を行なう直交変換手段と、 該直交変換されたデータの各ブロツク内での分布に基づ
いて、各ブロツク内におけるデータの符号化順序を選択
する符号化順序選択手段と、該選択された各ブロツクの
符号化順序に従い、前記直交変換されたデータを符号化
する符号化手段とを備えることを特徴とする画像符号化
装置。
(2) An image encoding device that compresses and encodes image information for each block consisting of a plurality of pixels, comprising orthogonal transformation means that performs orthogonal transformation for each block, and within each block of the orthogonally transformed data. coding order selection means for selecting the coding order of data in each block based on the distribution of the data, and coding means for coding the orthogonally transformed data according to the selected coding order of each block. An image encoding device comprising:
(3)前記符号化順序の情報を符号化する第2の符号化
手段を更に備えることを特徴とする請求項第2項記載の
画像符号化装置。
(3) The image encoding apparatus according to claim 2, further comprising a second encoding means for encoding the information on the encoding order.
JP2064257A 1990-03-16 1990-03-16 Method and device for encoding picture Pending JPH03266564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2064257A JPH03266564A (en) 1990-03-16 1990-03-16 Method and device for encoding picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2064257A JPH03266564A (en) 1990-03-16 1990-03-16 Method and device for encoding picture

Publications (1)

Publication Number Publication Date
JPH03266564A true JPH03266564A (en) 1991-11-27

Family

ID=13252952

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2064257A Pending JPH03266564A (en) 1990-03-16 1990-03-16 Method and device for encoding picture

Country Status (1)

Country Link
JP (1) JPH03266564A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0686262A (en) * 1992-02-29 1994-03-25 Samsung Electron Co Ltd Apparatus for encoding of image
JPH06125278A (en) * 1992-07-23 1994-05-06 Samsung Electron Co Ltd Method and apparatus for encoding and decoding of data
JPH08339448A (en) * 1995-06-12 1996-12-24 Nec Corp Table managing method
US5926574A (en) * 1995-03-17 1999-07-20 Mitsubishi Denki Kabushiki Kaisha Image encoding system
WO2002101934A1 (en) * 2001-06-06 2002-12-19 Seiko Epson Corporation Decoding apparatus, decoding method, lookup table, and decoding program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0686262A (en) * 1992-02-29 1994-03-25 Samsung Electron Co Ltd Apparatus for encoding of image
JPH06125278A (en) * 1992-07-23 1994-05-06 Samsung Electron Co Ltd Method and apparatus for encoding and decoding of data
US5654706A (en) * 1992-07-23 1997-08-05 Samsung Electronics Co., Ltd. System for variable length decoding digital transmission data which has been compressed by selecting a scanning pattern
JP2003289543A (en) * 1992-07-23 2003-10-10 Samsung Electronics Co Ltd Method and equipment for decoding data
US5926574A (en) * 1995-03-17 1999-07-20 Mitsubishi Denki Kabushiki Kaisha Image encoding system
JPH08339448A (en) * 1995-06-12 1996-12-24 Nec Corp Table managing method
WO2002101934A1 (en) * 2001-06-06 2002-12-19 Seiko Epson Corporation Decoding apparatus, decoding method, lookup table, and decoding program

Similar Documents

Publication Publication Date Title
JP5384696B2 (en) Adaptive block size DCT image compression based on variance
JP4113114B2 (en) DCT compression using GOLOMB-RICE coding
US7194128B1 (en) Data compression using principal components transformation
KR20010078393A (en) Scalable coding
JP3469438B2 (en) Image signal processing method and apparatus, recording medium
US7079693B2 (en) Fast image decompression via look up table
JPH03266564A (en) Method and device for encoding picture
JPH0487460A (en) Picture processor
US20090304073A1 (en) Systems and Methods for the Bandwidth Efficient Processing of Data
JPH02122767A (en) Encoding/decoding system for picture signal
JP3577093B2 (en) Image coding and restoration device
JPH04315371A (en) Picture processing method and device
JPH0746407A (en) Picture data compressing device and picture data restoring device
KR100385865B1 (en) Image processing method for USB camera
JPH1023261A (en) Image-processing unit
US20050069213A1 (en) Image processing apparatus
JPH06315143A (en) Image processor
JP2571274B2 (en) Code data storage / readout method
JPH04215385A (en) Method and device for encoding/decoding image data
JP3032281B2 (en) Image encoding method and image decoding method
JPH02171084A (en) System and device for coding picture signal
JPH0654198A (en) Image transmission system
JPH04344771A (en) Picture data coding method and picture data compressor
JPH03256452A (en) Picture data processing system
JPH04185171A (en) Image coding method