JPH0312345B2 - - Google Patents
Info
- Publication number
- JPH0312345B2 JPH0312345B2 JP59276329A JP27632984A JPH0312345B2 JP H0312345 B2 JPH0312345 B2 JP H0312345B2 JP 59276329 A JP59276329 A JP 59276329A JP 27632984 A JP27632984 A JP 27632984A JP H0312345 B2 JPH0312345 B2 JP H0312345B2
- Authority
- JP
- Japan
- Prior art keywords
- reference point
- point mark
- color
- recognized
- memory
- 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)
- Image Input (AREA)
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、図形入力処理装置における基準点座
標の自動検出装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an automatic detection device for reference point coordinates in a graphic input processing device.
上記処理技術の長足な進歩とともに、自動設
計、自動製作(CAD,CAM)が非常を勢いで普
及しつつある。 Along with the rapid progress of the processing technology mentioned above, automatic design and automatic manufacturing (CAD, CAM) are rapidly becoming popular.
この自動設計、自動製作の体系の中で、手書き
の図面を自動的に読取り、認識し、後の自動製図
等のために処理する技術は、重要な地位を占める
技術の1つである。 In this system of automatic design and automatic production, technology that automatically reads and recognizes handwritten drawings and processes them for later automatic drafting is one of the technologies that occupies an important position.
手書き図面を自動的に読取り、認識処理する際
に、認識対象範囲を指定し、図面内の各格子の基
準位置となるのが基準点であつて、本発明はその
基準点を自動的に検出する方法に係わるものであ
る。 When a handwritten drawing is automatically read and recognized, a reference point is used to specify the recognition target range and serve as a reference position for each grid in the drawing, and the present invention automatically detects the reference point. It concerns the method of doing so.
[従来の技術]
第4図は、読取り、認識対象図面1であつて、
“+”記号で示したのは基準点マーク11であつ
て、〓で示したのは認識対象範囲12を示す。[Prior Art] FIG. 4 shows a drawing 1 to be read and recognized.
The symbol “+” indicates the reference point mark 11, and the symbol “ⓓ” indicates the recognition target range 12.
従来は、第5図に示すように、認識対象図面1
を図形認識処理装置の図面読取装置2にかけ、読
取つた信号を2値化した画像データを原データ・
メモリ3に格納し、この原データ・メモリの内容
をデイスプレイ上に表示し、人間が基準点マーク
4の中心をライトペンにてタツチ、又はカーソル
により指示することによつて基準点座標を入力し
ていた。 Conventionally, as shown in FIG.
is applied to the drawing reading device 2 of the figure recognition processing device, and the image data obtained by converting the read signal into binary data is converted into original data.
The content of this original data memory is displayed on the display, and a person inputs the coordinates of the reference point by touching the center of the reference point mark 4 with a light pen or pointing with a cursor. was.
[発明が解決しようとする問題点]
上記に説明したような従来の方法によれば、人
間の手間と時間がかかる上に、図面を読取つてか
ら認識処理終了までの間に、人手が介入するため
め、自動処理化の流れを止める要素がでてくると
いう問題点があつた。従つて、本発明は基準点座
標を経済的な構成で、効率よく自動検出する装置
を提供しようとするものである。[Problems to be solved by the invention] The conventional methods described above require human effort and time, and require human intervention from the time the drawing is read until the end of the recognition process. However, there was a problem in that an element appeared that stopped the flow of automated processing. Therefore, it is an object of the present invention to provide an apparatus for efficiently and automatically detecting reference point coordinates with an economical configuration.
[問題点を解決するための手段]
上記問題点は、認識対象図面を読み取り、所定
の基準点マークを識別する場合に、該認識対象図
面は、認識対象図形を第1の色で表し、該基準点
マークを第1の色と異なる第2の色で表す図面と
し、図面読取装置と、色分離回路と、原データメ
モリと、基準点マーク識別手段と、基準点マーク
メモリと基準点座標自動演算回路とを設け、該図
面読取装置は、該認識対象図面を光学的に走査し
て読み取り、読取信号を色分離回路に入力し、該
色分離回路は、該読取信号を所定の閾値によつて
第1及び第2の色の各読取信号に分離して各対応
するデイジタル信号を生成し、該原データメモリ
は第1の色に対応する該デイジタル信号を受け取
つて記憶し、該基準点マーク識別手段は、第2の
色に対応する該デイジタル信号を受け取り、該デ
イジタル信号から該基準点マークの外延の長方形
の走査開始位置を識別して原点位置とし、該長方
形の大きさを識別して、該基準点マークごとの、
該原点位置の座標値と該大きさを表すX方向及び
Y方向の長さとを、基準点マークメモリに格納
し、該基準点座標自動演算回路は、該基準点マー
クメモリに保持する情報から、該長方形の中心位
置の座標値を算出して基準点位置として出力する
ように構成されている基準点座標自動検出装置に
よつて解決される。[Means for solving the problem] The above problem is that when reading a drawing to be recognized and identifying a predetermined reference point mark, the drawing to be recognized represents the figure to be recognized in the first color, A drawing in which the reference point mark is expressed in a second color different from the first color, a drawing reading device, a color separation circuit, an original data memory, a reference point mark identification means, a reference point mark memory, and a reference point coordinate automatic The drawing reading device optically scans and reads the drawing to be recognized, inputs the read signal to a color separation circuit, and the color separation circuit processes the read signal according to a predetermined threshold value. the read signal of the first color and the second color to generate respective corresponding digital signals; the original data memory receives and stores the digital signal corresponding to the first color; and the original data memory receives and stores the digital signal corresponding to the first color; The identification means receives the digital signal corresponding to the second color, identifies from the digital signal a scanning start position of the rectangle of the outer extension of the reference point mark as the origin position, and identifies the size of the rectangle. , for each reference point mark,
The coordinate value of the origin position and the length in the X direction and the Y direction representing the size are stored in a reference point mark memory, and the reference point coordinate automatic calculation circuit calculates, from the information held in the reference point mark memory, This problem is solved by an automatic reference point coordinate detection device configured to calculate the coordinate value of the center position of the rectangle and output it as the reference point position.
即ち、認識対象図面において、認識対象図形
と、基準点マークとを図面読取装置が区別して抽
出できる方法によつて描く、例えば、認識対象図
形を第1の色(例えば黒色)で描き、基準点マー
クを第2の色(赤色)で描き、図面読取装置にお
いて色分離によつて、画像データを分離して、別
個のメモリに格納する。
That is, in the drawing to be recognized, the figure to be recognized and the reference point mark are drawn using a method that allows the drawing reading device to distinguish and extract the figure to be recognized. For example, the figure to be recognized is drawn in a first color (for example, black), and the reference point mark is The mark is drawn in a second color (red) and the image data is separated by color separation in the drawing reading device and stored in a separate memory.
基準点マークを格納するメモリには、基準点マ
ーク領域のみのデータを格納し、その容量を最小
限にする。 The memory for storing the reference point mark stores data only for the reference point mark area to minimize its capacity.
格納された基準点マークの画像データから、演
算によつて、自動的に基準点マークの中心座標を
検出する。 The center coordinates of the reference point mark are automatically detected by calculation from the stored image data of the reference point mark.
[実施例]
以下第1図〜第3図に示す実施例により、本発
明の要旨を具体的に説明する。[Example] The gist of the present invention will be specifically explained below with reference to Examples shown in FIGS. 1 to 3.
第1図は、本発明の一実施例の構成を示すブロ
ツク図である。第2図は、本発明の一実施例の認
識対象図面である。 FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. FIG. 2 is a drawing to be recognized according to an embodiment of the present invention.
認識対象図面5は、第2図に示すように、認識
対象図形52と、基準点マーク51とが異なる色
で描かれている。 In the recognition target drawing 5, as shown in FIG. 2, the recognition target figure 52 and the reference point mark 51 are drawn in different colors.
認識対象図形52は、通常どおり黒色で描かれ
る。基準点マーク51は、認識対象図形52と異
なる色、例えば赤色で描かれ、その形状は、本実
施例では“田”形としてある。 The recognition target figure 52 is drawn in black as usual. The reference point mark 51 is drawn in a color different from that of the recognition target figure 52, for example, red, and its shape is a "field" shape in this embodiment.
認識対象図面5は、図面読取装置2にかけ、読
取つた信号を2値化した画像データを、まず色分
離回路6に入れて色分離を行い、認識対象図形画
像データは、原データ・メモリ3に格納し、基準
点マーク領域画像データは、下記の処理を行つて
基準点マーク・メモリ8に格納し、基準点座標を
求める。第3図は、基準点マーク・メモリ8に格
納すべき基準点の画像と座標データを示す。 The drawing to be recognized 5 is processed by the drawing reading device 2, and the image data obtained by converting the read signal into a binary value is first input into the color separation circuit 6 for color separation, and the figure image data to be recognized is transferred to the original data memory 3. The reference point mark area image data is stored in the reference point mark memory 8 through the following processing, and the reference point coordinates are determined. FIG. 3 shows the image and coordinate data of the reference point to be stored in the reference point mark memory 8.
基準点マーク検出回路7によつて基準点マー
クの原点を検出し、その座標値(x1,y1)を求
める。 The origin of the reference point mark is detected by the reference point mark detection circuit 7, and its coordinate values (x 1 , y 1 ) are determined.
基準点マーク大きさ回路9によつて、原点座
標(x1,y1)に対するX方向およびY方向の大
きさxa,yaを決め、この大きさの領域データ
を基準点マーク・メモリ8に格納する。このメ
モリは、基準点の数(通常は4個)だけ用意す
る。 The reference point mark size circuit 9 determines the sizes xa and ya in the X and Y directions with respect to the origin coordinates (x 1 , y 1 ), and stores area data of these sizes in the reference point mark memory 8. do. This memory is prepared for the number of reference points (usually four).
基準点マーク・メモリ8に格納された基準点
マーク画像データから、基準点原点に対する基
準点中心座標(x2,y2)を求める。 From the reference point mark image data stored in the reference point mark memory 8, the reference point center coordinates (x 2 , y 2 ) with respect to the reference point origin are determined.
で求めた基準点マーク原点座標(x1,y1)
と、で求めた基準点中心座標(x2,y2)とか
ら、基準点座標自動演算回路10によつて、次
の式で基準点座標(x,y)を求める。 Reference point mark origin coordinates determined by (x 1 , y 1 )
From the reference point center coordinates (x 2 , y 2 ) determined by and, the reference point coordinate automatic calculation circuit 10 calculates the reference point coordinates (x, y) using the following equation.
X=x1+x2;y=y1+y2
以上のようにして、基準点マーク・メモリ8の
容量を、基準点マークの大きさによる最小限の量
ですませて、基準点座標(x,y)を自動的に求
めることが経済的な構成で、効率よく行なわれ
る。 X = x 1 + x 2 ; y = y 1 + y 2 In this manner, the capacity of the reference point mark memory 8 is reduced to the minimum amount depending on the size of the reference point mark, and the reference point coordinates (x, The automatic determination of y) is an economical arrangement and can be performed efficiently.
[発明の効果]
以上説明のように本発明によつて、基準点座標
を自動的に検出することができ、自動化の流れを
中断することなく円滑に処理することができるよ
うになり、その実用上の効果は大きいものがあ
る。[Effects of the Invention] As explained above, according to the present invention, the coordinates of the reference point can be automatically detected, and the automation process can be smoothly processed without interrupting the process, and its practical use can be improved. The above effects are significant.
第1図は本発明の一実施例の構成を示すブロツ
ク図、第2図は本発明の一実施例の認識対象図
面、第3図は本発明の一実施例の基準点マーク座
標を示す図、第4図は従来例の認識対象図面、第
5図は従来例の構成を示すブロツク図である。
図面において、1は認識対象図面、2は図面読
取装置、3は原データ・メモリ、4は基準点マー
ク表示例、5は認識対象図面、6は色分離回路、
7は基準点マーク原点検出回路、8は基準点マー
ク・メモリ、9は基準点マーク大きさ回路、10
は基準点座標自動演算回路、11,51は基準点
マーク、12,52は認識対象範囲、をそれぞれ
示す。
Fig. 1 is a block diagram showing the configuration of an embodiment of the present invention, Fig. 2 is a recognition target drawing of an embodiment of the invention, and Fig. 3 is a diagram showing reference point mark coordinates of an embodiment of the invention. , FIG. 4 is a recognition target drawing of a conventional example, and FIG. 5 is a block diagram showing the configuration of the conventional example. In the drawings, 1 is a drawing to be recognized, 2 is a drawing reading device, 3 is an original data memory, 4 is a reference point mark display example, 5 is a drawing to be recognized, 6 is a color separation circuit,
7 is a reference point mark origin detection circuit, 8 is a reference point mark memory, 9 is a reference point mark size circuit, 10
11 shows a reference point coordinate automatic calculation circuit, 11 and 51 show reference point marks, and 12 and 52 show a recognition target range, respectively.
Claims (1)
クを識別する場合に、 該認識対象図面は、認識対象図形を第1の色で
表し、該基準点マークを第1の色と異なる第2の
色で表す図面とし、 図面読取装置と、色分離回路と、原データメモ
リと、基準点マーク識別手段と、基準点マークメ
モリと基準点座標自動演算回路とを設け、 該図面読取装置は、該認識対象図面を光学的に
走査して読み取り、読取信号を色分離回路に入力
し、該色分離回路は、該読取信号を所定の閾値に
よつて第1及び第2の色の各読取信号に分離して
各対応するデイジタル信号を生成し、 該原データメモリは第1の色に対応する該デイ
ジタル信号を受け取つて記憶し、 該基準点マーク識別手段は、第2の色に対応す
る該デイジタル信号を受け取り、該デイジタル信
号から該基準点マークの外延の長方形の走査開始
位置を識別して原点位置とし、該長方形の大きさ
を識別して、該基準点マークごとの、該原点位置
の座標値と該大きさを表すX方向及びY方向の長
さとを、基準点マークメモリに格納し、 該基準点座標自動演算回路は、該基準点マーク
メモリに保持する情報から、該長方形の中心位置
の座標値を算出して基準点位置として出力するよ
うに構成されていることを特徴とする基準点座標
自動検出装置。[Claims] 1. When reading a drawing to be recognized and identifying a predetermined reference point mark, the drawing to be recognized represents the figure to be recognized in a first color, and the reference point mark in a first color. a drawing that is expressed in a second color different from that of the drawing, which is provided with a drawing reading device, a color separation circuit, an original data memory, a reference point mark identification means, a reference point mark memory, and a reference point coordinate automatic calculation circuit; The reading device optically scans and reads the drawing to be recognized, inputs the read signal to a color separation circuit, and the color separation circuit separates the read signal into first and second colors according to a predetermined threshold. separate the read signals into respective read signals to generate respective corresponding digital signals; the original data memory receives and stores the digital signals corresponding to the first color; receives the digital signal corresponding to the reference point mark, identifies from the digital signal the scan start position of the rectangle of the outer extension of the reference point mark and sets it as the origin position, identifies the size of the rectangle, and calculates the The coordinate value of the origin position and the length in the X direction and the Y direction representing the size are stored in a reference point mark memory, and the reference point coordinate automatic calculation circuit calculates, from the information held in the reference point mark memory, An automatic reference point coordinate detection device, characterized in that it is configured to calculate the coordinate values of the center position of the rectangle and output them as the reference point position.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59276329A JPS61165185A (en) | 1984-12-28 | 1984-12-28 | Reference point coordinates automatic detecting method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59276329A JPS61165185A (en) | 1984-12-28 | 1984-12-28 | Reference point coordinates automatic detecting method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61165185A JPS61165185A (en) | 1986-07-25 |
| JPH0312345B2 true JPH0312345B2 (en) | 1991-02-20 |
Family
ID=17567927
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59276329A Granted JPS61165185A (en) | 1984-12-28 | 1984-12-28 | Reference point coordinates automatic detecting method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61165185A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010284430A (en) * | 2009-06-15 | 2010-12-24 | Oji Nepia Co Ltd | Absorbent article and sheet cutting apparatus |
| CN111079638A (en) * | 2019-12-13 | 2020-04-28 | 河北爱尔工业互联网科技有限公司 | Target detection model training method, device and medium based on convolutional neural network |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5214112B2 (en) * | 1973-02-22 | 1977-04-19 | ||
| JPS5462738A (en) * | 1977-10-27 | 1979-05-21 | Nec Corp | Picture input device |
| JPS5624933A (en) * | 1979-08-08 | 1981-03-10 | Chiyou Lsi Gijutsu Kenkyu Kumiai | Method of detecting position of reference mark |
| JPS5941089A (en) * | 1982-08-31 | 1984-03-07 | Mitsubishi Electric Corp | Normalizing device of character pattern |
| JPS6167187A (en) * | 1984-09-10 | 1986-04-07 | Hitachi Ltd | Image processor |
-
1984
- 1984-12-28 JP JP59276329A patent/JPS61165185A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61165185A (en) | 1986-07-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH04104324A (en) | Program generating device | |
| JPH0312345B2 (en) | ||
| JPH05324830A (en) | Method for tracking body outline in image and outline extracting device | |
| JPS589469B2 (en) | Character reading method | |
| JPH05151388A (en) | Method of specifying processing area and processing conditions | |
| JPH04167193A (en) | Character recognizing method | |
| JPH069062B2 (en) | Area extraction device | |
| JPH07109612B2 (en) | Image processing method | |
| JPH0310986B2 (en) | ||
| CN120783326A (en) | Interactive image scene text detection and recognition method | |
| JP2522511B2 (en) | Image contour tracking unit | |
| JP2987877B2 (en) | Character recognition method | |
| JPS62297981A (en) | Binarization system for image | |
| JP2507949B2 (en) | Character / graphic area determination device | |
| JP2721415B2 (en) | Character image extraction method | |
| JP2501832B2 (en) | Extraction method of color mark area | |
| JPH0343879A (en) | Character area separating system for character recognizing device | |
| JPH08202824A (en) | Document image recognition device | |
| JPS603679B2 (en) | Character recognition method | |
| JPH10228538A (en) | Image endpoint extracting method | |
| JPH0433074B2 (en) | ||
| JPS62221783A (en) | Area extracting system | |
| JPS62247473A (en) | Image processing device | |
| JPH02187883A (en) | Document reader | |
| JPS6279580A (en) | Image processing device |