JP3253201B2 - Image processing device and image type determination method - Google Patents

Image processing device and image type determination method

Info

Publication number
JP3253201B2
JP3253201B2 JP31980193A JP31980193A JP3253201B2 JP 3253201 B2 JP3253201 B2 JP 3253201B2 JP 31980193 A JP31980193 A JP 31980193A JP 31980193 A JP31980193 A JP 31980193A JP 3253201 B2 JP3253201 B2 JP 3253201B2
Authority
JP
Japan
Prior art keywords
run
ruled line
length
image
starting point
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 - Fee Related
Application number
JP31980193A
Other languages
Japanese (ja)
Other versions
JPH07175927A (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.)
Toshiba Corp
Toshiba TEC Corp
Original Assignee
Toshiba Corp
Toshiba TEC 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 Toshiba Corp, Toshiba TEC Corp filed Critical Toshiba Corp
Priority to JP31980193A priority Critical patent/JP3253201B2/en
Publication of JPH07175927A publication Critical patent/JPH07175927A/en
Application granted granted Critical
Publication of JP3253201B2 publication Critical patent/JP3253201B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、一般オフィスで用い
られる複数の文書画像を対象として、処理対象画像がど
の様な画像に分類できるかを判別処理する画像処理装置
と画像種類判定方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for discriminating what kind of images can be classified into a plurality of document images used in a general office.
And an image type determination method .

【0002】[0002]

【従来の技術】一般に、電子ファイリング装置の文書登
録においては、単に文書にタイトルを付けて登録するだ
けでなく、迅速な検索を可能とするために、ファイル構
造を階層的に構築する。つまり、文書を分類し、キャビ
ネットやバインダといったボックスのなかに、従来の紙
文書のファイルと同じ様な概念で登録を行う。
2. Description of the Related Art Generally, in registering a document in an electronic filing apparatus, a file structure is hierarchically constructed in order not only to register a document with a title but also to enable quick retrieval. In other words, the documents are classified and registered in boxes such as cabinets and binders using the same concept as a conventional paper document file.

【0003】登録する文書の量が少ない場合は、この文
書分類作業を人手で行っても大した時間を要することは
無いが、大量の文書登録においては文書分類作業はかな
り煩雑な作業となる。
When the number of documents to be registered is small, it does not take much time to perform the document classification work manually, but the document classification work is quite complicated in registering a large number of documents.

【0004】さらに、帳票等定型フォーマットの文書の
登録では、それらの文書の分類されるボックスは予め決
まっており、この文書分類作業を人手で行うのは非効率
的である。
Furthermore, in the registration of documents in a fixed format such as a form, the boxes into which those documents are classified are determined in advance, and it is inefficient to manually perform this document classification work.

【0005】しかしながら、この文書分類作業を自動的
に行う方法は確立されておらず、現状の電子ファイリン
グ装置では、いかなる文書についても、文書分類作業は
人手に頼らざるを得ない。
[0005] However, a method for automatically performing this document classification work has not been established, and in the current electronic filing apparatus, for any document, the document classification work must rely on humans.

【0006】[0006]

【発明が解決しようとする課題】電子ファイリング装置
等、文書の種類を識別判定することが必要な画像処理装
置においては、文書分類作業を自動的に行う方法は搭載
されておらず、文書分類作業は人手に頼っている。した
がって、文書の登録は、煩雑かつかなりの時間を要し、
効率の悪い作業であった。
An image processing apparatus, such as an electronic filing apparatus, which needs to identify and determine the type of a document is not equipped with a method for automatically performing a document classification operation. Relies on human hands. Therefore, registering documents is cumbersome and time-consuming,
It was inefficient work.

【0007】この発明は、対象画像の種類をあらかじめ
登録されている複数種類の画像の中から自動的に判定す
ることができる画像処理装置と画像種類判定方法を提供
することを目的とする。
According to the present invention , the type of the target image is determined in advance.
Automatically determine from multiple types of registered images
Image processing device and image type determination method
The purpose is to do.

【0008】[0008]

【課題を解決するための手段】この発明の画像処理装置
は、対象画像の各画素ごとを2値化した2値化画像信号
を出力する2値化手段と、この2値化手段からの1画面
ごとの2値化画像信号に基づいて、ラン開始の始点とし
ての主走査方向の座標と副走査方向の座標、ラン長から
なるラン情報を出力するランレングス符号化手段と、こ
のランレングス符号化手段からのラン情報からラン長閾
値よりも短いランを除去するラン除去手段と、このラン
除去手段により短いランが除去されたラン情報に基づい
て、連結するランを1つの領域としてラベリングし、こ
のラベリングされたランの始点の中で一番小さな主走査
方向の座標と副走査方向の座標を外接矩形の始点として
求め、上記ラベリングされたランの終点の中で一番大き
な主走査方向の座標と副走査方向の座標を外接矩形の終
点として求め、この外接矩形の始点、終点により外接矩
形の大きさを求めるラベリング・外接矩形抽出手段と、
このラベリング・外接矩形抽出手段による各外接矩形の
始点と外接矩形の大きさとにより、横幅が大きく縦幅は
小さい外接矩形を横罫線領域と判定し、横幅が短く縦幅
が長い外接矩形を縦罫線領域と判定し、この判定した矩
形の始点とその長さと種類を出力する罫線領域判定手段
と、複数種類の画像ごとの横罫線数、縦罫線数、横罫線
の始点とその長さおよび縦罫線の始点とその長さを登録
されている登録手段と、上記罫線領域判定手段の判定に
より得られる上記対象画像の横罫線数、縦罫線数、横罫
線の始点とその長さおよび縦罫線の始点とその長さと、
上記登録手段により登録されている1つの種類の画像ご
との横罫線数、縦罫線数、横罫線の始点とその長さおよ
び縦罫線の始点とその長さとを比較することにより、上
記対象画像の各横罫線領域の始点のそれぞれに対し、上
記登録手段により登録されている1つの種類の画像ごと
の各横罫線の始点とを比較し最も距離の近いものを求
め、その対象となる各始点間の距離および長さの差の2
乗和平均を、上記複数種類の画像ごとの横罫線の比較値
として算出し、上記対象画像の各縦罫線領域の始点のそ
れぞれに対し、上記登録手段により登録されている1つ
の種類の画像ごとの各縦罫線の始点とを比較し最も距離
の近いものを求め、その対象となる各始点間の距離およ
び長さの差の2乗和平均を、上記複数種類の画像ごとの
縦罫線の比較値として算 出し、上記複数種類の画像ごと
の、横罫線の比較値と縦罫線の比較値の平均値を算出
し、この算出した平均値の一番小さな値に対する登録画
像の種類を、対象画像の種類と判定する判定手段とから
構成されるものである。
An image processing apparatus according to the present invention.
Is a binarized image signal obtained by binarizing each pixel of the target image
Output means, and one screen from the binarization means
Based on the binary image signal for each run
From the coordinates in the main scanning direction, the coordinates in the sub-scanning direction, and the run length.
Run-length encoding means for outputting different run information,
The run length threshold from the run information from the run length encoding means
Run elimination means for eliminating runs shorter than the
Based on run information from which short runs have been removed by the removal means
Labeling the connected runs as one area,
Main scan at the start of the labeled run
Direction coordinates and sub-scanning direction coordinates as the starting point of the circumscribed rectangle
The largest of the above labeled end points of the run
The coordinates in the main scanning direction and the coordinates in the sub-scanning direction are
Calculated as a point, and the start and end points of this circumscribed rectangle
Labeling and circumscribed rectangle extracting means for obtaining the size of the shape;
Each of the circumscribed rectangles by the labeling / circumscribed rectangle extraction means
Depending on the starting point and the size of the circumscribed rectangle, the width is large and the height is
A small circumscribed rectangle is determined as a horizontal ruled line area, and the horizontal width is short and the vertical width
Is determined as a vertical ruled line area, and the determined rectangle is
Ruled line area determination means that outputs the starting point of the shape and its length and type
And the number of horizontal ruled lines, vertical ruled lines, and horizontal ruled lines for each type of image
The starting point and its length of vertical lines and the starting point and its length of vertical ruled lines
Registration means and the ruled line area determination means
The number of horizontal rules, the number of vertical rules, and the horizontal rule of the target image obtained from
Starting point and length of line and starting point and length of vertical ruled line,
One type of image registered by the registration means
Number of horizontal ruled lines, vertical ruled lines, starting point of horizontal ruled line and its length
By comparing the starting point of the vertical ruled line with its length,
For each starting point of each horizontal ruled line area of the target image,
For each type of image registered by the registration means
And compare the start point of each horizontal ruled line to find the closest one.
The difference between the distance and the length between the starting points of interest.
The average of the squares is calculated using the horizontal ruled line comparison value for each of the above multiple types of images.
And calculate the starting point of each vertical ruled line area of the target image.
For each, one registered by the above registration means
For each type of image, compare the starting point of each vertical ruled line
Are close to each other, and the distance between
The average of the sum of squares of the differences in
Out calculated as a comparison value of the vertical ruled lines, each said plurality of types of images
Calculate the average of the comparison value of the horizontal ruled line and the vertical ruled line
The registered image for the smallest value of the calculated average value
Determining the type of the image as the type of the target image;
It is composed.

