JPS61131085A - Processing system for linear graphic discrimination - Google Patents

Processing system for linear graphic discrimination

Info

Publication number
JPS61131085A
JPS61131085A JP25382784A JP25382784A JPS61131085A JP S61131085 A JPS61131085 A JP S61131085A JP 25382784 A JP25382784 A JP 25382784A JP 25382784 A JP25382784 A JP 25382784A JP S61131085 A JPS61131085 A JP S61131085A
Authority
JP
Japan
Prior art keywords
point
line
straight line
component
distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP25382784A
Other languages
Japanese (ja)
Inventor
Junichi Koizumi
潤一 小泉
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP25382784A priority Critical patent/JPS61131085A/en
Publication of JPS61131085A publication Critical patent/JPS61131085A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PURPOSE:To discriminate a straight line, an arc, a position close to a bent point precisely by calculating the change of the distance di of a straight line between a picture element point (i) expressed with binary coding of a linear graphic and a straight line between a picture element point (iXm) and a picture element point (i+m) which are separated from a picture element point (i) by (m) picture elements. CONSTITUTION:A hand-written linear graphic is encoded into binary data by an A/D converter 3 and temporally stored in a picture memory 4. The binary picture data are read out from the memory 4, supplied to a thinning circuit 5 to form the shown dot string (i) (i=1-n), and then a straight component, an arc component and a position (a bent point) close to a bent point are respectively discriminated from the changing status of the distance di. The discriminated result is temporally stored in a vector memory 6, read out again and then supplied to a vector generating part 7 for generating linear graphic data.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は線図形識別処理方式、特に手書き等された線図
形から直線成分、円弧成分および屈曲点等を正確に識別
するよう構成した線図形識別処理方式に関するものであ
る。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a line figure identification processing method, particularly a line figure configured to accurately identify straight line components, circular arc components, bending points, etc. from handwritten line figures. This relates to an identification processing method.

