JP2936766B2 - Image input device - Google Patents

Image input device

Info

Publication number
JP2936766B2
JP2936766B2 JP3060857A JP6085791A JP2936766B2 JP 2936766 B2 JP2936766 B2 JP 2936766B2 JP 3060857 A JP3060857 A JP 3060857A JP 6085791 A JP6085791 A JP 6085791A JP 2936766 B2 JP2936766 B2 JP 2936766B2
Authority
JP
Japan
Prior art keywords
image
labeling
input
binarizing
input device
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
JP3060857A
Other languages
Japanese (ja)
Other versions
JPH04246787A (en
Inventor
武志 場生松
▼徳▲郎 ▼濱▲田
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP3060857A priority Critical patent/JP2936766B2/en
Publication of JPH04246787A publication Critical patent/JPH04246787A/en
Application granted granted Critical
Publication of JP2936766B2 publication Critical patent/JP2936766B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、画像認識装置の画像入
力装置に利用する。特に、郵便物の上に印刷された宛名
や宛先を光学的に読取る場合のように、紙葉類に記載さ
れた文章や宛名などの読取対象を入力する画像入力装置
に関するものである。
The present invention is used for an image input device of an image recognition device. In particular, the present invention relates to an image input device for inputting a reading target such as a text or an address written on a sheet, such as when an address or address printed on a mail is optically read.

【0002】[0002]

【従来の技術】従来、画像入力装置は、濃度ごとの画素
数の分布状態によって二値化を行っていた。
2. Description of the Related Art Conventionally, an image input apparatus performs binarization according to the distribution of the number of pixels for each density.

【0003】[0003]

【発明が解決しようとする課題】しかし、このような従
来の画像入力装置では、地色にむらがある場合には二値
化が正しく行われない欠点があった。
However, such a conventional image input device has a drawback that binarization is not correctly performed when the ground color is uneven.

【0004】本発明は上記の欠点を解決するもので、地
色にむらがある場合でも正しく二値化できる画像入力装
置を提供することを目的とする。
An object of the present invention is to solve the above-mentioned drawbacks, and an object of the present invention is to provide an image input apparatus capable of correctly binarizing even when the background color is uneven.

【0005】[0005]

【課題を解決するための手段】本発明は、入力画像を二
値化する二値化手段を備えた画像入力装置において、上
記二値化手段は互いに異なるしきい値に基づき上記入力
画像をそれぞれ二値化する複数の二値化部を含み、上記
複数の二値化部の出力信号に基づきそれぞれラベリング
を行うラベリングプロセッサと、上記各ラベリングプロ
セッサのラベリング結果に基づき上記複数の二値化部の
出力信号を選択する選択部とを備えたことを特徴とす
る。
According to the present invention, there is provided an image input apparatus provided with a binarizing means for binarizing an input image, wherein the binarizing means respectively converts the input images based on mutually different threshold values. A plurality of binarizing units for binarizing, a labeling processor that performs labeling based on output signals of the plurality of binarizing units, and a plurality of binarizing units based on a labeling result of each of the labeling processors. And a selector for selecting an output signal.

【0006】また、本発明は、上記入力画像は紙葉類に
記載された文字を走査して電気信号に変換された画像で
あることができる。
According to the present invention, the input image may be an image obtained by scanning a character written on a paper sheet and converting the character into an electric signal.

【0007】さらに、本発明は、上記選択部は上記各ラ
ベリングプロセッサのラベリング結果を比較しパタン数
に基づき選択する手段を含むことができる。
Furthermore, the present invention can include means for comparing the labeling results of the respective labeling processors and selecting based on the number of patterns.

【0008】[0008]

【作用】二値化手段は複数の二値化部で互いに異なるし
きい値に基づき入力画像をそれぞれ二値化する。ラベリ
ングプロセッサは複数の二値化部の出力信号に基づきそ
れぞれラベリングを行う。選択部は各ラベリングプロセ
ッサのラベリング結果に基づき複数の二値化部の出力信
号を選択する。
The binarizing means binarizes the input image based on different threshold values in the plurality of binarizing units. The labeling processor performs labeling based on the output signals of the plurality of binarizing units. The selection unit selects output signals of a plurality of binarization units based on a labeling result of each labeling processor.

【0009】また、入力画像は紙葉類に記載された文字
を走査して電気信号に変換された画像であることができ
る。
The input image may be an image obtained by scanning a character written on a paper sheet and converting the character into an electric signal.

【0010】さらに、選択部は各ラベリングプロセッサ
のラベリング結果を比較しパタン数に基づき選択するこ
とができる。以上により地色にむらがある場合でも正し
く二値化できる。
Further, the selection unit can compare the labeling results of the respective labeling processors and select based on the number of patterns. As described above, binarization can be correctly performed even when the ground color is uneven.

【0011】[0011]

【実施例】本発明の実施例について図面を参照して説明
する。図1は本発明一実施例画像入力装置のブロック構
成図である。図1において、画像入力装置は、入力画像
11を二値化する二値化手段を備える。
Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an image input apparatus according to an embodiment of the present invention. In FIG. 1, the image input device includes a binarizing unit for binarizing an input image 11.

【0012】ここで本発明の特徴とするところは、上記
二値化手段は互いに異なるしきい値に基づき上記入力画
像をそれぞれ二値化する複数の二値化部12、13を含み、
複数の二値化部12、13の出力する二値化画像14、15に基
づきそれぞれラベリングを行うラベリングプロセッサ1
6、17と、各ラベリングプロセッサ16、17のラベリング
結果18、19に基づき二値化部12、13の出力する二値化画
像14、15を選択し最良の二値化画像22およびそれに対応
するラベリング結果21を出力する選択部20とを備えたこ
とにある。
Here, a feature of the present invention is that the binarizing means includes a plurality of binarizing sections 12 and 13 for binarizing the input image based on mutually different thresholds, respectively.
A labeling processor 1 that performs labeling based on the binarized images 14 and 15 output from the plurality of binarization units 12 and 13, respectively;
6, 17 and based on the labeling results 18, 19 of the respective labeling processors 16, 17, select the binarized images 14, 15 output by the binarizing units 12, 13 and select the best binarized image 22 and its corresponding. And a selection unit 20 that outputs a labeling result 21.

【0013】また、入力画像11は紙葉類に記載された文
字を走査して電気信号に変換された画像である。
The input image 11 is an image obtained by scanning characters written on paper sheets and converting the characters into electric signals.

【0014】さらに、選択部20は各ラベリングプロセッ
サ16、17のラベリング結果18、19を比較しパタン数に基
づきその数の少ない二値化画像を選択して出力する手段
を含む。
Further, the selecting section 20 includes means for comparing the labeling results 18, 19 of the respective labeling processors 16, 17 and selecting and outputting a binarized image having a small number based on the number of patterns.

【0015】このような構成の画像入力装置の動作につ
いて説明する。図2は本発明の画像入力装置の入力画像
を淡い目のしきい値に基づき二値化した画像を示す図で
ある。図3は本発明の画像入力装置の図2に示す二値化
画像をラベリングした結果を示す図である。図4は本発
明の画像入力装置の入力画像を濃い目のしきい値に基づ
き二値化した画像を示す図である。図5は本発明の画像
入力装置の図4に示す二値化画像をラベリングした結果
を示す図である。
The operation of the image input apparatus having such a configuration will be described. FIG. 2 is a diagram showing an image obtained by binarizing an input image of the image input device of the present invention based on a threshold value of a light eye. FIG. 3 is a diagram showing a result of labeling the binarized image shown in FIG. 2 by the image input device of the present invention. FIG. 4 is a diagram showing an image obtained by binarizing an input image of the image input apparatus of the present invention based on a dark threshold value. FIG. 5 is a diagram showing a result of labeling the binarized image shown in FIG. 4 by the image input device of the present invention.

【0016】図1において、入力画像11が2組の二値化
部12および二値化部13に入力される。二値化部12と二値
化部13とではそれぞれ異なったしきい値によって入力画
像の二値化を行い、二値化画像14と二値化画像15とを出
力する。二値化画像14と二値化画像15とはそれぞれラベ
リングプロセッサ16とラベリングプロセッサ17とに入力
され、ラベリングが行われ、ラベリング結果18とラベリ
ング結果19とが得られる。選択部20ではより良好なラベ
リング結果21を選択し、出力する。また、ラベリング結
果21に対応する二値化画像22を選択し出力する。
In FIG. 1, an input image 11 is input to two sets of a binarization unit 12 and a binarization unit 13. The binarization unit 12 and the binarization unit 13 binarize the input image using different threshold values, and output a binarized image 14 and a binarized image 15. The binarized image 14 and the binarized image 15 are input to a labeling processor 16 and a labeling processor 17, respectively, and labeling is performed, and a labeling result 18 and a labeling result 19 are obtained. The selection unit 20 selects and outputs a better labeling result 21. Further, a binarized image 22 corresponding to the labeling result 21 is selected and output.

【0017】図2は入力画像を淡い目のしきい値にて二
値化した画像の例である。紙面ノイズが多く発生してお
り、ラベリングを行うと図3のように細かい不用パタン
を多く含んだラベリング結果となってしまい、これ以降
の各種処理には不向きである。
FIG. 2 shows an example of an image obtained by binarizing an input image with a light threshold value. A lot of paper noise is generated, and if labeling is performed, a labeling result including many fine unnecessary patterns as shown in FIG. 3 is obtained, which is not suitable for various processes thereafter.

【0018】図4は入力画像を濃い目のしきい値にて二
値化した画像の例である。紙面ノイズが消え、ラベリン
グを行うと図5のような良好なラベリング結果が得られ
る。
FIG. 4 is an example of an image obtained by binarizing an input image with a dark threshold value. When the paper noise disappears and labeling is performed, a good labeling result as shown in FIG. 5 is obtained.

【0019】一般的には図3のような状態のラベリング
結果は図5のようなラベリング結果に比較して、多数の
パタンを含んでいる。そこで本実施例においてはパタン
数を比較して、少ない方を選択している。
In general, the labeling result in the state shown in FIG. 3 includes a larger number of patterns than the labeling result shown in FIG. Therefore, in this embodiment, the smaller number is selected by comparing the number of patterns.

【0020】(ラベリングに関する文献、電子通信学会
編:電子情報通信ハンドブック、5.2値画像、PP.1106
〜1108、尾上編:画像処理ハンドブック、13.3 図形の
トポロジーとトポロジー保存変換、PP.317〜318)
(Documents on labeling, edited by The Institute of Electronics, Information and Communication Engineers: Electronic Information and Communication Handbook, 5.2-valued images, PP.1106
1108, Onoe: Image Processing Handbook, 13.3 Topology of Figures and Topology Preservation Conversion, PP.317-318)

【0021】[0021]

【発明の効果】以上説明したように、本発明は、地色に
むらがある場合でも正しく二値化できる優れた効果があ
る。
As described above, the present invention has an excellent effect that binarization can be correctly performed even when the ground color is uneven.

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

【図1】 本発明一実施例画像入力装置のブロック構成
図。
FIG. 1 is a block diagram of an image input device according to an embodiment of the present invention.

【図2】 本発明の画像入力装置の入力画像を淡い目の
しきい値に基づき二値化した画像を示す図。
FIG. 2 is a diagram showing an image obtained by binarizing an input image of the image input apparatus according to the present invention based on a threshold value of light eyes.

【図3】 本発明の画像入力装置の図2に示す二値化画
像をラベリングした結果を示す図。
FIG. 3 is a diagram showing a result of labeling the binarized image shown in FIG. 2 by the image input device of the present invention.

【図4】 本発明の画像入力装置の入力画像を濃い目の
しきい値に基づき二値化した画像を示す図。
FIG. 4 is a diagram showing an image obtained by binarizing an input image of the image input apparatus according to the present invention based on a dark threshold value.

【図5】 本発明の画像入力装置の図4に示す二値化画
像をラベリングした結果を示す図。
FIG. 5 is a diagram showing a result of labeling the binarized image shown in FIG. 4 by the image input device of the present invention.

【符号の説明】[Explanation of symbols]

11 入力画像 12、13 二値化部 14、15、22 二値化画像 16、17 ラベリングプロセッサ 18、19 ラベリング結果 20 選択部 21 ラベリング結果 11 Input image 12, 13 Binarization section 14, 15, 22 Binarization image 16, 17 Labeling processor 18, 19 Labeling result 20 Selection section 21 Labeling result

フロントページの続き (56)参考文献 特開 昭63−283272(JP,A) 特開 平2−228878(JP,A) 特開 平2−24787(JP,A) 特開 昭59−60579(JP,A) 特開 平4−282777(JP,A) 特開 平4−282791(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06T 1/00 H04N 1/403 Continuation of the front page (56) References JP-A-63-283272 (JP, A) JP-A-2-228878 (JP, A) JP-A-2-24787 (JP, A) JP-A-59-60579 (JP) JP-A-4-282777 (JP, A) JP-A-4-282791 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06T 1/00 H04N 1/403

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 互いに異なるしきい値に基づき入力画像
をそれぞれ二値化する複数の二値化部、 上記複数の二値化部の出力信号に基づきそれぞれ入力画
像のラベリングを行う複数のラベリングプロセッサと、 上記各ラベリングプロセッサのラベリング結果に基づき
上記複数の二値化部の出力信号を選択する選択部とを備
えたことを特徴とする画像入力装置。
A plurality of binarization units for respectively binarizing an input image based on mutually different threshold values; and an input image based on output signals of the plurality of binarization units.
An image input device, comprising: a plurality of labeling processors for performing image labeling; and a selection unit that selects output signals of the plurality of binarization units based on a labeling result of each of the labeling processors.
【請求項2】 上記入力画像は紙葉類に記載された文字
を走査して電気信号に変換された画像である請求項1記
載の画像入力装置。
2. The image input device according to claim 1, wherein the input image is an image obtained by scanning a character written on a paper sheet and converting the character into an electric signal.
【請求項3】 上記選択部は上記各ラベリングプロセッ
サのラベリング結果を比較しパタン数に基づき選択する
手段を含む請求項1記載の画像入力装置。
3. The image input apparatus according to claim 1, wherein said selection unit includes means for comparing labeling results of said labeling processors and selecting based on the number of patterns.
JP3060857A 1991-01-31 1991-01-31 Image input device Expired - Lifetime JP2936766B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3060857A JP2936766B2 (en) 1991-01-31 1991-01-31 Image input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3060857A JP2936766B2 (en) 1991-01-31 1991-01-31 Image input device

Publications (2)

Publication Number Publication Date
JPH04246787A JPH04246787A (en) 1992-09-02
JP2936766B2 true JP2936766B2 (en) 1999-08-23

Family

ID=13154473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3060857A Expired - Lifetime JP2936766B2 (en) 1991-01-31 1991-01-31 Image input device

Country Status (1)

Country Link
JP (1) JP2936766B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2613211B2 (en) * 1987-05-15 1997-05-21 株式会社日立製作所 Image input device
JPH02228878A (en) * 1989-03-02 1990-09-11 Toshiba Corp Picture processor

Also Published As

Publication number Publication date
JPH04246787A (en) 1992-09-02

Similar Documents

Publication Publication Date Title
US5016118A (en) Image determining method and apparatus
JP2727549B2 (en) Optimal image quality selection device
JP2967014B2 (en) Image processing device
JP3088010B2 (en) Line drawing separation method and apparatus
JPS58220563A (en) Character and pattern picture image extracting system
JPH04275772A (en) Picture reader
JP2936766B2 (en) Image input device
EP0504576A2 (en) Document scanner
JPS6037952B2 (en) Optimal binarization method
JP3451490B2 (en) Image information processing method
JP3756660B2 (en) Image recognition method, apparatus and recording medium
JP3210378B2 (en) Image input device
JP3358133B2 (en) Image processing device
JPH09238256A (en) Image processing method and image processing unit
JP4578004B2 (en) Scanner and binarization method by controlling light source color of scanner
JP2853140B2 (en) Image area identification device
JP2000331118A (en) Image processor and recording medium
JPH01106279A (en) Image information processor
JP3281786B2 (en) Braille copying machine
JPS6032475A (en) Picture processing device
JPH10233930A (en) Image processor
JP2000353247A (en) Method and device for judging region of black and white picture information
JPH09185317A (en) Braille recognition system
JPH06176193A (en) Optical character reader
JPH08125859A (en) Picture processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080611

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090611

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100611

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100611

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110611

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110611

Year of fee payment: 12