JPS60149260A - Binary coding circuit of picture information - Google Patents

Binary coding circuit of picture information

Info

Publication number
JPS60149260A
JPS60149260A JP59004854A JP485484A JPS60149260A JP S60149260 A JPS60149260 A JP S60149260A JP 59004854 A JP59004854 A JP 59004854A JP 485484 A JP485484 A JP 485484A JP S60149260 A JPS60149260 A JP S60149260A
Authority
JP
Japan
Prior art keywords
density
value
threshold
pixel
circuit
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
JP59004854A
Other languages
Japanese (ja)
Inventor
Ryozo Takeuchi
良三 武内
Tatsuo Honda
本田 龍夫
Makoto Tsumura
誠 津村
Hideyuki Shio
塩 秀行
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.)
Hitachi Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Engineering Co Ltd
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Engineering Co Ltd
Priority to JP59004854A priority Critical patent/JPS60149260A/en
Publication of JPS60149260A publication Critical patent/JPS60149260A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To suppress the increase of information in quantity at the character and linear pattern parts by deleting microspots of low and high densities which will be a cause of the increase of information at the character and linear pattern parts. CONSTITUTION:The outputs of line memories 4a-4n are applied to a white picture element detecting circuit 14 and a black picture element detecting circuit 15. Then perfect white and black picture element detecting circuit 15. Then perfect white and black picture elements are selected for every (m) units of picture elements in the main scan direction and every (n) trains of picture elements in the secondary scan direction. A counter 16 detects the number of selected picture elements. When the number of these selected picture elements is larger than the threshold number of units set at a threshold value memory 9', a comparator 17 selects the simple binary coding. Otherwise a dither pattern method is selected. At the same time, the maximum and minimum densities are detected by maximum and minimum value detecting circuits 6 and 7 respectively. Then a subtractor 8, the memory 9' and a comparator 10 decides that the value obtained by subtracting the minimum density value from the maximum density value is larger than the density difference threshold value. This suppresses the increase of information quantity at the character and linear pattern parts and simplifies the binary coding of picture information.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、画像情報二値化回路に係り、文書情報処理で
、写真等の濃淡画像と文字とが共存する文書の文書情報
を圧縮するのに適した画像情報二値化回路に関するもの
である。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to an image information binarization circuit, and is used in document information processing to compress document information of a document in which grayscale images such as photographs and text coexist. This invention relates to an image information binarization circuit suitable for.

〔発明の背景〕[Background of the invention]

従来のファクシミリ等の文書情報処理装置では、文書画
像を縦、横に細分化して生ずる微小面積部(以下では画
素単位と呼ぶ。)毎のそれぞれの黒濃度が、成る黒濃度
の閾値より白いか黒いかによって判断して、白または黒
のどちらかを選定し、白または黒と判定された画素単位
の集合として文書画像を再現していた。
In conventional document information processing devices such as facsimiles, it is necessary to divide a document image vertically and horizontally into small areas (hereinafter referred to as pixel units), each of which has a black density that is whiter than a black density threshold. Depending on whether the pixel is black, either white or black is selected, and the document image is reproduced as a set of pixel units determined to be white or black.

この方法は、画素単位の黒濃度を白または黒の2種のい
ずれかとすることから2値化処理と呼ばれている。
This method is called a binarization process because the black density of each pixel is set to either white or black.

本来の文書は、淡い黒、即ち灰色の部分があシ、また灰
色でも濃い灰色と淡い灰色とがあるので、画素単位の黒
濃度を白と黒の間を多段階に識別(以下では多値処理と
呼ぶ。)して現わすと、元の文書画像をより良く再現で
きる。
Original documents have light black, that is, gray parts, and even gray has dark gray and light gray, so the black density of each pixel is identified in multiple stages between white and black (in the following, multi-value ), the original document image can be better reproduced.

しかし、文字、線などのみで構成される文書画像では、
白と黒の間を多段階に識別するよりも、白と黒のどちら
かとした方がコントラストの良い文書画像を再現できる
。また、文書画像の情報量は、画素単位の数Nと多値処
理時の段階数Mとで、M−Nと表わされるので、段階数
の最小値であるM=2の場合、即ち2値化処理時の場合
の画像情報量が最も少なくてすみ、文書画像情報を電気
的に記録する、または短時間で伝送するなどに便利であ
る。
However, for document images consisting only of characters, lines, etc.
Rather than distinguishing between white and black in multiple stages, it is possible to reproduce a document image with better contrast by selecting either white or black. In addition, the amount of information of a document image is expressed as M-N, where N is the number of pixels and M is the number of stages during multilevel processing. Therefore, when M = 2, which is the minimum value of the number of stages, This method requires the least amount of image information during conversion processing, and is convenient for electrically recording document image information or transmitting it in a short time.