【0009】この発明の画像種類判定方法は、対象画像
の各画素ごとを2値化した2値化画像信号を出力し、こ
の2値化された1画面ごとの2値化画像信号に基づい
て、ラン開始の始点としての主走査方向の座標と副走査
方向の座標、ラン長からなるラン情報を出力し、このラ
ン情報からラン長閾値よりも短いランを除去し、この短
いランが除去されたラン情報に基づいて、連結するラン
を1つの領域としてラベリングし、このラベリングされ
たランの始点の中で一番小さな主走査方向の座標と副走
査方向の座標を外接矩形の始点として求め、上記ラベリ
ングされたランの終点の中で一番大きな主走査方向の座
標と副走査方向の座標を外接矩形の終点として求め、こ
の外接矩形の始点、終点により外接矩形の大きさを求
め、この各外接矩形の始点と外接矩形の大きさとによ
り、横幅が大きく縦幅は小さい外接矩形を横罫線領域と
判定し、横幅が短く縦幅が長い外接矩形を縦罫線領域と
判定し、この判定した矩形の始点とその長さと種類を出
力し、この出力により得られる上記対象画像の横罫線
数、縦罫線数、横罫線の始点とその長さおよび縦罫線の
始点とその長さと、あらかじめ登録されている1つの種
類の画像ごとの横罫線数、縦罫線数、横罫線の始点とそ
の長さおよび縦罫線の始点とその長さとを比較すること
により、上記対象画像の各横罫線領域の始点のそれぞれ
に対し、上記登録手段により登録されている1つの種類
の画像ごとの各横罫線の始点とを比較し最も距離の近い
ものを求め、その対象となる各始点間の距離および長さ
の差の2乗和平均を、上記複数種類の画像ごとの横罫線
の比較値として算出し、上記対象画像の各縦罫線領域の
始点のそれぞれに対し、上記登録されている1つの種類
の画像ごとの各縦罫線の始点とを比較し最も距離の近い
ものを求め、その対象となる各始点間の距離および長さ
の差の2乗和平均を、上記複数種類の画像ごとの縦罫線
の比較値として算出し、上記複数種類の画像ごとの、横
罫線の比較値と縦罫線の比較値の平均値を算出し、この
算出した平均値の一番小さな値に対する登録画像の種類
を、対象画像の種類と判定するものである。
According to the image type determining method of the present invention, a target image
Output a binarized image signal obtained by binarizing each pixel of
Based on the binarized image signal for each screen
The coordinates in the main scanning direction and the sub-scanning
Outputs run information consisting of the coordinates of the direction and the run length.
Runs shorter than the run length threshold are removed from the run information
Runs that are linked based on run information from which
Is labeled as one region, and this labeled
Smallest main scanning direction coordinates and subruns at the start of a run
Find the coordinates of the inspection direction as the starting point of the circumscribed rectangle, and
Largest main scan direction end point of run
The coordinates of the mark and the sub-scanning direction are obtained as the end points of the circumscribed rectangle.
Calculate the size of the circumscribed rectangle from the start and end points of the circumscribed rectangle
The starting point of each circumscribed rectangle and the size of the circumscribed rectangle
A circumscribed rectangle with a large width and a small height is defined as a horizontal ruled line area.
Judgment is made and the circumscribed rectangle having a short width and a long height is defined as a vertical ruled line area.
The start point of the determined rectangle and its length and type are determined.
Horizontal ruled line of the target image obtained by this output
Number, vertical rule number, horizontal rule start point and its length and vertical rule
The starting point, its length, and one species registered in advance
Number of horizontal ruled lines, number of vertical ruled lines, starting point of horizontal ruled line
Compare the length of a rule and the start of a vertical rule with its length
Respectively, the starting point of each horizontal ruled line area of the target image
For one of the types registered by the registration means
Compare the start point of each horizontal ruled line for each image
Find the thing and the distance and length between each of its starting points
The squared mean of the difference between
Of the vertical ruled line area of the target image.
One type registered above for each of the starting points
The closest distance is compared with the starting point of each vertical ruled line for each image
Find the thing and the distance and length between each of its starting points
The squared mean of the difference between
Calculated as the comparison value of
The average value of the comparison value of the ruled line and the comparison value of the vertical ruled line is calculated.
The type of registered image for the smallest value of the calculated average value
Is determined as the type of the target image.

【0010】[0010]

【作用】この発明の画像処理装置は、対象画像の各画素
ごとを2値化した2値化画像信号を出力し、この2値化
された1画面ごとの2値化画像信号に基づいて、ラン開
始の始点としての主走査方向の座標と副走査方向の座
標、ラン長からなるラン情報を出力し、このラン情報か
らラン長閾値よりも短いランを除去し、この短いランが
除去されたラン情報に基づいて、連結するランを1つの
領域としてラベリングし、このラベリングされたランの
始点の中で一番小さな主走査方向の座標と副走査方向の
座標を外接矩形の始点として求め、上記ラベリングされ
たランの終点の中で一番大きな主走査方向の座標と副走
査方向の座標を外接矩形の終点として求め、この外接矩
形の始点、終点により外接矩形の大きさを求め、この各
外接矩形の始点と外接矩形の大きさとにより、横幅が大
きく縦幅は小さい外接矩形を横罫線領域と判定し、横幅
が短く縦幅が長い外接矩形を縦罫線領域と判定し、この
判定した矩形の始点とその長さと種類を出力し、この出
力により得られる上記対象画像の横罫線数、縦罫線数、
横罫線の始点とその長さおよび縦罫線の始点とその長さ
と、あらかじめ登録されている1つの種類の画像ごとの
横罫線数、縦罫線数、横罫線の始点とその長さおよび縦
罫線の始点とその長さとを比較することにより、上記対
象画像の各横罫線領域の始点のそれぞれに対し、上記登
録手段により登録されている1つの種類の画像ごとの各
横罫線の始点とを比較し最も距離の近いものを求め、そ
の対象となる各始点間の距離および長さの差の2乗和平
均を、上記複数種類の画像ごとの横罫線の比較値として
算出し、上記対象画像の各縦罫線領域の始点のそれぞれ
に対し、上記登録されている1つの種類の画像ごとの各
縦罫線の始点とを比較し最も距離の近いものを求め、そ
の対象となる各始点間の距離および長さの差の2乗和平
均を、上記複数種類の画像ごとの縦罫線の比較値として
算出し、上記複数種類の画像ごとの、横罫線の比較値と
縦罫線の比較値の平均値を算出し、この算出した平均値
の一番小さな値に対する登録画像の種類を、対象画像の
種類と判定するものである。
According to the image processing apparatus of the present invention, each pixel of the target image is
Output a binarized image signal obtained by binarizing the
Run open based on the binarized image signal for each screen
Coordinates in the main scanning direction and coordinates in the sub-scanning direction as starting points
Outputs run information consisting of the target and run length.
Remove runs that are shorter than the run length threshold.
Based on the removed run information, one
Labeled as an area of this labeled run
The smallest coordinate in the main scanning direction and the smallest
The coordinates are determined as the starting point of the circumscribed rectangle.
Largest main scan direction coordinate and sub run at the end of a run
Find the coordinates of the inspection direction as the end point of the circumscribed rectangle.
The size of the circumscribed rectangle is calculated from the start and end points of the shape.
The width is large depending on the starting point of the circumscribed rectangle and the size of the circumscribed rectangle.
A circumscribed rectangle with a small vertical width is determined as the horizontal ruled line area, and the horizontal width is determined.
A circumscribed rectangle with a short and long vertical width is determined as a vertical ruled line area.
Outputs the starting point of the determined rectangle, its length and type, and
The number of horizontal ruled lines, vertical ruled lines,
Starting point and length of horizontal ruled line and starting point and length of vertical ruled line
And one type of image registered in advance
Number of horizontal ruled lines, number of vertical ruled lines, starting point of horizontal ruled line, its length and vertical
By comparing the starting point of the ruled line with its length,
For each starting point of each horizontal ruled line area of the elephant image,
For each type of image registered by the recording means
Compare with the starting point of the horizontal ruled line and find the one with the closest distance.
Squared square of the difference between the distances and lengths between the starting points subject to
Average as the comparison value of the horizontal ruled line for each of the above multiple types of images.
Calculate and start each of the vertical ruled line areas of the target image
For each of the registered image types
Compare the start point of the vertical ruled line to find the closest one,
Squared square of the difference between the distances and lengths between the starting points subject to
Average as the comparison value of the vertical ruled line for each of the above multiple types of images.
Calculated and compared with the horizontal ruled line comparison value for each of the above multiple types of images.
Calculate the average of the comparison values of the vertical ruled lines and calculate the calculated average
The type of the registered image for the smallest value of
The type is determined.

【0011】[0011]

【0012】[0012]

【実施例】以下、図面を参照しながらこの発明の一実施
例について説明する。図1はこの発明の原稿種別を判定
する画像処理装置の構成図である。図1において、1は
入力画像信号、2は入力信号を2値化する2値化手段、
21は2値化画像信号、3はランレングス符号化手段、
31はランレングス信号、4はラン除去手段、41はラ
ン除去後の画像信号、5はラベリング・外接矩形抽出手
段、51は矩形信号、7は罫線領域判定手段、61は罫
線領域信号、7は画像判定手段、8は判定信号である。
以下、この発明の原稿種別判定方法を詳細に説明する。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram of an image processing apparatus for determining a document type according to the present invention. In FIG. 1, 1 is an input image signal, 2 is a binarizing means for binarizing an input signal,
21 is a binary image signal, 3 is run-length encoding means,
31 is a run length signal, 4 is a run removing unit, 41 is an image signal after run removal, 5 is a labeling / circumscribed rectangle extracting unit, 51 is a rectangular signal, 7 is a ruled line region determining unit, 61 is a ruled line region signal, and 7 is a ruled line region signal. Image determination means 8 is a determination signal.
Hereinafter, the document type determination method of the present invention will be described in detail.

