JPS6275782A - Picture coding device - Google Patents

Picture coding device

Info

Publication number
JPS6275782A
JPS6275782A JP21489385A JP21489385A JPS6275782A JP S6275782 A JPS6275782 A JP S6275782A JP 21489385 A JP21489385 A JP 21489385A JP 21489385 A JP21489385 A JP 21489385A JP S6275782 A JPS6275782 A JP S6275782A
Authority
JP
Japan
Prior art keywords
code
vector
circuit
image
conversion
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
JP21489385A
Other languages
Japanese (ja)
Inventor
Toyokazu Uda
豊和 宇田
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 JP21489385A priority Critical patent/JPS6275782A/en
Publication of JPS6275782A publication Critical patent/JPS6275782A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To attain the coding of a picture data that appears in various directions only with one reference code table by providing a code vector conversion circuit that converts the bit arrangement of each element of a code vector after converted. CONSTITUTION:The vector Xi of an input picture data is arranged as it is at an rearranging circuit 2 as a picture vector Xi, and an address generating circuit 7 generates in order the address Aj of a code table 6 and reads a code vector Yj. A conversion assigning circuit 10 outputs a conversion mode information Ml in order and a conversion circuit 9 converts the arrangement of each element of the code vector Yj to a code vector Yjl. Each differential circuit 3 calculates the difference between each element of Xi and that of Yjl, and a sum of products circuit 4 calculates respectively for all combinations of the sum of products Sijl of the absolute values of the differences. A minimum value deciding circuit 5 detects a code vector Yb having the smallest distortion Sijl and an encoder 11 forms a code that information Ml is added on the high- order of the address (code) Ab of Yb, and a selector circuit 8 holds the code Ab' and outputs it.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は画像符号化装置に関し、特にベクトル量子化法
を用いた画像符号化装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to an image encoding device, and particularly to an image encoding device using a vector quantization method.

[従来の技術] 第4図及び第5図(a)、(b)は従来技術の説明に係
り、第4図は従来のベクトル量子化法を用いた画像符号
化装置のブロック構成図である。
[Prior art] Fig. 4 and Figs. 5 (a) and 5 (b) relate to the explanation of the prior art, and Fig. 4 is a block diagram of an image encoding device using the conventional vector quantization method. .

図において、1は入力画像から内果素を切り出す画像切
出回路、2は切り出した内果素を所定の順序に並べる再
配列回路、6は内果素の配列(ベクトル)xiに対応す
る符号の配列(ベクトル)Yjを複数記憶している符号
表(ROM)、3は再配列回路2の内果素ベクトルXi
と符号表6の符号ベクトルYjの差分を計算する差分回
路、4は各差分回路3の出力の総和(歪)Sijを計算
する積和回路、5は総和Sijの最小値を判定する最小
値判定回路、7は所定のシーケンスで符号表6の読出ア
ドレスAjを発生するアドレス発生回路、8は最小値判
定回路5の最小値判定出力によりその時点のアドレスA
bを保持し、出力するセレクタ回路である。
In the figure, 1 is an image cutting circuit that cuts out the inner fruit elements from the input image, 2 is a rearrangement circuit that arranges the extracted inner fruit elements in a predetermined order, and 6 is a code corresponding to the array (vector) xi of the inner fruit elements. A code table (ROM) that stores a plurality of arrays (vectors) Yj, 3 is the internal element vector Xi of the rearrangement circuit 2.
4 is a product-sum circuit that calculates the sum (distortion) Sij of the outputs of each difference circuit 3, and 5 is a minimum value judgment that judges the minimum value of the sum Sij. 7 is an address generation circuit that generates the read address Aj of the code table 6 in a predetermined sequence; 8 is a circuit that generates the address A at that time based on the minimum value judgment output of the minimum value judgment circuit 5;
This is a selector circuit that holds and outputs b.

第5図(L)は画像切出回路1により原画像入力をmX
n画素の各内果素に分割する態様を示す図である。以下
、この内果;Kを入力画要素と呼ぶ。第5図(b)は人
力画像と入力画要素との関係を示す図である。再配列回
路2では例えばi番目の画像の入力画要素(Xt 、 
、x2 、 、・・・、)1がnm次元に配列されてベ
クトルX1=(X11 、X21 、X31 、・=、
X1m、−、Xmn11となる。以下、このベクトルを
入力ベクトルXiと呼ぶ。符号表6は最大に個の符号ベ
クトルYj(j=l〜k)を記憶するROMであって、
各符号ベクトルYjには読出アドレスAj(j=1〜k
)が割り当てられている。尚、符号ベクトルYjの各要
素は入力ベクトルXiの各要素に対応しており、Elr
Gk番目の符号ベクトルをYk= (Yl l 、 Y
2 t 、+++、 Ymnl kテ表わす。
Figure 5 (L) shows the original image input by the image cutting circuit 1.
FIG. 7 is a diagram illustrating a manner in which the image is divided into n-pixel medial elements. Hereinafter, this inner result; K will be referred to as an input image element. FIG. 5(b) is a diagram showing the relationship between a human image and input image elements. In the rearrangement circuit 2, for example, the input image element (Xt,
, x2 , ,...,)1 are arranged in nm dimensions and the vector X1=(X11 , X21 , X31 ,...=,
X1m, -, Xmn11. Hereinafter, this vector will be referred to as input vector Xi. The code table 6 is a ROM that stores a maximum of code vectors Yj (j=l to k),
Each code vector Yj has a read address Aj (j=1 to k
) is assigned. Note that each element of the code vector Yj corresponds to each element of the input vector Xi, and Elr
The Gk-th code vector is expressed as Yk= (Yl l , Y
2 t , +++, Ymnl kte is expressed.

かかる構成において、人力ベクトルXiがあると、アド
レス発生回路7は符号表6のアドレスAjをlllrl
次(例えば1〜にの順で)発生する。各差分回路3は各
アドレスAjについて入力ベクトルXiの各要素と符号
ベクトルYjの各要素の差分(Xz 1−Yt 1 、
X21−Y2 t 、−、Xmn−Ymn)i jを計
算し、積和回路6は各アドレスAjについての差分の絶
対値の総和Sijをj=1〜kについて夫々計算する。
In such a configuration, when there is a human vector Xi, the address generation circuit 7 converts the address Aj of the code table 6 into lllrl
The next occurrence (for example, in the order of 1 to 2) occurs. Each difference circuit 3 calculates the difference (Xz 1 - Yt 1 ,
X21-Y2 t , -, Xmn-Ymn) ij is calculated, and the product-sum circuit 6 calculates the sum Sij of the absolute value of the difference for each address Aj for j=1 to k, respectively.

即ち、入力ベクトルXiと符号ベクトルYjとの間の歪
Sij(j=1〜k)が順次計算される。最小値判定回
路5は符号表6のに個の符号ベクトルYjのうち入力ベ
クトルXiとの間で最も歪Sijの小さい符号ベクトル
Ybの存在を検出し、そのときの符号ベクトルybの読
出アドレス(符号)Abがセレクタ回路8により保持さ
れ、出力される。
That is, distortions Sij (j=1 to k) between input vector Xi and code vector Yj are sequentially calculated. The minimum value determination circuit 5 detects the existence of the code vector Yb with the smallest distortion Sij among the code vectors Yj in the code table 6, and determines the read address (code ) Ab is held by the selector circuit 8 and output.

ところで、一般に入力画像データの表われる向きは一定
ではない。例えば画像読取装鐙の走査方式により同一原
稿画像であってもその読取画像データの配列は右から表
われたり左から表われたりする。そこで種々の読取画像
データの配列について上述した画像符号化方式により画
像を符号化したいわけであるが、このために従来は種々
の読取画像データの配列に応じた符号表を夫々別個に設
けなくてはならなかった。従って符号表を保持するため
に多くのメモリが必要であった。
Incidentally, the direction in which input image data appears is generally not constant. For example, depending on the scanning method of the image reading stirrup, the arrangement of read image data may appear from the right or from the left even for the same document image. Therefore, we would like to encode images using the above-mentioned image encoding method for the arrangement of various read image data, but to do this, conventionally it was not necessary to provide separate code tables for each arrangement of the various read image data. It didn't happen. Therefore, a large amount of memory was required to hold the code table.

し発明が解決しようとする問題点] 本発明は上述した従来技術の問題点に鑑みてなされたも
のであり、その目的とする所は、標準となる符号表一つ
で色々な方向に表われる画像データを符号化できる画像
符号化装置を提供することにある。
[Problems to be Solved by the Invention] The present invention has been made in view of the above-mentioned problems of the prior art, and its purpose is to solve the problem in various directions using a single standard code table. An object of the present invention is to provide an image encoding device capable of encoding image data.

[問題点を解決するための手段] この問題点を解決する一手段として例えば第1図に示す
実施例の画像符号化装置は、いわゆるベクトル量子化法
を用いた画像符合化装置であって、複数種の符号ベクト
ルYj (j=l〜k)を発生する符号ベクトル発生手
段(ROM)6と。
[Means for solving the problem] As a means for solving this problem, for example, the image encoding device of the embodiment shown in FIG. 1 is an image encoding device that uses a so-called vector quantization method, and and a code vector generating means (ROM) 6 that generates a plurality of types of code vectors Yj (j=l to k).

所定の変換モードの情報M文(L;L=1〜p)に従っ
て前記符号ベクトル発生手段6の発生する符号ベクトル
Yj(1)要素fYz 1 、 Y2 x 、+°+、
 Ymnl  jc7)配列をYj文=(Yll ′、
Y21  ′。
Code vector Yj(1) elements fYz 1 , Y2 x , +°+, generated by the code vector generating means 6 according to the information M sentence (L; L=1 to p) of a predetermined conversion mode;
Ymnl jc7) array Yj statement = (Yll ′,
Y21'.

・・・、Yrnn’jj見に変換する符号ベクトル変換
回路9と、入力した画像ベクトルX1=(X11 、X
2 x 、X31%+、Xx n 、。+、Xmn)i
と変換後の符号ベクトルYjiとの比較をして、例えば
各要素の差分(Xl t −Yl 1 ’ 、X2 t
 −Y21 ’ 、・”、Xmn−Ymn ’)  i
 31を総和した歪Sij文が最小となるときの符号ベ
クトルYbを発生するROM6の読出アドレス情報Ab
と前記所定の変換モードの情報M交(文=1−p)とに
基づいて入力画像Xiを符号Ab’(情報Muの下位に
情報Abを付したもの)に符号化する画像符号化手段1
1.8を備える。
..., Yrnn'jj, and the input image vector X1=(X11,X
2 x , X31%+, Xx n ,. +, Xmn)i
and the code vector Yji after conversion, and calculate, for example, the difference of each element (Xl t - Yl 1 ', X2 t
-Y21',・",Xmn-Ymn') i
Read address information Ab of the ROM 6 that generates the code vector Yb when the distorted Sij sentence that is the sum of 31 is the minimum
image encoding means 1 for encoding the input image Xi into a code Ab' (information Ab added below the information Mu) based on the information M exchange (sentence=1-p) of the predetermined conversion mode;
1.8.

また好ましくは、符号ベクトル変換回路9は変換後の符
号ベクトルYJIの各要素のビット配列を変換する。
Preferably, the code vector conversion circuit 9 converts the bit array of each element of the converted code vector YJI.

し作用」 かかるm1図の構成において1画像データのベクトルX
iはσ■配列回路2でそのまま画像ベクトルXi= (
Xt l 、X21、−、Xmn1 iとして配列され
る。次にアドレス発生回路7は符号表6のアドレスAj
を順次(例えばl−にの順で)発生して符壮ベクトルY
j= (Ytt 、Y21 。
In the configuration of such m1 diagram, vector X of one image data
i is the σ■ array circuit 2, and the image vector Xi= (
Xt l , X21, -, Xmn1 i. Next, the address generation circuit 7 generates the address Aj of the code table 6.
are generated sequentially (for example, in the order of
j=(Ytt, Y21.

・・・、Ymnl  j  (j=1〜k)を読み出す
。このとき、この読み出された符号ベクトルYjに対し
て変換指定回路10は変換モードの情報M立(立=1〜
p)を11「1次(例えばlからpの順で)発生して変
換回路9に出力する。変換回路9は情報M見に従って符
5+ベクトルYj= (Yt 1 、Y21、・・・、
Ymnl  jの各要素の配列を符号ベクトルYjJl
= (Ytz ’ 、Y21 ′、−、Ymn) 1文
に変換する。従って、符号表6より読み出された符号ベ
クトルYjは変換指定回路10で順次発生する変換モー
ドの情f4iM文(交=1〜p)に従って変換回路9で
変換され、順次符号ベクトルYjz 、Yj2.・・・
、Yjpを発生する。
..., Ymnl j (j=1 to k) is read. At this time, the conversion designation circuit 10 sets conversion mode information M (standing = 1 to
p) is generated in 11th order (for example, in the order of l to p) and outputted to the conversion circuit 9.The conversion circuit 9 generates 5 + vector Yj = (Yt 1 , Y21, . . . ) according to the information M.
The array of each element of Ymnl j is a code vector YjJl
= (Ytz', Y21', -, Ymn) Convert into one sentence. Therefore, the code vector Yj read from the code table 6 is converted by the conversion circuit 9 according to the conversion mode information f4iM statement (cross=1 to p) sequentially generated by the conversion designation circuit 10, and the code vectors Yjz, Yj2, . ...
, Yjp are generated.

各差分回路3は各アドレスAjと各変換モードの情報M
lについて入力ベクトルXiの各要素と符号ベクトルY
j文の各要素の差分(x、 、 −yl t  ’ 、
X21−Y2 t  ’−−−、Xmn−Ymn’)i
jMを計算し、積和回路4は各アドレスAjと各変換モ
ードの情報Mlについての差分の絶対頭の総和Sij交
をj=1〜に1文=1−pの全ての組み合せについて夫
々計算する。最小値判定回路5は符号表6のに個の符号
ベクトルYjから変換回路9によって変換されたkXp
個の符号ベクトルYj交のうち入力ベクトルXiとの間
で最も歪5ijuの小さい符号ベクトルYbを検出する
。エンコーグ11はそのときのアドレス(符号)Abの
L位に情報ベクトルYbのアドレス(符号)Abの上位
に情報M文を伺した符号M1、Abを形成する。セレク
タ回路8はこの符号Ab’=M文、Abを保持し、出力
する。
Each differential circuit 3 receives information M for each address Aj and each conversion mode.
Each element of input vector Xi and code vector Y for l
Difference of each element of j sentence (x, , −yl t',
X21-Y2 t'---, Xmn-Ymn')i
jM is calculated, and the product-sum circuit 4 calculates the total sum Sij of the absolute head of the difference for each address Aj and the information Ml of each conversion mode for all combinations of j=1 to 1 sentence=1-p. . The minimum value determination circuit 5 converts kXp converted by the conversion circuit 9 from the code vectors Yj in the code table 6.
The code vector Yb with the smallest distortion 5iju between the input vector Xi and the input vector Xi is detected among the code vectors Yj. The encoder 11 forms a code M1, Ab in which the information M sentence is placed above the address (code) Ab of the information vector Yb at the L position of the address (code) Ab at that time. The selector circuit 8 holds and outputs this code Ab'=M sentence, Ab.

かようにして、同一画像の画像データXiは例えどのよ
うな順序で表われても符号Abに変換され、かつその頭
に符号ベクトルの変換の方法を表わす符号Muが付され
る。
In this way, the image data Xi of the same image is converted into the code Ab no matter what order it appears, and the code Mu representing the code vector conversion method is prefixed to the code Ab.

また好ましくは、変換回路9は更に例えば変換後の符号
ベクトルY j1= (Ymn 、Ym−xn、・・・
、Ylz)juの各要素について1例えば要素Ymnc
7)ビット配列(Bzz 、B21 +−。
Preferably, the conversion circuit 9 further converts, for example, the code vector Y j1= (Ymn , Ym-xn, . . .
, Ylz) 1 for each element of ju, e.g. element Ymnc
7) Bit array (Bzz, B21 +-.

Bml、Bx 2 、B22 、+++、Bm2.=−
、Bln 、−・・、 B m n lをヒツト配列(
Bmn、Bm−1n、−、Bz n、・−、Brn2 
、Bm−12。
Bml, Bx 2 , B22 , +++, Bm2. =-
, Bln , --..., B m n l as a human sequence (
Bmn, Bm-1n, -, Bz n, ·-, Brn2
, Bm-12.

−、Br2.Bmz 、・・・、B、11に変換する。-, Br2. Convert to Bmz, ..., B, 11.

こうすることにより、原稿読取の際のいわゆる主走査、
副走査について共に反転した画像データが入力されても
容易に符号化できる。
By doing this, so-called main scanning when reading a document,
Even if image data inverted for the sub-scanning is input, it can be easily encoded.

[実施例] 以下2添付図而に従って本発明の実施例を詳細に説明す
る。
[Examples] Examples of the present invention will be described in detail below with reference to two attached figures.

第1図〜第3図は本発明の詳細な説明に係り、第1図は
実施例の画像符号化装首を示すブロンク構成図である。
FIGS. 1 to 3 relate to detailed explanation of the present invention, and FIG. 1 is a block diagram showing an image encoding neck wear according to an embodiment.

尚、第4図と同厚の構成には同一番号を付して説明を省
略する。第1図において、9は例えば180度回転の変
換モードの情報Muに従って符号ベクトルYj= I’
11x 、Y21 、・・・、Ymnl  jの各要素
の配列を符号ベクトルY jl= iYmn 、 Ym
−1n 、+++、 yl 1 )j交に変換する変換
回路、10は各種変換モードの情報(符号〕M立を出力
する変換指定回路、11はアドレス発生回路7のアドレ
ス(符号)出力Ajと変換指定回路10の変換モードの
情報(符号)出力Muとから、例えば単にこれらを接続
した新たな符号Ab’=M党、Aj(M文、Ab)を形
成するエンコータである。
It should be noted that structures having the same thickness as those in FIG. 4 are given the same numbers and their explanations will be omitted. In FIG. 1, 9 is, for example, a code vector Yj=I' according to the information Mu of the conversion mode of 180 degree rotation.
11x , Y21 , ..., Ymnl j as a code vector Y jl = iYmn , Ym
-1n, +++, yl 1 )j conversion circuit; 10 is a conversion designation circuit that outputs information (sign) of various conversion modes (sign) M; 11 is a conversion circuit that converts the address (sign) output Aj of address generation circuit 7; It is an encoder that forms a new code Ab′=M party, Aj (M sentence, Ab) by simply connecting them, for example, from the conversion mode information (code) output Mu of the designation circuit 10.

かかる第1図の構成において、画像データのベクトルX
iは再配列回路2でそのまま画像ベクトルXi= (X
I 1.X21.−、Xrnnl iとして配列される
。次にアドレス発生回路7は符号表6のアドレスAjを
順次(例えば1〜にの順で)発生して符号ベクトルYj
= (Yl 1 、Y2 t 。
In the configuration shown in FIG. 1, vector X of image data
i is the image vector Xi= (X
I 1. X21. −, Xrnnl i. Next, the address generation circuit 7 sequentially generates the addresses Aj of the code table 6 (for example, in the order of 1 to 1) and generates the code vector Yj.
= (Yl 1 , Y2 t .

・・・、Ymn)j(j=l〜k〕を読み出す。この場
合に、変換指定回路10は変換モードの情報M文(見=
1〜p)を順次発生する。例えば180度回転モードの
情報Mlが変換回路9に出力された場合は、変換回路9
は情報M文に従って符号ベクトルyj= (Yzz 、
Y21、−、Ymx 、Yl 21 Y 221 =−
、Y m 21 =−、Y ln + −、Ymn)j
の各要素の配列を符号ベクトルYjl=(Ymn、Ym
−1n、−−・、Yln、・・・、Ym2 、Ym−1
2、−、Yt2.Ymx 、−、Yx1’t  Jlに
変換する。各差分回路3は各アドレスAjについて入力
ベクトルXiの各要素と符号ベクトル73文の各要素の
差分(Xl 1−Ymn 。
..., Ymn)j (j=l to k]. In this case, the conversion specification circuit 10 reads the conversion mode information M sentence (view=
1 to p) are generated sequentially. For example, when the information Ml of the 180 degree rotation mode is output to the conversion circuit 9, the conversion circuit 9
is the code vector yj= (Yzz,
Y21, -, Ymx, Yl 21 Y 221 = -
, Y m 21 =-, Y ln + -, Y mn)j
The array of each element of is expressed as a code vector Yjl=(Ymn, Ym
-1n, --., Yln, ..., Ym2, Ym-1
2,-,Yt2. Convert to Ymx, -, Yx1't Jl. Each difference circuit 3 calculates the difference (Xl 1-Ymn ) between each element of the input vector Xi and each element of the code vector 73 sentence for each address Aj.

X2 t −Ym−1n 、−・−、Xrnn−Yt 
z)  i 3文を計算する。積和回路4は各アドレス
Ajと変換モードの情報Mlについての差分の絶対値の
総和5ijfLをj=1〜に、=1−p文についてその
全ての組み合せについて夫々計算する。最小値判定回路
5は変換後のkXp個の符号ベクトルYjlのうち入力
ベクトルXiとの間で最も全Sij文の小さい符号ベク
トルYbを検出する。エンコータ11は例えばそのとき
の符号ベクトルYbのアドレス(符号)Abの上位に情
報M文を付した形の符号Mu、Abを形成する。セレク
タ回路8は最小値′r1定回路5の出力の最小値判定に
従ってこの符号Ab’=MM、Abを保持し、出力する
。かようにして、同一画像の画像データXiは例えどの
ような順序で表われても符号Ab’=M文、Abに変換
され、その頭の符号M文は符号ベクトルの変換の方法を
表わす。
X2 t −Ym−1n , −・−, Xrnn−Yt
z) i Calculate 3 sentences. The product-sum circuit 4 calculates the sum 5ijfL of the absolute values of the differences between each address Aj and the conversion mode information M1 for j=1 to j=1-p for all combinations thereof. The minimum value determination circuit 5 detects the code vector Yb that has the smallest total Sij sentence among the kXp code vectors Yjl after conversion and the input vector Xi. The encoder 11 forms codes Mu and Ab in the form of, for example, the address (code) Ab of the code vector Yb at that time, with an information M sentence added to the upper part. The selector circuit 8 holds and outputs the sign Ab'=MM, Ab according to the minimum value determination of the output of the minimum value 'r1 constant circuit 5. In this way, image data Xi of the same image is converted into the code Ab'=M sentence, Ab, no matter what order they appear, and the first code M sentence represents the method of converting the code vector.

また好ましくは、変換回路9は更に変換後の例えば符号
ベクトルY j l= (Ymn 、 Ym−tn、・
・・、Yzn)jJlの各要素について、例えば要素Y
mnのヒツト配列(Bz 1. B2 t 、・++。
Preferably, the conversion circuit 9 further converts, for example, the code vector Y j l= (Ymn, Ym-tn, .
..., Yzn)jJl, for example, element Y
Human sequence of mn (Bz 1. B2 t, .++.

Bml、Bz 2 、B22 、…、Brn2.…、B
ln 、 ・−・、 B m n )をビット配列(B
mn、Bm−1n  、−、Bl  n  、m、  
Bm2  、  Bm−t  2  。
Bml, Bz 2 , B22 ,..., Brn2. ...,B
ln, ..., B m n ) into a bit array (B
mn,Bm-1n,-,Bln,m,
Bm2, Bm-t2.

・・・、 B t 2 、 B m 1 、 ・・・、
 B 1t ’t ニ変換する。
..., B t 2 , B m 1 , ...,
B 1t 't Convert.

この関係は符号ベクトルYjを符号ベクトルYj立に変
換する場合と同等の関係にある。こうすることにより、
原稿読取の際に、いわゆる主走査、副走査について共に
反転した画像データが入力されても容易に符号化できる
This relationship is equivalent to the case where the code vector Yj is converted to the code vector Yj. By doing this,
When reading a document, even if image data that is inverted for both main scanning and sub-scanning is input, it can be easily encoded.

第2図(a)〜(f)は実施例の各種変換の態様を示す
図に係り 第2図(a)は無変換時の符号ベクトルYj
!;Lの配列を示す図、第2図(b)は180度回転変
換時の符号ベクトル73文の配列を示す図、第2図(C
)は左右反転変換時の符号ベクトルY、illの配列を
示す図、第2図(d)は上下反転変換時の符号ベクトル
73文の配列を示す図、第2図(e)は90度回転変換
時の符号ベクトル73文の配列を示す図、第2図(f)
は270度回転変換時の符号ベクトル73文の配列を示
す図である。このように、例えば符号表6の全符号ベク
トル数をに個とするとM立線(文=l〜p)の変換回路
9を設けることにより、変換後の符号ベクトル数は実質
kXpとなる。また、逆に従来と同数の符号ベクトルを
生成するために必要な符号表6の大きさは1/pで済む
ことになり、経済的である。
FIGS. 2(a) to (f) are diagrams showing aspects of various conversions in the embodiment. FIG. 2(a) is the code vector Yj when no conversion is performed.
! ; Figure 2 (b) is a diagram showing the arrangement of L; Figure 2 (b) is a diagram showing the array of code vector 73 sentences during 180 degree rotation conversion; Figure 2 (C
) is a diagram showing the arrangement of code vectors Y and ill during horizontal flip conversion, Figure 2 (d) is a diagram showing the array of code vector 73 sentences during vertical flip conversion, and Figure 2 (e) is 90 degree rotation. Diagram showing the arrangement of code vector 73 sentences during conversion, Figure 2 (f)
is a diagram showing the arrangement of 73 code vector sentences at the time of 270 degree rotation conversion. In this way, for example, if the total number of code vectors in the code table 6 is , then by providing the conversion circuit 9 for M vertical lines (text=l to p), the number of code vectors after conversion becomes substantially kXp. Moreover, on the contrary, the size of the code table 6 required to generate the same number of code vectors as in the conventional method is reduced to 1/p, which is economical.

第3図は実施例の変換回路9の詳細を示すブロック構成
図である。変換回路9は図のように複数のデータセレク
タ回路で構成できる。勿論、データセレクタ回路の機能
はソフトウェアでも実現できるから、変換回路9はマイ
クロプロセッサ(CPU)が所定のプログラムを実行す
ることによっても実現できる。第3図において、今18
0度回転の例を説明すると、テータセレクタ回路911
□の入力端子Aには符号ベクトルY11が入力し、入力
端子Bには符号ベクトルYmnが入力している。ここに
おいて、変換情報Mlが論理0(Mo)のときには入力
端子Aの情報Y11が出力端子0に表われ、変換情報M
lが論理1 (Ml)のときには入力端′f−Bの情%
I Y m nが出力端子○に表われる。また、データ
セレクタ回路91mnの入力端子Aには符号ベクトルY
mnが人力し、入力端子Bには符号ベクトルY11が入
力している。同様にして、変換情報Mが論理0 (MO
)のときには入力端子Aの情%lYmnが出力端子Oに
表われ、変換情報Mが論理1(Mz)のときには入力端
子Bの情報Yllが出力端子0に表われる。従って変換
情報Mlを論理O又は論理1とすることにより、符号ベ
クトルYjの変換が容易に行われる。
FIG. 3 is a block diagram showing details of the conversion circuit 9 of the embodiment. The conversion circuit 9 can be composed of a plurality of data selector circuits as shown in the figure. Of course, the function of the data selector circuit can also be realized by software, so the conversion circuit 9 can also be realized by a microprocessor (CPU) executing a predetermined program. In Figure 3, now 18
To explain an example of 0 degree rotation, theta selector circuit 911
The code vector Y11 is input to the input terminal A of □, and the code vector Ymn is input to the input terminal B. Here, when the conversion information Ml is logic 0 (Mo), the information Y11 of the input terminal A appears on the output terminal 0, and the conversion information M
When l is logic 1 (Ml), the information at input terminal 'f-B' is
I Y m n appears on the output terminal ○. In addition, the input terminal A of the data selector circuit 91mn has a code vector Y
mn is input manually, and the code vector Y11 is input to the input terminal B. Similarly, the conversion information M is logical 0 (MO
), the information %lYmn of the input terminal A appears on the output terminal O, and when the conversion information M is logic 1 (Mz), the information Yll of the input terminal B appears on the output terminal 0. Therefore, by setting the conversion information Ml to logic O or logic 1, code vector Yj can be easily converted.

一方、データセレクタ群9211〜92mnにも上述し
た構成と同様の構成が含まれている。但しこの場合の各
人力は符号ベクトルY11〜Ymnではなくて各ベクト
ル要素を構成するビットB11NBmnである。
On the other hand, the data selector groups 9211 to 92mn also include a configuration similar to the configuration described above. However, in this case, each human power is not the code vectors Y11 to Ymn but the bits B11NBmn forming each vector element.

尚1本実施例ではmXn画要素の二次元画像データに関
して取り扱っているが、音声のような一次元データに関
しても容易に適用できる。
Although this embodiment deals with two-dimensional image data of mXn image elements, it can also be easily applied to one-dimensional data such as audio.

また、本実施例ではmXn画要素に関して取り扱ってい
るが、特にm=nの場合は第2(e)に示す90度回転
モート、同図(f)に示す270度回転モードにも容易
に適用できる。
In addition, although this example deals with mXn image elements, especially when m=n, it can also be easily applied to the 90 degree rotation mode shown in 2(e) and the 270 degree rotation mode shown in 2(f). can.

また、本実施例では符号ベクトルYjを変換するように
構成したが、そうではなく、入力した画像ベクトルXi
を変換するように構成してもよい。
Further, although the present embodiment is configured to convert the code vector Yj, instead of converting the input image vector Xi
It may be configured to convert.

〔効果J 以上述へた如く本発明によれば、f換手段を設けること
により、符号表の符号ベクトル数を少なくでき、よって
符号表を記憶するメモリ容量を少なくすることができて
経済的である。
[Effect J As described above, according to the present invention, by providing the f conversion means, the number of code vectors in the code table can be reduced, and therefore the memory capacity for storing the code table can be reduced, which is economical. be.

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

第1図は実施例の画像符号化装置を示すブロック構成図
。 :JS2図(a)は無変換時の符号ベクトル要素愛の配
列を示す図、 第2図(b)は180度回転変換時の符号ベクトル要素
父の配列を示す図、 第2図(C)は左右反転変換時の符号ベクトルYj文の
配列を示す図、 752図(d)は上下反転変換時の符号ベクトルYj文
の配列を示す図。 7JSZ図(e)は90度回転変換時の符号ベクトルY
j文の配列を示す図、 第2図(f)は270度回転変換時の符号ベクトルYj
文の配列を示す図、 第3図は実施例の変換回路9の詳細を示すブロック構成
図、 第4図は従来のベクトル量子化法を用いた画像符号化装
置のブロック構成図、 第5図(a)は画像切出回路lにより原画像入力をmX
n画素の各内果素に分割する態様を示す図、 第5図(b)は久方画像と人カ画要素との関係を示す図
である。 図中、l・・・画像切出回路、2・・・画像再配列回路
、3・・・差分回路、4・・・積和回路、5・・・最小
(ic+判定回路、6・・・符号表(ROM)、7・・
・アドレス発主回路、8・・・セレクタ回路、9・・・
変換回路、lO・・・変換指定回路、11・・・エンコ
ータである。 特許出願人   キャノン株式会社 第1図 w12図 第4図 し−一一だ 第5図 CG)        (b)
FIG. 1 is a block diagram showing an image encoding device according to an embodiment. :JS2 Diagram (a) is a diagram showing the arrangement of code vector elements A when no conversion is performed, FIG. 752(d) is a diagram showing the arrangement of code vector Yj sentences during horizontal reversal conversion. FIG. 752(d) is a diagram showing the arrangement of code vector Yj sentences during vertical reversal conversion. 7JSZ diagram (e) is the code vector Y during 90 degree rotation conversion.
Figure 2 (f) is a diagram showing the arrangement of j sentences.
FIG. 3 is a block diagram showing the details of the conversion circuit 9 of the embodiment; FIG. 4 is a block diagram of an image encoding device using the conventional vector quantization method; FIG. In (a), the original image is input by mX by the image cutting circuit l.
FIG. 5(b) is a diagram showing the manner in which the image is divided into n-pixel medial elements, and FIG. In the figure, l...image cutting circuit, 2...image rearrangement circuit, 3...difference circuit, 4...product-sum circuit, 5...minimum (ic+judgment circuit), 6... Code table (ROM), 7...
・Address generator circuit, 8...Selector circuit, 9...
Conversion circuit, lO... Conversion designation circuit, 11... Encoder. Patent applicant: Canon Co., Ltd. Figure 1 w12 Figure 4 Figure 5 CG) (b)

Claims (4)

【特許請求の範囲】[Claims] (1)ベクトル量子化法を用いた画像符合化装置におい
て、複数種の符号ベクトルを発生する符号ベクトル発生
手段と、所定の変換モードに従つて前記符号ベクトル発
生手段の発生する符号ベクトルの要素の配列を変換する
符号ベクトル変換手段と、入力した画像ベクトルと比較
をしてその歪が最小となるときの前記符号ベクトルを発
生する情報と前記所定の変換モードの情報とに基づいて
画像を符号化する画像符号化手段を備えることを特徴と
する画像符号化装置。
(1) In an image encoding device using a vector quantization method, a code vector generating means generates a plurality of types of code vectors, and an element of the code vector generated by the code vector generating means according to a predetermined conversion mode. A code vector conversion means for converting an array, information for generating the code vector when the distortion thereof is minimized by comparison with the input image vector, and information on the predetermined conversion mode to encode the image. An image encoding device characterized by comprising an image encoding means.
(2)符号ベクトル変換手段は変換後の符号ベクトルの
各要素のビット配列を変換することを特徴とする特許請
求の範囲第1項記載の画像符号化装置。
(2) The image encoding device according to claim 1, wherein the code vector conversion means converts the bit array of each element of the converted code vector.
(3)画像符号化手段はその歪が最小となるときの符号
ベクトルを発生する情報の上位又は下位に所定の変換モ
ードの情報を付することにより画像を符号化することを
特徴とする特許請求の範囲第1項記載の画像符号化装置
(3) A patent claim characterized in that the image encoding means encodes the image by adding information on a predetermined conversion mode above or below the information that generates the code vector when the distortion is minimized. The image encoding device according to item 1.
(4)ベクトル量子化法を用いた画像符合化装置におい
て、複数種の符号ベクトルを発生する符号ベクトル発生
手段と、入力した画像ベクトルの要素の配列を所定の変
換モードに従つて変換する画像ベクトル変換手段と、該
画像ベクトル変換手段が変換した画像ベクトルと比較を
してその歪が最小となるときの前記符号ベクトルを発生
する情報と前記所定の変換モードの情報とに基づいて画
像を符号化する画像符号化手段を備えることを特徴とす
る画像符号化装置。
(4) In an image encoding device using a vector quantization method, a code vector generating means generates a plurality of types of code vectors, and an image vector converts an array of elements of an input image vector according to a predetermined conversion mode. encoding an image based on a conversion means, information for generating the code vector when the distortion thereof is minimized by comparison with the image vector converted by the image vector conversion means, and information on the predetermined conversion mode; An image encoding device characterized by comprising an image encoding means.
JP21489385A 1985-09-30 1985-09-30 Picture coding device Pending JPS6275782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21489385A JPS6275782A (en) 1985-09-30 1985-09-30 Picture coding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21489385A JPS6275782A (en) 1985-09-30 1985-09-30 Picture coding device

Publications (1)

Publication Number Publication Date
JPS6275782A true JPS6275782A (en) 1987-04-07

Family

ID=16663305

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21489385A Pending JPS6275782A (en) 1985-09-30 1985-09-30 Picture coding device

Country Status (1)

Country Link
JP (1) JPS6275782A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04229381A (en) * 1990-04-25 1992-08-18 Hughes Aircraft Co Data compressing system and method
JPH04229321A (en) * 1990-04-25 1992-08-18 Hughes Aircraft Co System and method for extending data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS542619A (en) * 1977-06-08 1979-01-10 Matsushita Electric Ind Co Ltd Tw0-dimensional block coding system
JPS60150339A (en) * 1984-01-18 1985-08-08 Mitsubishi Electric Corp Sub-sample vector quantizing device of picture

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS542619A (en) * 1977-06-08 1979-01-10 Matsushita Electric Ind Co Ltd Tw0-dimensional block coding system
JPS60150339A (en) * 1984-01-18 1985-08-08 Mitsubishi Electric Corp Sub-sample vector quantizing device of picture

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04229381A (en) * 1990-04-25 1992-08-18 Hughes Aircraft Co Data compressing system and method
JPH04229321A (en) * 1990-04-25 1992-08-18 Hughes Aircraft Co System and method for extending data

Similar Documents

Publication Publication Date Title
JPH0793559A (en) Method for storage of compressed image of high-resolution computer graphics
US4602383A (en) Image data compression system
JPWO2004068844A1 (en) Image compression method, image restoration method, program, and apparatus
JPH0197064A (en) Processing device and method of pel signol of original inage
JP4980958B2 (en) Encryption method using color, and message provision method using color photographic image
JPS6275782A (en) Picture coding device
JPH07273664A (en) Coding and decoding device, coder and decoder
JP3510662B2 (en) Smoothing scaling method for facsimile images
JPH0818790A (en) Compression system for half tone image
JP2004201302A (en) Image resolution conversion method
JP2713930B2 (en) Image processing method
JPH11306343A (en) Rotational processing device for two-dimensional data
JPS61243570A (en) Form information compression method
JP2007241329A (en) Program, information storage medium, two-dimensional code generation system, image generation system and printed matter
JPH0563959A (en) Method and device for processing picture
JPH0520046Y2 (en)
JP2800250B2 (en) Data compression method
JPH11227263A (en) Printing system, printing equipment and printing controller
JP2800252B2 (en) Data compression method
JPS5840924A (en) Encoder
JPH0435465A (en) Code image data converter
JPS59117863A (en) System for compressing data
JPS61125293A (en) Mosaic coding device
JPH0246068A (en) Picture data compressing system and facsimile equipment applying same
JPS58154885A (en) Character pattern generator