一方、最近では画像読取装置が高精細化し、画素単位の
面積が、印刷等で用いる網点と、はぼ同程度に達しつつ
あシ、文書中に写真があっても写真内の画素単位の黒濃
度に比例させて、成る面積内の黒点の数を変化させるこ
とで、多段階に灰色を表現することが可能となりつつあ
る。
On the other hand, in recent years, image reading devices have become more precise, and the area of each pixel has almost reached the same level as halftone dots used in printing. By changing the number of black dots within an area in proportion to the black density, it is becoming possible to express gray in multiple levels.

この手法の一例として、ディザパターン法があり、第1
図は、その概略を示す説明図である。
An example of this method is the dither pattern method.
The figure is an explanatory diagram showing the outline thereof.

この第1図の(1)は、読取シ画素濃度例図で、読取画
素単位16個分の濃度例を示すものである。
FIG. 1 (1) is an example of reading pixel density, and shows an example of density for 16 reading pixel units.

また、同図の(2)は、ディザパターンマトリックスの
一例を示す例示図である。
Further, (2) in the figure is an exemplary diagram showing an example of a dither pattern matrix.

いま、m行n列の読取画素単位の濃度をS m、アとし
、ディザパターンマトリックスのm行n列の値をり、、
7とすると、ディザパターン法適用後の画素単位濃度T
つ、1は次式で与えられる。
Now, let the density of the read pixel unit of m rows and n columns be S m, and the value of m rows and n columns of the dither pattern matrix is,
7, the pixel unit density T after applying the dither pattern method
1 is given by the following equation.

ただし、T、、n=1は、黒を、T−、、=Oは、の2
値で文書画像を再現するが、この手法を用いることで、
視覚的には、白と黒のみでなく灰色を読み取ることが可
能である。
However, T,, n=1 is black, T-,,=O is 2
The document image is reproduced using values, but by using this method,
Visually, it is possible to read gray as well as white and black.

なお、従来の単純力2値化をディザパターン法的に示し
たものが第2図の単純2値化説明図である。
It should be noted that the conventional simple force binarization is shown using the dither pattern method in the simple binarization explanatory diagram of FIG.

この第2図の(1)は、読取り画素濃度側図、同図(2
)は、2値化時のディザパターン法) IJラックス示
図、同図(3)は、処理後の例示図である。
(1) in Fig. 2 is a read pixel density side view, and (2)
) is an illustration of the dither pattern method at the time of binarization), and (3) is an exemplary diagram after processing.

即ち、従来の単純な2値化は、ディザパターンマトリッ
クスの各要素を一定値とした処理と等価である。
That is, conventional simple binarization is equivalent to processing in which each element of the dither pattern matrix is set to a constant value.

以上に示した、単純な2値化処理とディザパターン法と
を比較すると、文字や線図などは単純外2値化処理で十
分であり、写真や灰色部分力どけディザパターン法が有
効となる。
Comparing the simple binarization process and the dither pattern method shown above, the simple binarization process is sufficient for characters and line drawings, and the dither pattern method for photos and gray areas is effective. .

しかしガから、文字や線図にディザパターン法を用いる
と、輪郭部分の切れが悪くなる欠点があり、これを改善
する手法として、文字や線図の画像部分と写真や灰色部
分とを分離して、それぞれにディザパターン法と単純な
2値化処理を適用しようとするもの(以下では像域分離
処理と呼ぶ。)がある。
However, when the dither pattern method is used for text and line drawings, it has the disadvantage that the outlines are not sharply cut, and a method to improve this problem is to separate the image part of the text and line drawing from the photograph or gray area. There is a method (hereinafter referred to as image area separation processing) that attempts to apply a dither pattern method and simple binarization processing to each of these methods.

その−例として、縦m個、横n列の画素単位で構成され
る画素ブロック内の、各画素単位の最大濃度と最小濃度
の差をめ、この差が、成る閾値より大きければ単純な2
値化処理とし、それ以外はディザパターン法を採用する
手法がある。
As an example, find the difference between the maximum density and minimum density of each pixel in a pixel block consisting of m pixels in the vertical direction and n columns in the horizontal direction, and if this difference is greater than the threshold value, the simple 2
There is a method that uses value conversion processing and uses a dither pattern method for other processing.