【0013】スキャナ等の入力装置で読み取られた入力
画像信号1は、2値化手段2において、2値化閾値Th
との比較処理を行い2値化され、2値化画像信号21
(0または1)を出力する。ラングレス符号化手段3で
は2値化画像情報21から画像をラン情報に変換する。
このラン情報を元に罫線領域情報61を抽出する。ま
ず、ラン除去手段4では主走査方向および副走査方向の
短いランをそれぞれ除去する。
An input image signal 1 read by an input device such as a scanner is converted by a binarizing means 2 into a binarizing threshold Th.
And a binarized image signal 21
(0 or 1) is output. The run-less encoding means 3 converts the image from the binarized image information 21 into run information.
The ruled line area information 61 is extracted based on the run information. First, the run removing means 4 removes short runs in the main scanning direction and the sub-scanning direction, respectively.

【0014】次に、ラベリング・外接矩形抽出手段5で
はラン除去手段4で出力された画像信号をもとに連結す
るランを1つの領域として統合(ラベリング)し、その
ラベリングされたそれぞれの領域に外接する矩形を求め
る。罫線領域判定手段6ではこの矩形の大きさにより罫
線領域情報61を出力する。画像判定手段7ではこれら
罫線領域情報61により画像の種類を判定する。
Next, the labeling / circumscribed rectangle extracting means 5 integrates (labels) the connected runs as one area based on the image signal output from the run removing means 4, and adds the run to each of the labeled areas. Find the bounding rectangle. The ruled line area determination means 6 outputs ruled line area information 61 based on the size of the rectangle. The image determining means 7 determines the type of image based on the ruled line area information 61.

【0015】次に、この発明の原稿種別判定処理を搭載
した画像処理装置の一実施例について説明する。図1は
この実施例に係わる画像処理装置の概略構成図である。
この画像処理装置は一般の文書原稿をイメージ・スキャ
ナ等の読み取り装置にて読み取り入力し、例えば1画素
当り8ビットのデジタルデータとして入力し、この原稿
種類を判定して出力するものである。以下、この実施例
について詳しく説明する。
Next, an embodiment of an image processing apparatus equipped with the document type determination processing of the present invention will be described. FIG. 1 is a schematic configuration diagram of an image processing apparatus according to this embodiment.
This image processing apparatus reads and inputs a general document document by a reading device such as an image scanner, inputs the data as, for example, digital data of 8 bits per pixel, determines the document type, and outputs it. Hereinafter, this embodiment will be described in detail.

【0016】図1において、まず1は入力された画像信
号である。入力画像信号1(f)は2値化手段2で所定
の閾値Thと比較し2値化処理を行い、2値化画像信号
21(g)を出力する。2値化手段2は、閾値Thを記
憶する閾値メモリと入力画像信号1(f)と閾値Thを
比較する比較器とで構成される。入力画像信号1が2値
化閾値Thより小さければ2値化画像信号21(g)と
して“0”を出力し、大きければ“1”を出力する。比
較処理は(1)式に示す。
In FIG. 1, reference numeral 1 denotes an input image signal. The input image signal 1 (f) is compared with a predetermined threshold value Th by the binarizing means 2 to perform a binarization process, and outputs a binarized image signal 21 (g). The binarizing means 2 includes a threshold memory for storing a threshold Th and a comparator for comparing the input image signal 1 (f) with the threshold Th. If the input image signal 1 is smaller than the binarization threshold Th, "0" is output as the binarized image signal 21 (g), and if larger, "1" is output. The comparison process is shown in equation (1).

【0017】 g=0 : f<Th g=1 : f≧Th …(1) 図2に2値化手段2の構成を示す。2値化手段2は8ビ
ットの比較器で構成される。8ビットの入力画素信号1
と予め設定した8ビットの閾値Thが比較され、(1)
式に示す条件で2値化画像信号21が出力される。
G = 0: f <Th g = 1: f ≧ Th (1) FIG. 2 shows the configuration of the binarizing means 2. The binarizing means 2 is composed of an 8-bit comparator. 8-bit input pixel signal 1
Is compared with a preset 8-bit threshold value Th, and (1)
The binarized image signal 21 is output under the condition shown in the equation.

【0018】次に、ランレングス符号化手段3において
2値化画像信号21からラン情報を作成する。図3はラ
ン情報抽出方法を説明する図であり、以下詳細に説明す
る。図3の(a)は原画像を示す。図3の(b)は原画
像をビットマップ表現したものであり、各マス目が画素
に対応し、斜線部が黒(1)画素、それ以外が白(0)
画素を表す。図3の(b)において、最初の黒画素は座
標(2,1)にありさらに右方向に座標(4.1)迄連
結している。
Next, run information is created from the binarized image signal 21 by the run-length encoding means 3. FIG. 3 is a diagram for explaining a run information extracting method, which will be described in detail below. FIG. 3A shows an original image. FIG. 3B is a bitmap representation of the original image, where each square corresponds to a pixel, the hatched portion is a black (1) pixel, and the rest is white (0).
Represents a pixel. In FIG. 3B, the first black pixel is located at the coordinates (2, 1) and is further connected rightward to the coordinates (4.1).

【0019】また、座標(1,6)の画素は座標(5,
6)迄連結している。このように画素の連結状態を、図
3の(c)に示すように右方向に連結している画素をひ
とまとめとした情報(ラン)に置き換える。さらにこれ
らのランを、ランの始点および長さの情報として出力す
る。例えば、第1番目のランは、始点(2,1)、長さ
3、第2番目のランは、始点(1,2)、長さ1…とい
う具合である。このようにランレングス符号化手段3で
は2値化画像信号21からランの始点および長さをラン
情報として出力する。
The pixel at the coordinates (1, 6) corresponds to the coordinates (5, 5).
6) is connected. In this way, the connection state of the pixels is replaced with information (run) in which the pixels connected in the right direction are grouped as shown in FIG. Further, these runs are output as information on the starting point and length of the run. For example, the first run has a start point (2, 1) and a length of 3, and the second run has a start point (1, 2) and a length of 1 and so on. As described above, the run length encoding unit 3 outputs the start point and the length of the run from the binary image signal 21 as run information.

【0020】図4にランレングス符号化手段3の構成を
示す。まず、2値化画像信号21により第1のクロック
で1番目の画素がラッチ300にストアされる。続いて
第2のクロックでアンドゲート310では1画素目が
白、2画素目が黒の場合“1”、それ以外では“0”が
出力される。つまり、アンドゲート310の出力311
(ラン開始信号)は黒ランの開始を示す信号である。
FIG. 4 shows the configuration of the run-length encoding means 3. First, the first pixel is stored in the latch 300 at the first clock by the binary image signal 21. Subsequently, at the second clock, the AND gate 310 outputs “1” when the first pixel is white and the second pixel is black, and outputs “0” otherwise. That is, the output 311 of the AND gate 310
(Run start signal) is a signal indicating the start of the black run.

【0021】一方、アンドゲート320では1画素目が
黒、2画素目が白の場合“1”、それ以外では“0”が
出力される。つまり、アンドゲート320の出力321
(ラン終了信号)は黒ランの終了を示す信号である。カ
ウンタ330は前述のラン開始信号311によりリセッ
トされ、画像クロック22(CLK)によりカウントさ
れる。カウンタ330の出力信号331は前述のラン終
了信号321によりラッチ360にストアされる。つま
りラッチ360にはラン長がストアされることとなる。
On the other hand, the AND gate 320 outputs "1" when the first pixel is black and the second pixel is white, and outputs "0" otherwise. That is, the output 321 of the AND gate 320
(Run end signal) is a signal indicating the end of the black run. The counter 330 is reset by the above-described run start signal 311 and is counted by the image clock 22 (CLK). The output signal 331 of the counter 330 is stored in the latch 360 by the above-mentioned run end signal 321. That is, the run length is stored in the latch 360.

【0022】次に、カウンタ331には画像クロック2
2(CLK)および垂直画像クロック23(VCLK)
が入力され、現在の画像位置(X座標、Y座標)がカウ
ントされる。ラン開始のX座標341およびY座標34
2は前述したラン開始信号311によりそれぞれラッチ
370およびラッチ380にストアされる。セレクタ3
90はラッチ370,380,360にストアされたラ
ン開始のX座標、Y座標、ラン長を、X座標、Y座標、
ラン長の順に選択し出力するもので、セレクト信号35
1はカウンタ350がラン終了信号321のタイミング
から出力する。
Next, the counter 331 stores the image clock 2
2 (CLK) and vertical image clock 23 (VCLK)
Is input, and the current image position (X coordinate, Y coordinate) is counted. X coordinate 341 and Y coordinate 34 of run start
2 is stored in the latches 370 and 380, respectively, by the run start signal 311 described above. Selector 3
Reference numeral 90 denotes an X coordinate, a Y coordinate, and a run length of the run start stored in the latches 370, 380, and 360.
Select and output in the order of run length.
1 is output from the counter 350 at the timing of the run end signal 321.

