JPH04271488A - System for detecting noise - Google Patents

System for detecting noise

Info

Publication number
JPH04271488A
JPH04271488A JP3031264A JP3126491A JPH04271488A JP H04271488 A JPH04271488 A JP H04271488A JP 3031264 A JP3031264 A JP 3031264A JP 3126491 A JP3126491 A JP 3126491A JP H04271488 A JPH04271488 A JP H04271488A
Authority
JP
Japan
Prior art keywords
noise
black pixel
standard
pixel block
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.)
Pending
Application number
JP3031264A
Other languages
Japanese (ja)
Inventor
Ichiro Kaneko
一郎 金子
Takayuki Furuya
古谷 隆之
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
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP3031264A priority Critical patent/JPH04271488A/en
Publication of JPH04271488A publication Critical patent/JPH04271488A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To detect even the black picture element block of longitudinal or horizontal shape when it is outside the reference value range, as a noise and to improve the accuracy of the noise detection by performing the line classifica tion of the black picture element block as a means to detect the noise, obtaining standard height and standard width for each line, specifying the range on the basis of it and detecting the noise. CONSTITUTION:Black picture element block information obtained from a character segmenting circuit used by image processing is used and the black picture element block is classified into plural lines. Next, the standard width value and standard height value, which become the reference to detect the noise for every line, are obtained. 2, 4 and 6, in which the standard height value and standard width value cannot be decided, are considered to be noise lines and the information is removed. Concerning 1, 3 and 5 lines in which the standard height value and standard width value are decided, the standard height value and the black picture element block height, and the standard width value and black picture element block width are compared for each line, and the black picture element block of 7, 8 and 9 judged to be the noise is removed. As this result, only the noise can be removed.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は文字認識装置に関し、特
に前処理におけるノイズ検出処理に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character recognition device, and more particularly to noise detection processing in preprocessing.

【0002】0002

【従来の技術】従来この種の装置におけるノイズ検知は
、黒画素塊情報のうち、高さ情報及び幅情報を用い、高
さ情報と幅情報の値が許容範囲内であるかを調べ、許容
範囲外(α以下、またはβ以上)であった場合に、この
黒画素塊をノイズとみなしていた。なおα,βは許容範
囲の下限値及び上限値である。
[Prior Art] Conventionally, noise detection in this type of device uses height information and width information of black pixel block information, checks whether the values of the height information and width information are within an allowable range, and then If it is outside the range (below α or more than β), this black pixel cluster is regarded as noise. Note that α and β are the lower and upper limits of the allowable range.

【0003】0003

【発明が解決しようとする課題】上述した従来の方式で
は、黒画素塊の高さ情報と幅情報が共に許容範囲外であ
った場合にのみノイズとみなされ、高さ情報または幅情
報のどちらか一方が条件を満足していればノイズとはみ
なされなかった。従って黒画素塊の形状が横長及び縦長
等の場合は、実際にはノイズであってもノイズとして検
知出来ず、ノイズ検知の精度を落していた。またこれら
をノイズと判断する条件を加えてしまうと、例えば「1
」や「−」等をノイズと判断してしまう可能性があるた
めに条件としては加えられなかった。
[Problems to be Solved by the Invention] In the conventional method described above, only when both the height information and the width information of a black pixel block are outside the allowable range, it is considered as noise. If either one satisfied the conditions, it was not considered noise. Therefore, if the shape of the black pixel block is horizontally long or vertically long, it cannot be detected as noise even if it is actually noise, and the accuracy of noise detection is reduced. Also, if we add conditions to judge these as noise, for example, “1
", "-", etc. were not added as conditions because they might be interpreted as noise.

【0004】本発明の目的は、文字認識装置画像処理に
おける高精度なノイズ検出が可能なノイズ検出方式を提
供することにある。
An object of the present invention is to provide a noise detection method capable of highly accurate noise detection in image processing of a character recognition device.

【0005】[0005]

【課題を解決するための手段】本発明のノイズ検出方式
は、紙葉類上に印字された印活文字を認識する文字認識
装置にあって紙面上を走査して文字切出し回路より得ら
れる黒画素塊情報を用いてノイズを検出するノイズ検出
方式において、前記黒画素塊情報を用いてラインを検出
し黒画素塊行単位にライン分類する手段と、このライン
分類された黒画素塊情報を用いてライン毎に前記黒画素
塊の標準高さおよび標準幅を算出する手段と、この算出
した標準高さおよび標準幅を用いてノイズを検出する手
段とを有する。
[Means for Solving the Problems] The noise detection method of the present invention is a character recognition device that recognizes printed characters printed on paper sheets, and detects the black color obtained by scanning the paper surface and using a character cutting circuit. A noise detection method that detects noise using pixel block information includes means for detecting lines using the black pixel block information and classifying the lines into black pixel block rows, and using the line-classified black pixel block information. and a means for detecting noise using the calculated standard height and standard width.