画素単位の大きさは1259mX125μm程度であり
、上記のmとnの値をそれぞれ4とすると、画素ブロッ
クの大きさは0.5 wa X O,5日程度の面積と
なり、その面積内での最大濃度と最小濃度の差は、微小
面積内の濃度勾配をめることとほぼ等価であシ、文字や
線の輪郭は、濃度勾配が大きな部分であるので、前述の
ディザパターン法を文字や線図に適用するこ七を部分的
に防止でき、輪郭線の切れは良くなる。
The size of a pixel unit is approximately 1259m x 125μm, and if the values of m and n above are each 4, the size of a pixel block will be an area of approximately 0.5 wa × O, 5 days, and the maximum within that area The difference between the density and the minimum density is almost equivalent to determining the density gradient within a minute area, and the contours of characters and lines have large density gradients, so the dither pattern method described above can be applied to characters and lines. It is possible to partially prevent the distortion applied to the figure, and the contour lines become sharper.

このような処理に用いる回路例が第3図に示す、従来技
術に係る画像二値化回路図である。
An example of a circuit used for such processing is shown in FIG. 3, which is a conventional image binarization circuit diagram.

即ち、光電変換素子1で画素単位の黒濃度を読取り、A
/D変換回路2で黒濃度を整数値化し、その値をスイッ
チ3を介して各ラインメモリ4.・。
That is, the photoelectric conversion element 1 reads the black density of each pixel, and A
The /D conversion circuit 2 converts the black density into an integer value, and the value is sent to each line memory 4 through the switch 3.・.

・・・、4.に入れ、nライフ分が充填されてから、ス
イッチ5.、・・・、51で、各ラインのm個の画素単
位の黒濃度信号が、最大濃度値検出の最大値検出回路6
と、最小濃度値検出の最小値検出回路7に送られ、それ
らで得られた値の差、即ち最大濃度値から最小濃度値を
減じた値を減算器8でめ、その差の値と閾値メモリ9の
値とを比較器、10で比較し、閾値よシ大きければ均一
値パターンを、また小さければディザパターンを選択す
る信号を出力する。
..., 4. After charging with n lives, press switch 5. , . . . , 51, the black density signal of m pixels in each line is detected by the maximum value detection circuit 6 for detecting the maximum density value.
is sent to the minimum value detection circuit 7 for detecting the minimum density value, and the difference between the values obtained, that is, the value obtained by subtracting the minimum density value from the maximum density value, is calculated by a subtractor 8, and the difference value and the threshold value are calculated. The value in the memory 9 is compared with a comparator 10, and if the value is larger than the threshold value, a signal is output to select a uniform value pattern, and if it is smaller than the threshold value, a signal is output to select a dither pattern.

この信号に基づいて、ディザ法/2値化マトリックスメ
モ1す11で、ディザパターン法または単純2値化マト
リツクス数値を出力し、2値化処理回路に係るディザ法
、/2値化回路12で処理を行い、その後にMH/MR
符号化回路13で情報圧縮し、この画像情報が保存捷た
は伝送されるようにしたものである。
Based on this signal, the dither method/binarization matrix memo 1-11 outputs the dither pattern method or simple binarization matrix value, and the dither method/binarization circuit 12 for the binarization processing circuit outputs the dither pattern method or simple binarization matrix value. treatment, then MH/MR
Information is compressed in the encoding circuit 13, and this image information is stored or transmitted.

しかしながら、この回路を用いて種々検討した結果、画
像電子工学会ファクシミリテストチャー) No 1−
Lを用いた画像の文字部分の情報量が、全画像をディザ
パターン法で処理した場合と、第3図に示す回路で処理
した場合とて、変わらないことが判明し、その値は、全
画像を単純々2値化処理を行った場合の約2.4倍にも
達するものである。
However, as a result of various studies using this circuit, it was found that the Image Electronics Engineers of Japan (Facsimile Test Chart) No. 1-
It was found that the amount of information in the character part of an image using L is the same whether the entire image is processed using the dither pattern method or when it is processed using the circuit shown in Figure 3. This is approximately 2.4 times as large as when the image is simply binarized.

即ち、その値を示すものが第1表である。That is, Table 1 shows the values.

第 1 表 なお、表中の値は符号化情報ビット数を画素数で除し、
100倍したもので、一般に符号化情報圧縮率と呼ばれ
るものである。
Table 1 The values in the table are calculated by dividing the number of encoded information bits by the number of pixels,
It is multiplied by 100 and is generally called the encoded information compression rate.