【0023】以上の手順で算出したラン情報を元に、ラ
ン除去手段4、ラベリング・外接矩形抽出手段5、罫線
領域判定手段6により罫線領域情報61を出力する。以
下、罫線領域情報61算出方法について詳述する。
Based on the run information calculated by the above procedure, the rule removing area information 4, the labeling / circumscribed rectangle extracting means 5, and the rule area determining means 6 output ruled area information 61. Hereinafter, a method of calculating the ruled line area information 61 will be described in detail.

【0024】まず、ラン除去手段4は、ランレングス符
号化手段3により求めたラン情報から、短いランの除
去、または長いランの除去をそれぞれ独立に行う。この
手順を詳しく説明する。図5の(a)はランレングス符
号化手段3により求めたランである。まず、短いランの
除去では、ラン長の短いもののみ除去する。図5の
(b)はラン長1のものを除去した例であり、2番目か
ら6番目のランは除去されている。つまり本処理はラン
長をL、短いランのラン長閾値をThs としたとき L<Ths …(2) を満たすランを除去するものである。
First, the run removing unit 4 independently removes short runs or long runs from the run information obtained by the run length encoding unit 3. This procedure will be described in detail. FIG. 5A shows a run obtained by the run-length encoding means 3. First, in the removal of short runs, only those with a short run length are removed. FIG. 5B shows an example in which the run length 1 is removed, and the second to sixth runs are removed. In other words, this process removes runs that satisfy L <Ths (2), where L is the run length and Ths is the run length threshold of the short run.

【0025】図6の(a)はさらに具体的に文書画像で
あり、罫線および文字から構成される文書の一例であ
る。図6の(a)に対し短いランの除去処理を行うと図
6の(b)に示すようになる。この図からわかるよう
に、本処理では縦の罫線および文字の一部が除去され
る。このラン除去処理では短いランの除去を行う一方長
いランの除去を平行して行う。この処理は長いランのラ
ン長閾値をTh1 としたとき L<Th1 …(3) を満たすランを除去するものである。
FIG. 6A shows a document image more specifically, which is an example of a document composed of ruled lines and characters. When the short run removal processing is performed on FIG. 6A, the result becomes as shown in FIG. 6B. As can be seen from this figure, in this processing, vertical ruled lines and part of characters are removed. In this run removal processing, short runs are removed while long runs are removed in parallel. This processing removes runs that satisfy L <Th1 (3) when the run length threshold of a long run is set to Th1.

【0026】図7は長いランの除去処理の一例を示した
もので、図7の(a)の文書画像に対して、図7の
(b)に示す画像が出力される。図8にラン除去手段4
の回路構成を示す。
FIG. 7 shows an example of the long run removal processing. The image shown in FIG. 7B is output from the document image shown in FIG. 7A. FIG. 8 shows run removing means 4.
1 shows a circuit configuration.

【0027】まず、ラッチ410,420,430,4
40にはラン情報31が順次入力され、3クロック毎に
それぞれラン長、Y座標、X座標、ラン長がストアされ
る。比較器450および460は例えば13ビット(A
3版、400dpi(ドットパー インチ)の主走査画
素数に相当する)の比較器で構成され、比較器450で
は閾値Thsとラン長が(2)式に基づいて比較され
(2)式を満たす場合に“0”、それ以外の場合に
“1”が判定信号451として出力される。つまり、閾
値Ths以上のランの場合にのみ“1”が出力され。
First, the latches 410, 420, 430, 4
Run information 31 is sequentially input to 40, and a run length, a Y coordinate, an X coordinate, and a run length are stored every three clocks. The comparators 450 and 460 are, for example, 13 bits (A
3th edition, equivalent to 400 dpi (dot per inch) main scanning pixels), and the comparator 450 compares the threshold Ths and the run length based on the equation (2) and satisfies the equation (2). "0" is output as the determination signal 451 otherwise. That is, "1" is output only in the case of a run equal to or greater than the threshold Ths.

【0028】一方、比較器460ではTh1とラン長が
(3)式に基づいて比較され、(3)式を満たす場合に
“0”、それ以外の場合に“1”が判定信号461とし
て出力される。つまり、閾値Th1以下のランの場合に
のみ“1”が出力される。ゲート470はオアゲートで
あり、判定信号451および461のオア信号が判定信
号471として出力される。
On the other hand, the comparator 460 compares Th1 with the run length based on the equation (3). If the equation (3) is satisfied, “0” is output, otherwise “1” is output as the determination signal 461. Is done. That is, "1" is output only in the case of a run equal to or smaller than the threshold Th1. The gate 470 is an OR gate, and the OR signal of the determination signals 451 and 461 is output as the determination signal 471.

【0029】480,482,484はラッチであり、
判定信号471が“1”のときにそれぞれX座標、Y座
標、ラン長がストアされる。カウンタ486はラッチ4
80,482,484にストアされたX座標、Y座標、
ラン長を順次選択するための選択信号を発生するカウン
タで、セレクト信号487によりセレクタ488はX座
標、Y座標、ラン長の順にラッチ480,482,48
4にストアされた信号をラン除去信号41として出力す
る。
480, 482, 484 are latches,
When the determination signal 471 is "1", the X coordinate, the Y coordinate, and the run length are stored, respectively. Counter 486 is latch 4
X, Y coordinates stored at 80, 482, 484,
A counter that generates a selection signal for sequentially selecting the run length. The selector 488 is latched 480, 482, 48 in the order of X coordinate, Y coordinate, and run length by the select signal 487.
4 is output as a run elimination signal 41.

【0030】次にラベリング・外接矩形抽出手段5では
ラン除去手段4で出力された画像信号41をもとに連結
するランを1つの領域として統合(ラベリング)する。
図9の(a)はランレングス符号化手段3により求めた
ランを示し、図9の(b)はそのラン情報である。図9
の(a)において第1番目のランは第2番目のランと連
結している。さらに、第1番目のランと第3番目のラン
も連結している。つまり、第1、第2、第3番目のラン
はすべて連結している。このようにラベリング・外接矩
形抽出手段5では連結しているランを1つの領域として
統合(ラベリング)する。図9の(c)は図9の(a)
に示す画像情報をラベリングし、ラベル(A)として出
力したものである。
Next, the labeling / circumscribed rectangle extracting means 5 integrates (labels) the connected runs as one area based on the image signal 41 output from the run removing means 4.
FIG. 9A shows a run obtained by the run length encoding means 3, and FIG. 9B shows the run information. FIG.
In (a), the first run is connected to the second run. Further, the first run and the third run are also connected. That is, the first, second, and third runs are all connected. In this way, the labeling / circumscribed rectangle extracting means 5 integrates (labels) the connected runs as one region. (C) of FIG. 9 is (a) of FIG.
Is output as a label (A) by labeling the image information shown in FIG.

【0031】また、ラベリング・外接矩形抽出手段5で
は上記のラベリングされたそれぞれの領域に外接する矩
形の位置および大きさを求める。図9の(c)より、ラ
ベル(A)はラン(1)、ラン(2)、ラン(3)が統
合されたものである。ラベリング・外接矩形抽出手段5
では、これらのランの始点(x1,y1)、(x2,y
2)、(x3,y3)のうち最も小さいxおよび最も小
さいyを外接矩形の始点(x0,y0)として求める。
つまり、対象ラベルに含まれるn個のランの始点をそれ
ぞれ(x1,y1)、(x2,y2)…(xn,yn)
としたとき x0=min(x1,x2,…xn) …(4) y0=min(y1,y2,…yn) …(5) として求める。また始点の算出と同様の方法で終点(x
e,ye)を算出し、外接矩形の大きさ(xs,ys)
を以下の式で算出する。
The labeling / circumscribed rectangle extracting means 5 obtains the position and size of the rectangle circumscribing each of the labeled regions. From FIG. 9C, the label (A) is obtained by integrating the runs (1), (2), and (3). Labeling / circumscribed rectangle extraction means 5
Then, the starting points (x1, y1), (x2, y
2) Find the smallest x and smallest y of (x3, y3) as the starting point (x0, y0) of the circumscribed rectangle.
That is, the starting points of the n runs included in the target label are (x1, y1), (x2, y2)... (Xn, yn)
X0 = min (x1, x2,... Xn) (4) y0 = min (y1, y2,... Yn) (5) Also, the end point (x
e, ye) and calculate the size of the circumscribed rectangle (xs, ys)
Is calculated by the following equation.

【0032】 xs=xe−x0+1 …(6) ys=ye−y0+1 …(7) 図11は図9の(a)に示すラン情報に対し、以上の手
順で算出した外接矩形情報51である。
Xs = xe−x0 + 1 (6) ys = ye−y0 + 1 (7) FIG. 11 shows circumscribed rectangle information 51 calculated by the above procedure for the run information shown in FIG.

【0033】図10はラベリング・外接矩形抽出手段5
の回路構成の一例である。ラン除去手段4の出力信号4
1について、まず第1ライン目のライン情報(ラン開始
位置のX座標、Y座標、ラン長)がセレクタ510を介
してメモリ512に記憶される。メモリ512に記憶さ
れたラン情報はセレクタ514を介し、比較器520,
522,524,526,528において第2ライン目
の情報と比較される。
FIG. 10 shows a labeling / circumscribed rectangle extracting means 5.
2 is an example of the circuit configuration of FIG. Output signal 4 of run removing means 4
For 1, the first line information (X coordinate, Y coordinate, run length) of the first line is stored in the memory 512 via the selector 510. The run information stored in the memory 512 is passed through the selector 514 to the comparator 520,
At 522, 524, 526, and 528, the information is compared with the information on the second line.

