JPS6386963A - Image information encoding system - Google Patents

Image information encoding system

Info

Publication number
JPS6386963A
JPS6386963A JP61232013A JP23201386A JPS6386963A JP S6386963 A JPS6386963 A JP S6386963A JP 61232013 A JP61232013 A JP 61232013A JP 23201386 A JP23201386 A JP 23201386A JP S6386963 A JPS6386963 A JP S6386963A
Authority
JP
Japan
Prior art keywords
category
quantization
block
data
bits
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
JP61232013A
Other languages
Japanese (ja)
Other versions
JP2801182B2 (en
Inventor
Masafumi Wataya
雅文 綿谷
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 JP61232013A priority Critical patent/JP2801182B2/en
Publication of JPS6386963A publication Critical patent/JPS6386963A/en
Application granted granted Critical
Publication of JP2801182B2 publication Critical patent/JP2801182B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To reproduce an image which is scarcely deteriorated, at the time of decoding, by taking notice of a feature in a block, executing category classification, and performing quantization. CONSTITUTION:Data which has segmented picture element data of one picture element and 8 bits (256 gradations) to blocks of 4 picture elements X 4 picture elements is brought to Hadamard conversion by a Hadamard converting part 101. A coefficient Y11 is quantized to data of 8 bits by a scalar quantizer 104, and it becomes a lightness average in the block. Y11-Y44 are classified into several kinds of categories corresponding to a feature of original image data in accordance with whether values of thier coefficients are high or low, by a segmentation part 102. Subsequently, a quantizer corresponding to the discriminated category is selected, and a result of quantization is outputted as a pattern code of 9 bits. In this way, by setting the coefficient utilized for rounding processing of scalar quantization, in accordance with the category, the scalar quantization suitable for the category is executed, and a good image can be reproduced.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、中間調画像情報の符号化に適した画像情報符
号化方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to an image information encoding method suitable for encoding halftone image information.

〔従来技術〕[Prior art]

従来より画像の伝送、蓄積の際その効率を考慮し、符号
化により冗長度を抑圧(一般に圧縮と呼ばれる)するの
が一般的である。
Conventionally, when transmitting and storing images, efficiency has been considered and redundancy has been suppressed through encoding (generally called compression).

近年ディジタル画像処理技術、デバイス技術の発展に伴
ない、伝送、蓄積の対象となる画像は2値から多値に移
っており、更に、解像度も大きくなってきた。この結果
、データ量が膨大となり、高能率な符号化技術が必要と
なってきた。
In recent years, with the development of digital image processing technology and device technology, the images to be transmitted and stored have shifted from binary to multivalued images, and the resolution has also increased. As a result, the amount of data has become enormous, and highly efficient encoding technology has become necessary.

しかし、これまでの符号化技術は?値画像を対象とした
ものが多く、その代表的なものはファクシミリ用に規定
されたMH、MR、MMR等であり、この本質上多値画
像の符号化には適していない。
But what about the existing encoding technologies? Many of them are aimed at value images, and representative ones are MH, MR, MMR, etc., which are defined for facsimile, and are inherently not suitable for encoding multi-value images.

また、多値画像の符号化技術もいくつか報告されており
、ブロック符号化、予測符号化、直交変換符号化等が有
る。これらはいずれもテレビ画像を対象としたものが多
く、一般の文書画像、網点画像の符号化には適していな
い。
In addition, several encoding techniques for multivalued images have been reported, including block encoding, predictive encoding, orthogonal transform encoding, and the like. Most of these methods are intended for television images, and are not suitable for encoding general document images or halftone dot images.

特に直交変換符号化においては、従来シーケンスの小q
い所に電力が集中する性質を利用していた。この方式に
よると、写真等の連続階調画像に対しては有効であるが
、文書画像や網点画像のように特異なエツジ構造を持つ
画像に適用すると著しい劣化を生じる。
Especially in orthogonal transform coding, the small q of the conventional sequence
It takes advantage of the fact that electricity is concentrated in a certain place. This method is effective for continuous tone images such as photographs, but when applied to images with unique edge structures such as document images or halftone dot images, significant deterioration occurs.

〔目的〕〔the purpose〕

本発明は、上述従来例の欠点を除去し、文書画像、網点
画像、写真画像の多値データに対して著しい劣化をする
事なく効率的符号化を行う事を目的とする。
It is an object of the present invention to eliminate the drawbacks of the above-mentioned conventional examples and to efficiently encode multivalued data of document images, halftone dot images, and photographic images without significant deterioration.

〔実施例〕〔Example〕

本発明による符号化方式は、符号化すべき多値画像情報
をmXnのブロックに切り出し、このブロックを101
位とし、これに直交変換(アダマール変換)を施し、ブ
ロック内の特徴抽出を行ない、いくつかのカテゴリに分
類す゛る。そして、その後各カテゴリ毎に最適な量子化
を施すものである。
The encoding method according to the present invention cuts out multilevel image information to be encoded into mXn blocks, and divides the blocks into 101
This is then subjected to orthogonal transformation (Hadamard transformation), features within the block are extracted, and the blocks are classified into several categories. After that, optimal quantization is performed for each category.

第1図は、本発明を適用した符号化回路の一構成例を示
すものである。
FIG. 1 shows an example of the configuration of an encoding circuit to which the present invention is applied.

101はアダマール変換部、102はカテゴリ分類を行
うセグメンテーション部、103はセグメンテーション
部102からの出力により、カテゴリに対応した量子化
器を選択するセレクタである。104は明度平均値を表
す係数Y 11用のスカラ量子化器であり、105,1
06及び107は各カテゴリに適したスカラ量子化を行
うスカラ量子化器、108,109及び110は各カテ
ゴリに適したベクトル量子化器である。尚、スカラ量子
化器、ベクトル量子化器はカテゴリ数に応じて増減され
る。111は各カテゴリのベクトル量子化器の出力の中
からセグメンテーション部102からの出力により、処
理対象となっているブロックに応じたものを選択するセ
レクタであり、@段のセレクタ103と同様の働きをす
るものである。
101 is a Hadamard transform unit, 102 is a segmentation unit that performs category classification, and 103 is a selector that selects a quantizer corresponding to the category based on the output from the segmentation unit 102. 104 is a scalar quantizer for the coefficient Y11 representing the brightness average value, and 105,1
06 and 107 are scalar quantizers that perform scalar quantization suitable for each category, and 108, 109, and 110 are vector quantizers that are suitable for each category. Note that the number of scalar quantizers and vector quantizers is increased or decreased depending on the number of categories. 111 is a selector that selects one according to the block to be processed based on the output from the segmentation unit 102 from among the outputs of the vector quantizer of each category, and has the same function as the selector 103 in the @ stage. It is something to do.

ここで動作について説明を行なう、1画素8bit(2
56階調)の画素データを4画素×4画素のブロックに
切り出したデータを7ダマ一ル変換部101によりアダ
マール変換すると、係数Y 11はO〜1020、即ち
、1Obitの値をとり、又、Y 12〜Y44は各々
−510〜+510、即ち10bitの値をとる。そこ
で、係数Y 11をスカラ量子化器104で8bitの
データに量子化し、これをブロック内明度平均とする。
The operation will be explained here. One pixel is 8 bits (2
When data obtained by cutting out pixel data (56 gradations) into blocks of 4 pixels x 4 pixels is subjected to Hadamard transform by the 7 Damart transform unit 101, the coefficient Y 11 takes a value of 0 to 1020, that is, 1 Obit, and Y12 to Y44 each take a value of -510 to +510, that is, 10 bits. Therefore, the coefficient Y11 is quantized into 8-bit data by the scalar quantizer 104, and this is taken as the intra-block brightness average.

Y11〜Y44はセグメンテーション部102により、
これらの係数の値の大小に応じ元の画像データの特徴に
応じた数種のカテゴリに分類される(木実施例では16
種類とする)、セレクタ103.111は各々セグメン
テーション部102で判別したカテゴリに応じた量子化
器を選択し、量子化結果を9bit(7)コード(パタ
ーン番コード)として出力する。
Y11 to Y44 are determined by the segmentation unit 102,
Depending on the magnitude of the values of these coefficients, the original image data is classified into several categories according to its characteristics (16 in the tree example).
selectors 103 and 111 each select a quantizer according to the category determined by the segmentation unit 102, and output the quantization result as a 9-bit (7) code (pattern number code).

以下°にアダマール変換、セグメンテーション、スカラ
ー量子化、ベクトル量子化について個々に説明する。
Below, Hadamard transform, segmentation, scalar quantization, and vector quantization will be explained individually.

第2図は、アダマール変換部101における4×4のア
ダマール変換を示しており、又は変換前、Yは変換後の
信号である。尚、この変換は()(16:  16次ア
ダマール行夕!Dで表わされる。
FIG. 2 shows a 4×4 Hadamard transform in the Hadamard transform unit 101, or before the transform, Y is the signal after the transform. Note that this conversion is expressed as () (16: 16th order Hadamard conversion!D).

ここで = [X11 、X12・X13 、X14 、X21
 、X22・−−−、X43・X44] ”= [Yl
l−Y12・Y13.Y14・Y21 、 Y22・−
=、Y43− Y44]  ”とすれば、 となる。
Here = [X11, X12・X13, X14, X21
,X22・---,X43・X44] ”= [Yl
l-Y12・Y13. Y14・Y21, Y22・-
=, Y43- Y44], then it becomes.

rfI、3図はアダマール変換゛の例を示しており、図
中(1)の様にブロック内に縦エツジが有る場合、係数
Y 12に大きな値が現れる。尚、符号はXの明度の傾
き、即ち、左半分がO1右半分が255の時−(マイナ
ス)、左半分が255゜右半分が0(ゼロ)のとき+(
プラス)となる。
rfI, Figure 3 shows an example of the Hadamard transform, and when there is a vertical edge in the block as shown in (1) in the figure, a large value appears in the coefficient Y12. The sign is the slope of the brightness of
plus).

但し、係数Y 11は明度平均を現す為、ここでは特に
述べない。
However, since the coefficient Y11 represents the brightness average, it will not be particularly described here.

同様に(2)はブロック内に横エツジが有る場合、係数
Y21に大きな値が表れる。その他(3)〜(16)は
図に示す様に縦、横ライン、継型、斜めエツジ、斜め線
のパターンを示している。
Similarly, in (2), when there is a horizontal edge in the block, a large value appears in the coefficient Y21. Others (3) to (16) show patterns of vertical, horizontal lines, joint shapes, diagonal edges, and diagonal lines as shown in the figure.

この様に、アダマール変換結果により、符号化すべきブ
ロックの画像パターン及び明度を知ることができる。
In this way, the image pattern and brightness of the block to be encoded can be known from the Hadamard transform result.

第4図はセグメンテーション部102において各ブロッ
クに対するセグメンテーションを行なう際のパラメータ
の意味を示すものであって、各パラメータはアダマール
変換結果Yにより次の式にて求められる。
FIG. 4 shows the meaning of parameters when performing segmentation for each block in the segmentation unit 102, and each parameter is obtained from the Hadamard transform result Y using the following equation.

VEE=  IY12++  1Y131VLE=  
l  Y14 1  +  I  Y241HEE= 
 I  Y21  l′+  l  Y31 1HLE
=  l y411 + l Y4210TH=  1
Y221+IY331+1Y441EF   =lVE
E−HEEI LF   =lVLE−HLEI パラメータは各々第3図に示した様なパターンの特徴に
着目し、決定されている。VEEは縦エツジ成分パラメ
ータ、VLEは縦線成分パラメータ、HEEは横エツジ
成分パラメータ、HLEは横線成分パラメータ、OTH
はその他斜のエツジ等の成分パラメータ、EFはエツジ
の強弱を表すパラメータで、これが大きいと強いエツジ
である事がわかる。同様にLFは線分の強弱を示すパラ
メータである。
VEE= IY12++ 1Y131VLE=
l Y14 1 + I Y241HEE=
I Y21 l'+ l Y31 1HLE
= l y411 + l Y4210TH= 1
Y221+IY331+1Y441EF =lVE
E-HEEI LF =lVLE-HLEI The parameters are each determined by paying attention to the characteristics of the pattern shown in FIG. VEE is the vertical edge component parameter, VLE is the vertical line component parameter, HEE is the horizontal edge component parameter, HLE is the horizontal line component parameter, OTH
is a component parameter for other diagonal edges, etc., and EF is a parameter representing the strength of an edge, and when this is large, it is understood that the edge is strong. Similarly, LF is a parameter indicating the strength of a line segment.

第5図はセグメンテーション部102において、前述し
た5つのパラメータにより各ブロックを16種のカテゴ
リーに分類する様子を示しており、各分岐、及び各カテ
ゴリーには次の様な意味が有る。これをセグメンテーシ
ョンと呼ぶ。
FIG. 5 shows how the segmentation unit 102 classifies each block into 16 categories using the five parameters described above, and each branch and each category has the following meaning. This is called segmentation.

20:斜めエツジ、線 21:斜めエツジ、線+複雑パターン 22:縦エツジ十複雑パターン 23:横エツジ十゛複雑パターン 24:縦線+複雑パターン 25:横線中複雑パターン 30:単調平坦部 31:平坦ぎみ 32:階調差の小さい縦エツジ 33:階調差の小さい横エツジ 40:階調差の大きい縦エツジ 41:階調差の大きい横エツジ 50:階調差の大きい縦エッジ系パターン51:階調差
の大きい横エッジ系パターン52:階調差の大きい縦線
系パターン 53:階調差の大きい横線系パターン 又第5図中各分岐Ij)〜・1′GIには以下に示す様
な意味付けが有る。
20: Diagonal edge, line 21: Diagonal edge, line + complex pattern 22: Vertical edge 10 complex pattern 23: Horizontal edge 10 complex pattern 24: Vertical line + complex pattern 25: Horizontal line medium complex pattern 30: Monotonous flat part 31: Flat edge 32: Vertical edge with small gradation difference 33: Horizontal edge with small gradation difference 40: Vertical edge with large gradation difference 41: Horizontal edge with large gradation difference 50: Vertical edge pattern 51 with large gradation difference : Horizontal edge pattern with large gradation difference 52 : Vertical line pattern with large gradation difference 53 : Horizontal line pattern with large gradation difference Also, each branch Ij) to 1'GI in FIG. 5 is shown below. It has various meanings.