(従来の技術と発明が解決しようとする問題点3手書き
等された線図形を走査して2値の値を有する点列を生成
し、当該生成した点列を忠実に近似する直線成分(直線
ベクトル)、円弧成分(円弧ベクトル)および屈曲点等
を正確に識別することが望まれている。
(Problem 3 to be solved by the prior art and the invention: A line figure drawn by hand or the like is scanned to generate a sequence of points having binary values, and a straight line component (straight line) that faithfully approximates the generated sequence of points is It is desired to accurately identify vectors), arc components (arc vectors), bending points, and the like.

従来、第5図図示の如き手書き等された線図形を夫々直
線成分と円弧成分とに識別するために、まず、第5図図
中“実線を用いて表したゆるやかな円弧状の線゛の如き
手書き等された線図形等を    ゛第6図図示“まる
印を用いて表した点列”の如き点列化を行い、当該点列
のi  (i=lないしn)番目の画素点1と、当該画
素点lに対して夫々画素数m個分離れた位置(以下注視
距離mという)の画素点(i−m)と画素点(i+m)
とを結んだ直線との間の距離”di°を夫々算出する。
Conventionally, in order to distinguish a hand-drawn line figure such as the one shown in FIG. 5 into a straight line component and a circular arc component, first, in FIG. A hand-drawn line figure, etc., is converted into a dot sequence such as the "dot sequence represented using circles" shown in Figure 6, and the i (i=l to n)th pixel point 1 of the dot sequence is and a pixel point (i-m) and a pixel point (i+m) at positions separated by m pixels from the pixel point l (hereinafter referred to as gaze distance m).
The distance "di°" between the two lines is calculated.

そして、算出した距離“di′と所定の闇値“T。Then, the calculated distance "di' and the predetermined darkness value "T.

”とを比較し、距離“di”が所定の闇値“TH′より
も小さい値となる当該画素点iを順次連結して得られる
部分画素列」を直線成分として識別し、距離“di”が
闇値“TM ”よりも大きい値となる当該画素点1を順
次連結して得られた部分画素列」を円弧成分として識別
していた。しかし、当該識別した円弧成分には、第2図
(イ)図示円弧を表す円弧成分の他に第3図(イ)図示
直線と直線との屈曲点を表すいわゆる屈曲点近傍が含ま
れている。このため、当該識別された円弧成分を真の円
弧成分と屈曲点近傍とに分離する必要がある。
", and the partial pixel sequence obtained by sequentially connecting the pixel points i whose distance "di" is smaller than the predetermined darkness value "TH'" is identified as a straight line component, and the distance "di" is The partial pixel sequence obtained by sequentially connecting the pixel points 1 whose value is larger than the darkness value "TM" was identified as a circular arc component. However, the identified circular arc component includes, in addition to the circular arc component representing the illustrated circular arc in Figure 2 (a), the vicinity of the so-called bending point in Figure 3 (a) representing the bending point between the illustrated straight lines. . Therefore, it is necessary to separate the identified circular arc component into a true circular arc component and a portion near the bending point.

そこで、当該識別した円弧成分の内、下記の2条件をと
もに満たすものを屈曲点近傍として真の円弧成分と区別
して識別していた。
Therefore, among the identified circular arc components, those satisfying both of the following two conditions are identified as being near the bending point to be distinguished from true circular arc components.

fil  上記闇値よりも大きい距離“di”をもつ円
弧成分を構成するとみられる点列の範囲が注視距離mよ
りも小さい範囲に限られていること。
fil The range of the point sequence that is considered to constitute a circular arc component having a distance "di" larger than the darkness value is limited to a range smaller than the gaze distance m.

(2)  円弧成分の両端に直線成分が連結されている
こと。
(2) A straight line component is connected to both ends of the arc component.

上記2条件をともに満足するいわば円弧成分は屈曲点近
傍によって連結されたいわば直線部分における屈曲点近
傍であるとして真の円弧成分から区別されると共に、当
該識別された屈曲点近傍の中点が屈曲点として識別され
、該屈曲点の両側にある部分が夫々の両端に位置する直
線成分に統合されるようにしていた。しかし、実際には
、上記(1)の条件を満たす場合であっても屈曲点が存
在することがある。また、対象とする円弧成分の両端に
直線が接続されていることもあり、このような    
       1場合には屈曲点とみずに円弧とみなす
べきである。
A so-called circular arc component that satisfies both of the above two conditions is distinguished from a true circular arc component as being near a bending point in a straight line section connected by the vicinity of a bending point, and the midpoint near the identified bending point is a bending point. It was identified as a point, and portions on both sides of the bend point were integrated into straight line components located at each end. However, in reality, even if the above condition (1) is satisfied, a bending point may exist. In addition, straight lines may be connected to both ends of the target arc component, so such
In one case, it should be regarded as an arc, not as an inflection point.

このため、円弧成分と屈曲点近傍とを正確に識別し難い
という問題点があった。
For this reason, there was a problem in that it was difficult to accurately distinguish between the arc component and the vicinity of the bending point.

〔問題点を解決するための手段〕          
         \本発明は、前記問題点を解決する
ために、手書き等された線図形を2値化した画素点i 
 (i=1ないしn)に変換し、当該画素点1と、当該
画素点iに対して夫々画素数m個分離れた位置における
画素点(i−m)と画素点(i+m)との間を結ぶ直線
との間の距離“di”を夫々算出し、該算出した距離“
d4 ′が所定の閾値“Tや”よりも大きい画素点iを
連結した部分画素列jであって、かつ当該部分画素列」
の尖鋭度が所定の闇値よりも大きい場合に当該部分画素
列jのほぼ中点を屈曲点として識別する構成を採用する
ことにより、手書き等された線図形中の円弧成分と屈曲
点近傍とを正確に識別するようにしている。そのため、
本発明の線図形識別処理方式は、線図形を2値化した画
像データを用いて当該線図形の直線成分、円弧成分およ
び屈曲点近傍を識別する線図形識別処理方式において、
前記線図形を2値化した画像データに変換する画像デー
タ変換部と、該画像データ変換部によって変換した画像
データについて画素点iと、当該画素点iに対して夫々
画素数m個分離れた位置における画素点(i−m)と画
素点(i+m)との間を結ぶ直線との間の距離diを夫
々算出して直線成分であるか、あるいは屈曲点近傍を含
む形の円弧成分であるか否かを識別する直線・円弧識別
部と、該直線・円弧識別部によって屈曲点近傍を含む形
の円弧成分であると識別されたものに対して夫々前記距
離d4の画素点iの変化に対する変化状態を表す尖度を
算出する尖度算出部と、該尖度算出部によって算出した
尖度に基づいて円弧成分と屈曲点とを識別するよう構成
したことを特徴としている。
[Means for solving problems]
\In order to solve the above-mentioned problems, the present invention provides a pixel point i obtained by binarizing a handwritten line figure.
(i=1 to n), and between the pixel point 1 and the pixel points (i-m) and (i+m) at positions separated by m pixels from the pixel point i, respectively. Calculate the distance "di" between the straight line connecting the "
d4' is a partial pixel sequence j that connects pixel points i larger than a predetermined threshold value "T", and the partial pixel sequence is
By adopting a configuration that identifies the approximate midpoint of the partial pixel row j as a bending point when the sharpness of the subpixel j is larger than a predetermined darkness value, the arc component in a handwritten line figure and the vicinity of the bending point can be distinguished. I try to identify it accurately. Therefore,
The line figure identification processing method of the present invention uses image data obtained by converting a line figure into binary data to identify a straight line component, an arc component, and a vicinity of a bending point of the line figure.
an image data conversion unit that converts the line figure into binary image data; and a pixel point i of the image data converted by the image data conversion unit, and a number m of pixels separated from the pixel point i, respectively. The distance di between the pixel point (i-m) and the straight line connecting the pixel point (i+m) at each position is calculated to determine whether it is a straight line component or a circular arc component that includes the vicinity of the bending point. A straight line/arc identification unit that identifies whether the line/arc identification unit is a circular arc component of a shape that includes the vicinity of the bending point, and a change in the pixel point i at the distance d4 for each of the arc components identified by the straight line/arc identification unit as including the vicinity of the bending point. The present invention is characterized in that it is configured to include a kurtosis calculation unit that calculates kurtosis representing a state of change, and to identify circular arc components and bending points based on the kurtosis calculated by the kurtosis calculation unit.

〔実施例〕〔Example〕

以下図面を参照しつつ本発明の実施例を詳細に説明する
。。
Embodiments of the present invention will be described in detail below with reference to the drawings. .

第1図は本発明の1実施例構成図、第2図および第3図
は第1図図示本発明の1実施例構成の動作を説明する動
作説明図、第4図は第1図図示本発明の1実施例構成の
動作を説明するフローチャートを示す。
FIG. 1 is a configuration diagram of one embodiment of the present invention, FIGS. 2 and 3 are operation explanatory diagrams explaining the operation of the configuration of one embodiment of the present invention illustrated in FIG. 1, and FIG. 4 is a diagram of the configuration illustrated in FIG. 1. A flowchart illustrating the operation of one embodiment of the invention is shown.

図中、■はベクトル抽出部、2は入力部、3はA/D変
換部、4は画像メモリ、5は細線化回路、6はベクトル
・メモリ、7はベクトル発生部、8はグラフィック・デ
ィスプレイ、9は外部記憶装置、10はCPUを表す。
In the figure, ■ is a vector extraction section, 2 is an input section, 3 is an A/D conversion section, 4 is an image memory, 5 is a thinning circuit, 6 is a vector memory, 7 is a vector generation section, and 8 is a graphic display. , 9 represents an external storage device, and 10 represents a CPU.

第1図において、図中ベクトル抽出部lは本発明に係わ
る直線成分、円弧成分および屈曲点近傍(屈曲点)を夫
々識別するためのものである。
In FIG. 1, a vector extraction unit 1 is used to identify a straight line component, a circular arc component, and the vicinity of a bending point (bending point) according to the present invention.

図中入力部2は手書き等された線図形を走査して電気信
号の形に変換し、A/D変換部3に供給するためのもの
である。該A/D変換部3は供給されたアナログの形の
信号を2値の画像データに夫々に変換して画像メモリ4
に格納する。該画像メモリ4に格納された画像データは
、読み出されて細線化回路5に供給され、既述した第6
UjJ図示の如き点列i  (i=1ないしn)の形に
生成される。
The input unit 2 in the figure is for scanning a handwritten line figure, converting it into an electrical signal, and supplying it to an A/D converter 3. The A/D converter 3 converts the supplied analog signals into binary image data and stores them in the image memory 4.
Store in. The image data stored in the image memory 4 is read out and supplied to the thinning circuit 5, and then
UjJ is generated in the form of a point sequence i (i=1 to n) as shown in the figure.

該生成された点列iはベクトル抽出部1に供給され、後
述する如くして直線成分、円弧成分および屈曲点近傍(
屈曲点)が夫々識別される。該識別された結果はベクト
ル・メモリ6に記憶される。
The generated point sequence i is supplied to the vector extraction unit 1, and the straight line component, circular arc component, and the vicinity of the bending point (
(inflection points) are respectively identified. The identified results are stored in vector memory 6.

咳ヘクトル・メモリ6から読み出され、通知された前記
直線成分、円弧成分および屈曲点近傍(屈曲点)に関す
る情報に基づいて、ベクトル発生部7は夫々直線ベクト
ル、円弧ベクトル、屈曲点等を生成して手書き等された
線図形に対応する識別された線図形を生成する。該生成
された線図形はグラフィック・ディスプレイ8上に表示
される。
Based on the information regarding the straight line component, circular arc component, and the vicinity of the bending point (bending point) read out from the cough vector memory 6 and notified, the vector generation unit 7 generates a straight line vector, a circular arc vector, a bending point, etc., respectively. Then, an identified line figure corresponding to the handwritten line figure is generated. The generated line figure is displayed on the graphic display 8.

また、識別された直線成分、円弧成分および屈曲点近傍
(屈曲点)に関する情報は、随時外部記憶装置9に格納
される。図中cputoは以上説明した各種制御および
処理等を実行させるためのものである。以下第2図およ
び第3図を用いて円弧と屈曲点近傍とを識別する本発明
の詳細な説明した後、第4図を用いて第1図図示構成の
動作を詳細に説明する。
Further, information regarding the identified straight line component, circular arc component, and the vicinity of the bending point (bending point) is stored in the external storage device 9 as needed. In the figure, cputo is for executing the various controls and processes described above. Hereinafter, the present invention for identifying circular arcs and the vicinity of bending points will be explained in detail using FIGS. 2 and 3, and then the operation of the configuration shown in FIG. 1 will be explained in detail using FIG.

第2図(ロ)は第2図(イ)図示の如き円弧状の線図形
に対して既述した距離” di  ”を夫々X    
          l出して表示したいわゆる′d波
形”を示す。図中横軸は点列を示し、縦軸は距離“di
”を示し、図中点線は既述した闇値“TII”を示す。
Figure 2 (b) shows the previously described distance "di" for the arc-shaped line figure as shown in Figure 2 (a), respectively.
This shows the so-called 'd waveform' which is displayed with
”, and the dotted line in the figure indicates the darkness value “TII” described above.

第2図(ロ)図中距離“di°はデジタル・ノイズ等の
ために多少変動しているが、全体としてほぼ一定値とな
り、所定の闇値“T8 ”よりも大きいため、円弧成分
として識別することができる。
Although the middle distance "di°" in Fig. 2 (b) fluctuates somewhat due to digital noise, etc., it is a nearly constant value as a whole and is larger than the predetermined darkness value "T8", so it is identified as an arc component. can do.

第3図(ロ)は第3図(イ)図示の如き屈曲点Pが直線
に結合された線図形に対して、既述した距離″di′を
夫々算出して表示した“d波形”を示す0図中横軸は点
列を示し、縦軸は距離“di′を示す。
Figure 3 (b) shows the "d waveform" which is calculated and displayed for the line figure in which the bending points P are connected to straight lines as shown in Figure 3 (a). In the diagram shown in FIG. 0, the horizontal axis shows the point sequence, and the vertical axis shows the distance "di'.

第3図(ロ)図中距離“di”は第2図(ロ)図示の場
合と異なり極大値をもっているため、屈曲点として識別
し得ることが判る。そこで、本発明では、第2図(ロ)
図示d波形と第3図(ロ)図示d波形との差を明確にし
て、円弧成分と屈曲点近傍とを識別するために、当該屈
曲点近傍のd波形のほぼ中央付近でいわゆる尖度を以下
の如く手順を用いて算出する。
It can be seen that since the distance "di" in FIG. 3(b) has a maximum value, unlike the case shown in FIG. 2(b), it can be identified as an inflection point. Therefore, in the present invention, as shown in FIG.
In order to clarify the difference between the d waveform shown in the figure and the d waveform shown in FIG. Calculate using the following procedure.

まず、尖度を算出するために、便宜的にd波形を度数分
布グラフにみたて、構成点数nを階級数と、距離“d4
 ”を度数とみなすと、測定数 N=Σdi・・・・・
・・・・・・(11N  1″ と夫々表される。そして、スケールの違いを取り除(た
めに、標準偏差の4乗で割ると、尖度が下式の如くして
求まる。
First, in order to calculate kurtosis, the d waveform is conveniently viewed as a frequency distribution graph, the number of constituent points n is the number of classes, and the distance “d4
” is considered as a frequency, the number of measurements is N=Σdi...
(respectively expressed as 11N 1'') Then, by removing the difference in scale (and dividing by the fourth power of the standard deviation), the kurtosis can be found as shown in the following formula.

尖度 α4=1m−・・・・・・・・・・・・(4〉こ
こで、Sは標準偏差を表し、下式で表される。
Kurtosis α4=1m−・・・・・・・・・・(4〉Here, S represents the standard deviation and is expressed by the following formula.

s−(1/NΣ(i−H)t、1. )l/11・・・
・(5)以上の如き式illないし式(5)を用いて尖
度“α。
s-(1/NΣ(i-H)t, 1.)l/11...
・(5) Kurtosis “α” is calculated using the above formula ill or formula (5).

”を算出すると、第2図図示の場合α、=1.92、第
3図図示の場合α、=2.61となる。従って、闇値を
例えば2.5と設定しておけば、第2図図示円弧の場合
の尖度“α4 ”と第3図図示屈曲点近傍の場合の尖度
“α4 ゛とを容易に識別することができる。
” is calculated, α, = 1.92 in the case shown in Figure 2, and α, = 2.61 in the case shown in Figure 3. Therefore, if the darkness value is set to, for example, 2.5, The kurtosis "α4" in the case of the circular arc shown in FIG. 2 and the kurtosis "α4" in the case of the vicinity of the bending point shown in FIG. 3 can be easily distinguished.

第4図は第1図図示構成の動作を説明するフローチャー
トを示す。
FIG. 4 shows a flowchart for explaining the operation of the configuration shown in FIG.

図中■は距離“di”を算出する状態を示す。In the figure, ■ indicates a state in which the distance "di" is calculated.

これは、第5図および第6図を用いて既述した如(、距
離“di”を算出することを意味する。
This means that the distance "di" is calculated as described above using FIGS. 5 and 6.

図中■は距離“di“が所定の闇値“T、”よりも大き
いか否かを判別する状態を示す。YESの場合には状態
■を実行する。NOの場合には状態■を実行する。
In the figure, ■ indicates a state in which it is determined whether the distance "di" is larger than a predetermined darkness value "T,". In the case of YES, the state (■) is executed. If NO, execute state ①.

図中■は画素点“1“を円弧画素列成分とする状態を示
す。これは、状態■で距離“dl ”が所定の闇値“T
ll ”よりも大きいと判別された画素点“ioを夫々
円弧画素列成分とすることを意味する。
In the figure, ■ indicates a state in which pixel point "1" is an arc pixel column component. This means that in state ■, the distance “dl” is the predetermined darkness value “T”.
This means that each pixel point "io" determined to be larger than "ll" is made into an arc pixel column component.

図中■は画素点“i”を直線画素列成分とする状態を示
す。これは、状態■で距離゛di”が所定の闇値“Tイ
”よりも小さいと判別された画素点゛1′を夫々直線画
素列成分とすることを意味する。
In the figure, ■ indicates a state in which pixel point "i" is a linear pixel column component. This means that the pixel points ``1'' whose distance ``di'' was determined to be smaller than the predetermined darkness value ``Ti'' in state ① are respectively treated as linear pixel column components.

図中■は円弧画素列と直線画素列とに分離する状態を示
す。これは、状態■および状態■で夫々識別された円弧
画素列成分および直線画素列成分を円弧画素列および直
線画素列の形に夫々分離することを意味する。
In the figure, ■ indicates a state where the pixel array is separated into a circular arc pixel row and a straight pixel row. This means that the arc pixel column component and the straight pixel column component identified in state (1) and state (2), respectively, are separated into a circular pixel column and a straight pixel column, respectively.

図中■は状態■で分離した夫々の画素列jが円弧か否か
を識別する状態を示す。YESの場合には状態■を実行
する。NOの場合には状態■を実行する。
In the figure, ■ indicates a state in which it is determined whether each separated pixel column j is an arc or not. In the case of YES, the state (■) is executed. If NO, execute state ①.

図中■は式(1)ないし式(5)を用いて大震“α、”
を算出する状態を示す。
■ in the figure indicates the large earthquake “α,” using equations (1) to (5).
Indicates the state of calculating.

図中■は状態■で画素列Jが円弧でないと識別されたの
で、直線であると識別する状態を示す。
In the figure, ■ indicates a state in which the pixel row J is determined to be a straight line because it is determined that it is not an arc in the state ■.

図中■は状態■で算出された大震“α4 ”が所定の閾
値“TM2 ”よりも小さいか否かを識別する状態を示
す。YESの場合には状B[株]を実行する。NOの場
合には状HOを実行する。
In the figure, ■ indicates a state in which it is determined whether the large earthquake "α4" calculated in state (■) is smaller than a predetermined threshold value "TM2". If YES, execute B [stock]. If NO, a state HO is executed.

図中[相]は状態■で大震1α4 ”が所定の闇値“T
M2 ”よりも小さいと判別されたので、円弧成分と識
別する状態を示す。
In the figure, [phase] is state ■, and large earthquake 1α4” is the predetermined dark value “T”.
Since it is determined to be smaller than M2'', a state where it is identified as a circular arc component is shown.

図中■は状態■で大震“α、“が所定の閾値“    
        1”rHt ”よりも大きいと判別さ
れたので、当該屈曲点近傍を含む円弧成分の中点を当該
屈曲点として前後の直線成分と統合する状態を示す。
In the figure, ■ is in state ■, where the large earthquake is “α,” and “is the predetermined threshold.”
Since it is determined that the arc component is larger than 1"rHt," the middle point of the circular arc component including the vicinity of the bending point is set as the bending point and integrated with the preceding and succeeding straight line components.

以上の如き手順によって、線図形を2値化した    
        \画像データから算出した距離“di
′と、当該算出した距g” a、  “から演算して求
めた大震“α4 “とを用いて、直線成分、円弧成分お
よび屈曲点を夫々確実に識別することができる。
The line figure was binarized by the above procedure.
\Distance “di” calculated from image data
' and the large earthquake "α4" calculated from the calculated distances g"a, ", it is possible to reliably identify the straight line component, arc component, and bending point.

〔発明の効果〕〔Effect of the invention〕

以上説明した如く、本発明によれば、手書き等された線
図形を2値化した画素点i  (i−1ないしn)に変
換し、当該画素点iと、当該画素点iに対して夫々画素
数m個分離れた位置における画素点(i−m)と画素点
(i+m)とを結ぶ直線との間の距離“di′を夫々算
出し、該算出した距離“di”が所定の闇値“TM”よ
りも大きい場合であって、かつ当該距離′di”の尖鋭
度が大きい前記画素点lの位置を屈曲点近傍として識別
する構成を採用しているため、手書き等された線図形中
の直線成分、円弧成分および屈曲点近傍を正確に識別す
ることができる。
As explained above, according to the present invention, a line figure drawn by hand or the like is converted into a binarized pixel point i (i-1 to n), and The distance "di" between the straight line connecting the pixel point (i-m) and the pixel point (i+m) at positions separated by m pixels is calculated, and the calculated distance "di" Since a configuration is adopted in which the position of the pixel point l where the distance 'di' is larger than the value 'TM' and the sharpness of the distance 'di' is large is identified as being in the vicinity of the bending point, the line figure drawn by hand, etc. It is possible to accurately identify straight line components, circular arc components, and the vicinity of bending points.

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

第1図は本発明の1実施例構成図、第2図および第3図
は第1図図示本発明の1実施例構成の動作を説明する動
作説明図、第4図は第1図図示本発明の1実施例構成の
動作を説明するフローチャート、第5図および第6図は
従来の線図形識別処理方式を説明するための説明図を示
す。 図中、1はベクトル抽出部、2は人力部、3はA/D変
換部、4は画像メモリ、5は細線化回路、6はベクトル
・メモリ、7はヘクトル発生部、8はグラフインク・デ
ィスプレイ、9は外部記(を装置、10はcpuを表す
FIG. 1 is a configuration diagram of one embodiment of the present invention, FIGS. 2 and 3 are operation explanatory diagrams explaining the operation of the configuration of one embodiment of the present invention illustrated in FIG. 1, and FIG. 4 is a diagram of the configuration illustrated in FIG. 1. A flowchart for explaining the operation of one embodiment of the invention, and FIGS. 5 and 6 are explanatory diagrams for explaining the conventional line figure identification processing method. In the figure, 1 is a vector extraction section, 2 is a human power section, 3 is an A/D conversion section, 4 is an image memory, 5 is a thinning circuit, 6 is a vector memory, 7 is a hector generation section, and 8 is a Graphink. 9 represents the display, 9 represents the external memory device, and 10 represents the CPU.

Claims (1)

【特許請求の範囲】[Claims] 線図形を2値化した画像データを用いて当該線図形の直
線成分、円弧成分および屈曲点近傍を識別する線図形識
別処理方式において、前記線図形を2値化した画像デー
タに変換する画像データ変換部と、該画像データ変換部
によって変換した画像データについて画素点iと、当該
画素点iに対して夫々画素数m個分離れた位置における
画素点(i−m)と画素点(i+m)との間を結ぶ直線
との間の距離d_iを夫々算出して直線成分であるか、
あるいは屈曲点近傍を含む形の円弧成分であるか否かを
識別する直線・円弧識別部と、該直線・円弧識別部によ
って屈曲点近傍を含む形の円弧成分であると識別された
ものに対して夫々前記距離d_iの画素点iの変化に対
する変化状態を表す尖度を算出する尖度算出部と、該尖
度算出部によって算出した尖度に基づいて円弧成分と屈
曲点とを識別するよう構成したことを特徴とする線図形
識別処理方式。
In a line figure identification processing method that uses binarized image data of a line figure to identify straight line components, circular arc components, and the vicinity of bending points of the line figure, image data for converting the line figure into binarized image data. A conversion unit, and a pixel point i of the image data converted by the image data conversion unit, and a pixel point (i-m) and a pixel point (i+m) at positions separated by m pixels from the pixel point i, respectively. Calculate the distance d_i from the straight line connecting the
Or a straight line/arc identification unit that identifies whether or not it is an arc component of a shape that includes the vicinity of a bending point, and a line/arc identification unit that identifies whether or not it is a circular arc component of a shape that includes the vicinity of a bending point. a kurtosis calculation unit that calculates a kurtosis representing a state of change with respect to a change in the pixel point i of the distance d_i, respectively; and a kurtosis calculation unit that identifies an arc component and a bending point based on the kurtosis calculated by the kurtosis calculation unit. A line figure identification processing method characterized by the following configuration.
JP25382784A 1984-11-29 1984-11-29 Processing system for linear graphic discrimination Pending JPS61131085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25382784A JPS61131085A (en) 1984-11-29 1984-11-29 Processing system for linear graphic discrimination

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25382784A JPS61131085A (en) 1984-11-29 1984-11-29 Processing system for linear graphic discrimination

Publications (1)

Publication Number Publication Date
JPS61131085A true JPS61131085A (en) 1986-06-18

Family

ID=17256682

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25382784A Pending JPS61131085A (en) 1984-11-29 1984-11-29 Processing system for linear graphic discrimination

Country Status (1)

Country Link
JP (1) JPS61131085A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS633210A (en) * 1986-06-23 1988-01-08 Shimizu Constr Co Ltd Automatic measuring instrument for cracking
JPH01297775A (en) * 1988-05-26 1989-11-30 Fujitsu Ltd Circle and circular arc extracting method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS633210A (en) * 1986-06-23 1988-01-08 Shimizu Constr Co Ltd Automatic measuring instrument for cracking
JPH01297775A (en) * 1988-05-26 1989-11-30 Fujitsu Ltd Circle and circular arc extracting method

Similar Documents

Publication Publication Date Title
CN108229490B (en) Key point detection method, neural network training method, device and electronic equipment
US8340433B2 (en) Image processing apparatus, electronic medium, and image processing method
JPH0351968A (en) Linearization decision system
JP2007325656A (en) Image processing method and image processing device
CN110796130A (en) Method, device and computer storage medium for character recognition
JP2002099911A (en) Raster image vector conversion method based on computerized automation
JPS61131085A (en) Processing system for linear graphic discrimination
US11908144B2 (en) Image processing apparatus, method, and medium using degrees of reliability and similarity in motion vectors
CN115359502A (en) Image processing method, device, equipment and storage medium
US20130064471A1 (en) Distance map-based warping of binary images
CN111670458B (en) Reading system
JP3164835B2 (en) Pre-processing method and post-processing method in human image recognition
JP4790031B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2984267B1 (en) Object processing method
CN111402291B (en) Method and apparatus for tracking a target
CN113191368B (en) Method and device for matching markers
JP3674084B2 (en) Motion vector estimation method and image processing apparatus
JP2005173940A (en) Image processing method, image processor and computer program
JPH06100448B2 (en) Image pattern matching method and apparatus
JPH0362269A (en) Method and device for approximating line image
CN115880338A (en) Labeling method, labeling device and computer-readable storage medium
JPH06251154A (en) Pattern matching processor for image data
JP2023026293A (en) Information processor, information processing system, information processing method, and program
JP2598005B2 (en) Method for extracting closed areas in drawings
JP2022041468A (en) Identification method, information processing system, method, and program