【0034】以下では第1ライン目のランの開始位置を
X0,Y0、ラン長をL0とし、第2ライン目のランの
開始位置をX1,Y1、ラン長をL1として説明する。
まず比較器520では第1ライン目の第1番目のランの
開始位置X0と第2ライン目の第1番目のランの終了位
置X1+L1を比較する。
In the following description, the start position of the run on the first line is X0, Y0, the run length is L0, the start position of the run on the second line is X1, Y1, and the run length is L1.
First, the comparator 520 compares the start position X0 of the first run of the first line with the end position X1 + L1 of the first run of the second line.

【0035】このとき、 X0>X1 であれば比較信号521として“1”をそれ以外では
“0”を出力する。
At this time, if X0> X1, "1" is output as the comparison signal 521, and otherwise "0" is output.

【0036】以下同様に、比較器522では、 X0>X1+L1 であれば、比較信号523として“1”をそれ以外では
“0”を出力する。
Similarly, the comparator 522 outputs "1" as the comparison signal 523 if X0> X1 + L1, and "0" otherwise.

【0037】比較器524では、 X0+L0>X1+L1 であれば、比較信号525として“1”をそれ以外では
“0”を出力する。
The comparator 524 outputs "1" as the comparison signal 525 if X0 + L0> X1 + L1, and "0" otherwise.

【0038】比較器526では、 X0+L0>X1 であれば、比較信号527として“1”をそれ以外では
“0”を出力する。
The comparator 526 outputs "1" as the comparison signal 527 if X0 + L0> X1, and "0" otherwise.

【0039】比較器528では、 Y0>Y1 であれば、比較信号529として“1”をそれ以外では
“0”を出力する。
The comparator 528 outputs "1" as the comparison signal 529 if Y0> Y1, and outputs "0" otherwise.

【0040】一方、加減算器530ではランが連結した
場合に統合したラン長として X0+L0−X1+1 または X1+L1−X0+1 を計算し、その出力信号531としてX0,Y0,X
1,Y1,X0+L0−X1+1,X1+L1−X0+
1を出力する。
On the other hand, the adder / subtracter 530 calculates X0 + L0-X1 + 1 or X1 + L1-X0 + 1 as an integrated run length when the runs are connected, and outputs X0, Y0, X
1, Y1, X0 + L0-X1 + 1, X1 + L1-X0 +
Outputs 1.

【0041】判定テーブル540では比較信号521,
523,525,527,529を元に6種類の条件を
設定しセレクタ514,544、メモリ546,548
の選択信号およびラン選択信号543を出力する。メモ
リ選択信号545は内部演算用のメモリ546(1ライ
ン分のラン情報を記憶するメモリ)とラベリング結果出
力用のバッファメモリ548を選択する信号で、“0”
のときメモリ546を、“1”のときメモリ548を選
択する。
In the judgment table 540, the comparison signals 521,
Based on 523, 525, 527, and 529, six conditions are set, and selectors 514, 544 and memories 546, 548 are set.
And a run selection signal 543 are output. The memory selection signal 545 is a signal for selecting a memory 546 for internal operation (a memory for storing run information for one line) and a buffer memory 548 for outputting a labeling result, and is “0”.
In this case, the memory 546 is selected, and when "1", the memory 548 is selected.

【0042】また、選択信号542は4ビットの信号で
下位3ビットは以下に説明する6つの条件で決定し、上
位1ビットは比較信号529がそのまま出力される。ま
ず、第1の条件は、比較信号523が“1”の場合で、
この条件では第2ライン目のランは第1ライン目のラン
と連結しておらず、メモリ選択信号541として“0”
を、選択信号542の下位3ビットとして“000”
を、ラン選択信号543として“1”を出力する。第2
の条件は比較信号521が“1”、比較信号523が
“0”、比較信号525が“1”の場合で、この条件で
は第2ライン目のランは第1ライン目のランと連結し、
メモリ選択信号541として“0”を、選択信号542
の下位3ビットとして“001”を、ラン選択信号54
3として“1”を出力する。
The selection signal 542 is a 4-bit signal, and the lower 3 bits are determined under the following six conditions, and the upper 1 bit is the comparison signal 529 output as it is. First, the first condition is that the comparison signal 523 is “1”.
Under this condition, the run of the second line is not connected to the run of the first line, and the memory selection signal 541 is set to “0”.
As “000” as lower three bits of the selection signal 542.
Is output as the run selection signal 543. Second
Is a case where the comparison signal 521 is "1", the comparison signal 523 is "0", and the comparison signal 525 is "1". Under this condition, the run of the second line is connected to the run of the first line.
“0” as the memory selection signal 541 and the selection signal 542
"001" as the lower three bits of the run select signal 54
"3" is output as "1".

【0043】第3の条件は比較信号521が“1”、比
較信号523が“0”、比較信号525が“0”の場合
で、この条件では第2ライン目のランは第1ライン目の
ランと連結し、メモリ選択信号541として“0”を、
選択信号542の下位3ビットとして“010”を、ラ
ン選択信号543として“0”を出力する。第4の条件
は比較信号521が“0”、比較信号523が“1”、
比較信号525が“1”の場合で、この条件では第2ラ
イン目のランは第1ライン目のランと連結し、メモリ選
択信号541として“0”を、選択信号542の下位3
ビットとして“011”を、ラン選択信号543として
“1”を出力する。
The third condition is that the comparison signal 521 is "1", the comparison signal 523 is "0", and the comparison signal 525 is "0". Under this condition, the run of the second line is the first line. Linked to the run, and “0” as the memory selection signal 541,
“010” is output as the lower three bits of the selection signal 542, and “0” is output as the run selection signal 543. The fourth condition is that the comparison signal 521 is “0”, the comparison signal 523 is “1”,
When the comparison signal 525 is “1”, the run of the second line is connected to the run of the first line under this condition, and “0” is set as the memory selection signal 541 and the lower 3
"011" is output as a bit and "1" is output as a run selection signal 543.

【0044】第5の条件は比較信号521が“0”、比
較信号523が“1”、比較信号525が“0”の場合
で、この条件では第2ライン目のランは第1ライン目の
ランと連結し、メモリ選択信号541として“0”を、
選択信号542の下位3ビットとして“100”を、ラ
ン選択信号543として“0”を出力する。第6の条件
は比較信号527が“0”の場合で、この条件では第1
ライン目のランと連結が完了したことを示し、メモリ選
択信号541として“1”を、選択信号542の下位3
ビットとて“101”を、ラン選択信号543として
“0”を出力する。セレクタ544では選択信号542
によりラベル情報を出力する。
The fifth condition is that the comparison signal 521 is "0", the comparison signal 523 is "1", and the comparison signal 525 is "0". Under this condition, the run of the second line is the first line. Linked to the run, and “0” as the memory selection signal 541,
“100” is output as the lower three bits of the selection signal 542, and “0” is output as the run selection signal 543. The sixth condition is that the comparison signal 527 is "0".
This indicates that the run and connection of the line have been completed, and “1” is set as the memory selection signal 541 and the lower 3
"101" is output as a bit and "0" is output as a run selection signal 543. The selector 544 selects the selection signal 542
To output label information.

【0045】まず、選択信号542の下位3ビットが
“000”の場合はラベルの開始位置として(X1,Y
1)、ラベルのサイズとして(L1、Y−Y1+1(こ
こでYは処理中のライン番号とする))を出力する。選
択信号542の下位3ビットが“001”の場合はY0
とY1のうち小さい信号をY2としたときラベルの開始
位置として(X1,Y2)、ラベルのサイズとして(X
0+L0−X1+1、Y−Y2+1)を出力する。選択
信号542の下位3ビットが“010”の場合はラベル
の開始位置として(X1,Y2)、ラベルのサイズとし
て(L1、Y−Y2+1)を出力する。選択信号542
の下位3ビットが“011”の場合はラベルの開始位置
として(X0,Y2)、ラベルのサイズとして(L0、
Y−Y2+1)を出力する。
First, when the lower 3 bits of the selection signal 542 are "000", (X1, Y
1) Output (L1, Y−Y1 + 1 (where Y is the line number being processed)) as the label size. When the lower three bits of the selection signal 542 are “001”, Y0
When the smaller signal of Y1 and Y1 is Y2, the label start position is (X1, Y2) and the label size is (X1, Y2).
0 + L0-X1 + 1, Y-Y2 + 1). When the lower 3 bits of the selection signal 542 are “010”, (X1, Y2) is output as the label start position, and (L1, Y−Y2 + 1) is output as the label size. Selection signal 542
If the lower three bits of the label are “011”, the label start position is (X0, Y2), and the label size is (L0,
Y−Y2 + 1).

【0046】選択信号542の下位3ビットが“10
0”の場合はラベルの開始位置として(X0,Y2)、
ラベルのサイズとして(X1+L1−X0+1、Y−Y
2+1)を出力する。選択信号542の下位3ビットが
“101”の場合はラベルの開始位置として(X0,Y
0)、ラベルのサイズとして(L0、Y−Y0+1)を
出力する。メモリ選択信号541によりセレクタ544
より出力したラベル情報をメモリ546またはメモリ5
48へ出力するかを選択する。
When the lower three bits of the selection signal 542 are "10
In the case of "0", the label start position is (X0, Y2),
The label size is (X1 + L1-X0 + 1, Y-Y
2 + 1) is output. When the lower three bits of the selection signal 542 are “101”, (X0, Y
0), and outputs (L0, Y−Y0 + 1) as the label size. The selector 544 is selected by the memory selection signal 541.
The label information output from the memory 546 or the memory 5
48 is selected.