【0006】[0006]

【実施例】次に本発明について図面を用いて説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0007】図1は本発明の一実施例の動作手順を示す
ブロック図である。まず画像入力装置により紙葉類上を
走査し、それより出力される画像情報(S1)を文字切
出し回路を用いて文字切出しを行なう(S2)。文字切
出しの結果として文字切出し回路から出力された黒画素
塊情報を図2(A)に示す。これらの黒画素塊情報を用
いて黒画素塊をライン分類する。ライン分類とは黒画素
塊を行単位に分類することである。
FIG. 1 is a block diagram showing the operating procedure of an embodiment of the present invention. First, a sheet of paper is scanned by an image input device, and the image information (S1) outputted from the image input device is subjected to character cutting out using a character cutting circuit (S2). FIG. 2A shows black pixel block information output from the character extraction circuit as a result of character extraction. Black pixel blocks are classified into lines using this black pixel block information. Line classification is to classify black pixel blocks into rows.

【0008】次にライン分類処理を述べる。任意の黒画
素塊aとし、その黒画素塊情報をXa ,Ya ,Ha
,  Wa とする(図2(B)参照)。黒画素塊a以
外の任意の黒画素塊をbとし、その黒画素塊情報をXb
 ,Yb ,Hb,Wb とする。黒画素塊aを基準と
し、黒画素塊bと条件式−1に基づいて比較処理を行な
う。
Next, line classification processing will be described. Let an arbitrary black pixel block a be the black pixel block information Xa, Ya, Ha
, Wa (see Figure 2(B)). Let b be any black pixel block other than black pixel block a, and let the black pixel block information be Xb.
, Yb, Hb, Wb. Using the black pixel block a as a reference, a comparison process is performed with the black pixel block b based on conditional expression -1.

【0009】条件式−1 Ya ≦Yb +Hb /2≦Ya +Haまたは Yb ≦Ya +Ha /2≦Yb +Hbこの条件式
を満足した場合に、黒画素塊aと黒画素塊bは同一ライ
ンとみなされライン分類される。
Conditional Expression-1 Ya≦Yb +Hb /2≦Ya +Ha or Yb≦Ya +Ha /2≦Yb +HbIf this conditional expression is satisfied, black pixel block a and black pixel block b are considered to be on the same line. Line classified.

【0010】次に黒画素塊bを基準の黒画素塊として、
まだライン分類されていない黒画素塊aおよび黒画素塊
b以外の任意の黒画素塊とを、条件式−1にあてはめ比
較処理を行う。この処理を繰り返し行ない条件を満足す
る黒画素塊が検出されなくなった時1ラインの分類処理
が終了となる。以上の処理を切出し回路より出力された
すべての黒画素塊がライン分類されるまで行なう。その
ライン分類処理の結果を図2(C)に示す。以上述べた
処理がライン分類処理であり、図1の手順S3にあたる
Next, using black pixel block b as a reference black pixel block,
A comparison process is performed by applying conditional expression-1 to black pixel clusters a and any black pixel clusters other than black pixel clusters b that have not yet been line-classified. This process is repeated, and when no black pixel block satisfying the conditions is detected, the classification process for one line ends. The above processing is repeated until all the black pixel blocks output from the extraction circuit are classified into lines. The results of the line classification process are shown in FIG. 2(C). The process described above is the line classification process, which corresponds to step S3 in FIG.

【0011】次に黒画素塊の標準高さ値及び標準幅値を
ライン毎にもとめる。標準高さ値とは文字と思える黒画
素塊高さの平均値のことであり条件式−2を満足する黒
画素塊情報の高さ情報の平均値を標準高さ値とする。
Next, the standard height value and standard width value of the black pixel block are obtained for each line. The standard height value is the average value of the height of black pixel clusters that appear to be characters, and the average value of the height information of the black pixel cluster information that satisfies conditional expression-2 is taken as the standard height value.

【0012】条件式−2 α≦高さ値≦β  かつ、幅値(±γ)=高さ値α,β
は印活文字の最小高さ値と最大高さ値であり、通常の印
活文字ではα=2(mm),β=7(mm)が最適値で
ある。γはマージン値であり、実験の結果から0.7(
mm)が最適値である。
Conditional expression-2 α≦height value≦β and width value (±γ)=height value α, β
are the minimum height value and maximum height value of the print character, and the optimum values for normal print characters are α=2 (mm) and β=7 (mm). γ is the margin value, which is 0.7 (
mm) is the optimum value.

【0013】標準幅値とは文字と思える黒画素塊値の平
均値のことであり、条件式−3を満足する黒画素塊情報
の幅情報の平均値を標準幅値とする。
The standard width value is the average value of black pixel block values that appear to be characters, and the standard width value is the average value of the width information of black pixel block information that satisfies conditional expression-3.

【0014】条件式−3 α≦幅値≦β  かつ、高さ値(±γ)=幅値α,β,
γは条件式−2で用いた値と同一である。なお、標準高
さ値又は標準幅値のどちらか一方でも決定しえなかった
ラインに関しては、ノイズラインとみなし削除する。(
図3(A)参照)。以上述べた処理がライン分類処理で
あり図、図1の手順S4にあたる。
Conditional expression-3 α≦width value≦β and height value (±γ)=width value α, β,
γ is the same value as used in Conditional Expression-2. Note that lines for which either the standard height value or the standard width value could not be determined are considered to be noise lines and are deleted. (
(See Figure 3(A)). The process described above is the line classification process and corresponds to step S4 in FIG.

【0015】各ライン毎の標準高さ値および標準値が決
定した後、ライン分類された黒画素塊情報とそのライン
が持つ標準高さ値および標準幅値とを比較し、ノイズの
検出を行なう。ノイズ検出処理は黒画素塊情報の高さ情
報と標準高さ値および幅情報と標準幅値とを条件式−4
に基づいて比較処理を行ない、条件を満足しない黒画素
塊を検出した場合、その黒画素塊をノイズとみなし除去
を行なう。
After the standard height value and standard value for each line are determined, noise is detected by comparing the line-classified black pixel block information with the standard height value and standard width value of that line. . In the noise detection process, the height information and the standard height value of the black pixel block information, and the width information and the standard width value are expressed in conditional expression-4.
Comparison processing is performed based on the above, and if a black pixel cluster that does not satisfy the conditions is detected, the black pixel cluster is regarded as noise and removed.

【0016】条件式−4 標準高さ/2−μ≦黒画素塊高さ≦標準高さ/2+μか
つ、標準幅−μ≦黒画素塊幅≦標準幅+μまたは、 標準幅/2−μ≦黒画素塊幅≦標準幅/2+μかつ、標
準高さ−μ≦黒画素塊高さ≦標準高さ+μまたは、 標準幅−μ≦黒画素塊幅≦標準幅+μ かつ、標準高さ−μ≦黒画素塊高さ≦標準高さ+μなお
μは条件式−2で用いた値と同一である。そのノイズ除
去処理の結果を図3(B)に示す。以上述べた処理がノ
イズ検出処理であり、図1の手順S5にあたる。このよ
うにしてノイズ検出および除去を行なうことにより、従
来の欠点を克服し、ノイズ検知の性能向上が可能となる
Conditional expression-4 Standard height/2-μ≦Black pixel block height≦Standard height/2+μ and Standard width-μ≦Black pixel block width≦Standard width+μ or Standard width/2-μ≦ Black pixel block width ≦ standard width / 2 + μ and standard height - μ ≦ black pixel block height ≦ standard height + μ or, standard width - μ ≦ black pixel block width ≦ standard width + μ and standard height - μ ≦ Black pixel block height≦standard height+μ where μ is the same as the value used in conditional expression-2. The results of the noise removal process are shown in FIG. 3(B). The process described above is the noise detection process, and corresponds to step S5 in FIG. By performing noise detection and removal in this manner, it is possible to overcome the conventional drawbacks and improve the performance of noise detection.

【0017】[0017]

【発明の効果】以上説明したように本発明はノイズを検
出する手段として黒画素塊のライン分類を行い、ライン
毎に標準高さ・標準幅を求め、それを基準として範囲を
定めノイズを検出するため、縦長または横長形状の黒画
素塊であっても基準値範囲外であればノイズとして検出
可能であり、「1」や「−」などは基準値範囲内である
ためにノイズとはみなされないのでノイズ検知の精度が
向上する。
[Effects of the Invention] As explained above, the present invention classifies black pixel clusters into lines as a means of detecting noise, determines the standard height and standard width for each line, and uses them as a reference to define a range and detect noise. Therefore, even if it is a black pixel block that is vertically or horizontally long, it can be detected as noise if it is outside the standard value range, and "1" or "-" are not considered noise because they are within the standard value range. This improves the accuracy of noise detection.

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

【図1】本発明の一実施例の動作手順を示す図である。FIG. 1 is a diagram showing an operation procedure of an embodiment of the present invention.

【図2】黒画素塊情報の一例を示す図であり、(A)は
切出し回路から得られた黒画素塊情報、(B)は任意の
黒画素塊aの黒画素塊情報、(C)は黒画素塊情報をラ
イン分類した一例をそれぞれ示したものである。
FIG. 2 is a diagram showing an example of black pixel block information, in which (A) is black pixel block information obtained from an extraction circuit, (B) is black pixel block information of an arbitrary black pixel block a, and (C) is a diagram showing an example of black pixel block information. 1 and 2 show examples of line classification of black pixel block information.

【図3】黒画素塊情報のライン分類結果を示し、(A)
は黒画素塊情報ラインとノイズラインの区分,(B)は
(A)のノイズライン除去後の黒画素塊中に含まれるノ
イズを示したものである。
FIG. 3 shows line classification results of black pixel block information, (A)
(B) shows the division between the black pixel block information line and the noise line, and (B) shows the noise contained in the black pixel block after removing the noise line in (A).

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  紙葉類上に印字された印活文字を認識
する文字認識装置にあって紙面上を走査して文字切出し
回路より得られる黒画素塊情報を用いてノイズを検出す
るノイズ検出方式において、前記黒画素塊情報を用いて
ラインを検出し黒画素塊行単位にライン分類する手段と
、このライン分類された黒画素塊情報を用いてライン毎
に前記黒画素塊の標準高さおよび標準幅を算出する手段
と、この算出した標準高さおよび標準幅を用いてノイズ
を検出する手段とを有することを特徴とするノイズ検出
方式。
Claim 1: Noise detection in a character recognition device that recognizes printed characters printed on paper sheets, which scans the paper surface and detects noise using black pixel block information obtained from a character cutting circuit. The method includes means for detecting lines using the black pixel block information and classifying the lines into black pixel blocks row by line, and means for detecting lines using the black pixel block information and classifying the lines into black pixel blocks row by line, and determining the standard height of the black pixel block for each line using the line classified black pixel block information. and means for calculating a standard width; and means for detecting noise using the calculated standard height and standard width.
JP3031264A 1991-02-27 1991-02-27 System for detecting noise Pending JPH04271488A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3031264A JPH04271488A (en) 1991-02-27 1991-02-27 System for detecting noise

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3031264A JPH04271488A (en) 1991-02-27 1991-02-27 System for detecting noise

Publications (1)

Publication Number Publication Date
JPH04271488A true JPH04271488A (en) 1992-09-28

Family

ID=12326485

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3031264A Pending JPH04271488A (en) 1991-02-27 1991-02-27 System for detecting noise

Country Status (1)

Country Link
JP (1) JPH04271488A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017500662A (en) * 2013-12-20 2017-01-05 イ.エル.イ.エス. Method and system for correcting projection distortion

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017500662A (en) * 2013-12-20 2017-01-05 イ.エル.イ.エス. Method and system for correcting projection distortion

Similar Documents

Publication Publication Date Title
US7379594B2 (en) Methods and systems for automatic detection of continuous-tone regions in document images
US7346211B2 (en) Image type classification using color discreteness features
JPH0435167A (en) Line picture separation system
JP4164489B2 (en) Document image enhancement method, apparatus, and storage medium therefor
US7145694B2 (en) Image processing apparatus and method
JP4085580B2 (en) Image processing device
KR100513784B1 (en) The method and device of improving image
JPH08305795A (en) Character recognizing method
JPH0879517A (en) Method for identifying type of image
JP4446332B2 (en) Segmentation-based halftoning
US6983071B2 (en) Character segmentation device, character segmentation method used thereby, and program therefor
US7251059B2 (en) System for distinguishing line patterns from halftone screens in image data
JPH04271488A (en) System for detecting noise
US7280253B2 (en) System for identifying low-frequency halftone screens in image data
JP7377435B2 (en) Image processing device
KR100537829B1 (en) Method for segmenting Scan Image
JPH02274173A (en) Character separating device
JP2647458B2 (en) Halftone dot area separation device
JP2859307B2 (en) Character extraction device
JP3725255B2 (en) Digital image processing device
JPH04339471A (en) Device for identifying image area
JPH0540849A (en) Area extraction method for document image
JP2000331118A (en) Image processor and recording medium
JPS63101983A (en) Character string extracting system
JPH03213057A (en) Picture area identifying device