以上のように、従来の像域分離処理は、文字。As mentioned above, conventional image area separation processing is used to separate characters.

線図などの輪郭を改善できるが、文字、線図領域の情報
量を、単純2値化はどには圧縮できない欠点がある。
Although it is possible to improve the contours of line drawings, etc., it has the disadvantage that the amount of information in text and line drawing areas cannot be compressed in the same way as simple binarization.

〔発明の目的〕[Purpose of the invention]

本発明は、従来技術の欠点である、文字、線図部分の情
報量増大を抑制するようにした画像情報二値化回路の提
供を、その目的とするものである。
An object of the present invention is to provide an image information binarization circuit that suppresses the increase in the amount of information in text and line drawing parts, which is a drawback of the prior art.

〔発明の概要〕[Summary of the invention]

本発明に係る画像情報二値化回路の構成は、濃淡画像を
含む文書を細分化した画素単位の色濃度に応する整数値
とした文書画素情報の、主走査方向に2以上の整数mで
代表されるm個の画素単位を、副走査方向に2以上の整
数nで代表されるn行分で構成される画素ブロック毎に
、その画素ブロック内画素単位の規定数以上が低濃度側
濃度閾値以下であるかを判定する回路■と、画素ブロッ
ク内画素単位の規定数以上が高濃度側濃度閾値以上であ
るかを判定する回路■と、画素ブロック内画素単位の最
大濃度値から最小濃度値を減じた値が濃度差閾値以上で
あるかを判定する回路■と、前記の回路I、■および■
の出力に従って画素ブロック内各画素単位の濃度を、一
定量値とディザパターン閾値とのいずれかを選別したの
ちの当該選別閾値と比較し二値化する回路■とを具備せ
しめたものである。
The configuration of the image information binarization circuit according to the present invention is such that document pixel information, which is an integer value corresponding to the color density of each pixel obtained by subdividing a document including a grayscale image, is expressed as an integer m of 2 or more in the main scanning direction. For each pixel block consisting of n rows of represented m pixel units in the sub-scanning direction, represented by an integer n of 2 or more, a specified number or more of pixel units in that pixel block have a low density side density. A circuit ■ that determines whether the density is below the threshold; a circuit ■ that determines whether the specified number of pixels in a pixel block is equal to or higher than the high-density side density threshold; and a circuit A circuit ■ that determines whether the value obtained by subtracting the value is equal to or greater than the concentration difference threshold, and the circuits I, ■, and ■
The circuit (2) selects the density of each pixel in the pixel block according to the output from the predetermined amount value or the dither pattern threshold value, and then compares it with the selection threshold value and binarizes the density value.

さらに詳述すると、次のとおりである。More detailed information is as follows.

即ち、本発明は、従来技術に係る第3図の回路による方
式での文字、線図部分での情報量増大原因である低濃度
、および高濃度の微小点を排除することで、その目的を
達成するようにしたものである。
That is, the present invention achieves the object by eliminating the low density and high density minute points which are the cause of the increase in the amount of information in the text and line parts in the conventional method using the circuit shown in FIG. It was designed to be achieved.

文書画像を、例えば16レベルに分けた場合の黒濃度で
、高速に読取ると、16レベルの内で最小側の1のレベ
ルまたは最大側の16のレベルについては、電気回路の
ノイズによるもので誤認識される場合もある。
For example, if a document image is divided into 16 levels and the black density is read at high speed, the minimum level 1 or the maximum level 16 of the 16 levels may be incorrect due to electrical circuit noise. Sometimes it is recognized.

第3図に示した回路では、濃淡差の激しい部分は、単純
な2値化処理を行うが、白部分の淡い灰色点と点部分の
若干淡い黒があれば、ディザパターン法で処理し、情報
として残留する。
In the circuit shown in Figure 3, simple binarization processing is performed for areas with large differences in shading, but if there are pale gray points in white areas and slightly faint black points in dotted areas, the dither pattern method is used to process them. It remains as information.

また、文字、線図の輪郭部分においても、濃度勾配がゆ
るやかな場合はディザパターン法で処理する。
Furthermore, if the density gradient is gentle in the contours of characters and line drawings, the dither pattern method is used.

ディザパターン法を適用した部分は、処理後に黒と白の
画素単位が連続性が々く出現するので、MH/MR符号
化で著しく情報量が増大する。これらが従来技術による
像域分離の処理の欠点であシ、これを本発明では解決す
るようにしたものである。
In the portion to which the dither pattern method is applied, the black and white pixel units appear with great continuity after processing, so the amount of information increases significantly with MH/MR encoding. These are the drawbacks of image area separation processing according to the prior art, and the present invention is intended to solve these problems.

〔発明の実施例〕[Embodiments of the invention]

本発明に係る画像情報二値化回路の一実施例を第4図に
よシ説明する。
An embodiment of the image information binarization circuit according to the present invention will be described with reference to FIG.

即ち、第4図は、本発明の一実施例に係る画像情報2値
化回路図である。
That is, FIG. 4 is an image information binarization circuit diagram according to an embodiment of the present invention.

図で、さきの第3図と同一符号の部分は同等部分であり
、9′は閾値メモリ、14は白画素検出回路、15は黒
画素検出回路、16はカウンタ、17は比較器、18は
論理和回路である。
In the figure, parts with the same symbols as those in Figure 3 above are equivalent parts, 9' is a threshold memory, 14 is a white pixel detection circuit, 15 is a black pixel detection circuit, 16 is a counter, 17 is a comparator, and 18 is a It is a logical sum circuit.

そして、図示のラインメモリ4.〜4oには、さきの第
3図と同様に光電変換素子1で画素単位の黒濃度を読取
り、人/D変換回路2で黒濃度を整数値化し、その値が
スイッチ3を介して入力されるものである。
The illustrated line memory 4. 4o, the photoelectric conversion element 1 reads the black density of each pixel in the same way as in FIG. It is something that

また、閾値メモリ9′、白画素検出回路14、カウンタ
16および比較器17は、画素ブロック内画素単位の規
定数以上が低濃度側濃度閾値以下であるかを判定する回
路Iに相当するものであり、同じく閾値メモリgt1黒
画素検出回路15、カウンタ16および比較器17は、
画素ブロック内画素単位の規定数以上が高濃度側濃度閾
値以上であるかを判定する回路■に相当するものであり
、また、最大値検出回路6、最小値検出回路7、減算器
8、閾値メモリ9′および比較器10は、画素ブロック
内画素単位の最大濃度値から最小濃度値を減じた値が濃
度差閾値以上であるかを判定する回路■に相当するもの
であり、さらに、閾値メモリ9′、論理和回路18、デ
ィザ法/2値化マトリックスメモリ11およびディザ法
/2値化回路12は、上記した回路1.II、IIIの
出力に従って画素ブロック内各画素単位の濃度を、一定
量値とディザパターン閾値とのいずれかを選別したのち
の当該選別閾値と比較し二値化する回路■に相当するも
のである。
Further, the threshold memory 9', the white pixel detection circuit 14, the counter 16, and the comparator 17 correspond to a circuit I that determines whether a specified number or more of pixels in a pixel block is less than or equal to the low density side density threshold. Similarly, the threshold memory gt1 black pixel detection circuit 15, counter 16 and comparator 17 are
This circuit corresponds to the circuit (■) that determines whether the specified number or more of pixels in a pixel block is equal to or higher than the high-density side density threshold, and also includes a maximum value detection circuit 6, a minimum value detection circuit 7, a subtracter 8, and a threshold value. The memory 9' and the comparator 10 correspond to a circuit (2) that determines whether the value obtained by subtracting the minimum density value from the maximum density value of each pixel in a pixel block is equal to or greater than the density difference threshold. 9', the OR circuit 18, the dither method/binarization matrix memory 11, and the dither method/binarization circuit 12 are the same as the circuit 1.9' described above. This corresponds to the circuit (2) that binarizes the density of each pixel in the pixel block according to the outputs of II and III by selecting either a constant value or a dither pattern threshold and then comparing it with the selection threshold. .

すなわち、本実施例に係るものと、さきの第3図で説明
した従来技術に係るものとの相違点は、第3図の構成に
加えて、ラインメモリ4.、・・・。
That is, the difference between this embodiment and the prior art described in FIG. 3 is that in addition to the configuration shown in FIG. 3, the line memory 4. ,...

4、からの出力を、白画素検出回路14および黒画素検
出回路15で、主走査方向にm個の画素単位の、副走査
方向のn列分について(ただし、m。
The white pixel detection circuit 14 and the black pixel detection circuit 15 output the output from 4 for m pixel units in the main scanning direction and n columns in the sub-scanning direction (where m.

nは2以上の整数)、即ちmxnの画素ブロック内の各
画素単位中の完全な白と完全な黒とを選定し、カウンタ
16でその個数を検出して、その個数が聞直メそり9′
に設定された成る閾値個数以上である場合に、比較器1
7で、単純2値化を選択し、それ以外はディザパターン
法を選択するように構成したものである。
n is an integer of 2 or more), that is, complete white and complete black are selected in each pixel unit in the mxn pixel block, the number is detected by the counter 16, and the number is determined by ′
Comparator 1
In step 7, simple binarization is selected, and in other cases, dither pattern method is selected.

そして、また、このディザ法/2値化の選択結果と、さ
きに説明した従来の第3図に示すものによる選択結果と
を論理和回路18で論理的に加算し、どちらの条件も加
味するようにしたものである。
Then, the selection result of this dither method/binarization and the selection result of the conventional method shown in FIG. This is how it was done.

しかして、各判定に用いる閾値は、閾値メモリ9′から
出力されるが、この閾値設定部に係る閾値メモリ9′の
出力は、前回の判定結果によって変えることができるよ
うに構成したものである。
Thus, the threshold value used for each determination is output from the threshold value memory 9', and the output of the threshold value memory 9' related to this threshold value setting section is configured so that it can be changed depending on the previous determination result. .

即ち、前回判定結果が単純2値化の場合には、今回判定
用の閾値を単純2値化が選択され易く力るように変更で
きるものである もつとも、この閾値メモリの出力は、常に常数としても
、従来技術よりは改善することができるもので、その選
択は任意のものである。
In other words, if the previous judgment result was simple binarization, the threshold for this judgment can be changed to make it easier for simple binarization to be selected, but the output of this threshold memory is always as a constant. However, it is possible to improve the conventional technology, and the selection thereof is arbitrary.

第5図は、さきの第3図の回路における比較器10の各
閾値と写真部分画像の劣化の有無(破線)および符号化
情報圧縮率の変化(実線)を示す特性図である。
FIG. 5 is a characteristic diagram showing each threshold value of the comparator 10 in the circuit shown in FIG. 3, the presence or absence of deterioration of the photographic partial image (broken line), and the change in the encoded information compression ratio (solid line).

この結果から、従来の画素ブロック内の画素単位濃度の
最大値と最小値の差が成る閾値を超える部分を単純2値
化する場合の閾値最小値は、写真部画質劣化認知人員比
の50チを越えない範囲であり、なおかつ、文字部MR
符号化情報圧縮率が小さくなる方向である6(濃度中を
Oから16とした場合)で、その時の文字部分のMR符
号化情報圧縮率は24%と力るので、これ以上には文字
部分の情報量圧縮は望めない。
From this result, the minimum threshold value when simply binarizing the portion where the difference between the maximum value and the minimum value of the pixel unit density in the conventional pixel block exceeds the threshold value is 50 within the range that does not exceed the character area MR
At 6 (when the density is set from O to 16), which is the direction in which the encoded information compression rate decreases, the MR encoded information compression rate for the character part at that time is 24%. It is not possible to compress the amount of information.

しかしながら、上記実施例に係る第4図に示すように、
比較器10と比較器17とを用いて判別する場合には、
第6図の特性図に示すごとく、比較器10の閾値を7と
したままで(第3図の回路では、第5図に示すように情
報圧縮率が25.6 %である。)、比較器17の完全
白画素単位と完全黒画素単位の個数の和の閾値とともに
、符号化情報圧縮率は、どんどん小さくなるが、画質劣
化はあまシ認知されない。
However, as shown in FIG. 4 according to the above embodiment,
When determining using the comparator 10 and the comparator 17,
As shown in the characteristic diagram of FIG. 6, the threshold value of the comparator 10 is kept at 7 (in the circuit of FIG. 3, the information compression rate is 25.6% as shown in FIG. 5), and the comparison is made. As the threshold value of the sum of the numbers of complete white pixel units and complete black pixel units of the unit 17 increases, the encoded information compression rate becomes smaller and smaller, but the image quality deterioration is not perceptible at all.

例えば、完全白および完全黒の画素単位個数の閾値を1
0個としても、画質劣化は許容域にあり、情報圧縮率は
16.5%まで達し、さきの第1表に示した全画像を単
純2値化した場合の11.0%に近い値となる。
For example, set the threshold for the number of completely white and completely black pixels to 1.
Even if the number of images is 0, the image quality deterioration is within the acceptable range, and the information compression rate reaches 16.5%, which is close to 11.0% when all images shown in Table 1 are simply binarized. Become.