【0047】さらに、ラン選択信号543により第1ラ
イン目のラン情報513および第2ライン目のラン情報
41を更新する。つまりラン選択信号543が“0”の
場合は第1ライン目のラン情報513を次のランに更新
する。また、ラン選択信号543が“1”の場合は第2
ライン目のラン情報41を次のランに更新する。以上の
処理を1ライン終了まで繰りかえす。
Further, the run information 513 of the first line and the run information 41 of the second line are updated by the run selection signal 543. That is, when the run selection signal 543 is “0”, the run information 513 of the first line is updated to the next run. When the run selection signal 543 is “1”, the second
The run information 41 of the line is updated to the next run. The above processing is repeated until the end of one line.

【0048】第1ラインの処理が終了すると、メモリ5
46に記憶された第2ライン目のラン情報はセレクタ5
10を介してメモリ512に記憶され、第2ライン目の
ラン情報513と第3ライン目のラン情報41とにより
上記の演算が行われる。以上を1ページ終了まで行う。
When the processing of the first line is completed, the memory 5
The run information of the second line stored in 46 is stored in the selector 5
The above calculation is performed by the run information 513 of the second line and the run information 41 of the third line, which are stored in the memory 512 via the line 10. The above is repeated until the end of one page.

【0049】次に、罫線領域判定手段6ではこの外接矩
形情報51より罫線領域情報61を出力する。一般に罫
線の特徴として、横罫線はその画像の横幅が大きく縦幅
は小さい。また、縦罫線は画像の横幅が短く縦幅が長
い。このことを利用し、横幅閾値Th1、縦幅閾値Th
2を設定し、以下の条件を満たすものを外接矩形情報5
1から横罫線として抽出する。
Next, the ruled line area judging means 6 outputs ruled line area information 61 from the circumscribed rectangle information 51. Generally, as a feature of the ruled line, the horizontal ruled line has a large horizontal width of the image and a small vertical width. Further, the vertical ruled line has a short horizontal width and a long vertical width of the image. Utilizing this, the width threshold Th1 and the height threshold Th
2 and set the circumscribing rectangle information 5 that satisfies the following conditions.
1 is extracted as a horizontal ruled line.

【0050】 xs>th1 かつ ys<th2 …(8) さらに、横幅閾値Th3、縦幅閾値Th4を設定し、以
下の条件を満たすものを外接矩形情報51から縦罫線と
して抽出する。
Xs> th1 and ys <th2 (8) Further, a horizontal width threshold Th3 and a vertical width threshold Th4 are set, and those satisfying the following conditions are extracted from the circumscribed rectangle information 51 as vertical ruled lines.

【0051】 xs<th3 かつ ys<th4 …(9) そして、上記式(8)、式(9)の何れをも満たさない
領域は非罫線領域とする。図12は以下の手順のフロー
を示すものである。
Xs <th3 and ys <th4 (9) An area that does not satisfy any of the above equations (8) and (9) is a non-ruled line area. FIG. 12 shows the flow of the following procedure.

【0052】図6の(c)および図7の(c)はそれぞ
れ図6の(a)および図7の(a)の文書画像を、上述
したラン除去手段4、ラベリング・外接矩形抽出手段
5、罫線領域判定手段6の各手段を通して横罫線領域お
よび縦罫線領域を抽出したものである。
FIGS. 6C and 7C respectively show the above-described run removing unit 4 and the labeling / circumscribed rectangle extracting unit 5 of the document images of FIGS. 6A and 7A. The horizontal ruled line area and the vertical ruled line area are extracted through the respective means of the ruled line area determining means 6.

【0053】図13に罫線領域判定手段6の回路構成の
一例を示す。まず矩形信号51として矩形の開始座標
(x,y)およびサイズ(xs,ys)が入力される。
図次しないクロックによりラッチ614,612,61
0にx,y,xsがそれぞれストアされる。比較器62
0,622,624,626ではそれぞれxsとTh
1、ysとTh2、xsとTh3、ysとTh4が比較
され、xs>Th1のとき比較信号621として“1”
それ以外は“0”、ys<Th2のとき比較信号623
として、“1”、それ以外は“0”、xs<Th3のと
き比較信号625として“1”それ以外は“0”、ys
>Th4のとき比較信号627として“1”それ以外は
“0”を出力する。判定回路630では比較信号621
および623が“1”のときまたは比較信号625およ
び627が“1”のとき判定信号631として“1”を
出力しラッチ640,642,644,646にそれぞ
れx,y,xs,ysがストアされる。
FIG. 13 shows an example of the circuit configuration of the ruled line area determination means 6. First, the starting coordinates (x, y) and size (xs, ys) of the rectangle are input as the rectangle signal 51.
Latches 614, 612, 61 by non-illustrated clocks
X, y, and xs are respectively stored in 0. Comparator 62
At 0, 622, 624, 626, xs and Th respectively
1, ys and Th2, xs and Th3, and ys and Th4 are compared. When xs> Th1, the comparison signal 621 is "1".
Otherwise, the comparison signal 623 is “0” and when ys <Th2.
Is “1”, otherwise “0”, and when xs <Th3, the comparison signal 625 is “1”, otherwise “0”, ys
If> Th4, “1” is output as the comparison signal 627, otherwise “0” is output. In the judgment circuit 630, the comparison signal 621
When 623 and 623 are "1" or when the comparison signals 625 and 627 are "1", "1" is output as the judgment signal 631, and x, y, xs, and ys are stored in the latches 640, 642, 644, and 646, respectively. You.

【0054】また、罫線種別信号632として比較信号
621および623が“1”のとき“0”を比較信号6
25および627が“1”のときは“1”を出力する。
カウンタ650はラッチ640,642,644,64
6の情報を順次セレクタ660で選択するための選択信
号であり、罫線領域信号61として罫線と判定された矩
形信号のx,y,xs,ys、種類を順次出力するもの
である。
When the comparison signals 621 and 623 are “1”, “0” is set to the comparison signal 6 as the ruled line type signal 632.
When 25 and 627 are "1", "1" is output.
The counter 650 has latches 640, 642, 644, 64
6 is a selection signal for sequentially selecting the information of No. 6 by the selector 660, and sequentially outputs x, y, xs, ys and types of rectangular signals determined to be ruled lines as the ruled line area signal 61.

【0055】以上説明した罫線領域信号61を利用し、
画像判定手段7では画像の種類を判定する。以下に、そ
の判定方法を詳しく説明する。罫線領域信号61を用い
て、罫線の位置および長さから判定する。
Using the ruled line area signal 61 described above,
The image determining means 7 determines the type of the image. Hereinafter, the determination method will be described in detail. Using the ruled line area signal 61, determination is made from the position and length of the ruled line.

【0056】まず、対象画像の横罫線の数をnlとし横
罫線の始点を(xl(i),yl(i))とし、の長さ
をll(i)とする。ただし、iは1〜nlとする。ま
た、縦罫線の数をnpとし、縦罫線の始点を(xp
(j),yp(j))とし、長さをlp(j)とする。
ただし、jは1〜npとする。
First, the number of horizontal ruled lines of the target image is nl, the starting point of the horizontal ruled line is (xl (i), yl (i)), and the length is 11 (i). Here, i is 1 to nl. The number of vertical ruled lines is np, and the starting point of the vertical ruled line is (xp
(J), yp (j)) and the length is lp (j).
Here, j is 1 to np.

【0057】ここで、すでに登録してある判定したい画
像の種類がn種あり、この中で画像mの横罫線数、縦罫
線数、横罫線の始点とその長さおよび縦罫線の始点とそ
の長さをNlm ,Npm 、(X1m (k)、Ylm
(k))、Llm (k)、(Xpm (l)、Ypm
(l))、Lpm (l)とする(ただしjは1〜n、k
は1〜Nlm 、lは1〜Npm )。
Here, there are n types of images which have already been registered and which are to be determined. Among them, the number of horizontal ruled lines, the number of vertical ruled lines, the starting point and length of the horizontal ruled line, the starting point of the vertical ruled line and the length Nl m, Np m, (X1 m (k), Yl m
(K)), Ll m ( k), (Xp m (l), Yp m
(L)), and Lp m (l) (provided that j is 1 to n, k
Is 1~Nl m, l is 1~Np m).

【0058】まず、対象画像のnl個の横罫線の始点
(xl(1)、yl(2))〜(xl(nl),yl
(nl))それぞれに対し、(Xlm (k)、Ylm
(k))のうち最も距離の近いものを求め(このときの
kをk=oとする)、その距離および長さの差の2乗和
平均Alm を以下の式により求める。
First, the starting points (xl (1), yl (2)) to (xl (nl), yl) of the nl horizontal ruled lines of the target image
(Nl)) for each, (Xl m (k), Yl m
(K)), the one with the closest distance is obtained (k at this time is assumed to be k = o), and the square sum average Al m of the difference between the distance and the length is obtained by the following equation.

【0059】[0059]

【数1】 同様に縦罫線に対してApm を求める。(Equation 1) Similarly Request Ap m with respect to the longitudinal ruled line.

【0060】[0060]

【数2】 さらにそれらの平均Am(Equation 2) Furthermore, their average Am

【0061】[0061]