く分岐Φ〉 強い斜め線(OTHが大きい)の分離<分
岐■〉 エツジ系パターン(VEE 、HEEが大きい
)と線形パターン(VLE、HL大きい)の分離く分岐
+5・〉 強い横エツジパターン(EFが大きい)の抽
出く分岐4)  縦エツジ(VEEが大きい)と横エツ
ジ(HEEが大きい)の分敲く分岐・シ〉 斜めエツジ
を含む複雑パターン(OTHが大きい)の抽出く分岐−
ζ・〉 弱い縦横パターン(EFがやや大きい)と平坦
部を分離く分岐・フッ〉 縦エツジ(VEEが大きい)
と横エツジ(BEEが大きい)の分離く分岐低・〉  
複雑パターンの中からOTHが大きいものを抽出く分岐
僧)〉  複雑パターンの中からHLEが大きいものを
抽出く分岐4◆〉 複雑パターンの中からVLEが大き
いものを抽出く分岐0〉 複雑パターンの中から)(E
EとVERの分離く分岐4j>  強い縦横線パターン
(LFが大きい)の抽出く分岐6>  縦線パターン(
Vl、Eが大きい)と横線パターン()ILEが大きい
)の分離く分岐^〉 分岐2で分離された線系パターン
の内エツジ成分(EFがやや大きい)を含むパターンを
抽出く分岐・】5〉 縦エツジ(VEEが大きい)と横
エツジ系(HEEが大きい)の分離く分岐・九〉 斜め
エツジを含む複雑パターン(OTHが大きい)と平坦部
を分離第6図は、量子化の簡単な説明である。図では、
カテゴリ40の1パターンを例に説明している。まず、
セグメンテーション部102によりカテゴリ分類されて
きたパターンに対して、Y 11を除く各係数の+/−
符号とその絶対値とを分離したものを各々「位相成分」
、「振@成分」と呼ぶ、そして、振幅成分には各係数に
重みっけをし、スカラ量子化器105〜107により非
線形スカラ量子化を施こす、尚、図中網線部の係数はカ
テゴリ40に対してあらかじめ定められた無視する所で
あり、数字はスカラ量子化により丸められた結果である
Branch Φ> Separation of strong diagonal line (large OTH) <branch ■> Branch that separates edge pattern (large VEE, HEE) and linear pattern (large VLE, HL) +5・> Strong horizontal edge pattern (EF 4) Branching to extract vertical edges (large VEE) and horizontal edges (large HEE) Branching to extract complex patterns including diagonal edges (large OTH)
ζ・〉 Branch/foot that separates a weak vertical and horizontal pattern (EF is slightly large) and a flat part〉 Vertical edge (VEE is large)
Separation of horizontal edge (large BEE) and low branching
Branch monk that extracts those with large OTH from complex patterns) Branch 4 that extracts those with large HLE from complex patterns Branch 0 that extracts those with large VLE from complex patterns from inside) (E
Branch 4j that separates E and VER > Branch 6 that extracts a strong vertical and horizontal line pattern (large LF) > Vertical line pattern (
A branch that separates a horizontal line pattern (with large Vl and E) and a horizontal line pattern (with a large ILE) Branch that extracts a pattern that includes an edge component (with a slightly large EF) from the line pattern separated by branch 2.]5 〉 Separation of vertical edge system (large VEE) and horizontal edge system (large HEE) - 9〉 Figure 6 shows the separation of complex patterns including diagonal edges (large OTH) and flat parts. This is an explanation. In the diagram,
One pattern of category 40 is explained as an example. first,
+/- of each coefficient except Y11 for the pattern classified into categories by the segmentation unit 102
The sign and its absolute value are each separated as a “phase component”.
, called the "oscillation@component", and each coefficient of the amplitude component is weighted, and nonlinear scalar quantization is performed by scalar quantizers 105 to 107.The coefficients in the shaded part in the figure are There is a predetermined ignore for category 40, and the numbers are the result of rounding by scalar quantization.

第7図は、16種の全カテゴリの非線形スカラ量子化結
果を示しており、図中点で示した係数は、上にも述べた
カテゴリに応じて無視する係数である。また、カテゴリ
番号に続く数字は各々の係数に割り当てられるbitl
を表わしている。
FIG. 7 shows the results of nonlinear scalar quantization for all 16 categories, and the coefficients indicated by dots in the figure are coefficients to be ignored depending on the categories mentioned above. Also, the number following the category number is the bitl assigned to each coefficient.
It represents.

即ち、符号化データから画像を再生する場合に、元の画
像に近い画像を再生するために重要な係数をカテゴリ毎
に抽出し、それによりスカラ量子化を実行するものであ
る。従って、スカラ量子化の丸め処理に利用する係数を
カテゴリに応じて設定することにより、カテゴリに適し
たスカラ量子化がなされ、良好な画像を再生可能となる
That is, when reproducing an image from encoded data, important coefficients are extracted for each category in order to reproduce an image close to the original image, and scalar quantization is performed based on the coefficients. Therefore, by setting the coefficients used for the rounding process of scalar quantization according to the category, scalar quantization suitable for the category can be performed, and a good image can be reproduced.

第8図は、アダマール変換器101においてアダマール
変換を実現する為のハードウェアブロック図であり、高
速化の為全係数を並列演算する。
FIG. 8 is a hardware block diagram for realizing the Hadamard transform in the Hadamard transformer 101, in which all coefficients are computed in parallel to increase speed.

801はデータ入力線であり、各画素8bitのデータ
が16ケ入力されてくる。802はこれのブロックバッ
ファであり、4X4=16ケのラッチで構成される。8
03はアドレスジェネレータであり、Xブロックバッフ
ァ802中の画素の指定と、H要素ジェネレータ804
に交 中の要素の指定を行なう、即ち、先に示したアダブール
変換Y=属W 1sX(4X4ブロツクナイズ)の計算
におけるh  とxl、を指定するもに交  1」 のである。
A data input line 801 receives 16 pieces of 8-bit data for each pixel. Reference numeral 802 is a block buffer for this, which is composed of 4×4=16 latches. 8
03 is an address generator that specifies pixels in the X block buffer 802 and the H element generator 804.
In other words, the intersecting elements are specified in the calculation of the Adabul transformation Y=genus W 1sX (4X4 blockization) shown above.

804は、■−に記したり、、を発生するものであり、
ROMで構成されている。尚、出力は、h   、h 
  、h   ・拳・・h  と16本L9.21  
3i      18iパラレルになっており、アドレ
スシネレータより出力される4bitがROMのアドレ
スに入力され、文=1.・争・・・16まで指定される
事になる0図中、i、j=L・番・−命4゜k、L;L
=1.− φ・・・・16である。
804 is written in ■- or generates,
It is composed of ROM. In addition, the outputs are h, h
, h ・Fist...h and 16 pieces L9.21
3i 18i parallel, 4 bits output from the address cinerator are input to the ROM address, and the statement = 1.・Conflict...In the 0 diagram that will be specified up to 16, i, j = L・number ・-life 4゜k, L; L
=1. - φ...16.

805は、Yマトリックスの要素Y 11係斂の演算器
であり先に示した計算式でもわかる通り、加算器で構成
される。806.807は各々Y 11以外の係数の演
算器であり、計算式に示した様に、加減算器により構成
される。808,809゜810は%除算器であり、下
位2bitの切り捨てを行なうものである。811,8
12,813はこれらの演算結果であり、Yllは1o
bitの正の数、それ以外は+/−の符号を示すフラグ
bitと、9bitの補数が出力される0回路の動作は
先にも述べた様に、16ケの係数が並列演算される。計
算内容は、式に示した通りである。
805 is an arithmetic unit for the element Y11 of the Y matrix, and as can be seen from the calculation formula shown above, it is composed of an adder. 806 and 807 are arithmetic units for coefficients other than Y11, and as shown in the calculation formula, they are composed of adders and subtracters. Reference numerals 808, 809 and 810 are percentage dividers, which round down the lower 2 bits. 811,8
12,813 is the result of these calculations, and Yll is 1o
As described above, 16 coefficients are operated in parallel in the operation of the 0 circuit which outputs a positive number of bits, a flag bit indicating a sign of +/- for other bits, and a 9-bit complement. The calculation details are as shown in the formula.

即ち、ブロックバッファ802から、1画素イiにデー
ターが読み出され、H1ll要素ジェネレータ804か
ら出力される+/−符号に応じて、加算もしくは減算が
行なわれる。
That is, data is read out from the block buffer 802 for one pixel i, and addition or subtraction is performed according to the +/- sign output from the H1ll element generator 804.

第9図はセグメンテーションを行なうセグメンテーショ
ン部102のハードウェアブロック図である。901.
902,903,904,905は、各々セグメンテー
ションのためのパラメータの演算器であり、補数を絶対
値に変換する回路(インバーターと加算器)と2つ又は
3つの絶対値を加え合わせる°加算器で構成される。9
06゜907も同様に、セグメンテーションを行なうた
めの各パラメータの演算器であり、減算器で構成される
FIG. 9 is a hardware block diagram of the segmentation unit 102 that performs segmentation. 901.
902, 903, 904, and 905 are parameter calculation units for segmentation, which include a circuit (inverter and adder) that converts the complement into an absolute value, and an adder that adds two or three absolute values. configured. 9
Similarly, 06°907 is a computing unit for each parameter for performing segmentation, and is composed of a subtracter.

908.909,910,911,912゜913は、
カテゴリを判定する為に、図に示した様な比較を行なう
ものであり、コンパレータで構成される。この出力がセ
グメンテーションルックアップテーブルROM91Bに
入力されると、まず、ROMの出力下位4bi tによ
り、HEE。
908.909,910,911,912゜913 is
In order to determine the category, the comparison shown in the figure is performed, and it consists of a comparator. When this output is input to the segmentation lookup table ROM 91B, first, HEE is determined by the lower 4 bits of the output of the ROM.

VEE、HLE、VLEの内どれかが最も大きな値を取
っているかの結果が出力される0判定部917では、こ
の出力に従って、それが指示するパラメータとOTHと
の大小比較を行ないその結果は再びセグメントチージョ
ンルックアップテーブルROM918に入力さh6.9
14゜915.916も図に示した様な比較を行なうも
のであり、コンパレータとセレクタにより構成される。
The 0 determination unit 917, which outputs the result of which of VEE, HLE, and VLE has the largest value, compares the parameter it specifies with OTH according to this output, and the result is used again. Input to segment cheese lookup table ROM918 h6.9
14°915.916 also performs the comparison as shown in the figure, and is composed of a comparator and a selector.

以との結果は、セグメンテーションルックアップテーブ
ルROM918に入力され、セグメンテーションを行な
い、その結果のカテゴリを4bitのコードでROM9
18の出力上位4bitから出力される。尚、その判定
方法は、第1表に示す通りである。
The above results are input to the segmentation lookup table ROM 918, segmentation is performed, and the resulting categories are stored in the ROM 9 as a 4-bit code.
18 outputs are output from the upper 4 bits. Note that the determination method is as shown in Table 1.

尚、本実施例で示したスカラ量子化、ヘクトル♀子化は
特に限定するものではない為、詳細な説明は行わない。
Incidentally, since the scalar quantization and the hectoral quantization shown in this embodiment are not particularly limited, a detailed explanation will not be provided.

本実施例では、演算の容易さ、/\−ド化の容易さから
、アダマール変換を用いたが、これに類する直交変換(
離散的CoS変換、スラント変換等)を用いて同じ考え
方を適用しても良い。
In this example, the Hadamard transform was used for ease of calculation and /\- code conversion, but a similar orthogonal transform (
The same idea may be applied using discrete CoS transforms, slant transforms, etc.).

また、本実施例では、セグメンテーションにVEE、V
LE、HEE、HLE、OTHの5つのパラメーターを
用いたが、基本的に、縦、横エッヂ、縦、横線、その他
斜めエッヂ等に着目してカテゴリ分けを行なう方法であ
れば、それに置き変え可能である0例えばUEE= l
 Y121 。
In addition, in this embodiment, segmentation includes VEE and VEE.
We used five parameters: LE, HEE, HLE, and OTH, but basically any method that performs categorization focusing on vertical, horizontal edges, vertical, horizontal lines, and other diagonal edges can be used instead. For example, UEE=l
Y121.

VLE=lY141 、HEE=IY211 、HLE
=I Y41 + 、0TH= I Y221等である
VLE=lY141, HEE=IY211, HLE
=I Y41 +, 0TH=I Y221, etc.

また、本実施例中量子化に、スカラ量子化十ベクトル量
子化を用いたが、これに限定する事なく、スカラ量子化
、ベクトル量子化単独でも良い、また、「位相成分」 
「振幅成分」に分離し量子化する手法を用いているが、
これに限定はしない、 また、符号化の単位となるマト
リクスの大きさは4×4に限らず、符号化すべき画像の
内容、解像度、回路素子に応じて変形できるものである
In addition, although scalar quantization and vector quantization are used for quantization in this embodiment, the quantization is not limited to this, and scalar quantization or vector quantization alone may also be used.
A method is used to separate and quantize the "amplitude components", but
The size of the matrix serving as the unit of encoding is not limited to 4×4, but can be changed depending on the content, resolution, and circuit elements of the image to be encoded.

[効 果] 1Jl−止叩1.たよるに ブロック内のe会に着目し
、カテゴリ分類をし、量子化を施こす事から、符号化す
べき画像に適した符号化が実行でき、復号に際し、劣化
の少ない画像を再現可能となる。また、分類されたカテ
ゴリや隣接ブロックのカテゴリを見る事で画像の領域判
定を行なう事も可能である。
[Effect] 1Jl-stop tapping 1. By focusing on e-groups within a block, classifying them into categories, and applying quantization, it is possible to perform encoding appropriate for the image to be encoded, and it is possible to reproduce images with less deterioration during decoding. . It is also possible to determine the area of an image by looking at the classified categories and the categories of adjacent blocks.

また、エッヂの形状は、主に符号に依存し、その階調レ
ベルは絶対値に依存するので、量子化の際、符号(位相
成分)と絶対値(振幅成分)に分離する事で、ブロック
内のエッヂの形状の著しい劣化を防ぐ事が可能となる。
In addition, the shape of the edge mainly depends on the sign, and its gradation level depends on the absolute value, so when quantizing, by separating the sign (phase component) and absolute value (amplitude component), the block It is possible to prevent significant deterioration of the shape of the inner edge.

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

第1図は本発明を適用した符号化回路の構成例を示す図
、第2図はアダマール変換の説明図、第3図はアダマー
ル変換の変換例を示す図、第4図はセグメンテーション
の説明図、第5図はセグメンテーションの具体例を示す
図、第6図は量子化の一例を示す図、第7図はスカラー
量子化結果を示す図、第8図はアダマール変換を実現す
る為のハードウェアブロック図、第9図はセグメンテー
ションを実現する為のハードウェアブロック図である0
図において、101はアダマール変換器、102はセグ
メンテーション部、103はセレクタ、105〜107
はスカラ量子化器である。
Fig. 1 is a diagram showing an example of the configuration of an encoding circuit to which the present invention is applied, Fig. 2 is an explanatory diagram of Hadamard transform, Fig. 3 is a diagram showing an example of Hadamard transform, and Fig. 4 is an explanatory diagram of segmentation. , Figure 5 is a diagram showing a specific example of segmentation, Figure 6 is a diagram showing an example of quantization, Figure 7 is a diagram showing scalar quantization results, and Figure 8 is hardware for realizing Hadamard transform. Block diagram, Figure 9 is a hardware block diagram for realizing segmentation.
In the figure, 101 is a Hadamard transformer, 102 is a segmentation unit, 103 is a selector, and 105 to 107
is a scalar quantizer.

Claims (1)

【特許請求の範囲】[Claims] 画像情報をm×nサイズのブロックに切り出し、該ブロ
ック単位に符号化を行う画像情報符号化方式において該
ブロックをm×nのマトリクスとみなし、直交変換を施
す手段と、変換後のマトリクスの係数から予め定めた数
種のパラメータを演算する手段と、該パラメータの大小
関係を判別する手段を備え、入力された画像情報の各ブ
ロックをパラメータの大小関係に従っていくつかの定め
られたカテゴリに分類し、該カテゴリ毎に量子化を行う
ことを特徴とする画像情報符号化方式。
In an image information encoding method that cuts out image information into blocks of m×n size and encodes each block, the block is regarded as an m×n matrix, and means for performing orthogonal transformation, and coefficients of the transformed matrix are provided. It is equipped with means for calculating several kinds of parameters predetermined from the above, and means for determining the magnitude relationship of the parameters, and for classifying each block of input image information into several predetermined categories according to the magnitude relationship of the parameters. , an image information encoding method characterized by performing quantization for each category.
JP61232013A 1986-09-30 1986-09-30 Image coding method Expired - Fee Related JP2801182B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61232013A JP2801182B2 (en) 1986-09-30 1986-09-30 Image coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61232013A JP2801182B2 (en) 1986-09-30 1986-09-30 Image coding method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP12599898A Division JP2942243B2 (en) 1998-05-08 1998-05-08 Image encoding apparatus and method

Publications (2)

Publication Number Publication Date
JPS6386963A true JPS6386963A (en) 1988-04-18
JP2801182B2 JP2801182B2 (en) 1998-09-21

Family

ID=16932586

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61232013A Expired - Fee Related JP2801182B2 (en) 1986-09-30 1986-09-30 Image coding method

Country Status (1)

Country Link
JP (1) JP2801182B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02237270A (en) * 1989-03-10 1990-09-19 Canon Inc Coding method and coding device and method for generating code book used for them
US6072910A (en) * 1989-03-10 2000-06-06 Canon Kabushiki Kaisha Method and apparatus for coding image information, and method of creating code book

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IEEE TRANSACTIONS ON COMMUNICATIONS=1977 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02237270A (en) * 1989-03-10 1990-09-19 Canon Inc Coding method and coding device and method for generating code book used for them
US6072910A (en) * 1989-03-10 2000-06-06 Canon Kabushiki Kaisha Method and apparatus for coding image information, and method of creating code book

Also Published As

Publication number Publication date
JP2801182B2 (en) 1998-09-21

Similar Documents

Publication Publication Date Title
JP2705744B2 (en) Image encoding device and decoding device
US6404932B1 (en) Apparatus and method of decoding an image using a statistical model based on pixels
JP2910000B2 (en) Encoding method for binary natural image mixed still image
JP3359215B2 (en) Multi-level image coding device
JPS6386963A (en) Image information encoding system
JPH09205647A (en) Image coder, image decoder and image processor
JP2942243B2 (en) Image encoding apparatus and method
KR100412176B1 (en) Document segmentation compression, reconstruction system and method
Barthel et al. New technology for raster document image compression
JPS6386964A (en) Image information encoding system
JP3835416B2 (en) Image compression apparatus, image compression method, and image compression program
JPH10150575A (en) System and method for processing image
JPH08331391A (en) Image processing unit and method therefor
JPH0342968A (en) Color picture information encoding system
JPH11164150A (en) Image processor
JPH01157168A (en) Image encoding system
JPH08298589A (en) Image processor of photograph/document mixed image
Deng et al. Low-bit-rate image coding using sketch image and JBIG
JPH0993440A (en) Multi-value image processor
JPH0799853B2 (en) Image data compression / decompression method for printing
JP2561294B2 (en) Image coding device
JP2817843B2 (en) Image coding method
Gertsiy Research on graphic data formats for compact representation and comparison of images
JP2001103315A (en) Image coding method and image coder
JPS63220671A (en) Encoding system for image information

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees