JPH09237339A - Circle/circular arc recognizing method - Google Patents
Circle/circular arc recognizing methodInfo
- Publication number
- JPH09237339A JPH09237339A JP21396196A JP21396196A JPH09237339A JP H09237339 A JPH09237339 A JP H09237339A JP 21396196 A JP21396196 A JP 21396196A JP 21396196 A JP21396196 A JP 21396196A JP H09237339 A JPH09237339 A JP H09237339A
- Authority
- JP
- Japan
- Prior art keywords
- circle
- arc
- circular arc
- center
- line
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims description 57
- 238000001514 detection method Methods 0.000 claims description 8
- 238000007493 shaping process Methods 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 3
- 239000013598 vector Substances 0.000 description 19
- 238000010586 diagram Methods 0.000 description 17
- 238000010276 construction Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
Landscapes
- Image Analysis (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は、文字、図形を含
む図面を光学的に読み取り認識する図面入力装置および
画像を用いた認識装置により円/円弧を認識する方法に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a drawing input device for optically reading and recognizing a drawing including characters and figures and a method for recognizing a circle / arc by a recognition device using an image.
【0002】[0002]
【従来の技術】画像処理において、カメラ或いはイメー
ジスキャナから入力した画像データを基にして、円ある
いは円弧を抽出することが、様々な分野で広く行われて
いる。2. Description of the Related Art In image processing, it is widely used in various fields to extract a circle or an arc based on image data input from a camera or an image scanner.
【0003】一般に図面や文書をコンピュータに自動入
力する場合は、図形を折線近似して表現している。しか
し、折線近似のままでは、曲線と見なせるような部分で
も、直線の集まりとして表現される(例えば、始終点座
標系列で示されるような線分ベクトルの集合)。そのた
め、上記部分を拡大したとき、自然な曲線が矩形の角張
った図形となってしまう。そこで、折線近似データから
曲線部と見なせる部分を認識し、元の図形の曲線部をよ
り正確に表現する必要がある。従来、折線近似データ系
列が円弧上にあることを求めるには次のような手段があ
る。Generally, when a drawing or a document is automatically input to a computer, a figure is represented by broken line approximation. However, in the polygonal line approximation as it is, even a portion that can be regarded as a curve is expressed as a set of straight lines (for example, a set of line segment vectors as shown by the start / end coordinate series). Therefore, when the above portion is enlarged, a natural curve becomes a rectangular angular figure. Therefore, it is necessary to recognize a portion that can be regarded as a curved portion from the polygonal line approximation data and more accurately represent the curved portion of the original figure. Conventionally, there are the following means for determining that the polygonal line approximation data series is on a circular arc.
【0004】図13は中線交点を用いる手段で、この手
段は隣り合うベクトルVi,Vi+1の各中点を通り、ベク
トルVi,Vi+1に垂直な2つの直線qi,qi+1の交点Δ
1を円弧中心とするものである。なお、図13中、Δ2
はベクトルVi,Vi+1に垂直な2つの直線qi+1,qi+2
の交点であり、Δ3は同様に直線qi+2,qi+3の交点で
ある。[0004] Figure 13 a means of using a midline intersection, this means adjacent vectors V i, V i + 1 through the midpoint of the vector V i, V i + 1 to the two perpendicular linear q i , Q i + 1 intersection Δ
1 is the center of the arc. In addition, in FIG. 13, Δ2
Is two straight lines q i + 1 and q i + 2 perpendicular to the vectors V i and V i + 1.
, And Δ3 is also the intersection of the straight lines q i + 2 and q i + 3 .
【0005】このように、図13に示す中線交点を用い
る手段では、円弧中心を2つのベクトルにより求めるこ
とができるけれども、ベクトルのバラツキを吸収できな
い問題があるとともに、2つ以上のベクトルを同一円弧
上のベクトルとして図のような交点Δ1、Δ2、Δ3…
…と拡張する場合、円弧中心候補点が不安定になる問題
がある。As described above, with the means using the midline intersection shown in FIG. 13, the center of the arc can be obtained by two vectors, but there is a problem that the variations in the vectors cannot be absorbed, and two or more vectors are the same. Intersection points Δ1, Δ2, Δ3 ...
When it is expanded to ..., there is a problem that the arc center candidate point becomes unstable.
【0006】また、図14のように法線交点を用いる手
段では、隣り合うベクトルViとVi+1で挟まれる座標点
を通り、ベクトルViとVi+1のなす角を2等分する直線
(法線)qiを求め、連続する2つの法線qi,qi-1の
交点Δ1を円弧中心とするものである。この図14に示
す法線交点用いる手段は、図13に示す中線交点に比較
して円弧中心候補点が多少安定しているけれども、3つ
のベクトルが必要であるとともに、隣り合うベクトル長
がアンバランスの時、法線交点がΔ2、Δ3のように不
安定となる問題がある。上記2つの手段はいづれも、円
弧中心が不安定となって折線近似データから円弧部分を
精度よく認識できない問題がある。Further, as shown in FIG. 14, in the means using the normal intersections, the angle formed by the vectors V i and V i + 1 passes through the coordinate point sandwiched between the adjacent vectors V i and V i + 1 , and the like. A dividing straight line (normal line) q i is obtained, and an intersection point Δ1 of two continuous normal lines q i and q i-1 is set as an arc center. In the means for using the normal line intersection shown in FIG. 14, although the arc center candidate points are somewhat stable as compared with the midline intersection shown in FIG. 13, three vectors are required and the adjoining vector lengths are equal to each other. At the time of balance, there is a problem that the normal intersection becomes unstable like Δ2 and Δ3. Each of the above two means has a problem that the arc center becomes unstable and the arc portion cannot be accurately recognized from the polygonal line approximation data.
【0007】このため、近年円弧中心を精度よく推定
し、誤差が最小となるようにして、円、円弧の中心を最
小二乗法を用いて求める手段が考えられるようなって来
た。この手段は次のようにして行われる。ここで、円の
中心(a,b)、半径rの円の方程式(x−a)2+
(y−b)2=r2より、x2+y2+Ax+By+C=0
を得る。次に、あるベクトル座標群に対して最小2乗法
を用いて上記a,b,rを求める。次式はベクトル座標
群である。Therefore, in recent years, a means has been conceived in which the center of a circular arc is accurately estimated and the error is minimized to find the center of a circle or circular arc by using the least squares method. This means is performed as follows. Here, the equation (x−a) 2 + of the center of the circle (a, b) and the circle of radius r
From (y−b) 2 = r 2 , x 2 + y 2 + Ax + By + C = 0
Get. Next, the above-mentioned a, b, and r are obtained by using the least squares method with respect to a certain vector coordinate group. The following equation is a vector coordinate group.
【0008】[0008]
【数1】 [Equation 1]
【0009】とすると、上記式は次式のようになる。Then, the above equation becomes the following equation.
【0010】[0010]
【数2】 [Equation 2]
【0011】ここで、A,B,Cを求め、a=−(1/
2)A,b=−(1/2)B,r=√(│a2+b2−C
│)によって、円の中心(a,b)と半径rが求まる。Here, A, B and C are obtained, and a =-(1 /
2) A, b =-(1/2) B, r = √ (│a 2 + b 2 -C
|), The center (a, b) of the circle and the radius r are obtained.
【0012】次に、上記最小二乗法を図面入力装置に適
用して円あるいは円弧を認識する方法について述べる。
図面入力装置において、図形の輪郭ベクトルや芯線ベク
トルを用いて最小二乗法を行い、中心/半径を求めた後
に、これらのベクトル座標列が円であるか、円弧であれ
ば、始角、終角が何度であるかを判別計算する。このと
き、図15のように、図示ST部分で、ベクトル座標列
の始点、終点が一致しているときには、円であると認識
するのは簡単であるが、図16、図17のようにベクト
ル座標列の始点、終点の位置関係にずれ(図示丸で囲っ
た部分)があったり、終点の一部が戻ったりしている
と、ベクトル座標列だけでは、円と認識するのは難し
い。このことは、図18の円弧の場合にも言えること
で、中心と座標列の始点、終点が分かっていても、円弧
の端が少し戻っていたり(図示丸で囲った部分)する
と、ベクトル座標列の始点、終点は不安定に成り易い性
質を持つことから、座標の始点、終点だけでは、円の判
別、円弧の始角、終角の算出をするには不充分であり、
結果的に円、円弧の認識率が低下してしまう。Next, a method of recognizing a circle or an arc by applying the above least squares method to a drawing input device will be described.
In the drawing input device, the least squares method is performed using the contour vector and the core line vector of the figure, and after the center / radius is obtained, if these vector coordinate sequences are circles or arcs, the start angle and end angle Discriminate and calculate how many times At this time, as shown in FIG. 15, when the start point and the end point of the vector coordinate sequence match in the ST portion shown in the figure, it is easy to recognize as a circle, but as shown in FIG. 16 and FIG. If the positional relationship between the start point and the end point of the coordinate sequence is deviated (circled in the figure) or part of the end point is returned, it is difficult to recognize it as a circle only with the vector coordinate sequence. This can be applied to the case of the circular arc in FIG. 18, and even if the center and the starting point and the ending point of the coordinate sequence are known, if the end of the circular arc slightly returns (the part circled in the figure), the vector coordinates Since the starting point and the ending point of the column have a tendency to be unstable, the starting point and the ending point of the coordinates are not sufficient for discriminating a circle and calculating the starting and ending angles of a circular arc.
As a result, the recognition rate of circles and arcs decreases.
【0013】また、図19のような交差のある円は、ま
ず、90°の円弧を4つ検出した後、それらの円弧を、
合成して1つの円として認識する手段を取っている。ま
た、図20のような場合は、90°の円弧を3つ合成し
て270°の円弧として認識している。しかし、最初に
円弧を検出する際に、90°の円弧の始角、終角が正し
く算出されないと合成がしにくくなり、円、円弧の認識
率が低下する問題がある。For a circle having an intersection as shown in FIG. 19, first, four 90 ° arcs are detected, and then those arcs are
The means of synthesizing and recognizing it as one circle is taken. In the case of FIG. 20, three 90 ° arcs are combined and recognized as a 270 ° arc. However, when the arc is first detected, if the start angle and the end angle of the 90 ° arc are not calculated correctly, it becomes difficult to combine them, and the recognition rate of the circle and the arc decreases.
【0014】前記最小二乗法で中心、半径を求める式に
おいて、Σxi,Σyi,Σxi 2,Σyi 2,Σxi 2yi,
Σxiyi 2,Σxi 3,Σyi 3,Σxiyiはコンピュータ
を用いて実行すると、演算がオーバーフローに至る可能
性がある。例えば、(xi,yi)=(0,0),(0,10),
(10,10),(10,0)の場合、Σxi=20,Σyi=20,Σ
xi 2=200,Σyi 2=200,Σxi 2yi=1000,Σxiyi 2
=1000,Σxi 3=2000,Σyi 3=2000,Σxiyi=100
となる。In the equation for finding the center and radius by the least squares method, Σx i , Σy i , Σx i 2 , Σy i 2 , Σx i 2 y i ,
If Σx i y i 2 , Σx i 3 , Σy i 3 , and Σx i y i are executed by using a computer, there is a possibility that the calculation may overflow. For example, (x i , y i ) = (0,0), (0,10),
In the case of (10,10), (10,0), Σx i = 20, Σy i = 20, Σ
x i 2 = 200, Σy i 2 = 200, Σx i 2 y i = 1000, Σx i y i 2
= 1000, Σx i 3 = 2000, Σy i 3 = 2000, Σx i y i = 100
Becomes
【0015】一方、上記例と4点相互の関係が等しいサ
ンプル(xi,yi)=(100,100),(100,110),(110,
110),(110,100)の場合は、Σxi=420,Σyi=42
0,Σxi 2=44200,Σyi 2=44200,Σxi 2yi=464100
0,Σxiyi 2=4641000,Σxi 3=4662000,Σyi 3=46
62000,Σxiyi=44100となり、積算結果が大きな値と
なってしまう。コンピュータの中で表現できる値の最大
値が4000000だったとすると、後の例では正常な演算結
果が得られないことになる。On the other hand, samples (x i , y i ) = (100,100), (100,110), (110,
110), (110,100), Σx i = 420, Σy i = 42
0, Σx i 2 = 44200, Σy i 2 = 44200, Σx i 2 y i = 464100
0, Σx i y i 2 = 4641000, Σx i 3 = 4662000, Σy i 3 = 46
62000, Σx i y i = 44100, and the integrated result becomes a large value. If the maximum value that can be expressed in the computer is 4000000, normal operation results will not be obtained in the later example.
【0016】このような演算ミスを発生しないようにす
るためには、通常は点の座標をそのまま用いず、点列の
重心や点列を完全に内包するような最小の四角形(外接
四角形)の中心などを原点とした座標に変換後、上記パ
ラメータを求める演算を行う。In order to prevent such a calculation error, normally, the coordinates of the points are not used as they are, and the center of gravity of the point sequence or the smallest quadrangle (circumscribing quadrangle) that completely encloses the point sequence is used. After conversion to coordinates with the center or the like as the origin, calculation for obtaining the above parameters is performed.
【0017】前の例で(5,5)、後の例で(105,105)を
原点として見ると両者とも(xi,yi)=(-5,-5),
(-5,5),(5,5),(5,-5)となり、Σxi=0,Σyi=
0,Σxi 2=100,Σyi 2=100,Σxi 2yi=0,Σxiy
i 2=0,Σxi 3=0,Σyi 3=0,Σxiyi=0というパラ
メータが計算される。これらの値は上記2つの例に比べ
て小さい値であり、最大値4,000,000という値も越えな
い。このパラメータを用いて前記A,B,Cを求めると
A=0,B=0,C=-50となり、a=0,b=0,r=5√2と
なる。座標を変換しているので、前の例ではa=5+0=
5、b=5+0=5、r=5√2、後の例ではa=105+0=105、
b=105+0=105、r=5√2となる。Looking at (5,5) as the origin in the previous example and (105,105) in the latter example, both are (x i , y i ) = (-5, -5),
(-5,5), (5,5), (5, -5), and Σx i = 0, Σy i =
0, Σx i 2 = 100, Σy i 2 = 100, Σx i 2 y i = 0, Σx i y
The parameters i 2 = 0, Σx i 3 = 0, Σy i 3 = 0, Σx i y i = 0 are calculated. These values are smaller than those of the above two examples and do not exceed the maximum value of 4,000,000. When A, B, and C are obtained using this parameter, A = 0, B = 0, C = −50, and a = 0, b = 0, r = 5√2. Since the coordinates are converted, in the previous example, a = 5 + 0 =
5, b = 5 + 0 = 5, r = 5√2, a = 105 + 0 = 105 in the later example,
b = 105 + 0 = 105 and r = 5√2.
【0018】図面に描かれた円、円弧を認識する場合、
通常ひとつの円や円弧は他の線に分断されて一連の座標
列を持つことは少ない。図21の様に、2つの直線X,
Yで4つの円弧A,B,C,Dに分断された円を例に考
えると、Aの部分に含まれる頂点(図示小さい丸印で示
した)を一連の座標列として考えることは容易(分枝や
端点間を結ぶ頂点列と考える)であるが、A,B,C,
Dがひとつの円を構成するように認識するためには、
A,B,C,Dそれぞれが円弧として妥当かどうかを調
べ、それぞれが円弧として妥当であるならば、A,B,
C,Dを結合したものが、円として妥当であるかどうか
を調べなければならない。When recognizing a circle or an arc drawn in the drawing,
Usually, one circle or arc is rarely divided into other lines and has a series of coordinate sequences. As shown in FIG. 21, two straight lines X,
Considering a circle divided into four arcs A, B, C, and D by Y as an example, it is easy to think of a vertex (indicated by a small circle in the figure) included in A as a series of coordinate strings ( It is a sequence of vertices that connects branches and end points), but A, B, C,
To recognize that D is a circle,
Check whether each of A, B, C and D is valid as an arc, and if each is valid as an arc, A, B,
It is necessary to check whether the combination of C and D is valid as a circle.
【0019】円、円弧の妥当性を調べるためには、前記
手段によって求めた円、円弧と座標列の誤差を調べ、妥
当性を判断する。しかし、Aの部分で求めたパラメータ
は(xA,yA)を原点として求めたパラメータ、Bの部
分で求めたパラメータは(xB,yB)を原点として求め
たパラメータであり、通常xA≠xB,yA≠yBである。
従って、AとBとを結合して求めたパラメータを原点
(xAB,yAB)としてパラメータを求めようとすると、
再び全てのパラメータに対して積算演算をしなければな
らないため、様々な組み合わせに対してパラメータを求
めようとすると、演算時間が膨大となる問題を生じる。In order to check the validity of the circle and the arc, the error between the circle and the arc and the coordinate sequence obtained by the above means is checked to determine the validity. However, the parameter obtained in the portion A is the parameter obtained with (x A , y A ) as the origin, and the parameter obtained in the portion B is the parameter obtained with (x B , y B ) as the origin. A ≠ x B and y A ≠ y B.
Therefore, if the parameters obtained by combining A and B are used as the origin (x AB , y AB ),
Since it is necessary to perform the integration calculation again for all the parameters, there is a problem that the calculation time becomes enormous when the parameters are obtained for various combinations.
【0020】[0020]
【発明が解決しようとする課題】上記問題の他に、図面
の中から円/円弧を検出する方法として、画像の輪郭を
用いる方法では、輪郭が正しく生成される必要がある
が、画像のかすれ等があると輪郭が正確に生成されない
恐れがある。また、画像からHough変換を用いる方法で
は、画像のかすれ等には影響されにくいが、中心、半径
を共に画像データから求めようとすると、計算量が膨大
になり、演算時間にも影響を与えることになる。さら
に、上記円/円弧検出方法では、輪郭データに対して、
最小二乗法を用い、そこで計算される誤差をある閾値と
比較して、誤差の方が小さければ、円または円弧である
という判定をし、誤差の方が大きければ線分の集合(ポ
リラインやポリゴン)であるという判定を行っている。
しかし、この判定方法では人間の目には線分の集合であ
るかのように見えるのに、円または円弧であると認識し
てしまう恐れがある。In addition to the above problem, in the method of using the contour of an image as a method for detecting a circle / arc in a drawing, the contour needs to be correctly generated, but the blurring of the image may occur. If so, the contour may not be accurately generated. Further, in the method of using the Hough transform from an image, it is less affected by the blur of the image, but if the center and the radius are both obtained from the image data, the amount of calculation becomes enormous and the calculation time is also affected. become. Furthermore, in the above circle / arc detection method, for contour data,
Using the least squares method, the error calculated there is compared with a certain threshold, and if the error is smaller, it is determined to be a circle or an arc. If the error is larger, a set of line segments (polyline or polygon ) Is determined.
However, with this determination method, although it may appear to the human eye as a set of line segments, it may be recognized as a circle or an arc.
【0021】例えば、図22(a),(b)という2つ
の輪郭があったとき、これに最小二乗法を適用すると、
図22(a)の場合には3点を通る円が描けて、誤差が
「0」となってしまう。また、図22(b)の場合に
は、5点を通る円は描けずに誤差が生じてくる。このよ
うに図22(a),(b)に示す同じ形状の折れ線に対
して異なる結果が生じてくるのも問題である。For example, when there are two contours shown in FIGS. 22 (a) and 22 (b), if the least squares method is applied to them,
In the case of FIG. 22A, a circle passing through three points can be drawn, and the error becomes “0”. Further, in the case of FIG. 22B, a circle passing through five points cannot be drawn and an error occurs. It is also a problem that different results occur for the polygonal lines having the same shape shown in FIGS. 22 (a) and 22 (b).
【0022】上記のほかに線分のみの図面データの中か
ら円/円弧を抽出する場合、その線分群の始点/終点を
取った座標列から最小二乗法によって抽出後の円/円弧
の中心座標と半径を求める場合(最小二乗法ではどんな
データでも、必ず1つの答えを出してしまう)、算出し
た円が妥当かどうかを判定する必要がある。In addition to the above, when a circle / arc is extracted from the drawing data of only line segments, the center coordinates of the circle / arc after extraction by the least squares method from the coordinate sequence in which the start point / end point of the line segment group is taken. When calculating the radius with (the least square method always gives one answer for any data), it is necessary to judge whether the calculated circle is valid or not.
【0023】この場合、図23に示すように、もとの線
分データLDの始点/終点や中点と、最小二乗法で算出
した円CYとの距離の平均または最大値(図23(c)
における矢印部分)を取り、それが設定した閾値よりも
小さければ円であるという方法をとる。In this case, as shown in FIG. 23, the average or maximum value of the distances between the start point / end point or middle point of the original line segment data LD and the circle CY calculated by the least square method (FIG. 23 (c )
The arrow part in) is taken, and if it is smaller than the set threshold value, it is a circle.
【0024】上記の方法の場合、円であることを判定す
る閾値の決定方法に、指標がないため、円/円弧抽出処
理を使用する者が、閾値を決めにくいという問題がある
のと、図24(a)に示すように僅かに折れている直線
も図24(b)のように円弧にしてしまうという問題が
ある。特に、図24(b)において、折れ線が半径の大
きい円と算出されるため、各点での円との距離は小さく
なる。In the case of the above method, since there is no index in the method of determining the threshold value for determining that it is a circle, it is difficult for a person who uses the circle / arc extraction process to determine the threshold value. There is a problem that a straight line slightly bent as shown in FIG. 24 (a) also becomes an arc as shown in FIG. 24 (b). In particular, in FIG. 24B, since the polygonal line is calculated as a circle having a large radius, the distance to the circle at each point becomes small.
【0025】この発明は上記の事情に鑑みてなされたも
ので、円/円弧認識の際の計算量の軽減を図ると共に、
円/円弧認識の判定を向上させるようにした円/円弧の
認識方法を提供することを課題とする。The present invention has been made in view of the above circumstances, and aims to reduce the calculation amount at the time of circle / arc recognition, and
An object of the present invention is to provide a method for recognizing a circle / arc that improves the determination of circle / arc recognition.
【0026】[0026]
【課題を解決するための手段】この発明は、上記の課題
を達成するために、第1発明は、図形の編集、整形等が
行える図面入力装置により円/円弧を認識する方法にお
いて、画像上に円弧状の下書き線を描いてその下書き線
に基づいた円/円弧の中心を指定した後、その中心から
検出領域を限定し、領域内の画素と中心点距離を計算し
た後にヒストグラムを作成し、そのヒストグラムに閾値
を設定して閾値を越えているヒストグラムがあるかを判
定し、ある場合に円/円弧があると判定した際に、2つ
以上の円弧があったとき、両円弧に小さい角度の隙間が
あったときには、その隙間を埋め、両円弧の内、小さい
角度の円弧があったときには、その円弧を消去して整形
した円/円弧を得るようにしたことを特徴とするもので
ある。In order to achieve the above-mentioned object, the present invention provides a method for recognizing a circle / arc by a drawing input device capable of editing, shaping, etc. of a figure, and After drawing an arc-shaped construction line on the and specifying the center of the circle / arc based on the construction line, limit the detection area from that center, calculate the pixel and center point distance in the area, and then create a histogram. If a threshold value is set in the histogram and it is determined whether there is a histogram that exceeds the threshold value, and if there is a circle / arc, if there are two or more arcs, both arcs are smaller. When there is an angular gap, the gap is filled, and when there is an arc with a small angle in both arcs, the arc is erased to obtain a shaped circle / arc. is there.
【0027】第2発明は、図形の編集、整形等が行える
図面入力装置により円/円弧を認識する方法において、
図形の輪郭データの各頂点間の距離を求めた後、各頂点
間の距離が予め設定した最大距離Xより大きいか、小さ
いかを判定した後、大きいときには等間隔に新たな頂点
を追加し、新たに頂点を追加したデータに対して、最小
二乗法を適用して円/円弧の判定を行うようにしたこと
を特徴とするものである。The second invention is a method for recognizing a circle / arc by a drawing input device capable of editing, shaping, etc. of a figure,
After obtaining the distance between the vertices of the contour data of the figure, it is determined whether the distance between the vertices is larger or smaller than the preset maximum distance X, and when it is larger, new vertices are added at equal intervals, The method is characterized in that the least squares method is applied to the data newly added with the vertices to determine the circle / arc.
【0028】第3発明は図形の編集、整形等が行える図
面入力装置により円/円弧を認識する方法において、図
形の輪郭データの線分データから最小二乗法により円の
算出処理を行った後、線分上の点と円との距離の最大が
〔(1/2)×線幅〕以下のときには、線分データの端
部で太さが指定された線幅の長方形を作成し、線分デー
タの全ての点がその長方形内に入らないなら円/円弧と
して抽出することを特徴とするものである。A third aspect of the present invention is a method for recognizing a circle / arc by a drawing input device capable of editing, shaping, etc. in a figure. After calculating a circle from the line segment data of the contour data of the figure by the method of least squares, When the maximum distance between a point on a line segment and a circle is [(1/2) x line width] or less, create a rectangle with a line width whose thickness is specified at the end of the line segment data, and If all the points of the data do not fall within the rectangle, it is extracted as a circle / arc.
【0029】第4発明は、前記円の算出処理が、この算
出処理で半径を求めた後、その半径は小さいかを判断
し、小さいときには、円判定用の指定閾値を設定し、そ
の閾値を基準半径になるまで線径化してから行うことを
特徴とするものである。According to a fourth aspect of the present invention, the circle calculating process determines whether or not the radius is small after obtaining the radius in this calculating process. When the radius is small, a designated threshold for circle determination is set and the threshold is set. The method is characterized in that the wire diameter is changed to the reference radius before the operation.
【0030】[0030]
【発明の実施の形態】以下この発明の実施の形態を図面
に基づいて説明する。図1はこの発明の実施の第1形態
を示すフローチャートで、図1において、図面全体から
任意の円/円弧を検出するのではなく、まず、マウスや
キーボードにより図2に示すディスプレイ画像に円弧状
の下書き線21を予め書くことにより、下書き線21に
基づいてステップS1で中心22の指定を行う。中心2
2を指定したなら、その中心22から検出領域をステッ
プS2で限定する。ここで、検出領域を限定するのは、
どのような円でも検出できるようになって、計算量が膨
大になる恐れがあるのを防ぐためである。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a flow chart showing a first embodiment of the present invention. In FIG. 1, an arbitrary circle / arc is not detected from the entire drawing, but first, a circular arc is displayed on a display image shown in FIG. 2 by a mouse or a keyboard. By writing the draft line 21 in advance, the center 22 is designated in step S1 based on the draft line 21. Center 2
If 2 is specified, the detection area from the center 22 is limited in step S2. Here, limiting the detection area is
This is to prevent the possibility of enormous amount of calculation by being able to detect any circle.
【0031】次に検出領域内の画素と中心点距離を計算
し、図3に示すようなヒストグラムをステップS3で作
成する。作成されたヒストグラムに図4に示すような閾
値直線23をステップS4で設け、この閾値直線23を
越えているかどうかをステップS5で判定する。判定の
結果、閾値直線23を越えている半径の箇所には円また
は円弧があると判定する。Next, the distance between the pixel in the detection area and the center point is calculated, and a histogram as shown in FIG. 3 is created in step S3. A threshold straight line 23 as shown in FIG. 4 is provided in the created histogram in step S4, and it is determined in step S5 whether or not the threshold straight line 23 is exceeded. As a result of the determination, it is determined that there is a circle or a circular arc at a location having a radius exceeding the threshold straight line 23.
【0032】次にステップS6で円または円弧があると
判定された箇所に対して、再度画素を参照し、円弧の始
角/終角をステップS7で決定する。決定後、図5
(a)に示すような円弧になったときには、小さい角度
Δθ1の隙間を埋めて図5(b)のような円弧に、図6
(a)に示すような円弧になったときには、小さい角度
Δθ2の円弧を消去して図6(b)のような円弧にステ
ップS8で形成する。ステップS8のようにして円弧を
形成することにより、整形された円/円弧をステップS
9で検出できるようになる。Next, with respect to the portion determined to have a circle or an arc in step S6, the pixel is referred to again, and the start angle / end angle of the arc is determined in step S7. Figure 5 after decision
When an arc as shown in FIG. 6A is formed, the gap with a small angle Δθ 1 is filled in to form the arc as shown in FIG.
When it becomes an arc as shown in FIG. 6A, the arc having a small angle Δθ 2 is erased to form an arc as shown in FIG. 6B in step S8. By forming an arc as in step S8, the shaped circle / arc is formed in step S8.
It becomes possible to detect it at 9.
【0033】図7はこの発明の実施の第2形態を示すフ
ローチャートで、この第2形態は輪郭データに対して円
/円弧の最小二乗法の適用の方法を改善したものであ
る。図7において、まず輪郭データの1つ目の頂点間を
ステップS11でチェックし、輪郭データの各頂点間の
距離を求める。距離を求める際に、予め頂点間の最大距
離Xは設定しておく。この距離が小さいほど、判定は確
かになるが、処理に時間がかかる。ステップS11で求
めた輪郭データの頂点間の距離が定めた最大距離Xより
大きいかをステップS12で判定する。判定結果が最大
距離Xより大きい場合には、(頂点間の距離)/(最大
距離X)〔余りは切り上げ〕から「1」を引いた個数だ
け、等間隔に新たな頂点をステップS13で追加する。FIG. 7 is a flow chart showing a second embodiment of the present invention. This second embodiment is an improvement of the method of applying the circle / arc least squares method to contour data. In FIG. 7, first, the distance between the first vertices of the contour data is checked in step S11 to find the distance between the vertices of the contour data. When obtaining the distance, the maximum distance X between the vertices is set in advance. The smaller this distance is, the more accurate the determination becomes, but the processing takes longer. In step S12, it is determined whether the distance between the vertices of the contour data obtained in step S11 is larger than the maximum distance X that is set. If the determination result is larger than the maximum distance X, new vertices are added at equal intervals by the number obtained by subtracting "1" from (distance between vertices) / (maximum distance X) [rounding up the remainder] in step S13. To do.
【0034】上記ステップS13の場合について図8
(a)、(b)を用いて説明する。図8(a)は元のデ
ータを示すもので、前述のように頂点間の最大距離Xを
「1」とした場合、図8(b)に示すように頂点を等間
隔に追加する。図8(b)において、二重丸は追加され
た頂点である。FIG. 8 shows the case of step S13.
This will be described with reference to (a) and (b). FIG. 8A shows the original data. When the maximum distance X between the vertices is “1” as described above, the vertices are added at equal intervals as shown in FIG. 8B. In FIG. 8B, double circles are added vertices.
【0035】その後、ステップS14で全ての頂点間を
チェックしたかを判定し、チェックした場合にはステッ
プS15に処理が進んで頂点を追加したデータに対して
最小二乗法を適用して円/円弧の判定を行った後、処理
を終了する。なお、ステップS14で頂点間をチェック
しなかったと判定した場合には、ステップS16の処理
(次の頂点間に移動)を行って再びステップS12の処
理に戻る。Then, in step S14, it is determined whether or not all the vertices are checked, and if checked, the process proceeds to step S15, and the least squares method is applied to the data in which the vertices are added, and the circle / circle is applied. After making the determination, the processing is terminated. If it is determined in step S14 that the space between the vertices has not been checked, the process of step S16 (moving between the next vertices) is performed and the process returns to step S12.
【0036】上記の第2形態における円/円弧の判定方
法は輪郭データに対する処理だけでなく、既に線分とし
て認識した図形データに対して円/円弧認識を行う場合
にも同様に応用できる。The circle / arc determination method according to the second embodiment described above can be applied not only to processing of contour data but also to circle / arc recognition of graphic data already recognized as a line segment.
【0037】図9はこの発明の実施の第3形態を示すフ
ローチャートで、この第3形態は線幅を用いて円/円弧
認識処理を行うものである。図9において、線幅をステ
ップS21の最小二乗法による円の算出処理に入力す
る。このステップS21で円の算出処理を行った後、線
分上の点と円との距離の最大が〔閾値=(1/2)×線
幅〕以下であるかをステップS22で判定し、以下なら
円であると判定し、以上なら線分と判定する。線分と判
定したなら「NO」として線分のままとし、円と判定した
なら「YES」としてステップS23の処理を行う。FIG. 9 is a flow chart showing a third embodiment of the present invention. In the third embodiment, the circle / arc recognition processing is performed by using the line width. In FIG. 9, the line width is input to the circle calculation process by the least squares method in step S21. After the circle calculation processing is performed in step S21, it is determined in step S22 whether the maximum distance between the circle on the line segment and the circle is equal to or less than [threshold value = (1/2) × line width]. If it is, it is determined to be a circle, and if it is above, it is determined to be a line segment. If it is determined to be a line segment, the line segment is set to "NO" and the line segment is left as it is.
【0038】ステップS23は次に示す図10の条件を
満たすかを判定する処理で、図10において、線分デー
タの端部で、太さが指定された線幅の長方形(図10に
示す破線で形成した長方形)を作成し、全ての点d1〜
d4がその内部に入るなら、それらは、直線であると判
定して線分のままとする。一方ステップS23で線幅の
長方形内に線分データが入らないと判定したときには円
/円弧と認識する。Step S23 is a process for judging whether the condition of FIG. 10 shown below is satisfied. In FIG. 10, at the end of the line segment data, a rectangle having a line width with a designated thickness (the broken line shown in FIG. 10) is used. (Rectangle formed in step 1) is created, and all points d1 to
If d4 falls within it, they are determined to be straight lines and remain line segments. On the other hand, if it is determined in step S23 that the line segment data does not fit within the line width rectangle, it is recognized as a circle / arc.
【0039】図11はこの発明の実施の第4形態を示す
フローチャートで、この第4形態は第3形態を改良した
もので、第3形態の処理と同一部分には同一符号を付し
て示した。図11において、線幅をステップS21の最
小二乗法による円の算出処理に入力した後、ここで円の
算出処理を行って、円の半径を求める。求めた半径は小
さいかをステップS21aで判断し、「YES」なら図1
2に示すように円判定用の指定閾値をステップS21b
で設定する。この指定閾値を図12に示すように基準半
径になるまで(半径がある大きさになるまで)ステップ
S21cで線形化させる。これにより、小さい半径の場
合でも円として算出できるようになる。このようにし
て、円の算出処理を行った後に、ステップS22で、線
分上の点と円との距離の最大が〔閾値=(1/2)×線
幅〕以下であるかを判定し、以下「YES」なら円である
と判定し、以上「NO」なら線分と判定する。線分と判定
したなら線分のままとし、円と判定したならステップS
23の処理を行って円/円弧と判定する。このような処
理を行うことにより、小さな半径の円/円弧も精度良く
抽出できるようになる。なお、円/円弧の半径がさらに
小さいときには、指定閾値のレベルを下げるように設定
しても良い。FIG. 11 is a flow chart showing a fourth embodiment of the present invention. This fourth embodiment is an improvement of the third embodiment, and the same parts as those of the third embodiment are designated by the same reference numerals. It was In FIG. 11, the line width is input to the circle calculation process by the least square method in step S21, and then the circle calculation process is performed to obtain the radius of the circle. In step S21a, it is determined whether the calculated radius is small.
As shown in FIG. 2, the designated threshold for circle determination is set to step S21b.
Set with. As shown in FIG. 12, this designated threshold is linearized in step S21c until it reaches a reference radius (until the radius reaches a certain size). As a result, even a small radius can be calculated as a circle. In this way, after the circle calculation processing is performed, it is determined in step S22 whether the maximum distance between the circle on the line segment and the circle is equal to or less than [threshold = (1/2) × line width]. If it is "YES" below, it is determined to be a circle, and if it is "NO" above, it is determined to be a line segment. If it is determined to be a line segment, the line segment remains as it is, and if it is determined to be a circle, step S
The process of 23 is performed to determine a circle / arc. By performing such processing, a circle / arc having a small radius can be accurately extracted. When the radius of the circle / arc is smaller, the level of the designated threshold may be set to be lowered.
【0040】[0040]
【発明の効果】以上述べたように、この発明の第1発明
によれば、画像から直接円/円弧を認識できるととも
に、円/円弧を認識する際に、中心を指定するようにし
たので、計算量の軽減を図ることができ、また、予想外
の不必要な円/円弧の出現が防止できる。第2発明によ
れば、円/円弧の認識の判定を向上させることができ
る。第3発明によれば、最小二乗法を用いた円/円弧認
識処理に必要な判定閾値を比較的容易な値で得られると
ともに、その閾値を直線判定に利用して僅かに折れてい
る線を誤って円弧にしてしまうことが防止できる。第4
発明によれば、小さな円/円弧も精度良く抽出できる。As described above, according to the first aspect of the present invention, the circle / arc can be recognized directly from the image, and the center can be designated when recognizing the circle / arc. The amount of calculation can be reduced, and unexpected and unnecessary appearance of unnecessary circles / arcs can be prevented. According to the second invention, it is possible to improve the determination of the recognition of the circle / arc. According to the third aspect of the present invention, it is possible to obtain a judgment threshold value necessary for the circle / arc recognition processing using the least squares method with a relatively easy value, and use the threshold value for straight line judgment to detect a slightly broken line. It is possible to prevent accidentally making an arc. 4th
According to the invention, even a small circle / arc can be accurately extracted.
【図1】この発明の実施の第1形態を示すフローチャー
ト。FIG. 1 is a flowchart showing a first embodiment of the present invention.
【図2】ディスプレイ画像の説明図。FIG. 2 is an explanatory diagram of a display image.
【図3】ヒストグラム説明図。FIG. 3 is an explanatory diagram of a histogram.
【図4】ヒストグラムに閾値直線を描いた説明図。FIG. 4 is an explanatory diagram in which a threshold line is drawn on a histogram.
【図5】(a)小さい角度の隙間がある円弧の説明図、
(b)その隙間を埋めた円弧の説明図。FIG. 5A is an explanatory view of an arc having a small angle gap;
(B) Explanatory drawing of the circular arc which filled the gap.
【図6】(a)小さい角度の円弧の説明図、(b)小さ
い角度の円弧を消去した説明図。6A is an explanatory diagram of a small-angle circular arc, and FIG. 6B is an explanatory diagram in which the small-angle circular arc is deleted.
【図7】この発明の実施の第2形態を示すフローチャー
ト。FIG. 7 is a flowchart showing a second embodiment of the present invention.
【図8】(a),(b)は第2形態の動作説明図。FIG. 8A and FIG. 8B are explanatory views of the operation of the second embodiment.
【図9】この発明の実施の第3形態を示すフローチャー
ト。FIG. 9 is a flowchart showing a third embodiment of the present invention.
【図10】第3形態の動作説明図。FIG. 10 is an operation explanatory view of the third mode.
【図11】この発明の実施の第4形態を示すフローチャ
ート。FIG. 11 is a flowchart showing a fourth embodiment of the present invention.
【図12】第4形態の動作を述べるための特性図。FIG. 12 is a characteristic diagram for describing the operation of the fourth mode.
【図13】従来例の説明図。FIG. 13 is an explanatory diagram of a conventional example.
【図14】従来例の説明図FIG. 14 is an explanatory view of a conventional example.
【図15】始点、終点が一致しているときの説明図。FIG. 15 is an explanatory diagram when the start point and the end point match.
【図16】始点、終点が一致していないときの説明図。FIG. 16 is an explanatory diagram when the start point and the end point do not match.
【図17】始点、終点が一致していないときの説明図。FIG. 17 is an explanatory diagram when the start point and the end point do not match.
【図18】円弧の一部が戻っているときの説明図。FIG. 18 is an explanatory diagram when a part of an arc is returned.
【図19】90゜の円弧が4つで円を合成するときの説
明図。FIG. 19 is an explanatory diagram when a circle is composed of four 90 ° arcs.
【図20】90゜の円弧、3つを合成して270゜の円
弧としたときの説明図。FIG. 20 is an explanatory view when a 90 ° arc and three arcs are combined to form a 270 ° arc.
【図21】4つの円弧に分断された円の説明図。FIG. 21 is an explanatory diagram of a circle divided into four arcs.
【図22】(a),(b)のように輪郭により異なる結
果が生じる説明図。22 (a) and 22 (b) are explanatory views in which different results are produced depending on the contours.
【図23】(a)線分データ説明図、(b)線分データ
を最小二乗法で求めた円の説明図、(c)A部拡大図。23A is an explanatory diagram of line segment data, FIG. 23B is an explanatory diagram of a circle obtained by the line segment data by the least square method, and FIG.
【図24】(a)線分データ説明図、(b)線分データ
を最小二乗法で求めた円の説明図。24A is an explanatory diagram of line segment data, and FIG. 24B is an explanatory diagram of a circle obtained by the line segment data by the least square method.
S1…円/円弧の中心指定ステップ S2…中心からの検出領域設定ステップ S3…ヒストグラム作成ステップ S4…ヒストグラムに閾値を設定するステップ S5…閾値を越えているかの判定ステップ S6…円/円弧があるステップ S7…円弧の始角、終角を決定するステップ S8…小さい角度の隙間を埋めたり、小さい角度の円弧
を消去するステップ S9…円/円弧検出ステップS1 ... Circle / arc center specification step S2 ... Detection area setting step from center S3 ... Histogram creation step S4 ... Histogram threshold setting step S5 ... Judgment step S6 ... Circle / arc step S7 ... A step of determining the start angle and end angle of the arc S8 ... A step of filling a small angle gap or erasing the small angle arc S9 ... A circle / arc detection step
───────────────────────────────────────────────────── フロントページの続き (72)発明者 福元 大策 東京都品川区大崎2丁目1番17号 株式会 社明電舎内 (72)発明者 平林 政道 東京都品川区大崎2丁目1番17号 株式会 社明電舎内 (72)発明者 小林 実 東京都品川区大崎2丁目1番17号 株式会 社明電舎内 (72)発明者 佐々木 健二 東京都品川区大崎2丁目1番17号 株式会 社明電舎内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Daisaku Fukumoto 2-17-17 Osaki, Shinagawa-ku, Tokyo Stock Company Shameidensha (72) Masamichi Hirabayashi 2-1-117 Osaki, Shinagawa-ku, Tokyo Shares Inside the company Meidensha (72) Inventor Minoru Kobayashi 2-11-17 Osaki, Shinagawa-ku, Tokyo Stock company Inside the company Meidensha (72) Kenji Sasaki 2-11-17 Osaki, Shinagawa-ku, Tokyo Inside the company Meidensha
Claims (4)
置により円/円弧を認識する方法において、画像上に円
弧状の下書き線を描いてその下書き線に基づいた円/円
弧の中心を指定した後、その中心から検出領域を限定
し、領域内の画素と中心点距離を計算した後にヒストグ
ラムを作成し、そのヒストグラムに閾値を設定して閾値
を越えているヒストグラムがあるかを判定し、ある場合
に円/円弧があると判定した際に、2つ以上の円弧があ
ったとき、両円弧に小さい角度の隙間があったときに
は、その隙間を埋め、両円弧の内、小さい角度の円弧が
あったときには、その円弧を消去して整形した円/円弧
を得るようにしたことを特徴とする円/円弧の認識方
法。1. A method of recognizing a circle / arc by a drawing input device capable of editing, shaping, etc. a figure, and draws an arc-shaped draft line on an image and designates the center of the circle / arc based on the draft line. After that, limit the detection area from the center, create a histogram after calculating the pixel and center point distance in the area, set a threshold on the histogram to determine whether there is a histogram that exceeds the threshold, In some cases, when it is determined that there is a circle / arc, if there are two or more arcs and there is a small angle gap between both arcs, the gap is filled and the arc with the smaller angle of both arcs is filled. If there is, a circle / arc recognition method is characterized in that the arc is erased to obtain a shaped circle / arc.
置により円/円弧を認識する方法において、図形の輪郭
データの各頂点間の距離を求めた後、各頂点間の距離が
予め設定した最大距離Xより大きいか、小さいかを判定
した後、大きいときには等間隔に新たな頂点を追加し、
新たに頂点を追加したデータに対して最小二乗法を適用
して円/円弧の判定を行うようにしたことを特徴とする
円/円弧の認識方法。2. In a method of recognizing a circle / arc by a drawing input device capable of editing and shaping a figure, the distance between the vertices of contour data of the figure is obtained, and then the distance between the vertices is preset. After determining whether it is larger or smaller than the maximum distance X, if it is larger, add new vertices at equal intervals,
A circle / arc recognition method, characterized in that a least squares method is applied to data with newly added vertices to determine a circle / arc.
置により円/円弧を認識する方法において、図形の輪郭
データの線分データから最小二乗法により円の算出処理
を行った後、線分上の点と円との距離の最大が〔(1/
2)×線幅〕以下のときには、線分データの端部で太さ
が指定された線幅の長方形を作成し、線分データの全て
の点がその長方形内に入らないなら円/円弧として抽出
することを特徴とする円/円弧の認識方法。3. A method for recognizing a circle / arc by a drawing input device capable of editing, shaping, etc. a figure, after calculating a circle from the line segment data of the contour data of the figure by the least squares method, and then calculating the line segment. The maximum distance between the upper point and the circle is [(1 /
2) × line width] or less, create a rectangle with a line width whose thickness is specified at the end of the line segment data, and if all the points of the line segment data do not fall within the rectangle, use a circle / arc. A circle / arc recognition method characterized by extraction.
径を求めた後、その半径は小さいかを判断し、小さいと
きには、円判定用の指定閾値を設定し、その閾値を基準
半径になるまで線径化してから行うことを特徴とする請
求項3記載の円/円弧の認識方法。4. The circle calculating process, after obtaining the radius in this calculating process, judges whether the radius is small, and when it is small, sets a specified threshold for circle determination and sets the threshold as a reference radius. 4. The method for recognizing a circle / arc according to claim 3, wherein the diameter is changed until the wire diameter is reached.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21396196A JPH09237339A (en) | 1995-12-26 | 1996-08-14 | Circle/circular arc recognizing method |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7-338339 | 1995-12-26 | ||
| JP33833995 | 1995-12-26 | ||
| JP21396196A JPH09237339A (en) | 1995-12-26 | 1996-08-14 | Circle/circular arc recognizing method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH09237339A true JPH09237339A (en) | 1997-09-09 |
Family
ID=26520075
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP21396196A Pending JPH09237339A (en) | 1995-12-26 | 1996-08-14 | Circle/circular arc recognizing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH09237339A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2003073380A1 (en) * | 2000-09-26 | 2003-09-04 | T-5 Corporation | Graphic drawing device and drawing method therefor |
| JP2007114828A (en) * | 2005-10-18 | 2007-05-10 | Yamaguchi Univ | Image processing apparatus and image processing method |
| JP2010067248A (en) * | 2008-08-09 | 2010-03-25 | Keyence Corp | Pattern model positioning method in image processing, image processing apparatus, image processing program, and computer readable recording medium |
| CN102722884A (en) * | 2012-05-22 | 2012-10-10 | 广东新会美达锦纶股份有限公司 | Method for processing appearance images of air-jet texturing filament pile loops |
| CN111027429A (en) * | 2019-11-29 | 2020-04-17 | 陈韬文 | A data preprocessing method and system for intelligent identification of electrical drawings |
-
1996
- 1996-08-14 JP JP21396196A patent/JPH09237339A/en active Pending
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2003073380A1 (en) * | 2000-09-26 | 2003-09-04 | T-5 Corporation | Graphic drawing device and drawing method therefor |
| JP2007114828A (en) * | 2005-10-18 | 2007-05-10 | Yamaguchi Univ | Image processing apparatus and image processing method |
| JP2010067248A (en) * | 2008-08-09 | 2010-03-25 | Keyence Corp | Pattern model positioning method in image processing, image processing apparatus, image processing program, and computer readable recording medium |
| CN102722884A (en) * | 2012-05-22 | 2012-10-10 | 广东新会美达锦纶股份有限公司 | Method for processing appearance images of air-jet texturing filament pile loops |
| CN111027429A (en) * | 2019-11-29 | 2020-04-17 | 陈韬文 | A data preprocessing method and system for intelligent identification of electrical drawings |
| CN111027429B (en) * | 2019-11-29 | 2024-01-12 | 广东工业大学 | A data preprocessing method and system for intelligent recognition of electrical drawings |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110147774B (en) | Table format picture layout analysis method and computer storage medium | |
| US7342572B2 (en) | System and method for transforming an ordinary computer monitor into a touch screen | |
| JP3943638B2 (en) | Automatic recognition method of drop word in document image without using OCR | |
| US20040136591A1 (en) | Method and device for recognition of a handwritten pattern | |
| CN114037966B (en) | High-precision map feature extraction method, device, medium and electronic equipment | |
| CN112396050B (en) | Image processing method, device and storage medium | |
| JP3471578B2 (en) | Line direction determining device, image tilt detecting device, and image tilt correcting device | |
| JP2007213377A (en) | Facial feature point detection method, apparatus, and program | |
| US5877774A (en) | Line symmetrical graphic arrangement device for creating line symmetrical graphics with respect to a symmetry axis | |
| JPH09237339A (en) | Circle/circular arc recognizing method | |
| US7095891B1 (en) | Pattern segmentation apparatus and pattern recognition apparatus | |
| CN110472538B (en) | Image recognition method and storage medium of electronic drawing | |
| CN112784175A (en) | Method, device and equipment for processing point of interest data and storage medium | |
| CN111179346B (en) | Feature extraction method and device of label image, positioning method and positioning equipment | |
| CN114359988B (en) | Method for stabilizing face frame coordinates | |
| US20190003827A1 (en) | Shape discrimination device, shape discrimination method and shape discrimination program | |
| JP2881080B2 (en) | Feature extraction method | |
| JP2000076378A (en) | Character recognizing method | |
| JPH025095A (en) | Character output system | |
| JP3095470B2 (en) | Character recognition device | |
| CN119672097B (en) | Method, device and electronic equipment for intelligent vectorization of building segmentation results | |
| JPH07287750A (en) | A method for recognizing road regions from line segment data representing a map | |
| JPH05128274A (en) | Graphic display device | |
| JPH09330377A (en) | Handwritten character recognition device and handwritten character recognition method | |
| JP3284768B2 (en) | How to recognize circles and arcs |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Effective date: 20040726 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040803 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20050426 |