【数3】 として算出する。このAm を登録済みのn種の画像全て
に対して算出し、最も小さな値Am をもつ画像を対象画
像と同じ種類であると判定する。画像判定手段7はCP
Uおよびメモリで構成される。
(Equation 3) Is calculated as Determines that the A m was calculated for all registered n kinds of images, the most the same type as the target image the image having a small value A m. The image determination means 7 is a CP
U and a memory.

【0062】上記したように、処理対象画像における注
目画素の画像信号を2値化手段で2値化し、この2値化
した画像信号から黒ラン長をランレングス符号化手段で
算出し、この符号化されたランレングス符号から短いラ
ンをラン除去手段で除去し、この短いランが除去された
画像信号を基に、連結するランの領域を調べ、この領域
に外接する矩形をラベリング・外接矩形抽出手段で抽出
し、この抽出された矩形の大きさにより罫線領域を罫線
領域判定手段で判定し、この判定された罫線領域から画
像の種類を画像判定手段で判別するようにしたものであ
る。
As described above, the image signal of the target pixel in the image to be processed is binarized by the binarizing means, and the black run length is calculated from the binarized image signal by the run-length encoding means. A short run is removed from the run length code by the run removing means, and based on the image signal from which the short run has been removed, a region of the connected runs is examined, and a rectangle circumscribing this region is labeled and a circumscribed rectangle is extracted. The ruled line area is determined by the ruled area determining means based on the size of the extracted rectangle, and the type of image is determined by the image determining means from the determined ruled line area.

【0063】これにより、対象画像から抽出した罫線の
位置・長さ等の情報から対象画像の種別を判別できる。
したがって、電子ファイリング装置等、文書の種類を識
別判定することが必要な画像処理装置においては、文書
分類作業は人手に頼ることなく可能となる。この結果、
文書の登録が、効率良く、効率的に行うことが可能とな
る。なお、この発明は上記実施例に限定されるものでは
なく、発明の主旨を変えない範囲において種々の変形が
可能である。
Thus, the type of the target image can be determined from the information such as the position and length of the ruled line extracted from the target image.
Therefore, in an image processing apparatus such as an electronic filing apparatus that needs to identify and determine the type of a document, the document classification operation can be performed without relying on humans. As a result,
Document registration can be performed efficiently and efficiently. The present invention is not limited to the above embodiment, and various modifications can be made without departing from the spirit of the invention.

【0064】[0064]

【発明の効果】以上詳述したようにこの発明によれば、
対象画像の種類をあらかじめ登録されている複数種類の
画像の中から自動的に判定することができる画像処理装
置と画像種類判定方法を提供できる。したがって、電子
ファイリング装置等、文書の種類を識別判定することが
必要な画像処理装置においては、文書分類作業は人手に
頼ることなく可能となる。この結果、文書の登録が、効
率良く、効率的に行うことが可能となる。
As described in detail above, according to the present invention,
The type of the target image can be
Image processing device that can automatically determine from the image
It is possible to provide a position and an image type determination method . Therefore, in an image processing apparatus such as an electronic filing apparatus that needs to identify and determine the type of a document, the document classification operation can be performed without relying on humans. As a result, the document can be registered efficiently and efficiently.

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

【図1】この発明の一実施例に係わる画像処理装置を示
す全体構成ブロック図。
FIG. 1 is an overall configuration block diagram showing an image processing apparatus according to an embodiment of the present invention.

【図2】2値化手段の回路構成の一例を示すブロック
図。
FIG. 2 is a block diagram showing an example of a circuit configuration of a binarizing unit.

【図3】ランレングス符号化の処理説明図。FIG. 3 is an explanatory diagram of a process of run-length encoding.

【図4】ランレングス符号化手段の回路構成の一例を示
すブロック図。
FIG. 4 is a block diagram showing an example of a circuit configuration of a run-length encoding unit.

【図5】ラン除去手段の説明図。FIG. 5 is an explanatory diagram of a run removing unit.

【図6】罫線領域判定の一例を示す図。FIG. 6 is a diagram illustrating an example of ruled line area determination.

【図7】罫線領域判定の一例を示す図。FIG. 7 is a diagram illustrating an example of ruled line area determination.

【図8】ラン除去手段の回路構成の一例を示すブロック
図。
FIG. 8 is a block diagram illustrating an example of a circuit configuration of a run removing unit.

【図9】ラベリング手段の説明図。FIG. 9 is an explanatory diagram of a labeling unit.

【図10】ラベリング手段の回路構成の一例を示すブロ
ック図。
FIG. 10 is a block diagram illustrating an example of a circuit configuration of a labeling unit.

【図11】外接矩形抽出手段の説明図。FIG. 11 is an explanatory diagram of a circumscribed rectangle extracting unit.

【図12】罫線領域判定手段の説明図。FIG. 12 is an explanatory diagram of a ruled line area determination unit.

【図13】罫線領域判定手段の回路構成の一例を示すブ
ロック図。
FIG. 13 is a block diagram illustrating an example of a circuit configuration of a ruled line area determination unit.

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