以上に述べたように、本発明に係る、連続したm個の画
素単位のn列分で構成される画素単位数が、mx’n個
の画素ブロック毎に、従来のように最大濃度と最小濃度
の差による判定と、新たに完全白と完全黒の画素単位数
の和による判定とを論理和することで、ディザパターン
法と単純2値化を選択する手法は、写真等の灰色部分を
含む部分の画質劣化がなく、符号化情報量を高圧縮する
ことが可能である。
As described above, according to the present invention, the number of pixel units composed of n columns of m consecutive pixel units is different from the maximum density and the minimum density for each mx'n pixel block. By ORing the judgment based on the difference in density and the new judgment based on the sum of the number of pixel units of completely white and completely black, the method of selecting the dither pattern method and simple binarization can be used to remove gray areas in photographs, etc. There is no deterioration in the image quality of the included portion, and it is possible to highly compress the amount of encoded information.

しかして、本発明に係る画像情報二値化回路は、一般の
画像入力装置に適用が可能で、特に計算機用入力端末、
ファクシミリ等に有効である。
Therefore, the image information binarization circuit according to the present invention can be applied to general image input devices, and in particular, to computer input terminals,
Effective for facsimile, etc.

〔発明の効果〕〔Effect of the invention〕

本発明によるときは、従来技術の欠点である、文字、線
図部分の情報量増大を抑制するようにした画像情報二値
化回路を提供することができるもので、実用的効果にす
ぐれた発明ということができる。
According to the present invention, it is possible to provide an image information binarization circuit that suppresses the increase in the amount of information in text and line drawing parts, which is a drawback of the prior art, and the invention has excellent practical effects. It can be said that.

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

第1図は、ディザパターン法の概略説明図、第2図は、
単純2値化の説明図、第3図は、従来技術に係兎甲像情
報二値化回路図、第4図は、本発明の一実施例に係る画
像情報二値化回路図、第5図は、従来技術に係るものの
特性図、第6図は、本発明に係るものの特性図である。 1・・・光電変換素子、2・・・A/D変換回路、3・
・・スイッチ、4.、・・・、41・・・ラインメモリ
、5Il、・・・。 5ア・・・スイッチ、6・・・最大値検出回路、7.・
、最小値検出回路、8・・・減算器、9′・・・閾値メ
モリ、10・・・比較器、11・・・ディザ法/2値化
マトリックスメモリ、12・・・ディザ法/2値化回路
、13・・・MH/MR,符号化回路、14・・・白画
素検出回路、15・・・黒画素検出回路、16・・・カ
ウンタ、17・・・比較器、18・・・論理和回路。 千1図 (1) (2) (3) も2図 も3図 階4−図 第5図 (勺ミ画)31h 16(F!jJJ)第1頁の続き 0発 明 者 塩 秀 行 日立市幸町3丁目社内
Figure 1 is a schematic explanatory diagram of the dither pattern method, Figure 2 is
An explanatory diagram of simple binarization, FIG. 3 is a circuit diagram for binarizing image information related to the prior art, and FIG. 4 is a circuit diagram for binarizing image information according to an embodiment of the present invention. The figure is a characteristic diagram of the prior art, and FIG. 6 is a characteristic diagram of the one according to the present invention. 1... Photoelectric conversion element, 2... A/D conversion circuit, 3.
...Switch, 4. ,..., 41... line memory, 5Il,... 5A...Switch, 6...Maximum value detection circuit, 7.・
, minimum value detection circuit, 8... subtractor, 9'... threshold memory, 10... comparator, 11... dither method/binarization matrix memory, 12... dither method/binary value conversion circuit, 13... MH/MR, encoding circuit, 14... white pixel detection circuit, 15... black pixel detection circuit, 16... counter, 17... comparator, 18... OR circuit. Figure 1, (1) (2) (3), Figure 2, Figure 3, Floor 4-Figure 5 (illustrated by Koumi) 31h 16 (F!jJJ) Continuation of page 1 0 Inventor Hideyuki Shio Hitachi Ichisaiwaicho 3-chome office

Claims (1)

【特許請求の範囲】 1、濃淡画像を含む文書を細分化した画素単位の色濃度
に応する整数値とした文書画素情報の、主走査方向に2
以上の整数mで代表されるm個の画素単位を、副走査方
向に2以上の整数nで代表されるn行分で構成される画
素ブロック毎に、その画素ブロック内画素単位の規定数
以上が低濃度側濃度閾値以下であるかを判定する回路工
と、画素ブロック内画素単位の規定数以上が高濃度側濃
度閾値以上であるかを判定する回路■と、・画素ブロッ
ク内画素単位の最大濃度値から最小濃度値を減じた値が
濃度差閾値以上であるかを判定する回路■と、前記の回
路■、■および■の出力に従って画素ブロック内各画素
単位の濃度を、一定量値とディザパターン閾値とのいず
れかを選別したのちの当該選別閾値と比較し二値化する
回路■とを具備せしめたことを特徴とする画像情報二値
化回路。 2、特許請求の範囲第1項記載のものにおいて、判定に
係る閾値設定部における低濃度側濃度閾値、高濃度側濃
度閾値および濃度差闇値のそれぞれを、前処理の画素ブ
ロックの処理結果に依存して変化させるように構成した
ものである画像情報二値化回路。
[Claims] 1. Document pixel information, which is an integer value corresponding to the color density of each pixel obtained by subdividing a document containing a grayscale image, in the main scanning direction.
For each pixel block consisting of n rows in the sub-scanning direction, representing m pixel units represented by an integer m greater than or equal to 2, a specified number or more of pixel units within that pixel block. a circuit that determines whether the number of pixels in the pixel block is equal to or less than the density threshold on the low-density side; A circuit (■) determines whether the value obtained by subtracting the minimum density value from the maximum density value is greater than or equal to the density difference threshold, and the density of each pixel in the pixel block is determined by a fixed amount according to the outputs of the circuits (2), (2) and (2). 1. A circuit for binarizing image information by comparing the selection threshold with the selection threshold after selecting one of the selection threshold and the dither pattern threshold. 2. In the item described in claim 1, each of the low density side density threshold, high density side density threshold, and density difference dark value in the threshold value setting unit related to determination is set as the processing result of the pixel block of preprocessing. An image information binarization circuit configured to change depending on the image information.
JP59004854A 1984-01-17 1984-01-17 Binary coding circuit of picture information Pending JPS60149260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59004854A JPS60149260A (en) 1984-01-17 1984-01-17 Binary coding circuit of picture information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59004854A JPS60149260A (en) 1984-01-17 1984-01-17 Binary coding circuit of picture information

Publications (1)

Publication Number Publication Date
JPS60149260A true JPS60149260A (en) 1985-08-06

Family

ID=11595260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59004854A Pending JPS60149260A (en) 1984-01-17 1984-01-17 Binary coding circuit of picture information

Country Status (1)

Country Link
JP (1) JPS60149260A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62269469A (en) * 1986-05-16 1987-11-21 Canon Inc Data communication equipment
JP2009082901A (en) * 2007-09-10 2009-04-23 Panasonic Corp Electric dust collector

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57125580A (en) * 1981-01-02 1982-08-04 Ibm Threshould processing mode switch
JPS583374A (en) * 1981-06-29 1983-01-10 Nippon Telegr & Teleph Corp <Ntt> Intermediate tone processing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57125580A (en) * 1981-01-02 1982-08-04 Ibm Threshould processing mode switch
JPS583374A (en) * 1981-06-29 1983-01-10 Nippon Telegr & Teleph Corp <Ntt> Intermediate tone processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62269469A (en) * 1986-05-16 1987-11-21 Canon Inc Data communication equipment
JP2009082901A (en) * 2007-09-10 2009-04-23 Panasonic Corp Electric dust collector

Similar Documents

Publication Publication Date Title
EP0105085A2 (en) A method and apparatus for filtering grey scale image data
CA1306540C (en) Image-processing apparatus
US4837846A (en) Method of the image processing
JP3083673B2 (en) Image area identification device
JP3100383B2 (en) Character region separation method and apparatus
JPH0122665B2 (en)
JPS60149260A (en) Binary coding circuit of picture information
JPH04356873A (en) Adaptive encoding system for color document image
JPH04248766A (en) Image area separation system
JPH10108012A (en) Image area separating device
JP2507948B2 (en) Image area identification device
JPH0550187B2 (en)
JPH08298589A (en) Image processor of photograph/document mixed image
JPS60136476A (en) Picture processor
JP3466655B2 (en) Image processing device
JPS6336713B2 (en)
JPH0457274B2 (en)
JP2840285B2 (en) Image reduction device and method
JP2853140B2 (en) Image area identification device
JP2670779B2 (en) Halftone image separation processor
JP2509448B2 (en) How to reduce the amount of image information
KR930003482B1 (en) Simple identification method of mixed video and text documents
JPH08221515A (en) Image processor
JPH01173973A (en) Gradation correcting device
JPS6180964A (en) Picture signal processing method