JP2983448B2 - Drawing recognition method - Google Patents
Drawing recognition methodInfo
- Publication number
- JP2983448B2 JP2983448B2 JP7112729A JP11272995A JP2983448B2 JP 2983448 B2 JP2983448 B2 JP 2983448B2 JP 7112729 A JP7112729 A JP 7112729A JP 11272995 A JP11272995 A JP 11272995A JP 2983448 B2 JP2983448 B2 JP 2983448B2
- Authority
- JP
- Japan
- Prior art keywords
- grid
- line
- lines
- feature
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Image Analysis (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、手書きまたは印刷され
た線画図面を計算機によって精度良く自動認識する方法
に関するものである。特に、格子状の筆記ガイド線であ
るグリッドをドロップアウトカラー等で印刷した設計用
紙上にフリーハンドで手書きされた設計図面を自動認識
する場合に好適な図面認識方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for automatically recognizing handwritten or printed line drawings with high accuracy by a computer. In particular, the present invention relates to a drawing recognition method suitable for automatically recognizing a design drawing handwritten by hand on a design sheet on which a grid, which is a grid-like writing guide line, is printed in a dropout color or the like.
【0002】[0002]
【従来の技術】従来の手書き図面の認識方法では、細線
化処理などにより入力図面を芯線化し、これを基に線の
方向、形状、連結関係などを求め、これらを基に図面の
認識を行ってきた。2. Description of the Related Art In a conventional method for recognizing a handwritten drawing, an input drawing is converted into a core line by thinning processing or the like, and the direction, shape, connection relationship, etc., of the line are determined based on this, and the drawing is recognized based on these. Have been.
【0003】[0003]
【発明が解決しようとする課題】しかし、この種の図面
認識方法では、 (1)線の太さ情報が得られない。However, in this type of drawing recognition method, (1) line thickness information cannot be obtained.
【0004】(2)細線化処理によってヒゲなどの不要
な線分が発生する。(2) Unnecessary line segments such as whiskers are generated by the thinning process.
【0005】(3)線の僅かな掠れによって途切れや微
少の閉ループが発生する。[0005] (3) Slight blurring of lines causes breaks and minute closed loops.
【0006】などの問題があった。There have been problems such as the following.
【0007】本発明は、この様な従来の図面認識方法の
問題点の解決を目的とするものである。上記の問題点
は、基本的に細線化処理を適用することからくる問題で
あるため、本発明では、細線化処理を用いない新しい方
法により、手書き変動に影響されにくい新規な図面認識
方法を提供する。An object of the present invention is to solve such problems of the conventional drawing recognition method. Since the above problems are basically caused by applying the thinning processing, the present invention provides a new drawing recognition method that is less affected by handwriting variation by a new method that does not use the thinning processing. I do.
【0008】[0008]
【課題を解決するための手段】上記の目的を達成するた
め、本発明では、まず、グリッド検出マークとドロップ
アウトカラーのグリッド線が印刷された上に手書きされ
た図面をイメージ入力手段から入力し、次に、前記入力
された図面からグリッド検出マークを検出してグリッド
線の位置を求め、次に、前記入力された図面を前記求め
たグリッド線に沿って最大3本の手書きの線を視野領域
内に捉えるのに十分な大きさの走査用マスクにより走査
し、次に、前記走査用マスク内の領域を視野領域として
各視野領域ごとに判定用の特徴量を求め、次に、前記特
徴量をしきい値によりコード変換して前記グリッド線上
に書かれた線の本数及び各線の太さを自動判定し、該判
定した線分を当該グリッド線上の線分とすることを特徴
とする図面認識方法を手段とする。In order to achieve the above object, according to the present invention, first, a grid detection mark and a drop
Inputting a handwritten drawing on which the out-color grid lines are printed from the image input means ;
Grid detection mark is detected from the drawn drawing
Obtain the position of the line, then the search of the inputted drawings
Up to three handwritten lines along the grid lines
Scanning with a scanning mask of a size sufficient to capture within, and then determining a feature amount for determination for each viewing region using the region in the scanning mask as a viewing region; Is automatically converted by a threshold value to automatically determine the number of lines written on the grid lines and the thickness of each line.
The drawing recognition method is characterized in that the determined line segment is a line segment on the grid line .
【0009】上記においては、特徴量をしきい値により
コード変換してグリッド線上に書かれた線の本数及び各
線の太さを自動判定する際に、周辺の視野領域との多数
決的な処理により前記線の本数あるいは各線の太さを修
正する構成とするのが、好適である。In the above description, the feature amount is determined by the threshold value.
When the code conversion is performed and the number of lines written on the grid lines and the thickness of each line are automatically determined, the number of lines or the thickness of each line is corrected by majority processing with a peripheral visual field. It is preferred that
【0010】また、上記においては、判定用の特徴量と
して、グリッド線に垂直な方向の射影結果のランレング
ス値と、平行な方向の射影結果のランレングス値と、斜
め方向の射影結果のランレングス値の内の1以上を用い
るのが、好適である。In the above, the run length of the projection result in the direction perpendicular to the grid line is used as the feature amount for determination.
Scan value and the run length value in the direction parallel to the projection result, to use one or more of the run-length value in the diagonal direction of the projection result is suitable.
【0011】[0011]
【作用】図面をフリーハンドで手書きする場合にも、従
来よりグリッド(格子状の筆記ガイドライン)の印刷さ
れた方眼紙などが設計用紙として使用されている。これ
は、筆記される線の多くがガイドラインに沿って書かれ
るからである。すなわち、多くの場合、図面として筆記
される線が任意位置ではなく、グリッド上に書かれる。
本発明の図面認識方法は、このことを積極的に利用する
ことによって、上述の問題点を解決するものである。When a drawing is handwritten by hand, grid paper or the like on which a grid (grid-like writing guidelines) is printed has conventionally been used as design paper. This is because many of the written lines are written according to guidelines. That is, in many cases, a line written as a drawing is written not on an arbitrary position but on a grid.
The drawing recognition method of the present invention solves the above-mentioned problem by positively utilizing this fact.
【0012】すなわち、本発明の図面認識方法では、グ
リッドに沿って走査用マスクを移動させることによって
視野領域を移動させ、視野領域ごとに求められる特徴量
に基づいてグリッド上の線の数、および各線の太さを判
定し、その判定した線分を当該グリッド上の線分とす
る。このように、細線化処理を用いないで図面認識を行
うことにより、筆記された線の位置ずれ等の手書き変動
に影響されにくくするとともに、線の太さ情報の取得を
可能にする。また、視野領域の全体を見ながら線の本数
や太さを判定することにより、細線化処理で生じるヒ
ゲ、途切れ、閉ループの発生などを回避する。That is, in the drawing recognition method of the present invention, the visual field is moved by moving the scanning mask along the grid, and the number of lines on the grid and the number of lines on the grid are calculated based on the characteristic amount obtained for each visual field. The thickness of each line is determined, and the determined line segment is set as a line segment on the grid. As described above, by performing drawing recognition without using the thinning processing, it is possible to make it hard to be affected by handwriting fluctuation such as positional deviation of a written line, and to obtain line thickness information. In addition, by determining the number and thickness of the lines while observing the entire field of view, it is possible to avoid the occurrence of whiskers, breaks, closed loops, and the like that occur in the thinning processing.
【0013】[0013]
【実施例】以下、本発明の実施例を、図面を用いて詳細
に説明する。Embodiments of the present invention will be described below in detail with reference to the drawings.
【0014】図1は本発明の一実施例を示す処理フロー
図であって、11は入力2値画像、12は前処理、13
は走査位置の設定処理、14は特徴抽出処理、15は識
別処理、16は処理結果である。FIG. 1 is a processing flow chart showing one embodiment of the present invention, in which 11 is an input binary image, 12 is a pre-processing, 13
Is a scanning position setting process, 14 is a feature extraction process, 15 is an identification process, and 16 is a process result.
【0015】各処理を説明する前に、入力となる設計用
紙について述べる。図2は図面の設計用紙の実施例を示
す図であって、21はグリッド線、22はグリッド検出
マークである。図2(a)は正方格子の場合の例、図2
(b)は三角格子の場合の例である。図2(a),
(b)の実施例とも、設計用紙の4隅には矩形のグリッ
ド検出マーク22が印刷されている。これらのグリッド
検出マーク22は、ドロップアウトカラーでプレ印刷さ
れたグリッド線21の位置、および設計用紙の傾きを計
算機に伝えるためのものである。なお、グリッド線21
の配置、およびグリッド検出マーク22の形状、数、配
置などは任意であり、本発明の範囲を限定するものでは
ない。また、グリッド線21の印刷は、図面の線分と識
別可能なものであれば良い。Before describing each process, a design sheet to be input will be described. FIG. 2 is a diagram showing an embodiment of the design paper of the drawing, wherein 21 is a grid line, and 22 is a grid detection mark. FIG. 2A shows an example in the case of a square lattice, and FIG.
(B) is an example in the case of a triangular lattice. FIG. 2 (a),
In both of the embodiments shown in (b), rectangular grid detection marks 22 are printed at the four corners of the design paper. These grid detection marks 22 are for transmitting the position of the grid line 21 preprinted with the dropout color and the inclination of the design paper to the computer. Note that grid lines 21
And the shape, number, arrangement, and the like of the grid detection marks 22 are arbitrary, and do not limit the scope of the present invention. The printing of the grid lines 21 may be any printing as long as it can be distinguished from the line segment in the drawing.
【0016】前処理12では、イメージスキャナ等から
入力された図面の入力2値画像11を入力としてグリッ
ド検出マーク22を検出し、検出されたグリッド検出マ
ーク22の位置によって、入力2値画像11の傾き補正
処理を行うと共に、ドロップアウトカラーで印刷された
各グリッド線21の位置を求める。In the pre-processing 12, a grid detection mark 22 is detected by using an input binary image 11 of the drawing input from an image scanner or the like as an input, and the position of the input binary image 11 is determined based on the position of the detected grid detection mark 22. In addition to performing the inclination correction processing, the position of each grid line 21 printed in the dropout color is obtained.
【0017】走査位置の設定処理13では、前処理12
で求めたグリッド線21の位置に合わせて走査用マスク
の中心位置と傾き(グリッド線21の方向に合わせる)
情報を順次出力し、特徴抽出処理14に与える。この処
理は、前処理12で得られた全てのグリッド線21の走
査が完了するまで、繰り返される。In the scanning position setting processing 13, a preprocessing 12
The center position and the inclination of the scanning mask in accordance with the position of the grid line 21 obtained in (1) (match in the direction of grid line 21)
Information is sequentially output and given to the feature extraction processing 14. This processing is repeated until the scanning of all the grid lines 21 obtained in the preprocessing 12 is completed.
【0018】特徴抽出処理14のフローの実施例を図3
に示す。本実施例による特徴抽出処理14は、視野領域
設定処理31、多値特徴量算出処理32、2値特徴量算
出処理33からなる。FIG. 3 shows an embodiment of the flow of the feature extraction processing 14.
Shown in The feature extraction process 14 according to the present embodiment includes a visual field region setting process 31, a multi-value feature value calculation process 32, and a binary feature value calculation process 33.
【0019】まず、視野領域設定処理31では、走査位
置の設定処理13で与えられる走査用マスクの中心位置
と傾きを基に走査用マスク内の領域(視野領域)の画像
を読み出す。図4は走査用マスクの実施例である。走査
用マスクの形状は、正方形(図4(a))、長方形(図
4(b))のほか、円形(図4(c))、楕円形(図4
(d))なども考えられる。First, in a visual field region setting process 31, an image of a region (visual field region) in the scanning mask is read based on the center position and inclination of the scanning mask given in the scanning position setting process 13. FIG. 4 shows an embodiment of the scanning mask. The shape of the scanning mask is square (FIG. 4A), rectangular (FIG. 4B), circular (FIG. 4C), and elliptical (FIG. 4).
(D)) is also conceivable.
【0020】多値特徴量算出処理32では、視野領域内
の黒点数を各傾き方向に積算した射影特徴を抽出する。
多値特徴量の実施例として、長方形の走査用マスクを用
いて4種の傾きに対する射影特徴を求める場合の例を図
5に示す。図5において、51はグリッド方向の射影特
徴Fh、52はグリッドに垂直な方向の射影特徴Fv、5
3は斜め右上方向の射影特徴Fr、54は斜め左上方向
の射影特徴Fl、55は局所的に拡大された視野領域、
56はグリッド線、57は筆記された線(太線と細線に
よる二重線の例)である。例えば、グリッド方向の射影
特徴51からはグリッドに平行な線の太さと数が観測で
き、実施例の場合には、細線と太線の2本の存在がこの
局所的な視野領域から観測できる。また、グリッドに垂
直な方向の射影特徴52からは、線の途切れや点線/破
線などの判定に有力な情報が得られる。しかし、図5の
例の様な線の途切れがあるかどうかの判定や、破線や点
線の判定には、射影特徴51のみでは不十分である。そ
こで、グリッドに垂直な方向の射影特徴52を利用し
て、射影特徴52から得られる凹形状の数とその間隔か
ら、線の途切れの有無や破線/点線の判定を行う。すな
わち、手書きされる図形要素が図5に示した例の様に垂
直または水平の線分で記述される場合には、これら2種
の特徴量があれば、属性判定が可能である。In the multi-valued feature amount calculation process 32, a projected feature obtained by integrating the number of black points in the visual field in each inclination direction is extracted.
As an example of the multi-value feature, FIG. 5 shows an example in which projected features for four types of inclinations are obtained using a rectangular scanning mask. In FIG. 5, reference numeral 51 denotes a projection feature F h in the grid direction, and 52 denotes a projection feature F v in the direction perpendicular to the grid.
3 is a projection feature F r in the diagonally upper right direction, 54 is a projection feature F l in the diagonally upper left direction, 55 is a locally enlarged view area,
Reference numeral 56 denotes a grid line, and 57 denotes a handwritten line (an example of a double line composed of a thick line and a thin line). For example, the thickness and the number of lines parallel to the grid can be observed from the projection feature 51 in the grid direction, and in the case of the embodiment, two thin lines and thick lines can be observed from this local field of view. Further, from the projection feature 52 in the direction perpendicular to the grid, useful information for determining whether a line is broken or a dotted line / dashed line is obtained. However, the projection feature 51 alone is not sufficient to determine whether there is a break in the line as in the example of FIG. 5 or to determine a broken line or a dotted line. Therefore, using the projection feature 52 in the direction perpendicular to the grid, the presence or absence of a line break and the determination of a broken line / dotted line are determined based on the number of concave shapes obtained from the projection feature 52 and their intervals. That is, when a graphic element to be handwritten is described by a vertical or horizontal line segment as in the example shown in FIG. 5, if there are these two types of feature amounts, the attribute can be determined.
【0021】一方、斜め方向の射影特徴53,54から
は、本実施例では、明確な情報は得られないが、斜め方
向に交わる線分の観測など、より複雑な図形要素の判定
に利用できる。しかし、図2(b)に示した様な三角格
子を基準とする図面を認識する場合、斜め方向の線分を
含む図形要素の認識の為には、射影特徴51,52のみ
では不十分であり、斜め方向の射影特徴53,54も必
要である。例えば、三角格子上の線分はグリッド方向
(斜め60度方向)とそれに垂直な方向の射影特徴を利
用すれば、通常の正方格子の場合と同様に属性判定が可
能となる。すなわち、垂直方向、水平方向、および斜め
方向(対象により決定)についての射影特徴を用いれ
ば、任意方向の線分の属性判定が可能となる。On the other hand, in the present embodiment, clear information cannot be obtained from the oblique projection features 53 and 54, but it can be used for more complicated graphic element determination such as observing line segments intersecting in the oblique direction. . However, when recognizing a drawing based on a triangular lattice as shown in FIG. 2B, the projection features 51 and 52 alone are not sufficient for recognizing a graphic element including a diagonal line segment. Yes, oblique projection features 53 and 54 are also required. For example, if a line segment on a triangular lattice uses projection characteristics in the grid direction (60 ° diagonal direction) and in a direction perpendicular to the grid direction, attribute determination can be performed in the same manner as in a normal square lattice. That is, if the projection features in the vertical direction, the horizontal direction, and the oblique direction (determined by the object) are used, it is possible to determine the attribute of a line segment in an arbitrary direction.
【0022】図6(a),(b),(c),(d)は、
射影特徴を適当なしきい値で2値化することによって得
られる2値特徴量の実施例であって、51〜54は図5
で述べた射影特徴Fi、60はしきい値ti、61〜64
は2値特徴量Biである。ただしiは射影の方向を示
し、i∈{h,v,r,l}である。方向iの2値特徴
量Biは、射影特徴Fiを入力として、FIGS. 6 (a), 6 (b), 6 (c), 6 (d)
FIG. 5 shows an embodiment of a binary feature amount obtained by binarizing a projected feature with an appropriate threshold value.
The projection features F i , 60 described in the above are threshold values t i , 61 to 64
Is a binary feature quantity B i. Here, i indicates the direction of projection, and i {h, v, r, l}. The binary feature value B i in the direction i is obtained by inputting the projection feature F i as an input.
【0023】[0023]
【数1】 (Equation 1)
【0024】により、求められる。ここで、tiは方向
iに対するしきい値である。Is obtained by Here, t i is a threshold value for the direction i.
【0025】図7は、識別処理15の説明図であって、
71は2値特徴量、72はランレングス特徴算出処理、
73はランレングス特徴、74はコード変換処理、75
は識別結果である。識別処理15では、まず2値特徴量
71を入力として、ランレングス特徴算出処理72を行
い、ランレングス特徴73を求める。次に、コード変換
処理74により、ランレングス特徴を認識結果75に変
換する。FIG. 7 is an explanatory diagram of the identification processing 15.
71 is a binary feature amount, 72 is a run-length feature calculation process,
73 is a run-length feature, 74 is a code conversion process, 75
Is the identification result. In the identification process 15, first, a run-length feature calculation process 72 is performed using the binary feature value 71 as an input, and a run-length feature 73 is obtained. Next, the run-length feature is converted into a recognition result 75 by a code conversion process 74.
【0026】以下、図6に示した実施例のうち、2値特
徴量61(図6(a))および62(図6(b))の場
合について具体的に説明する。ランレングス特徴算出処
理72では、2値特徴の黒ランの長さの組、すなわちラ
ンレングス特徴量(b1,b2,…,bK)を求める(こ
こでKは最大の黒ラン数である)。2値特徴量61に対
しては、(b1,b2,0,0,…)、2値特徴量62に
対しては、(b1′,0,0,0,…)が得られる。The case of the binary feature values 61 (FIG. 6A) and 62 (FIG. 6B) of the embodiment shown in FIG. 6 will be specifically described below. In the run-length feature calculation processing 72, a set of binary feature black run lengths, that is, run-length feature quantities (b 1 , b 2 ,..., B K ) is obtained (where K is the maximum number of black runs). is there). (B 1 , b 2 , 0, 0,...) For the binary feature 61, (b 1 ′, 0, 0, 0,...) For the binary feature 62 .
【0027】コード変換処理74は、認識対象の属性数
などによって様々な方式が考えられる。ここでは、グリ
ッド上に筆記される線分の最大数(K)が3本、線の太
さが2種(太/細)である場合を例に説明する。黒ラン
の長さbk(0<bk ≦bmax)に関して、null(0
0;線なし)、Thin(01;細線)、Thick
(10;太線)、Full(11;全面黒)の4種に分
類する。この分類は、適当なしきい値によって容易に実
現できる。なお、Fullはマスク幅(bmax)の全体
が黒くなっている場合を示している。Various methods are conceivable for the code conversion process 74 depending on the number of attributes to be recognized. Here, an example will be described in which the maximum number (K) of line segments written on the grid is three and the line thickness is two types (thick / thin). For the black run length b k (0 <b k ≦ b max ), null (0
0; no line), Thin (01; thin line), Thick
(10; bold line) and Full (11; all black). This classification can be easily realized by an appropriate threshold. Full indicates that the entire mask width (b max ) is black.
【0028】上記例に対する識別結果75は、それぞれ (Thick,Thin,null)=(10,01,00) (Full,null,null)=(11,00,00) となる。The identification result 75 for the above example is (Thick, Thin, null) = (10, 01, 00) (Full, null, null) = (11, 00, 00).
【0029】なお、以上の説明では、線分の本数と太さ
の識別を行うものを対象としたため、比較的単純な射影
特徴を用いている。しかし、本発明は、グリッド線上に
筆記されてさえいれば、文字認識で使われている様々な
特徴量を利用することにより、複雑な記号や図形の認識
への拡張も可能である。In the above description, a relatively simple projection feature is used, since it is intended to discriminate the number and thickness of line segments. However, the present invention can be extended to the recognition of complex symbols and figures by using various features used in character recognition, as long as it is written on a grid line.
【0030】また、フリーハンド特有の雑音等のため
に、ある視野領域内に隣接する視野領域と明らかに不連
続な識別結果が生じたような場合、その隣接する視野領
域を含む周辺の視野領域間において多数決的な処理によ
り、当該処理領域の線分の本数あるいは太さ等の識別結
果を修正するようにすれば、より一層、雑音等の影響を
受けにくくするのに有効である。In the case where the result of distinction that is apparently discontinuous from an adjacent visual field in a certain visual field due to noise or the like peculiar to freehand, a peripheral visual field including the adjacent visual field. It is effective to further reduce the influence of noise or the like by correcting the identification result such as the number of lines or the thickness of the processing region by majority processing in between.
【0031】[0031]
【発明の効果】以上の説明で明らかなように、本発明の
図面認識方法は、グリッドに沿って移動する視野領域内
の特徴量によって線分の属性を判定する方法をとるた
め、フリーハンド筆記特有の位置ずれや雑音の影響を受
けにくいと言う特徴がある。As is apparent from the above description, the drawing recognition method of the present invention employs a method of judging the attribute of a line segment based on a feature amount in a visual field moving along a grid. It is characterized by being less susceptible to the effects of specific displacement and noise.
【0032】上記において、ある視野領域を含む周辺の
視野領域間において多数決的な処理により、当該処理領
域の線分の本数あるいは太さ等の識別結果を修正するよ
うにした場合には、より一層、雑音等の影響を受けにく
くすることができる。In the above, when the discrimination result such as the number of line segments or the thickness of the processing area is corrected by majority processing between the peripheral viewing areas including a certain viewing area, the situation is further improved. , Noise and the like.
【0033】また、上記において、判定用の特徴量とし
て視野領域内の黒点の射影値を用いる場合には、特に、
処理の簡単な射影処理やしきい値処理で図面認識ができ
るため、従来手法に比べ処理コストの点で利点が得られ
る。In the above case, when the projection value of the black point in the visual field is used as the characteristic amount for determination,
Since the drawing can be recognized by a simple projection process and a threshold process, advantages in processing cost can be obtained as compared with the conventional method.
【図1】本発明の一実施例を示す処理フロー図である。FIG. 1 is a process flowchart showing one embodiment of the present invention.
【図2】(a),(b)は設計用紙の実施例を示す図で
ある。FIGS. 2A and 2B are diagrams showing an embodiment of a design sheet.
【図3】上記本発明の一実施例における特徴抽出処理の
フローの実施例を示す図である。FIG. 3 is a diagram showing an embodiment of a flow of a feature extraction process in the embodiment of the present invention.
【図4】(a),(b),(c),(d)は走査用マス
クの実施例を示す図である。FIGS. 4A, 4B, 4C, and 4D are diagrams showing an embodiment of a scanning mask.
【図5】多値特徴量の実施例を示す図である。FIG. 5 is a diagram illustrating an example of a multi-value feature amount.
【図6】(a),(b),(c),(d)は2値特徴量
の実施例を示す図である。FIGS. 6A, 6B, 6C, and 6D are diagrams illustrating an example of a binary feature amount.
【図7】上記本発明の一実施例における識別処理の説明
図である。FIG. 7 is an explanatory diagram of an identification process in the embodiment of the present invention.
11…入力2値画像 12…前処理 13…走査位置の設定処理 14…特徴抽出処理 15…識別処理 16…識別結果 21…グリッド線 22…グリッド検出マーク 31…視野領域設定処理 32…多値特徴量算出処理 33…2値特徴量算出処理 51…グリッド方向の射影特徴 52…グリッドに垂直な方向の射影特徴 53…斜め右上方向の射影特徴 54…斜め左上方向の射影特徴 55…視野領域 56…グリッド線 57…筆記された線 60…しきい値 61〜64…2値特徴量 71…2値特徴量 72…ランレングス特徴算出処理 73…ランレングス特徴 74…コード変換処理 75…識別結果 DESCRIPTION OF SYMBOLS 11 ... Input binary image 12 ... Preprocessing 13 ... Scan position setting processing 14 ... Feature extraction processing 15 ... Identification processing 16 ... Identification result 21 ... Grid line 22 ... Grid detection mark 31 ... Viewing area setting processing 32 ... Multi-valued feature Amount calculation process 33 ... Binary feature amount calculation process 51 ... Projection feature in the grid direction 52 ... Projection feature in the direction perpendicular to the grid 53 ... Projection feature in the oblique upper right direction 54 ... Projection feature in the oblique upper left direction 55 ... Viewing area 56 ... Grid line 57: Handwritten line 60: Threshold value 61 to 64: Binary feature amount 71: Binary feature amount 72: Run-length feature calculation process 73: Run-length feature 74: Code conversion process 75: Identification result
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06T 7/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) G06T 7/00
Claims (3)
ウトカラーのグリッド線が印刷された上に手書きされた
図面をイメージ入力手段から入力し、 次に、前記入力された図面からグリッド検出マークを検
出してグリッド線の位置を求め、 次に 、前記入力された図面を前記求めたグリッド線に沿
って最大3本の手書きの線を視野領域内に捉えるのに十
分な大きさの走査用マスクにより走査し、 次に、前記走査用マスク内の領域を視野領域として各視
野領域ごとに判定用の特徴量を求め、 次に、前記特徴量をしきい値によりコード変換して前記
グリッド線上に書かれた線の本数及び各線の太さを自動
判定し、該判定した線分を当該グリッド線上の線分とす
ることを特徴とする図面認識方法。 First, a grid detection mark and a drop
A drawing handwritten on a grid line of an outer color is input from an image input unit , and then a grid detection mark is detected from the input drawing.
Then , the positions of the grid lines are determined, and then the input drawing is sufficient to capture up to three handwritten lines in the viewing area along the determined grid lines.
Scanned by minute size of the scanning mask, then, it obtains a feature amount for determination for each viewing area to area of the scanning the mask as a viewing area, then the threshold the characteristic quantity The number of lines written on the grid line and the thickness of each line are automatically determined by code conversion , and the determined line segment is regarded as a line segment on the grid line. Characteristic drawing recognition method.
して前記グリッド線上に書かれた線の本数及び各線の太
さを自動判定する際に、周辺の視野領域との多数決的な
処理により前記線の本数あるいは各線の太さを修正する
ことを特徴とする請求項1に記載の図面認識方法。2. The code conversion of the feature value by a threshold value.
Then, when automatically determining the number of lines written on the grid lines and the thickness of each line, correcting the number of lines or the thickness of each line by majority processing with a peripheral visual field. The drawing recognition method according to claim 1, wherein:
方向の射影結果のランレングス値と、平行な方向の射影
結果のランレングス値と、斜め方向の射影結果のランレ
ングス値の内の1以上であることを特徴とする請求項1
または請求項2に記載の図面認識方法。3. The feature amount for determination is a run length value of a projection result in a direction perpendicular to a grid line and a projection value in a direction parallel to a grid line.
The resulting run length value and the run length of the diagonal projection result
2. The method according to claim 1, wherein the value is one or more of the following values:
Alternatively, the drawing recognition method according to claim 2.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7112729A JP2983448B2 (en) | 1995-05-11 | 1995-05-11 | Drawing recognition method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7112729A JP2983448B2 (en) | 1995-05-11 | 1995-05-11 | Drawing recognition method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH08305850A JPH08305850A (en) | 1996-11-22 |
| JP2983448B2 true JP2983448B2 (en) | 1999-11-29 |
Family
ID=14594088
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7112729A Expired - Lifetime JP2983448B2 (en) | 1995-05-11 | 1995-05-11 | Drawing recognition method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2983448B2 (en) |
-
1995
- 1995-05-11 JP JP7112729A patent/JP2983448B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH08305850A (en) | 1996-11-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114299528B (en) | Information extraction and structuring method for scanned document | |
| US6738154B1 (en) | Locating the position and orientation of multiple objects with a smart platen | |
| US5101448A (en) | Method and apparatus for processing a document by utilizing an image | |
| US7016536B1 (en) | Method and apparatus for automatic cleaning and enhancing of scanned documents | |
| CN101246549B (en) | Method and apparatus for recognizing boundary line in an image information | |
| CN103034848B (en) | A kind of recognition methods of form types | |
| US20070253040A1 (en) | Color scanning to enhance bitonal image | |
| JP4522468B2 (en) | Image discrimination device, image search device, image search program, and recording medium | |
| JP2002133426A (en) | Ruled line extraction device for extracting ruled lines from multi-valued images | |
| JP4655335B2 (en) | Image recognition apparatus, image recognition method, and computer-readable recording medium on which image recognition program is recorded | |
| JPH05233873A (en) | Area dividing method | |
| JPH07105312A (en) | Method and apparatus for removing dust of character image in optical character reader | |
| JP2000187705A (en) | Document reading apparatus and method and storage medium | |
| JP2983448B2 (en) | Drawing recognition method | |
| JP3558493B2 (en) | Paper alignment device, paper alignment method, and computer-readable recording medium recording paper alignment program | |
| EP0476873B1 (en) | Method of and apparatus for separating image regions | |
| JP3726415B2 (en) | Image processing method and apparatus | |
| JP3476595B2 (en) | Image area division method and image binarization method | |
| JP7243981B2 (en) | Paper area classification device and its program | |
| JP2004094427A (en) | Form image processing apparatus and program for realizing the apparatus | |
| JP2785747B2 (en) | Character reader | |
| JP4159071B2 (en) | Image processing method, image processing apparatus, and computer-readable recording medium storing program for realizing the processing method | |
| JPH03263282A (en) | Character segmenting method for character reader | |
| JP2755299B2 (en) | Image processing method | |
| JPH10222688A (en) | Picture processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070924 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080924 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080924 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090924 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090924 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100924 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100924 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110924 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120924 Year of fee payment: 13 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130924 Year of fee payment: 14 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| EXPY | Cancellation because of completion of term |