1…入力画像信号 2…2値化手段 21…2値化画像信号 3…ランレングス符号化手段 31…ランレングス信号 4…ラン除去手段 41…ラン除去後の画像信号 5…ラベリング・外接矩形抽出手段 51…矩形信号 6…罫線領域判定手段 61…罫線領域信号 7…画像判定手段 8…判定信号 DESCRIPTION OF SYMBOLS 1 ... Input image signal 2 ... Binarization means 21 ... Binary image signal 3 ... Run length encoding means 31 ... Run length signal 4 ... Run removal means 41 ... Image signal after run removal 5 ... Labeling and circumscribed rectangle extraction Means 51: Rectangular signal 6: Ruled line area determination means 61: Ruled line area signal 7: Image determination means 8: Determination signal

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI G06T 7/60 200 G06T 7/60 200K 審査官 松浦 功 (56)参考文献 特開 平4−268685(JP,A) 特開 平5−233873(JP,A) 特開 平4−95178(JP,A) 特開 昭58−51372(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06T 7/00 - 7/60 G06K 9/20 ────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 7 Identification code FI G06T 7/60 200 G06T 7/60 200K Examiner Isao Matsuura (56) References JP-A-4-28685 (JP, A) JP-A-5-233873 (JP, A) JP-A-4-95178 (JP, A) JP-A-58-51372 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06T 7 / 00-7/60 G06K 9/20

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 対象画像の各画素ごとを2値化した2値
化画像信号を出力する2値化手段と、 この2値化手段からの1画面ごとの2値化画像信号に基
づいて、ラン開始の始点としての主走査方向の座標と副
走査方向の座標、ラン長からなるラン情報を出力するラ
ンレングス符号化手段と、 このランレングス符号化手段からのラン情報からラン長
閾値よりも短いランを除去するラン除去手段と、 このラン除去手段により短いランが除去されたラン情報
に基づいて、連結するランを1つの領域としてラベリン
グし、 このラベリングされたランの始点の中で一番小さな主走
査方向の座標と副走査方向の座標を外接矩形の始点とし
て求め、上記ラベリングされたランの終点の中で一番大
きな主走査方向の座標と副走査方向の座標を外接矩形の
終点として求め、この外接矩形の始点、終点により外接
矩形の大きさを求めるラベリング・外接矩形抽出手段
と、 このラベリング・外接矩形抽出手段による各外接矩形の
始点と外接矩形の大きさとにより、横幅が大きく縦幅は
小さい外接矩形を横罫線領域と判定し、横幅が短く縦幅
が長い外接矩形を縦罫線領域と判定し、この判定した矩
形の始点とその長さと種類を出力する罫線領域判定手段
と、 複数種類の画像ごとの横罫線数、縦罫線数、横罫線の始
点とその長さおよび縦罫線の始点とその長さを登録され
ている登録手段と、 上記罫線領域判定手段の判定により得られる上記対象画
像の横罫線数、縦罫線数、横罫線の始点とその長さおよ
び縦罫線の始点とその長さと、上記登録手段により登録
されている1つの種類の画像ごとの横罫線数、縦罫線
数、横罫線の始点とその長さおよび縦罫線の始点とその
長さとを比較することにより、 上記対象画像の各横罫線領域の始点のそれぞれに対し、
上記登録手段により登録されている1つの種類の画像ご
との各横罫線の始点とを比較し最も距離の近いものを求
め、その対象となる各始点間の距離および長さの差の2
乗和平均を、上記複数種類の画像ごとの横罫線の比較値
として算出し、 上記対象画像の各縦罫線領域の始点のそれぞれに対し、
上記登録手段により登録されている1つの種類の画像ご
との各縦罫線の始点とを比較し最も距離の近いものを求
め、その対象となる各始点間の距離および長さの差の2
乗和平均を、上記複数種類の画像ごとの縦罫線の比較値
として算出し、 上記複数種類の画像ごとの、横罫線の比較値と縦罫線の
比較値の平均値を算出し、この算出した平均値の一番小
さな値に対する登録画像の種類を、対象画像の種類と判
定する判定手段と、 を具備したことを特徴とする画像処理装置。
1. A binary image obtained by binarizing each pixel of a target image.
Binarization means for outputting a binarized image signal, and a binarized image signal for each screen from the binarization means.
Then, the coordinates in the main scanning direction as the starting point of the run start
A line that outputs run information consisting of coordinates in the scanning direction and run length
Run length encoding means and a run length from the run information from the run length encoding means.
Run removing means for removing runs shorter than the threshold, and run information from which short runs have been removed by the run removing means
And labeling run as one region based on
And the smallest runway at the start of this labeled run
The coordinates in the scanning direction and the coordinates in the sub-scanning direction are the starting points of the circumscribed rectangle.
The largest of the end points of the labeled run
The coordinates in the main scanning direction and the coordinates in the sub-scanning direction
Determined as the end point, circumscribed by the start and end points of this circumscribed rectangle
Labeling and circumscribed rectangle extraction means for finding the size of a rectangle
And the circumscribed rectangle by this labeling / circumscribed rectangle extraction means.
Depending on the starting point and the size of the circumscribed rectangle, the width is large and the height is
A small circumscribed rectangle is determined as a horizontal ruled line area, and the horizontal width is short and the vertical width
Is determined as a vertical ruled line area, and the determined rectangle is
Ruled line area determination means that outputs the starting point of the shape and its length and type
And the number of horizontal rules, the number of vertical rules, and the start
Register the point and its length, and the starting point of the vertical ruled line and its length.
Registration means, and the target image obtained by the determination of the ruled line area determination means.
The number of horizontal ruled lines, the number of vertical ruled lines, the starting point of the horizontal ruled line and its length
And the starting point of the vertical ruled line and its length, registered by the above registration means
Number of horizontal ruled lines and vertical ruled lines for each type of image
Number, starting point of horizontal ruled line and its length, starting point of vertical ruled line and its
By comparing with the length, for each of the start points of each horizontal ruled line area of the target image,
One type of image registered by the registration means
And find the closest one by comparing the starting point of each horizontal rule with
The difference between the distance and the length between the starting points of interest.
The average of the squares is calculated using the horizontal ruled line comparison value for each of the above multiple types of images.
, And for each of the starting points of each vertical ruled line area of the target image,
One type of image registered by the registration means
And find the closest one by comparing with the start point of each vertical ruled line.
The difference between the distance and the length between the starting points of interest.
The sum of squares is calculated using the vertical ruled line comparison value for each of the above multiple types of images.
And the horizontal ruled line comparison value and the vertical ruled line
Calculate the average value of the comparison values and calculate the minimum value of the calculated average value.
The type of the registered image for the value is determined as the type of the target image.
The image processing apparatus being characterized in that comprising a constant determining means.
【請求項2】 対象画像の各画素ごとを2値化した2値
化画像信号を出力し、 この2値化された1画面ごとの2値化画像信号に基づい
て、ラン開始の始点としての主走査方向の座標と副走査
方向の座標、ラン長からなるラン情報を出力し、 このラン情報からラン長閾値よりも短いランを除去し、 この短いランが除去されたラン情報に基づいて、連結す
るランを1つの領域としてラベリングし、 このラベリングされたランの始点の中で一番小さな主走
査方向の座標と副走査方向の座標を外接矩形の始点とし
て求め、上記ラベリングされたランの終点の中で一番大
きな主走査方向の座標と副走査方向の座標を外接矩形の
終点として求め、この外接矩形の始点、終点により外接
矩形の大きさを求め、 この各外接矩形の始点と外接矩形の大きさとにより、横
幅が大きく縦幅は小さい外接矩形を横罫線領域と判定
し、横幅が短く縦幅が長い外接矩形を縦罫線領域と判定
し、この判定した矩形の始点とその長さと種類を出力
し、 この出力により得られる上記対象画像の横罫線数、縦罫
線数、横罫線の始点とその長さおよび縦罫線の始点とそ
の長さと、あらかじめ登録されている1つの種類の画像
ごとの横罫線数、縦罫線数、横罫線の始点とその長さお
よび縦罫線の始点とその長さとを比較することにより、 上記対象画像の各横罫線領域の始点のそれぞれに対し、
上記登録されている1つの種類の画像ごとの各横罫線の
始点とを比較し最も距離の近いものを求め、そ の対象と
なる各始点間の距離および長さの差の2乗和平均を、上
記複数種類の画像ごとの横罫線の比較値として算出し、 上記対象画像の各縦罫線領域の始点のそれぞれに対し、
上記登録手段により登録されている1つの種類の画像ご
との各縦罫線の始点とを比較し最も距離の近いものを求
め、その対象となる各始点間の距離および長さの差の2
乗和平均を、上記複数種類の画像ごとの縦罫線の比較値
として算出し、 上記複数種類の画像ごとの、横罫線の比較値と縦罫線の
比較値の平均値を算出し、この算出した平均値の一番小
さな値に対する登録画像の種類を、対象画像の種類と判
定する、 ことを特徴とする画像種類判定方法。
2. A binary image obtained by binarizing each pixel of a target image.
And outputs a binarized image signal based on the binarized binarized image signal for each screen.
The coordinates in the main scanning direction and the sub-scanning
Run information including the coordinates of the direction and the run length is output, runs shorter than the run length threshold are removed from the run information, and the short runs are linked based on the removed run information.
Runs are labeled as one area , and the smallest main run at the start of this labeled run
The coordinates in the scanning direction and the coordinates in the sub-scanning direction are the starting points of the circumscribed rectangle.
The largest of the end points of the labeled run
The coordinates in the main scanning direction and the coordinates in the sub-scanning direction
Determined as the end point, circumscribed by the start and end points of this circumscribed rectangle
The size of the rectangle is determined, and the starting point of each circumscribed rectangle and the size of the circumscribed rectangle are used to determine the horizontal size.
A circumscribed rectangle with a large width and a small vertical width is determined as a horizontal ruled line area
And a circumscribed rectangle with a short width and a long length is determined as a vertical ruled line area.
And outputs the starting point of the determined rectangle and its length and type
The number of horizontal ruled lines and vertical ruled lines of the target image obtained from this output
Number of lines, starting point and length of horizontal ruled line, starting point and vertical ruled line
Length and one type of pre-registered image
Number of horizontal ruled lines, vertical ruled line, starting point of horizontal ruled line and its length
By comparing the starting point of the vertical ruled line with its length, the starting point of each horizontal ruled line area of the target image is determined.
Each horizontal ruled line for each type of registered image
Seek close and the most distance comparing the start, and the target of their
The average of the sum of squares of the difference between the distance and the length between the starting points
Calculated as a comparison value of the horizontal ruled line for each of the plurality of types of images, and for each of the starting points of the vertical ruled line regions of the target image,
One type of image registered by the registration means
And find the closest one by comparing with the start point of each vertical ruled line.
The difference between the distance and the length between the starting points of interest.
The sum of squares is calculated using the vertical ruled line comparison value for each of the above multiple types of images.
And the horizontal ruled line comparison value and the vertical ruled line
Calculate the average value of the comparison values and calculate the minimum value of the calculated average value.
The type of the registered image for the value is determined as the type of the target image.
Image type determination method comprising constant to it.
JP31980193A 1993-12-20 1993-12-20 Image processing device and image type determination method Expired - Fee Related JP3253201B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31980193A JP3253201B2 (en) 1993-12-20 1993-12-20 Image processing device and image type determination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31980193A JP3253201B2 (en) 1993-12-20 1993-12-20 Image processing device and image type determination method

Publications (2)

Publication Number Publication Date
JPH07175927A JPH07175927A (en) 1995-07-14
JP3253201B2 true JP3253201B2 (en) 2002-02-04

Family

ID=18114347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31980193A Expired - Fee Related JP3253201B2 (en) 1993-12-20 1993-12-20 Image processing device and image type determination method

Country Status (1)

Country Link
JP (1) JP3253201B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6650775B1 (en) * 1999-08-23 2003-11-18 Xerox Corporation Method and apparatus for implementing a streaming two-dimensional digital image segmentation
CN111508017B (en) * 2020-04-08 2023-11-03 中导光电设备股份有限公司 Method and system for positioning mark center with weak contrast

Also Published As

Publication number Publication date
JPH07175927A (en) 1995-07-14

Similar Documents

Publication Publication Date Title
JP3748164B2 (en) Pattern extraction device
JP3308032B2 (en) Skew correction method, skew angle detection method, skew correction device, and skew angle detection device
US20070230809A1 (en) Image processing method and image processing apparatus
JPS62187987A (en) Method and structural body for separating coupled pattern used in pattern and character recognition system
JPH08235341A (en) Method and device for document filing
US7123768B2 (en) Apparatus and method for detecting a pattern
JP4077919B2 (en) Image processing method and apparatus and storage medium therefor
JP2005317042A (en) Image processor
JP4211941B2 (en) Pattern extraction device
JP3253201B2 (en) Image processing device and image type determination method
JP4928325B2 (en) Image processing method, image processing apparatus, program, and storage medium
JP3268552B2 (en) Area extraction method, destination area extraction method, destination area extraction apparatus, and image processing apparatus
CN112040087A (en) Blank image recognition method, device, equipment and storage medium
JPH11353317A (en) Drawing filing device, system therefor and its method and drawing identification code discriminating device and its method
JPH08237404A (en) Selection of optical character recognition mode
EP0974931A1 (en) Method and apparatus for identifying a plurality of sub-images in an input image
JP2708604B2 (en) Character recognition method
JPH08185477A (en) Picture sorting device
JPH0535870A (en) Contour point extracting method using multi-valued data
JP4230478B2 (en) Document processing apparatus, method and program
JPH08139905A (en) Image processing unit
JP2005208979A (en) Featured value extracting device and method and document filing device
JP2003030585A (en) Image processor and image processing method, and program and storage medium therefor
JPH0146913B2 (en)
JP2001307097A (en) Device and method for detecting pattern

Legal Events

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

Free format text: PAYMENT UNTIL: 20071122

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081122

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091122

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101122

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101122

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111122

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121122

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20131122

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees