JPS5814674A - Image coding system - Google Patents

Image coding system

Info

Publication number
JPS5814674A
JPS5814674A JP56112309A JP11230981A JPS5814674A JP S5814674 A JPS5814674 A JP S5814674A JP 56112309 A JP56112309 A JP 56112309A JP 11230981 A JP11230981 A JP 11230981A JP S5814674 A JPS5814674 A JP S5814674A
Authority
JP
Japan
Prior art keywords
blocks
block
divided
register
size
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
JP56112309A
Other languages
Japanese (ja)
Inventor
Toru Kaneko
透 金子
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP56112309A priority Critical patent/JPS5814674A/en
Publication of JPS5814674A publication Critical patent/JPS5814674A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)

Abstract

PURPOSE:To make an initial block size most suitable to every object picture element, by dividing a subject image into fine blocks, repeating more divisions only to the block containing the picture elements other than the white ground and coding the gradation information for only the block that has a 2X2 picture element size. CONSTITUTION:An original image is set at an NXN picture element size, and the gradation information per picture element is set at (a) bit. This image is divided into the blocks of 2<k>X2<k> picture element size, and the coding is performed with each bit per block to decide whether each block has the white ground or contains the picture elements (black ones) other than the white ground. Then the block containing the black picture elements is divided into minor blocks of 2<k-1>X2<k-1> picture element size. Then each minor block is coded with every bit to decide whether each minor block has the white ground or contains the black picture elements. Furthermore the minor block containing black picture elements is divided into half, and finally the gradation is coded with each picture element by the (a) bit for the block of 2X2 picture elements containing black picture elements.

Description

【発明の詳細な説明】 本発明は白地を多く含む濃淡画像を少ない符号量で効率
よく符号化するための画像符号化方式に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an image encoding method for efficiently encoding a grayscale image containing a large amount of white background with a small amount of code.

従来、白地を多く含む2値画像についてはいわゆるファ
クシミリ信号の符号化方式としてランレングス符号化法
、READ符号化法等様々の符号化方式が開発されてお
り、また一方特に白地を多く含むという条件の無い一般
の濃淡画像についてはブロック符号化法等の符号化法が
開発されている。
Conventionally, various encoding methods such as run-length encoding and READ encoding have been developed as so-called facsimile signal encoding methods for binary images containing many white backgrounds. Coding methods such as block coding methods have been developed for general grayscale images that do not have a gradation image.

しかしながら白地の上に印影や指紋などの多少の濃淡を
有するパターンが描かれているような画像については従
来のファクシミリ信号の符号化法では符号化できない。
However, conventional facsimile signal encoding methods cannot encode images in which a pattern with some shading, such as a seal imprint or a fingerprint, is drawn on a white background.

またこのような画像を濃淡画像の一種としてブロック符
号化法等の濃淡1画像符号化法を適用することは可能で
あるが、白地が多いという条件を積極的には利用してい
ないためあまり冗長度抑圧の効果が期待できない、とい
う欠点があった。
In addition, it is possible to apply a grayscale single image encoding method such as a block encoding method to such an image as a type of grayscale image, but it is not very redundant because the condition that there are many white backgrounds is not actively used. The drawback was that the effect of suppression could not be expected.

本発明はこれらの欠点を解決するため、対象画像を細か
いブロックに分割し、白地以外の画素を含むブロックに
ついてのみさらにブロックを分割することをくり返し最
終的には2K2画素のサイズにおとされたブロックにつ
いてのみ濃淡情報を符号化する方式を適用し、特に最初
に分割を始めるブロックサイズを対象画像ごとに最適化
することにより符号化効率の向上を図ったもので、以下
図面について詳細に説明する。
In order to solve these drawbacks, the present invention divides the target image into small blocks, and then divides the blocks further only for blocks containing pixels other than white, and finally reduces the size to 2K2 pixels. This method applies a method that encodes grayscale information only for blocks, and in particular optimizes the block size at which division begins for each target image to improve encoding efficiency.The drawings are explained in detail below. .

第1図は本発明の原理を示したものである。原画像を図
に示したようにNXN画素のサイズとし、また画素当た
りの濃淡情報をαピットとする。これをまず2に×2に
画素のサイズのブロック単位に分割し、各ブロックが白
地であるか或いは白地以外の画素を含んでいるかを1ブ
ロツクにつき1ビツトづつで符号化する。次に白地以外
の画素を含ンテいるブロックについて、これをさらに2
に−xX2に−を画素のサイズの小ブロックに分割し、
各小ブロックが白地であるか或いは白地以外の画素を含
んで   □いるかどうかを各小ブロックにつき1ビツ
トづつで符号化する。さらに白地以外の画素を含んでい
る小ブロックについてこれを半分づつに細分化していき
、2×2画素のブロックで分割するまで同様の動作をく
り返して多段分割を行なう。最後に白地以外の画素を含
んでいる2K2画素のブロックについて、濃淡を各画素
ごとにαピットで、即ち1ブロック当り4αビツトで符
号化する。
FIG. 1 illustrates the principle of the present invention. As shown in the figure, the original image has a size of N×N pixels, and the grayscale information per pixel is α pit. This is first divided into blocks each having a pixel size of 2×2, and whether each block is a white background or contains pixels other than a white background is encoded using one bit per block. Next, for blocks containing pixels other than white background, add 2 more
Divide -xX2- into small blocks of pixel size,
Whether each small block is white or contains pixels other than white is encoded using one bit for each small block. Furthermore, the small block containing pixels other than the white background is subdivided into halves, and the same operation is repeated until the block is divided into 2×2 pixel blocks, thereby performing multi-stage division. Finally, for the 2K2 pixel block containing pixels other than the white background, the shading is encoded for each pixel using α pits, that is, 4α bits per block.

上記において、NXN画素の原画像を2に×2に画素の
サイズのブロックで分割したときのブロック数をn(2
k)(二N2/4k)個とし、このブロック数のうち白
地以外の画素を含むブロック数をrL(2k)個とする
と、原画像を2kX2に画素のサイズのブロックから始
めて多段分割を行ない符号化する際の符号量C(2)は C(2k) ”4o(2k) +4 W (2k)+ 
43 (2に一’) +−−−・−・+4 =8)+4
7+(4)+412m2)・・・・・・(]) で表わされる。ここで原画像を多段分割段数が1段歩な
い場合、即ち最初のブロックサイズを六1×と1画素に
した場合の符号量C(2” )に対する符号量C(2k
)の増分をΔC(2k) (k>2 )とすると、rL
o(2に−1)=4rLo(2k)であるから(1)式
を用いて110(2”)=4W(2k)−9,(2k)
  C&>1)     (2)となする。すると ΔC(2”)−4rL(2に一’)−3Wo(2に一’
)=4(W(2に−1) −4jL(2k)十ΔC(2
k)) (3)となる。ここで常に7L(2”)≦4r
L(2k)であるからΔC(2”) 、44ΔC(2’
)           (4)と々る。従ってΔC(
2&)〈0ならば必ず−C(2’−1K Oとなる。こ
のことよね、ΔCC2S<Oとなる最大の整数値kが原
画像を多段分割する際の最適な初期ブロックサイズを与
える。(2)式において、最初の分割ブロック数71O
(2k)個のブロックのうちの白地のブロック数をyv
、、(2k)個(〜<2s=no<2S<2S)とする
と、 ΔC(2”)=4゜(2k)−4rLW(2k)(5)
となる。よって(5)式より、与えられた画像を多段分
割して符号化する場合、総ブロック数のV4よりも多い
数のブロックを白地とするような最大のブロックサイズ
から分割して行けば最も符号化効率が良いと結論される
In the above, when the original image of NXN pixels is divided into 2 x 2 blocks of pixel size, the number of blocks is n(2
k) (2N2/4k), and the number of blocks containing pixels other than white is rL (2k), then the original image is divided into 2k x 2 blocks starting from blocks of pixel size in multiple stages and coded. The code amount C(2) when converting is C(2k) ``4o(2k) +4 W (2k)+
43 (2 to 1') +−−−・−・+4 =8)+4
It is expressed as 7+(4)+412m2)...(]). Here, when the number of multi-stage divisions of the original image is less than 1 step, that is, when the initial block size is 61× and 1 pixel, the code amount C(2k
) is the increment of ΔC(2k) (k>2), then rL
Since o(2 to -1)=4rLo(2k), using equation (1), 110(2")=4W(2k)-9,(2k)
C&>1) (2). Then, ΔC(2'') - 4rL (2 to 1') - 3Wo (2 to 1')
) = 4 (W (2 to -1) -4jL (2k) + ΔC (2
k)) (3). Here, always 7L (2”)≦4r
Since L(2k), ΔC(2"), 44ΔC(2'
) (4) Totoru. Therefore ΔC(
2 &) If <0, it will always be -C(2'-1K O.This means that the maximum integer value k such that ΔCC2S<O gives the optimal initial block size when dividing the original image into multiple stages. ( In formula 2), the initial number of divided blocks is 71O.
The number of white blocks among (2k) blocks is yv
,, (2k) pieces (~<2s=no<2S<2S), ΔC(2”)=4°(2k)−4rLW(2k)(5)
becomes. Therefore, from equation (5), when a given image is divided into multiple stages and encoded, the most coded image can be obtained by dividing from the largest block size such that blocks larger than the total number of blocks V4 are blank. It is concluded that the conversion efficiency is good.

なお2X2画素のサイズのブロックのみで原画像を分割
して前記の如く符号化する場合と、原画像を1画素ごと
にaビットづつで符号化する場合の符号量の差ΔC(2
)は、(1)式よりΔC(2)= C(2)−4αno
(2) = 4α噛)−4αW、(2) + W。(2
)となり、枢2)−ル。(2) −rL、(2)を代入
するとΔC(2) = W。(2) −41?L、(2
)          (6)となる。よって前記のよ
うにnvp) > 4yLo(2とはならない場合でも
、2X2画素のサイズのブロックで原画像を分割した場
合の総ブロック数に対して白地ブロック数がゾ4aより
大きい割合を占めるなら2×2画素のサイズのブロック
で分割する符号化方式が符号量削減に有効である。
Note that the difference in code amount ΔC(2
) is from equation (1), ΔC(2)=C(2)−4αno
(2) = 4α bite) - 4αW, (2) + W. (2
), and the cardinal point 2)-ru. (2) −rL, substituting (2) gives ΔC(2) = W. (2) -41? L, (2
) (6) becomes. Therefore, as mentioned above, nvp) > 4yLo (Even if it is not 2, if the number of white background blocks occupies a larger proportion than 4a to the total number of blocks when the original image is divided into blocks of 2 x 2 pixels size, then 2 An encoding method that divides into blocks of ×2 pixel size is effective for reducing the amount of code.

第2図に本符号化方式を実現するための一構成例を示す
。図において、1はフレームメモリ、2はウィンドウ回
路、3はレジスタ、4は黒画素検出器、5はレジスタ選
択回路、6−1.6−2.・・・・・・・・・、6−に
はレジスタ、7−1.7−2.・・・・・・・・・、7
−にはレジスタ、8はレジスタ選択回路、9は比較器、
10はレジスタ選択回路、11−1.11−2.・・・
・曲・、11−にはレジスタ、12はレジスタ、13は
符号列読み出し回路である。
FIG. 2 shows an example of a configuration for realizing this encoding method. In the figure, 1 is a frame memory, 2 is a window circuit, 3 is a register, 4 is a black pixel detector, 5 is a register selection circuit, 6-1.6-2. ......, 6- is a register, 7-1.7-2.・・・・・・・・・7
- is a register, 8 is a register selection circuit, 9 is a comparator,
10 is a register selection circuit, 11-1.11-2. ...
・Song・, 11- is a register, 12 is a register, and 13 is a code string reading circuit.

この動作を説明すると、フレームメモリ1に格納されて
いるNXN画素の原画像をウィンドウ回路2によってま
ず2kx2に画素のサイズのブロックで順次切り出す。
To explain this operation, first, an original image of N×N pixels stored in the frame memory 1 is sequentially cut out by the window circuit 2 into blocks each having a size of 2k×2 pixels.

ここにkは予め定めた初期値であり、レジスタ3に2に
という値がウィンドウ回路2の切り出しブロックサイズ
値として格納されている。ウィンドウ回路2により切シ
出された原画像の各ブロック内に白地以外の画素(黒画
素とよぶ)が含まれるか否かを黒画素検出器4で検出し
、各ブロックにつき例えば黒画素が含まれる場合をピッ
)Ill−@、白地の場合をビット″OIで符号化する
。黒画素検出器4により得られた上記符号列はレジスタ
選択回路5に送られ、該符号列の中のビット″0”の総
数すなわち白地ブロックの数〜(2k)を計数し、該符
号列及び該白地ブロック数をそれぞれレジスタ6−k、
レジスタ7−kに格納する。レジスタ7−kに格納され
た白地ブロック数W (2k)はレジスタ選択回路8を
通して比較器9に送られ、レジスタ選択回路10により
選択されたレジスター1−にの内容と比較される。ここ
にレジスター1−kには予めフレームメモリーに格納さ
れている原画像を2に×2に画素のサイズのブロックで
分割したときの総ブロック数rLo(2k)を4で割っ
た値ル。(2k)/4が既知の値として格納されている
。比較器9は上記rLW(2k)とル。(2k)/4を
比較しFlw(2k)≦no(2k)/4のときは出力
”No″を、FLw’)>n (2”)/4のときは出
力−YES”を出力する。もし比較器9が1N01を出
力した場合には、原画像を多段分割する際の初期ブロッ
クサイズが大きすぎたとして、レジスタ3の内容2kを
ロービット方向に1ビツトだけシフトさせて2に−1と
し、ウィンドウ回路2が原画像を切り出すブロックサイ
ズを2に−I X 2&−1画素とするようにする。ま
た比較器9は同時に、レジスタ選択回路5、同8、同1
0に作用してそれぞれがレジスタ6−(k−1)、同?
−Ck−1)、同11−C’に−1)を選択するように
させる。レジスター1−(k−1)には原画像を2に一
1x2に一1画素のサイズのブロックで分割したときの
ブロック総数n。(2”)を4で割った値n。(2”)
/4が格納されている。上記と同じ手順で、ウィンドウ
回路2によって原画像を2kI x z&−1画素のサ
イズのブロックで分割してレジスタ7−(&−1)に格
納された白地ブロック数W (2に一’)トレシスター
1−(k−1)に格納されている値n。(2に一’V4
が比較器9によって比較される。もしrL(2に一’)
4n (2に一’)/4であれば比較器9はI No 
Iを出力し上記の動作をくり返す。上記の動作をくり返
していくうちにnw(2″′)〉no(2rn)74々
るmが得られた段階にツイテ次に説明する。WW(2″
′)〉no(2rn)/4のとき比較器9は’YES’
を出力しその出力がレジスタ選択回路5に動作指令の信
号として入力される。動作指令の信号を受けたレジスタ
選択回路はレジスタ6−mに格納されている符号列すな
わち原画像を2rnX2″!画素のサイズのブロックで
分割したときの各ブロックに黒画素が含まれているか否
かを示す符号列を読みだす。一方比較器9の”YES 
”出力はレジスタ選択回路5と同時にレジスタ3にも入
力され、レジスタ3はその内容すなわち原画像の分割ブ
ロックサイズを与える値2mをローピット方向に1ビツ
トだけシフトして2m−1なる値に変換する。ウィンド
ウ回路2はレジスタ選択回路5よリレジスタローmの内
容を受け、黒画素を含む2m×2 画素のサイズのブロ
ックのみについて原画像をレジスタ3の内容である2m
−1なる値を参照して2m−1×2771−1画素のサ
イズの小さいブロックに順次分割する。分割された2″
L−1×2771−1画素のサイズの各ブロックについ
て黒画素検出器4が黒画素を含むか否かを検出し、その
結果を黒画素を含むときはI11、白地のときは04で
符号化する。レジスタ選択回路5は該符号列をレジスタ
6−(m−1)に格納すると同時に、再び該符号列を用
いてウィンドウ回路2に動作し黒画素を含む2m−1X
2WL−1画素のサイズのブロックのみについて原画像
を2m−2×2″L−2画素のサイズのブロックでさら
に小さく分割する。々おことでレジスタ選択回路は同時
にレジスタ3の内容fL−’をローピット方向に1ビツ
トだけシフトし2 力る値に変換しており、この値がウ
ィンドウ回路2の分割ブロックサイズ値に参照されてい
る。以上のような動作を原画像の黒画素を含む部分が2
×2画素のサイズのブロックで分割されるまでくり返す
。2*2画素のサイズのブロックによる分割が終了する
と、レジスタ選択回路5はウィンドウ回路2に動作して
2×2画素のサイズのブロックのうち黒画素を含むブロ
ックのみについて1画素づつに原画像を分割する。この
とき同時にレジスタ選択回路5はレジスタ3の内容2を
ローピット方向に1ビツトだけシフトし値1に変換して
おシ、この値がウィンドウ回路2の分割ブロックサイズ
を規定している。ウィンドウ回路2により分割された画
素データ列は黒画素検出器4を経由せず画素ごとに濃淡
情報を保有したままレジスタ選択回路5を通してレジス
タ12に格納される。以上の動作が終了すると、符号列
読み出し回路13がレジスタ選択回路5を通してレジス
タ5−m 、  6− (m−1)、・・四・・・、6
−1、レジスタ12の内容を画像符号列として読み出し
、また読み出したレジスタ数m+1を多段分割の分割段
数として同時に画像符号列に含める。
Here, k is a predetermined initial value, and a value of 2 is stored in the register 3 as the cutout block size value of the window circuit 2. A black pixel detector 4 detects whether each block of the original image cut out by the window circuit 2 contains pixels other than white pixels (referred to as black pixels), and detects whether each block contains, for example, black pixels. The case of a white background is encoded with the bit "OI".The code string obtained by the black pixel detector 4 is sent to the register selection circuit 5, and the bit "in the code string"0'', that is, the number of white blocks ~(2k), and store the code string and the number of white blocks in registers 6-k and 6-k, respectively.
Store in register 7-k. The number of white blocks W (2k) stored in the register 7-k is sent to the comparator 9 through the register selection circuit 8, and compared with the contents of the register 1- selected by the register selection circuit 10. Here, register 1-k contains a value obtained by dividing the total number of blocks rLo (2k) by 4 when the original image previously stored in the frame memory is divided into blocks each having a pixel size of 2×2. (2k)/4 is stored as a known value. The comparator 9 is the above rLW(2k). (2k)/4 is compared, and when Flw(2k)≦no(2k)/4, an output "No" is output, and when FLw')>n (2")/4, an output "-YES" is output. If comparator 9 outputs 1N01, it is assumed that the initial block size when dividing the original image into multiple stages is too large, and the contents 2k of register 3 are shifted by 1 bit in the low bit direction and changed to 2 by -1. , the block size from which the window circuit 2 cuts out the original image is set to 2 -I x 2 & -1 pixels. Also, the comparator 9 simultaneously selects the register selection circuits 5, 8, and 1.
0, each register 6-(k-1), the same?
-Ck-1) and 11-C' are made to select -1). Register 1-(k-1) contains the total number n of blocks when the original image is divided into 2:1 x 2:11 pixel blocks. (2”) divided by 4 n. (2”)
/4 is stored. Using the same procedure as above, the window circuit 2 divides the original image into blocks of size 2kI x z&-1 pixels and stores the number of white blocks W (2 to 1') in the register 7-(&-1). The value n stored in sister 1-(k-1). (2 to 1'V4
are compared by the comparator 9. If rL (2 to 1')
4n (2 to 1')/4, comparator 9 indicates I No
Output I and repeat the above operation. By repeating the above operations, we will tweet at the stage where nw(2″′)〉no(2rn)74μrum is obtained.WW(2″)
')〉When no(2rn)/4, comparator 9 is 'YES'
The output is input to the register selection circuit 5 as an operation command signal. Upon receiving the operation command signal, the register selection circuit divides the code string stored in the register 6-m, that is, the original image, into blocks each having a size of 2rn×2''!pixels, and determines whether each block contains black pixels or not. Reads out a code string indicating whether the
``The output is input to the register 3 at the same time as the register selection circuit 5, and the register 3 shifts its contents, that is, the value 2m, which gives the divided block size of the original image, by 1 bit in the low pit direction and converts it into the value 2m-1. The window circuit 2 receives the contents of the register low m from the register selection circuit 5, and converts the original image only to the 2m x 2 pixel size block including black pixels into the 2m contents of the register 3.
Referring to the value -1, the block is sequentially divided into small blocks of 2m-1×2771-1 pixels. divided 2″
The black pixel detector 4 detects whether or not a black pixel is included for each block having a size of L-1×2771-1 pixels, and the result is encoded with I11 if it includes a black pixel and 04 if it is white. do. The register selection circuit 5 stores the code string in the register 6-(m-1), and at the same time operates the window circuit 2 again using the code string to select 2m-1X including black pixels.
For only blocks with a size of 2WL-1 pixels, the original image is further divided into blocks with a size of 2m-2 x 2''L-2 pixels.In each case, the register selection circuit simultaneously selects the contents fL-' of register 3. It is shifted by 1 bit in the low pit direction and converted to a value of 2. This value is referred to as the divided block size value of window circuit 2. 2
Repeat until it is divided into blocks of size ×2 pixels. When the division into blocks with a size of 2*2 pixels is completed, the register selection circuit 5 operates on the window circuit 2 and selects the original image pixel by pixel only for blocks containing black pixels among the blocks with a size of 2*2 pixels. To divide. At the same time, the register selection circuit 5 shifts the content 2 of the register 3 by 1 bit in the low pit direction and converts it to a value 1, and this value defines the divided block size of the window circuit 2. The pixel data string divided by the window circuit 2 does not pass through the black pixel detector 4, but is stored in the register 12 through the register selection circuit 5 while retaining grayscale information for each pixel. When the above operations are completed, the code string reading circuit 13 reads the registers 5-m, 6-(m-1), 4..., 6 through the register selection circuit 5.
-1, the contents of the register 12 are read out as an image code string, and the number of read registers (m+1) is simultaneously included in the image code string as the number of division stages of multi-stage division.

なお上記動作においてレジスタ11’ (’ 2* 3
1・・・・・−・・、&)には原画像をzt×2Z画素
のサイズのブロックで分割した場合の総ブロンク数ル。
Note that in the above operation, register 11'(' 2 * 3
1...-..., &) is the total number of broncs when the original image is divided into blocks of size zt x 2Z pixels.

(24)を4で割った値n。(2t)/4が格納されて
おり、同分割における白地ブロック数n (2t)との
大小を比較器9により比較しているが、前述の原理で示
したことよりレジスタ11−1の内容はル。(2)/4
11 ((Lは原画像の1画素当たりの濃淡を表わすた
めのビット数)が格納されており、t′Lw(2)〉n
o(2)/4αであれば1段階のみの分割符号化を行な
うことになる。
The value n obtained by dividing (24) by 4. (2t)/4 is stored, and the comparator 9 compares the size with the number of white blocks n (2t) in the same division.As shown in the above principle, the contents of the register 11-1 are Le. (2)/4
11 ((L is the number of bits to represent the shading per pixel of the original image) is stored, and t′Lw(2)〉n
If o(2)/4α, only one stage of divisional encoding will be performed.

以上説明したように本発明を用いれば白地を多く含むよ
うな濃淡画像が少ない符号量で符号化できるので、上記
のような画像、例えば印影や指紋を多数ファイルする場
合にファイル容量の削減が図れ、また同時に該画像を伝
送する場合にも少ない伝送容量の伝送路で伝送できると
いう利点がある。
As explained above, by using the present invention, it is possible to encode a grayscale image containing a large amount of white background with a small amount of code, so it is possible to reduce the file size when a large number of files of the above-mentioned images, such as seal impressions and fingerprints, are stored. , and when transmitting the images at the same time, there is an advantage that the images can be transmitted using a transmission path with a small transmission capacity.

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

第1図は本発明の原理図、第2図は本発明方式を実現す
る構成法の一実施例である。 1 ・・・・・・・・・フレームメモリ、  2 ・・
・・・・・・・ウィンドウ回路、 3 ・・−・・・・
・レジスタ、 4・・・・・・・・・黒画素検出器、 
5 ・・・・・・・・・レジスタ選択回路、 6−1.
6−2゜・・・・・・・・・、(、−k・・・・・・・
・・レジスタ、7−1.7−2.・・・・・・・・・、
 7−k・・・・・・・・・レジスタ、 8・・・・・
・・・・レジスタ選択回路、9・・・・・・・・・比較
器、 10・・・・・・・・・レジスタ選択回路、11
−1.11−2.・・・・・・・・・、11−/c・・
・・・・・・・レジスタ、12・・・・・・・・・レジ
スタ、 13・・・・・・・・・符号列読み出し回路。
FIG. 1 is a diagram showing the principle of the present invention, and FIG. 2 is an example of a configuration method for realizing the system of the present invention. 1......Frame memory, 2...
・・・・・・Window circuit, 3 ・・・-・・・・・・
・Register, 4... Black pixel detector,
5......Register selection circuit, 6-1.
6-2゜・・・・・・・・・、(、-k・・・・・・・・・
...Register, 7-1.7-2.・・・・・・・・・、
7-k・・・・・・Register, 8・・・・・・
...Register selection circuit, 9...Comparator, 10...Register selection circuit, 11
-1.11-2. ......, 11-/c...
......Register, 12...Register, 13... Code string readout circuit.

Claims (2)

【特許請求の範囲】[Claims] (1)符号化すべき濃淡画像を格納する手段と、その濃
淡画像を指定されたブロックサイズで複数のブロックに
分割する手段と、分割された各ブロックについてその濃
淡分布状態を調べ符号列として表わすとともに1つの濃
淡レベルで表わすことのできるブロックの数を調べる手
段と、その調べた濃淡分布状態およびブロック数を格納
する手段と、前記分割した総ブロック数と前記1つの濃
淡レベルで表わすことのできるブロック数とを比較して
現在指定されているブロックサイズが最適な初期値ブロ
ックサイズであるか否かを検出する手段とを有し、最適
な初期値ブロックサイズを検出し、得られた各ブロック
についてその濃淡分布状態が1つの濃淡レベルで表わし
切れないブロックのみについてさらに小さいサイズのブ
ロックで分割することをくり返して行くことにより分割
符号化することを特徴とする画像符号化方式。
(1) A means for storing a grayscale image to be encoded, a means for dividing the grayscale image into a plurality of blocks with a specified block size, a means for examining the grayscale distribution state of each divided block, and expressing it as a code string. means for checking the number of blocks that can be represented by one gray level; means for storing the checked gray level distribution state and the number of blocks; and the total number of divided blocks and the blocks that can be represented by the one gray level. means for detecting whether the currently specified block size is the optimal initial value block size by comparing the An image encoding method characterized in that only blocks whose gradation distribution state cannot be represented by one gradation level are subjected to divisional coding by repeatedly dividing them into blocks of smaller size.
(2)原画像をブロックに分割したとき、その総ブロッ
ク数の寺よりも多い数のブロックが白地となるような最
大のブロックサイズを前記最適な初期値
(2) When the original image is divided into blocks, the maximum block size such that more blocks than the total number of blocks become white is the optimum initial value.
JP56112309A 1981-07-20 1981-07-20 Image coding system Pending JPS5814674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56112309A JPS5814674A (en) 1981-07-20 1981-07-20 Image coding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56112309A JPS5814674A (en) 1981-07-20 1981-07-20 Image coding system

Publications (1)

Publication Number Publication Date
JPS5814674A true JPS5814674A (en) 1983-01-27

Family

ID=14583443

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56112309A Pending JPS5814674A (en) 1981-07-20 1981-07-20 Image coding system

Country Status (1)

Country Link
JP (1) JPS5814674A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4555191A (en) * 1983-11-05 1985-11-26 Ricoh Company, Ltd. Method of reducing character font
JPS61124690A (en) * 1984-11-14 1986-06-12 フエルト・リユーシユ・アクチエンゲゼルシヤフト Method and apparatus for producing screen printing cloth forscreen printing drum
EP0349677A2 (en) * 1988-07-04 1990-01-10 Mitsubishi Denki Kabushiki Kaisha Image coding system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4555191A (en) * 1983-11-05 1985-11-26 Ricoh Company, Ltd. Method of reducing character font
JPS61124690A (en) * 1984-11-14 1986-06-12 フエルト・リユーシユ・アクチエンゲゼルシヤフト Method and apparatus for producing screen printing cloth forscreen printing drum
EP0349677A2 (en) * 1988-07-04 1990-01-10 Mitsubishi Denki Kabushiki Kaisha Image coding system

Similar Documents

Publication Publication Date Title
US5032838A (en) Variable length code parallel decoding apparatus and method
CN101095284A (en) Device and data method for selective compression and decompression and data format for compressed data
US4366506A (en) Picture transfer method and apparatus therefor
JPH04270568A (en) Data compression system in picture processing unit
US5751233A (en) Decoding apparatus and method therefor
US4191974A (en) Facsimile encoding communication system
JP3409552B2 (en) Digital information encoding device, digital information decoding device, and digital information encoding / decoding device
US4744085A (en) Data processing device
JPS5814674A (en) Image coding system
JPH04270564A (en) Serial picture data compression system having color information
JPS5947672A (en) Picture processor
JPS586344B2 (en) Fugou Kasouchi
JPS6282723A (en) Redundancy suppression coding system
US5185820A (en) System for compressing image data having blank lines
JP2959633B2 (en) Fast vector quantum differentiation method and apparatus
JP2713298B2 (en) Color image signal decoding device
JP3123795B2 (en) Encoding device and decoding device using arithmetic code
JPH0311883A (en) Decoding system for variable length code, and facsimile equipment and still picture transmission system
JPS6226226B2 (en)
JPS595778A (en) Compression system for half-tone picture data
JPH07255053A (en) Zigzag scanning circuit
JP3732329B2 (en) Pseudo halftone image encoding apparatus and encoding method
JPH07320056A (en) Vector image encoding device
JPS6358425B2 (en)
EP0652670A1 (en) Image encoding apparatus and method