JPH0252908B2 - - Google Patents

Info

Publication number
JPH0252908B2
JPH0252908B2 JP56075751A JP7575181A JPH0252908B2 JP H0252908 B2 JPH0252908 B2 JP H0252908B2 JP 56075751 A JP56075751 A JP 56075751A JP 7575181 A JP7575181 A JP 7575181A JP H0252908 B2 JPH0252908 B2 JP H0252908B2
Authority
JP
Japan
Prior art keywords
circuit
image
binarization
information
threshold value
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.)
Expired - Lifetime
Application number
JP56075751A
Other languages
Japanese (ja)
Other versions
JPS57192171A (en
Inventor
Hirokawa Hayashi
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP56075751A priority Critical patent/JPS57192171A/en
Publication of JPS57192171A publication Critical patent/JPS57192171A/en
Publication of JPH0252908B2 publication Critical patent/JPH0252908B2/ja
Granted 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/40Picture signal circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Character Input (AREA)

Description

【発明の詳細な説明】 この発明は画像処理装置に係り、特に文書画像
等に適用し得る画像処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus that can be applied to document images and the like.

従来、再生画像の地肌のノイズ除去のために適
当な閾値で原稿の濃度情報を切る方法が知られて
いる。この閾値の調節は、例えば複写機の濃度調
整ダイヤルによつて行つていた。
2. Description of the Related Art Conventionally, a method is known in which density information of a document is cut off using an appropriate threshold value in order to remove background noise from a reproduced image. This threshold value has been adjusted, for example, using a density adjustment dial of a copying machine.

この場合、良好な画像を2値化再生するに際し
ては充分効果があり、良好な2値化が期待でき
る。しかし、地肌レベルが高く有用な情報と地肌
との濃度差が小さい場合には良好な2値化が行な
えなかつた。すなわち、地肌のノイズを除去した
際には原稿の有用情報も欠落してしまうおそれが
あり、逆に充分ノイズが除去できない場合も生じ
た。
In this case, there is a sufficient effect in binarizing and reproducing a good image, and good binarization can be expected. However, when the background level is high and the density difference between useful information and the background is small, good binarization cannot be performed. That is, when background noise is removed, there is a risk that useful information of the document may also be lost, and conversely, there are cases where noise cannot be removed sufficiently.

この発明は、以上の様な従来技術の欠点を除去
しようとして成されたものであり、画像情報を欠
落することなく地肌のノイズを除去できる高品質
の画像再生の可能な画像処理装置を提供すること
ができる。
The present invention has been made in an attempt to eliminate the drawbacks of the prior art as described above, and provides an image processing device capable of high-quality image reproduction that can remove background noise without losing image information. be able to.

この目的を達成するため、この発明によれば、
多値の入力画像情報を所定の閾値をもつて2値化
する第1の2値化回路と、前記入力画像情報を前
記閾値よりも高濃度側の閾値をもつて2値化する
第2の2値化回路と、前記第1の2値化回路の出
力を基に入力画像の画像部分と非画像部分とを識
別しパターン化するパターン形成回路と、前記第
2の2値化回路の出力に対応する画像部分に隣接
する非画像部分を強制的に画像部分に変更する融
合処理回路と、前記第1の2値化回路、前記パタ
ーン形成回路、及び前記融合処理回路の各出力の
アンド条件をとる論理積処理回路とを具えるよう
にする。
To achieve this objective, according to the invention:
a first binarization circuit that binarizes multivalued input image information with a predetermined threshold; and a second binarization circuit that binarizes the input image information with a threshold that is higher in density than the threshold. a binarization circuit; a pattern forming circuit that identifies and patterns image portions and non-image portions of an input image based on the output of the first binarization circuit; and an output of the second binarization circuit. a fusion processing circuit that forcibly changes a non-image portion adjacent to an image portion corresponding to the image portion into an image portion; and an AND condition for each output of the first binarization circuit, the pattern forming circuit, and the fusion processing circuit. and an AND processing circuit that takes .

以下、添付図面に従つてこの発明の実施例を説
明する。
Embodiments of the present invention will be described below with reference to the accompanying drawings.

第1図はこの発明の実施例に係る各過程を示す
ものである。各図a〜fは実際には電気信号とし
て表われるものであるが、理解を容易なものとす
るため視覚化してある。
FIG. 1 shows each process according to an embodiment of the present invention. Each of the figures a to f actually appears as an electrical signal, but is visualized for ease of understanding.

先づ、この発明によれば、原稿をスキヤナ(図
示せず)等によつて画素単位で読取りAD変換器
等を介して各画素を多値レベル例えば16段階に量
子化する。この多値レベルに量子化した画像が同
図aであり、文書情報10と共に地肌のノイズ1
1も含んでいる。
First, according to the present invention, a document is read pixel by pixel using a scanner (not shown) or the like, and each pixel is quantized into a multi-value level, for example, 16 steps, via an AD converter or the like. The image quantized to this multi-value level is shown in Figure a, which includes document information 10 and background noise 1.
Also includes 1.

同図bはこの様な画像に文書情報を欠落させな
い程度の閾値を適用し2値化を図つたものであ
り、同図aの文字情報10と略同程度の品質の文
字情報10′に対して地肌のノイズ11′がある程
度除去されている。
Figure b shows an image in which such an image is binarized by applying a threshold value that does not cause any document information to be lost. The background noise 11' is removed to some extent.

この様に2値化された画像(同図b)又は入力
多値画像(同図a)を基に、文字情報のうち文字
部分と行間部分とを判別して、文字部分12を黒
レベル、行間部分13を白レベルに対応させたパ
ターンを形成する(同図c)。
Based on the binary image (b in the same figure) or the input multivalued image (a) in the same figure, the character part and the interline part of the character information are distinguished, and the character part 12 is set to the black level, A pattern is formed in which the inter-line portions 13 correspond to the white level (FIG. 3(c)).

一方、入力多値画像(同図a)に対して、同図
bで用いた閾値よりも高濃度側の閾値をもつて、
2値化を施す。この際、文字情報14自体に欠落
が生じいわゆる骨格画像と呼ばれるものとなる
が、地肌のノイズ15は大幅に減少する。
On the other hand, for the input multivalued image (a in the same figure), with a threshold value on the higher density side than the threshold value used in b in the same figure,
Perform binarization. At this time, the character information 14 itself is missing, resulting in what is called a skeletal image, but background noise 15 is significantly reduced.

次に、この骨格画像に対し、その画像部分に隣
接する非画像部分に属する画素を強制的に黒画素
とし、非画像部分を画像部分に変更するいわゆる
融合処理を施す(同図f)。この結果、太くなつ
た文字情報16が得られる。
Next, this skeleton image is subjected to a so-called fusion process in which pixels belonging to the non-image part adjacent to the image part are forcibly made black pixels, and the non-image part is changed to the image part (FIG. 4(f)). As a result, thicker character information 16 is obtained.

最後に、同図b,c、及びfにおける各画像の
アンド条件をとることにより、行間のノイズは除
去されまた所定の品質を維持した文字情報17を
具えた所望の画像を得ることができる。
Finally, by applying the AND condition for each image in b, c, and f of the same figure, noise between lines can be removed and a desired image with character information 17 maintaining a predetermined quality can be obtained.

尚、以上においては、画像が文字画像である場
合について説明し、この種の画像についてこの発
明が最も有効であるのはもちろんのことである。
しかし、例えば棒グラフ等文章行及び行間に類似
のパターンとなる他の種類の画像に適用しても効
果があるのは容易に理解されるであろう。
In the above description, the case where the image is a character image will be described, and it goes without saying that the present invention is most effective for this type of image.
However, it will be easily understood that the present invention is also effective when applied to other types of images that have similar patterns between text lines and lines, such as bar graphs.

また、各段階がデイジタル処理であるかの如く
に述べたが、部分的にアナログ処理としてもよく
例えば融合処理をアナログ処理としてもよく必ず
しも画素単位の処理を必要としない場合もある。
Further, although each stage has been described as digital processing, it may be partially analog processing, for example, fusion processing may be analog processing, and pixel-by-pixel processing may not necessarily be required.

以上の方法を実行するための具体的構成を示す
のが第2図である。同図によれば、前処理回路3
0、2値化回路40、パターン作成回路50、2
値化回路60、融合処理回路70、及び論理積処
理回路80が示されている。
FIG. 2 shows a specific configuration for carrying out the above method. According to the same figure, the preprocessing circuit 3
0, binarization circuit 40, pattern creation circuit 50, 2
A valorization circuit 60, a fusion processing circuit 70, and an AND processing circuit 80 are shown.

前処理回路30は、スキヤナ(図示せず)等に
よつて読取つたアナログ画像信号S0を他値に量子
化したデイジタル画像情報S1に変換するものであ
り、例えば第3図に示す様な構成とすることがで
きる。すなわち、最大値検出回路31、平均値検
出回路32、及びAD変換器33を有する。最大
値検出回路31及び平均値検出回路32はそれぞ
れアナログ画像信号S0とピークレベル及び平均レ
ベルを検出するアナログ検出器であり、検知レベ
ル信号S01,S02をそれぞれ出力する。
The preprocessing circuit 30 converts the analog image signal S 0 read by a scanner (not shown) or the like into digital image information S 1 quantized into other values, such as the one shown in FIG. It can be configured as follows. That is, it has a maximum value detection circuit 31, an average value detection circuit 32, and an AD converter 33. The maximum value detection circuit 31 and the average value detection circuit 32 are analog detectors that detect the analog image signal S 0 and the peak level and average level, respectively, and output detected level signals S 01 and S 02 , respectively.

AD変換器33は信号S0,S01,S02を入力信号
とし、量子化レベルの最低値をその時点の平均レ
ベルS02に、最大値を同時点のピークレベルS01
割振り、アナログ画像信号S0を多値のデイジタル
信号S1に変換する。
The AD converter 33 takes the signals S 0 , S 01 , and S 02 as input signals, and allocates the lowest value of the quantization level to the average level S 02 at that point in time, and the maximum value to the peak level S 01 at the same point in time, and outputs an analog image. The signal S 0 is converted into a multivalued digital signal S 1 .

ピークレベル及び平均レベルの検出時定数は装
置の読取り速度、処理単位に合わせて任意に選ぶ
ことができ、また場合によつては入力アナログ信
号を蓄える1処理画面分のバツフアメモリを設
け、その中の最大値及び平均値を検出するように
してもよい。
The detection time constants of the peak level and average level can be arbitrarily selected according to the reading speed of the device and the processing unit. The maximum value and the average value may be detected.

2値化回路40は、多値の入力画像情報S1を所
定の閾値をもつて2値化するものであり、例えば
第4図に示す様に比較器41とメモリ42とを有
して成る。
The binarization circuit 40 binarizes the multivalued input image information S1 using a predetermined threshold, and includes, for example, a comparator 41 and a memory 42 as shown in FIG. .

比較器41は所定のタイミングで入力画像情報
S1を閾値TH1と比較し、信号の内容が濃度に関
してS1TH1であれば1(黒)を出力し、S1
TH1であれば0(白)を出力するような2値化信
号S2′を送出する。こうした、信号S2′は必要画素
数分だけメモリ42に一時記憶され次段に送られ
る。
The comparator 41 receives input image information at a predetermined timing.
Compare S 1 with threshold TH 1 , and if the signal content is S 1 TH 1 regarding density, output 1 (black), and if S 1 <
If TH is 1 , a binary signal S 2 ' is sent out which outputs 0 (white). Such signals S 2 ' are temporarily stored in the memory 42 for the required number of pixels and sent to the next stage.

尚、ここで、閾値TH1は文字情報を毀損しな
い程度である程度の地肌のノイズを除去できる値
として設定しておく。
Note that the threshold value TH 1 is set here as a value that can remove a certain amount of background noise without damaging character information.

パターン作成回路50は2値化回路40の出力
信号S2を基に入力画像の画像部分と非画像部分、
すなわち文書画像においては文字行部分と行間部
分とを識別しパターン化するものであり、例えば
第5図に示す様な構成することができる。
The pattern creation circuit 50 divides the image portion and non-image portion of the input image based on the output signal S2 of the binarization circuit 40.
That is, in a document image, character line portions and interline portions are identified and patterned. For example, a configuration as shown in FIG. 5 can be used.

この回路50は2値化回路40のメモリ42に
記憶させた画像(第1図bに対応)を縦方向及び
横方向に走査し、それぞれの方向の画素の濃度値
“0”又は“1”の積算値より得られる投影パタ
ーンを調べ文字行方向を判定し、いずれか一方の
投影パターンから画像信号S2の文字行部分と行間
部分を表わす2値パターンを作成する。
This circuit 50 scans the image (corresponding to FIG. 1b) stored in the memory 42 of the binarization circuit 40 in the vertical and horizontal directions, and sets the density value of the pixels in each direction to "0" or "1". The projection pattern obtained from the integrated value is examined to determine the character line direction, and a binary pattern representing the character line part and the interline part of the image signal S2 is created from one of the projection patterns.

同図において、左側の要素51A〜56Aは例
えば縦方向の情報の処理をする系列を作成し、右
側の要素51B〜56Bは横方向の情報の処理を
する系列を形成する。
In the figure, elements 51A to 56A on the left form a sequence for processing information in the vertical direction, and elements 51B to 56B on the right form a sequence for processing information in the horizontal direction.

すなわち、累積回路51Aによつて画像情報信
号S2のうち特定の縦方向の走査線の画素濃度を全
て積算し(f1)、これを比較回路52Aで予め定
めた閾値βと比較し2値化信号g1を送出する。閾
値Bは当該走査線が文字行に属するか否かの判断
が可能である様に設定し黒画素/白画素の相対的
な比率が1/50〜1/10となる様に選定するのが望ま
しい。
That is, the accumulation circuit 51A integrates all the pixel densities of a specific vertical scanning line of the image information signal S2 (f 1 ), and the comparison circuit 52A compares this with a predetermined threshold value β to obtain a binary value. signal g1 is sent. Threshold B should be set so that it is possible to judge whether the scanning line belongs to a character line or not, and should be selected so that the relative ratio of black pixels to white pixels is 1/50 to 1/10. desirable.

このような2値化信号g1を複数の走査線分(例
えば3列分)パターン記憶回路53Aに蓄積し、
複数の走査線分の2値化信号g1′を基に判定論理
回路54Aによつて当該走査線が文字行に属する
か否かを2値的に判定する(h1)。この判定結果
を示す2値信号h1をパターン記憶回路55Aに順
次蓄積することで、処理すべき画像の縦方向の2
値パターンを得ることができる。
Such a binarized signal g1 is stored in the pattern storage circuit 53A for a plurality of scanning lines (for example, three columns),
Based on the binary signals g 1 ' for a plurality of scanning lines, the judgment logic circuit 54A judges whether or not the scanning line belongs to a character line in a binary manner (h 1 ). By sequentially accumulating the binary signal h1 indicating this determination result in the pattern storage circuit 55A, two
You can get value patterns.

同様にして、要素51B〜55Bをもつて横方
向の2値パターンを得ることができる。
Similarly, a horizontal binary pattern can be obtained with elements 51B to 55B.

ここで、縦横それぞれの方向についてのパター
ンh1′、h2′をパターン記憶回路55A,55Bか
らそれぞれ取出し累積回路56A,56Bによつ
て各々積算する。この積算結果i1、i2を比較回路
57で比較し、i1>i2であれば縦方向に文字行が
あるとしてJ=1を出力し、i1i2であれば横方
向に文字行があるとしてJ=0を出力する。
Here, patterns h 1 ' and h 2 ' in the vertical and horizontal directions are taken out from the pattern storage circuits 55A and 55B, respectively, and accumulated by the accumulation circuits 56A and 56B, respectively. The integration results i 1 and i 2 are compared in a comparison circuit 57, and if i 1 > i 2 , it is assumed that there is a character line in the vertical direction, and J=1 is output, and if i 1 i 2 , there are characters in the horizontal direction. Assuming that there is a row, output J=0.

この結果を基に、パターン作成回路58及びパ
ターン記憶回路59を介して画像部分及び非画像
部分のパターンを示す信号S3を形成する。
Based on this result, a signal S3 indicating the pattern of the image portion and the non-image portion is formed via the pattern generation circuit 58 and the pattern storage circuit 59.

2値化回路60は前述の2値化回路40と同様
の構成であるが閾値のみが異なる。すなわち、2
値化回路40の閾値よりも高濃度側に閾値を設定
し、画像信号S1を基に多少の文字情報が欠落して
も地肌のノイズが相当程度除去されるようにす
る。いわゆる骨格画像S4というものが形成され
る。
The binarization circuit 60 has the same configuration as the above-mentioned binarization circuit 40, but differs only in the threshold value. That is, 2
A threshold value is set on the higher density side than the threshold value of the value converting circuit 40, so that background noise can be removed to a considerable extent even if some character information is missing based on the image signal S1 . A so-called skeleton image S4 is formed.

融合処理回路70は、2値化処理回路60の出
力信号S4のうち黒画素となつている部分の周囲の
画素を予め定めた規則に基づいて黒画素に変換す
るものである。
The fusion processing circuit 70 converts pixels surrounding a black pixel portion of the output signal S4 of the binarization processing circuit 60 into black pixels based on a predetermined rule.

論理積処理回路80は、2つの2値化回路4
0,60及びパターン作成回路50の出力S2
S3,S4のアンド条件をとるものであり、この結果
得られる信号S6が所望の画像を形成する。
The AND processing circuit 80 includes two binarization circuits 4
0, 60 and the output S 2 of the pattern creation circuit 50,
The AND condition of S 3 and S 4 is taken, and the signal S 6 obtained as a result forms the desired image.

この発明は、以上の様に構成することにより、
画像情報を欠落することなく地肌のノイズを除去
でき高品質の画像再生が可能な画像処理装置を提
供することができる。
By configuring this invention as described above,
It is possible to provide an image processing device that can remove background noise without missing image information and can reproduce high-quality images.

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

第1図はこの発明の原理を示す処理行程図、第
2図はこの発明の実施例の系統図、第3図から第
5図はこの発明の実施例の要部系統図である。 30……前処理回路、40,60……2値化回
路、50……パターン作成回路、70……融合処
理回路、80……論理積処理回路。
FIG. 1 is a process diagram showing the principle of the invention, FIG. 2 is a system diagram of an embodiment of the invention, and FIGS. 3 to 5 are system diagrams of main parts of the embodiment of the invention. 30... preprocessing circuit, 40, 60... binarization circuit, 50... pattern creation circuit, 70... fusion processing circuit, 80... logical product processing circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 多値の入力画像情報を所定の閾値をもつて2
値化する第1の2値化回路と、前記入力画像情報
を前記閾値よりも高濃度側の閾値をもつて2値化
する第2の2値化回路と、前記第1の2値化回路
の出力を基に入力画像の画像部分と非画像部分と
を識別しパターン化するパターン形成回路と、前
記第2の2値化回路の出力に対応する画像部分に
隣接する非画像部分を強制的に画像部分に変更す
る融合処理回路と、前記第1の2値化回路、前記
パターン形成回路、及び前記融合処理回路の各出
力のアンド条件をとる論理積処理回路とを具えて
成る画像処理装置。
1 Multivalued input image information with a predetermined threshold value 2
a first binarization circuit that converts the input image information into a value; a second binarization circuit that binarizes the input image information with a threshold value higher than the threshold value; and the first binarization circuit. a pattern forming circuit that identifies and patterns the image portion and non-image portion of the input image based on the output of the second binarization circuit; An image processing device comprising: a fusion processing circuit that changes an image portion into an image portion; and an AND processing circuit that takes an AND condition for each output of the first binarization circuit, the pattern forming circuit, and the fusion processing circuit. .
JP56075751A 1981-05-21 1981-05-21 Picture processing device Granted JPS57192171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56075751A JPS57192171A (en) 1981-05-21 1981-05-21 Picture processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56075751A JPS57192171A (en) 1981-05-21 1981-05-21 Picture processing device

Publications (2)

Publication Number Publication Date
JPS57192171A JPS57192171A (en) 1982-11-26
JPH0252908B2 true JPH0252908B2 (en) 1990-11-15

Family

ID=13585270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56075751A Granted JPS57192171A (en) 1981-05-21 1981-05-21 Picture processing device

Country Status (1)

Country Link
JP (1) JPS57192171A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02135586A (en) * 1988-11-16 1990-05-24 Nec Corp Optical character reader

Also Published As

Publication number Publication date
JPS57192171A (en) 1982-11-26

Similar Documents

Publication Publication Date Title
US5293430A (en) Automatic image segmentation using local area maximum and minimum image signals
US4547811A (en) Method and apparatus for gray level signal processing
US5327262A (en) Automatic image segmentation with smoothing
JPS6198069A (en) Image processor
JPH01228265A (en) Method and device for processing image
US4817174A (en) Image processing apparatus
JPS62118676A (en) Picture processing system
JP3088010B2 (en) Line drawing separation method and apparatus
US4899225A (en) Image processing method
JP2616386B2 (en) Image processing device
JPH0252908B2 (en)
JPH10108012A (en) Image area separating device
JP3188804B2 (en) Mixed image processing device
JP3066154B2 (en) Selective binarization method
JPH0550187B2 (en)
JPH05136994A (en) Image area separation circuit
JP2521744B2 (en) Image processing device
JPH0546749B2 (en)
JP2853140B2 (en) Image area identification device
JPS5819075A (en) Picture processing device
JP3043036B2 (en) Image binarization device
JP2670779B2 (en) Halftone image separation processor
JPH01137378A (en) Picture processing system
KR960011214B1 (en) Image signal processing method
JP2702747B2 (en) Image signal processing device