JP3635174B2 - Support device for graphic input work - Google Patents

Support device for graphic input work Download PDF

Info

Publication number
JP3635174B2
JP3635174B2 JP34460796A JP34460796A JP3635174B2 JP 3635174 B2 JP3635174 B2 JP 3635174B2 JP 34460796 A JP34460796 A JP 34460796A JP 34460796 A JP34460796 A JP 34460796A JP 3635174 B2 JP3635174 B2 JP 3635174B2
Authority
JP
Japan
Prior art keywords
graphic
point
coordinate value
predetermined point
reference area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP34460796A
Other languages
Japanese (ja)
Other versions
JPH10171859A (en
Inventor
雄一郎 四元
佐藤  明
山地  正高
智 渡辺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co 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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP34460796A priority Critical patent/JP3635174B2/en
Publication of JPH10171859A publication Critical patent/JPH10171859A/en
Application granted granted Critical
Publication of JP3635174B2 publication Critical patent/JP3635174B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は図形入力作業の支援装置に関し、特に、半導体集積回路用のリードフレームなどの設計図上の図形情報をCAD装置などのコンピュータに入力する作業を支援するための装置に関する。
【0002】
【従来の技術】
半導体集積回路をはじめとする種々の製品の設計には、CAD装置を用いるのが一般的になりつつある。この場合、CAD装置を構成するコンピュータには、種々の設計情報をデジタルデータとして入力しなければならない。当初からCAD装置を用いて設計作業を行った場合は、設計作業が完了した時点で、既に必要な設計情報がデジタルデータの形式でCAD装置内に用意された状態にあるが、当初の設計に紙図面を用いた場合には、この紙図面上の設計情報をオペレータがCAD装置へ入力する作業が必要になる。また、半導体集積回路などの分野では、A社において設計図を作成し、この設計図に基づいて別なB社がマスクパターンを作成する、というような分業作業が行われることが多い。このような場合、A社においては、当初からCAD装置を用いて設計を行っていたとしても、両社でそれぞれ用いているCAD装置が異なるデータフォーマットを要求する場合には、紙図面を媒介として設計情報の受け渡しが行われることが多い。
【0003】
紙図面上に表現された設計情報を、CAD装置へ入力する場合、通常、図形の情報を正しい寸法で入力する作業が必要になる。より具体的には、図形を構成する個々の点を、その座標値とともに入力する作業が必須になる。このため、紙図面上には、図形とともに、その図形上の所定点の座標値が記載される。オペレータは、この紙図面に記載された図形上の個々の点を、その座標値を1つ1つ認識しつつ、CAD装置の要求するデータフォーマットに変換しながら入力してゆくことになる。
【0004】
【発明が解決しようとする課題】
しかしながら、上述した紙図面に基づく図形入力作業は、オペレータに多大な作業負担を課する作業になる。特に、半導体集積回路などの設計図には、膨大な数の図形が密集して配置されており、入力すべき点の数も膨大な量になる。しかも、個々の点の座標値は、図面の欄外に記述されており、所定点についての座標値を確認するためには、この所定点に接続された引出線を欄外まで辿ってゆくという作業が必要になる。ところが、かなり高密度で多数の引出線が配置されていると、欄外まで辿ってゆくうちに隣接する引出線と混同を生じたりするミスが発生し、座標値の誤認識が生じるおそれがある。このため、オペレータは、図面上に定規を当てながら、細心の注意を払って座標値の確認作業を行っているのが実情であり、入力作業には多大な労力と時間を費やしていた。
【0005】
そこで本発明は、座標値が記述された図面に基づいて、図形をコンピュータに入力する作業を行う際に、オペレータの作業負担を軽減することができる図形入力作業の支援装置を提供することを目的とする。
【0006】
【課題を解決するための手段】
(1) 本発明の第1の態様は、集積回路に用いる図形を示すための図形記載欄に記載された図形と、この図形上の所定点の座標を示すために図形記載欄の欄外領域に記載された座標値と、所定点と座標値とを関連づけるために一端が所定点に接続され他端が座標値の近傍まで伸びた引出線と、が記された図面に基づいて、図形をコンピュータに入力する作業を行う場合に、この図形入力作業を支援するための支援装置において、
図面上の情報を画像データとして取り込む画像入力手段と、
取り込んだ画像データを格納する記憶手段と、
この記憶手段内に格納された画像データに基づいて、図面上の情報を表示する画像表示手段と、
オペレータの指示入力に基づいて、この画像表示手段によって表示されている図形上の所定点を指示する指示手段と、
画像データを解析することにより、指示手段によって指示された点の近傍の画素を起点として、上方向、下方向、左方向、もしくは右方向へと図形または引出線を構成する画素を辿る処理を行い、その結果、欄外領域の画素まで辿り着いたら、当該画素の位置を引出線の端点と認識し、この端点近傍の所定位置に参照領域を特定する参照領域特定手段と、
画像表示手段によって表示されている画像のうち、参照領域特定手段によって特定された参照領域を他の領域とは異なる表示態様で表示させることにより、画像表示手段上において、指示手段によって指示された点に対応する座標値の視認性を向上させる表示態様変更手段と、
を設けたものである。
【0007】
(2) 本発明の第2の態様は、上述の第1の態様に係る図形入力作業の支援装置において、表示態様変更手段に、特定された参照領域を拡大表示することにより他の領域とは異なる表示態様で表示させる機能をもたせたものである。
【0008】
(3) 本発明の第3の態様は、上述の第1または第2の態様に係る図形入力作業の支援装置において、参照領域特定手段に、オペレータからのスクロール指示に基づいて参照領域を移動させる機能をもたせたものである。
【0009】
(4) 本発明の第4の態様は、上述の第1の態様に係る図形入力作業の支援装置において、
参照領域特定手段によって特定された参照領域に対してパターン認識を行い、この参照領域内に記述されている座標値をデジタルコードとして読取り、図形の入力対象となるコンピュータに対してデジタルコードを出力する座標値認識手段を、表示態様変更手段の代わりに設けるようにしたものである。
【0010】
(5) 本発明の第5の態様は、上述の第1〜第4の態様に係る図形入力作業の支援装置において、指示手段に、図形上の所定点を指示する機能とともに、所定点の座標値が記述されている方向を指示する機能を付加し、参照領域特定手段が、指示された方向にのみ画素を辿る処理を行うようにしたものである。
【0011】
【発明の実施の形態】
§1. 入力対象となる一般的な図面
以下、本発明を図示する実施形態に基づいて説明する。ここでは、図1に示すような紙図面上の図形をCAD装置に入力する作業を行う場合を例にとって、本発明に係る支援装置の機能を説明する。
【0012】
この図1に示す紙図面は、半導体集積回路用のリードフレームの一部分を拡大して示したものであり、図に太線で示されている部分が入力対象となる図形を示し、細い直線はいずれも引出線である。個々の引出線の一端は、図形上の所定点に接続されており、他端は欄外まで伸びている。この欄外には、それぞれ所定の座標値が記述されている。この図1に示す例では、図示のとおり、横方向にX軸、縦方向にY軸がそれぞれ定義されており、図の上欄外に記されている座標値は各点のX座標値、図の左欄外に記述されている座標値は各点のY座標値を示している。図形上の各点と座標値との対応関係は、引出線によって関連づけられており、各点に接続されている引出線を欄外まで辿ってゆけば、その端点近傍に記された数値がその点の座標値になる。たとえば、図示の例の場合、所定点PについてのX座標値は「6.50」、Y座標値は「8.25」ということになる。
【0013】
ところで、この図1に示す例では、説明の便宜上、比較的単純な図形からなる図面のごく一部分を拡大して示したため、所定点の座標値を認識する作業は比較的容易であり、誤認識の可能性も低いが、半導体集積回路についての実際の図面では、膨大な数の微細な図形が高密度で配置され、引出線の配置密度も非常に高く、座標値を示す数値は小さく読みにくいのが一般的である。このため、引出線を欄外まで辿って座標値を確認する作業は非常に繁雑な作業になり、誤認識も生じやすい。特に、図面の中央付近の点についての座標値を確認する場合、引出線を辿る距離が非常に長くなり、誤りが生じやすい。このため、現状では、図面上に直線定規を当てて、座標値を慎重に認識する作業が行われていることは既に述べたとおりである。本発明は、このような入力作業の負担を軽減するためになされたものである。
【0014】
§2. 本発明に係る支援装置の基本構成
図2は、本発明に係る図形入力作業の支援装置の基本構成を示すブロック図である。この装置の主たる構成要素を、その機能に着目して分類すると、画像入力手段10、記憶手段20、画像表示手段30、指示手段40、参照領域特定手段50、表示態様変更手段60に分けることができる。実際には、本発明に係る支援装置は、汎用のコンピュータ用ハードウエアに、専用のソフトウエアを組み込むことにより実現することができるが、ここでは、説明の便宜上、この支援装置の機能的な面に着目し、上述の6つの機能要素の集合として、この支援装置をとらえることにする。
【0015】
画像入力手段10は、図面上の情報を画像データとして取り込む機能を有し、ここで述べる実施形態の装置では、いわゆるスキャナ装置を画像入力手段10として用いている。図1に示すような紙図面上のリードフレームに関する図形情報は、画像情報としてそのままデジタルデータの形式でこの支援装置内に取り込まれることになる。ここでは、二値(モノクロ)のラスター画像データの形式で、紙図面上の情報を取り込んでいる。
【0016】
記憶手段20は、画像入力手段10で取り込んだ画像データを格納する装置である。具体的には、メモリや磁気記憶装置など、コンピュータ用に利用されている一般的な記憶手段を用いればよい。
【0017】
画像表示手段30は、記憶手段20内に格納された画像データに基づいて、取り込んだ図面上の情報を表示する手段である。具体的には、一般的なコンピュータ用のディスプレイおよび画像表示のための制御装置によって構成されることになり、記憶手段20内のデータに基づいて、図面上の所望の部分を所望の倍率でディスプレイの画面上に表示させる機能を有している。また、単に、記憶手段20内のデータに基づく図面表示を行うだけでなく、後述するように、指示手段40に連動してマウスカーソルなどのポインタを表示させる機能や、表示態様変更手段60からの指示に基づいて、部分的に態様を変えて表示する機能を有する。
【0018】
指示手段40は、画像表示手段30によってディスプレイ画面上に表示されている図形上の所定点を指示する機能を有する。具体的には、マウス、トラックボール、タブレットなどのポインティングデバイスと、これを制御するためのハードウエアおよびソフトウエアとによって、この指示手段40を構成することができる。ここでは、マウスを指示手段40として用いた場合の例について説明を行うことにする。マウスを用いた場合、画像表示手段30は、指示手段40から与えられる信号に基づいて、ディスプレイ画面上の所定位置にマウスポインタを表示する処理を実行する。オペレータは、マウスを操作することにより、このマウスポインタを任意の位置へ移動させることができ、マウスボタンをクリックすることにより、その時点でのマウスポインタの位置を指定することができる。この機能により、オペレータは、ディスプレイ画面に表示されている図面上の所定点を指示することが可能になる。
【0019】
参照領域特定手段50は、記憶手段20内の画像データを解析することにより、指示手段40によって指示された点から伸びる引出線を認識し、この引出線の端点近傍の参照領域を特定する処理を実行する。たとえば、図1に示すような図面がディスプレイ画面上に表示されていた場合に、オペレータが指示手段40(マウス)を操作して所定点Pを指示したとすると、参照領域特定手段50は、記憶手段20内の画像データを解析し、この所定点Pから伸びる引出線を認識する処理を実行する。そして、この引出線の端点近傍を参照領域として特定する。この参照領域は、この引出線に関連した座標値を示す数字が記されていると予想される領域である。
【0020】
所定点Pから伸びる引出線を認識し、その端点まで辿ってゆく具体的な処理方法としては、一般に、「チェーンコード法」と呼ばれている手法を利用することが可能である。たとえば、図1に示す図面のように、X座標値を示すための引出線がほぼY軸に平行な直線から構成され、Y座標値を示すための引出線がほぼX軸に平行な直線から構成されているような場合、所定点Pの位置に対応する画素から、+X方向、−X方向、+Y方向、−Y方向の4方向に隣接画素へと順次画素を辿ってゆく方法を採ればよい。
【0021】
図3は、図1に示す図面における所定点P近傍の「黒画素」(図1の図面における黒い部分を構成する画素)のみを示す図である。この例の場合、図にハッチングを施した画素が所定点Pの位置に対応する画素であり、この画素から、上下左右の4方向について、それぞれ隣接画素へと辿ってゆき、最終的に、座標値が記述された欄外領域まで辿りつけば、辿りついた最後の画素が引出線の端点ということになる。欄外領域まで辿りついたか否かは、欄外領域の座標値を予め定義しておけば認識可能である。図1の所定点Pについてこの処理を実行すると、図の下方向(−Y方向)へ辿ることはすぐに不可能になるため、実質的に、図の右方向(+X方向)、図の左方向(−X方向)、図の上方向(+Y方向)の3方向について隣接画素を辿る処理が実行されることになる。いずれの場合も、欄外領域まで辿りついたら、その画素の位置が引出線の端点と認識され、この端点近傍に所定の参照領域が定義されることになる。図1に示す図では、座標値が記された欄外領域は、上欄外と左欄外との2か所のみであるため、最終的には、所定点Pから図の左方向(−X方向)へ辿った場合と、図の上方向(+Y方向)へ辿った場合と、の2つの場合についてそれぞれ引出線の端点が求まり、2つの参照領域が特定されることになる。図4に示す参照領域Ax,Ayは、このようにして特定された領域である。
【0022】
表示態様変更手段60は、参照領域特定手段50によって特定された参照領域の表示態様を変更する処理を実行する機能を有する。すなわち、画像表示手段30によって表示されている画像のうちの参照領域の部分だけを、他の領域とは異なる表示態様で表示させる処理を実行する。上述したように、参照領域には、オペレータが指定した所定点に関する座標値が記述されていると予想されるので、この参照領域内の表示態様のみを異なる表示態様に変更すれば、オペレータはディスプレイ画面上でこの参照領域に着目することができ、所定点の座標値を容易に認識することが可能になる。
【0023】
要するに、オペレータは、図1に示すような図面に基づいてCAD装置へ図形入力作業を行う場合、まず、画像入力手段10を構成するスキャナ装置により、この図面上の情報を画像情報としてこの支援装置に取り込む作業を行い、ディスプレイ画面上にこの図面を表示させた状態で、CAD装置の入力操作を行ってゆけばよい。このとき、図面上の所定点の座標値を認識する必要があれば、マウスでこの所定点をクリックすればよい。すると、この所定点に関する座標値だけが、ディスプレイ画面上で目立つように表示されるため、座標値の認識は非常に容易になり、誤認識も少なくなる。
【0024】
§3. より実用的な実施形態
以上、§2において、本発明に係る支援装置の基本構成および基本動作を説明した。ここでは、この支援装置のより実用的な実施形態を述べることにする。
【0025】
図1に示す図面では、上欄外に各点のX座標値、左欄外に各点のY座標値が記されており、下欄外および右欄外には座標値は記されていないため、所定点から上下左右の4方向に辿った場合であっても、欄外に辿りつくのは2方向のみになる。ところが、上欄外、下欄外、左欄外、右欄外の4か所に座標値が記された図面の場合、4方向すべてについて辿ると、いずれもが欄外領域に到達する可能性があり、合計4つの参照領域について表示態様が変更されることが起こりうる。この場合、4つの参照領域内に記された4つの座標値のうち、所定点Pに対応した座標値は2つだけであり、残りの2つは無関係な座標値になる。したがって、オペレータは、4つの座標値のうちから、正しい座標値を2つ選択する必要がある。
【0026】
このような選択は、実際には直感的に行うことが可能である。通常は、所定点Pの近くに記された座標値を、正しい座標値として認識して問題ないからである。しかしながら、本来2方向でよいところを、4方向の探索処理を実行することは無駄であり、効率的ではない。そこで、より実用的には、指示手段40に、図形上の所定点Pを指示する機能とともに、この所定点Pの縦座標値が記述されている方向および横座標値が記述されている方向を指示する機能を設けておくのが好ましい。
【0027】
具体的には、マウスによって、3点を指示するような構成にしておけばよい。このような3点指示を行う実施形態の概念を、図4を用いて説明する。いま、ディスプレイ画面上において、所定点PについてのX座標値およびY座標値を認識したい場合を考える。この場合、オペレータは、まずマウスポインタを所定点Pの上へ移動させ、マウスボタンをクリックする。これにより、所定点Pの位置が入力されたことになる。引き続き、マウスポインタを点Qの上へ移動させてマウスボタンをクリックし、更に、マウスポインタを点Rの上へ移動させてマウスボタンをクリックする。結局、点P,Q,Rの3点の位置が指示されたことになる。ここで、点Qは、所定点PのY座標値(縦座標値)が記述されている方向を示す点である。すなわち、点Pより左側に位置する点Qを指定することにより、「この所定点PについてのY座標値は左欄外に記述されている」という情報を、この支援装置に知らせていることになる。同様に、点Rは、所定点PのX座標値(横座標値)が記述されている方向を示す点であり、点Pより上側に位置する点Rを指定することにより、「この所定点PについてのX座標値は上欄外に記述されている」という情報を、この支援装置に知らせていることになる。
【0028】
このように、オペレータが付加的な情報をこの支援装置に与えてやることにより、支援装置内部では無駄な演算処理を省略することができる。すなわち、この図4に示す例では、参照領域特定手段50は、まず、点Pから点Qに向けての−X方向(図の左方向)への探索を行い、引出線の端点QQを認識し、この端点QQの近傍の参照領域Ay(所定点PのY座標値が記されていると予想される領域)を特定する。同様に、点Pから点Rに向けての+Y方向(図の上方向)への探索を行い、引出線の端点RRを認識し、この端点RRの近傍の参照領域Ax(所定点PのX座標値が記されていると予想される領域)を特定する。続いて、表示態様変更手段60によって、特定された参照領域AxおよびAyの表示態様が変更される。
【0029】
なお、どの領域を参照領域とするかは、図面上の座標値の記述様式を考慮して予め設定しておくようにする。たとえば、この実施形態では、参照領域の大きさおよび形状は、座標値を示す数字列(小数点および3つの数字)を十分に包含しうる大きさの予め設定された寸法をもった矩形と定義している。また、このような矩形状の参照領域Ayを配置する位置については、この矩形を、その中心点が引出線の端点QQから図の左方に所定の距離だけ離れるような位置と定義しており、参照領域Axを配置する位置については、この矩形を、その中心点が引出線の端点RRから図の上方に所定の距離だけ離れるような位置と定義している。
【0030】
表示態様変更手段60の実行する表示態様の変更方法としては、参照領域AxおよびAy内の文字列の表示色を変更したり、表示輝度を高めたり、ブリンク表示したり、と種々の方法が可能であるが、この実施形態では、この参照領域内の部分だけを拡大表示するようにしている。たとえば、図4に示すように、所定点Pに関連して、参照領域AxおよびAyが特定された場合、参照領域Axを拡大領域AAxとし、参照領域Ayを拡大領域AAyとし、ディスプレイ画面上には、図5に示すような表示形態が得られるようにしている。このような拡大表示は視覚的な識別性に富み、非常に有効な方法である。オペレータは、所定点PについてのX座標値が「6.50」であり、Y座標値が「8.25」であることを容易に認識することができる。
【0031】
なお、上述したように、参照領域の形状,大きさ,位置(引出線の端点に対する相対位置)は、図面上の座標値の記述様式を考慮して予め設定しておくことになるが、場合によっては、座標値を示す文字列が、この参照領域内にうまく収まらず、その一部分が参照領域から食み出してしまう場合も考えられる。このような事態に対処するためには、参照領域特定手段50に、オペレータからのスクロール指示に基づいて参照領域を移動させる機能を付加しておくとよい。
【0032】
具体的には、本実施形態の装置では、表示態様変更手段60によって拡大表示させる際に、図6(a) に示すように、拡大領域AAyの周囲にスクロールバーSx,Syを設けるようにし、スクロールバーSx内の左右の矢印をマウスでクリックすることにより左右へのスクロールが行われるようにし、スクロールバーSy内の上下の矢印をマウスでクリックすることにより上下へのスクロールが行われるようにしている。このようなスクロール機能を用いれば、図6(a) のように、拡大領域AAy内に座標値が偏って表示されている場合であっても、スクロールバーSx,Syの操作により、図6(b) に示すように、拡大領域AAy内の中央に座標値が表示されるように修正が可能になる。したがって、座標値を示す数値の一部分が食み出してしまって認識不能な場合であっても、適宜スクロールを行うことにより認識が可能になる。
【0033】
§4. 座標値を自動入力する機能を付加した実施形態
図7は、本発明に係る支援装置の別な実施形態の基本構成を示すブロック図である。この図7に示す装置は、図2に示す装置における表示態様変更手段60を、座標値認識手段70に置き換えたもので、他の構成要素については全く同じである。表示態様変更手段60は、参照領域特定手段50によって特定された参照領域内の画像を拡大するなど、態様を変えて表示する機能を有するだけであるが、座標値認識手段70は、この参照領域内の画像に対するパターン認識を行い、この参照領域内に記述されている座標値をデジタルコードとして読取り、図形の入力対象となるコンピュータ(CAD装置)に対してこのデジタルコードを出力する機能を有する。
【0034】
たとえば、図4に示すように、所定点Pを指示することにより、参照領域Ax,Ayが特定されると、座標値認識手段70は、参照領域Ax内の文字列に対するパターン認識を行い、「6.50」なるデジタルコードの認識を行い、同様に、参照領域Ay内の文字列に対するパターン認識を行い、「8.25」なるデジタルコードの認識を行う。この文字のパターン認識処理については、一般的なOCR装置で用いられているソフトウエアを利用すればよい。こうして認識されたデジタルコードは、座標値認識手段70から外部へと出力される。したがって、この出力信号がCAD装置へと入力されるように、この支援装置とCAD装置とを接続しておけば、座標値の自動入力が可能になる。すなわち、CAD装置に対して、座標値をキーボードなどから入力する作業を行う必要がなくなり、オペレータの作業負担は更に軽減されることになる。
【0035】
【実施例】
最後に、本発明に係る支援装置の参照領域特定手段50において実行される端点探索処理の具体的な実施例を述べる。ここでは、「黒画素」が図8に示すように配置されていたときに、3点P,Q,Rが指示された場合を考える。ここで、点Pは、座標値を認識する対象となる所定点であり、点Qは、所定点PのY座標値が記述されている方向を示す点であり、点Rは、所定点PのX座標値が記述されている方向を示す点である。この例の場合、Y座標値は図面の右欄外に記され、X座標値は図面の上欄外に記されていることになる。したがって、Y座標値のための探索は図の右方向に向かって行われ、X座標値のための探索は図の上方向に向かって行われることになる。
【0036】
ここに示す探索方法は、一般に「チェーンコード法」と呼ばれているアルゴリズムに基づく方法であり、起点となる画素Pから所定の探索方向に向かって隣接画素へと順に進行してゆき、最終的な到達画素を求めるものである。一般に、ある1つの着目画素については、図9に示すように▲1▼〜▲8▼まで8個の隣接画素への進行方向を考えることができる。ここでは、この8とおりの進行方向のうち、いずれの進行方向への進行が許されるかを予め定めておき、かつ、複数の進行方向が許可される場合には、それらの優先順位を定めておくようにする。ここでは、このようにして定義した情報を「優先進行方向」と呼ぶことにする。そして、この優先進行方向に基づいて、起点となる画素Pから隣接画素へと順次進行してゆき、最終的な到達画素を求めるのである。
【0037】
具体的には、図8において右方向への探索を行う場合には、たとえば、第1優先方向として方向▲5▼を定め、第2優先方向として方向▲3▼および方向▲8▼(この例では、両者は同じ優先順位とし、方向▲3▼と方向▲8▼のいずれにも進行可能な場合は、いずれか一方の方向を任意に選択できるものとしている)を定める。そして、ある1つの着目画素について、まず、第1優先方向へ進行可能であれば、その方向に進行する。すなわち、その方向に「黒画素」が隣接していれば、その隣接画素を新たな着目画素とする処理を行う。第1優先方向への進行が不可能であれば、第2優先方向への進行が可能か否かを判断する。可能であれば、第2優先方向へ進行する。第2優先方向への進行も不可能であれば、探索はそこで終了し、現在の着目画素が最終的な到達画素となる。
【0038】
このようなアルゴリズムに基づいて、図8に示す画素Pを最初の着目画素とした探索処理を行うと、図に矢印で示すような経路で探索が行われ、最終的に画素QQが到達画素として認識されることになり、この画素QQが引出線の端点として認識されることになる。ただ、図8に示す例のように、いわゆる「画素抜け」が生じているために、本来の引出線が不連続を生じているような場合もありうる。このような場合にも対処するためには、所定数の空白画素が介在していたとしても進行を許可するような定義を行っておくとよい。このような定義を行っておけば、図8に示す例の場合、画素QQから更に右方向への進行が可能になり、最終的に画素QQが到達画素として認識されることになる。
【0039】
図8において上方向への探索を行う場合は、たとえば、第1優先方向として方向▲2▼を定め、第2優先方向として方向▲1▼および方向▲3▼を定めればよい。その結果、最終的に画素RRが到達画素として認識されることになる。
【0040】
図10は、このようなアルゴリズムで探索を行い、引出線の端点QQおよび端点RRを認識するまでの処理手順を示す流れ図である。まず、ステップS1において、3点P,Q,Rの入力を行う。続いて、ステップS2において、点P,Qの位置関係により、優先進行方向の定義を行う。上述の例の場合、点Qが点Pの右側に位置するため、第1優先方向として方向▲5▼、第2優先方向として方向▲3▼,▲8▼が定義される。そして、点Pを起点画素として、ステップS3において隣接画素への進行が可能か否かが判断される。可能であれば、ステップS4において優先進行方向に基づいて次の画素へと進行し、再びステップS3へ戻る。こうして、進行が可能な限り隣接画素への進行を続ける。そして進行が不可能になったら、ステップS5において、現位置を端点QQとして認識する。
【0041】
続いて、ステップS6において、点P,Rの位置関係により、優先進行方向の定義を行う。上述の例の場合、点Rが点Pの上側に位置するため、第1優先方向として方向▲2▼、第2優先方向として方向▲1▼,▲3▼が定義される。そして、点Pを起点画素として、ステップS7において隣接画素への進行が可能か否かが判断される。可能であれば、ステップS8において優先進行方向に基づいて次の画素へと進行し、再びステップS7へ戻る。こうして、進行が可能な限り隣接画素への進行を続ける。そして進行が不可能になったら、ステップS9において、現位置を端点RRとして認識する。
【0042】
もちろん、このような単純なアルゴリズムによる端点認識では、必ずしも正しい引出線の端点を認識できるとは限らない。場合によっては、図形を構成する線を引出線と誤認識してしまい、予期せぬ認識結果が得られることもありうる。しかしながら、本装置は、あくまでも支援装置として機能する装置であり、必ずしも100%の認識結果が要求されるものではない。たとえば、所定点Pをマウスでクリックしたのに、対応する座標値の表示態様が変化しなかったとしても、その点についての座標値は従来どおりの方法で認識すれば足りるので、重大な問題は生じない。仮にこの支援装置による認識結果が90%であったとしても、1000個の点を入力する作業において、900個の点についての座標値を本支援装置を利用して容易に認識することができれば、支援装置としての機能は十分に果たせることになる。
【0043】
【発明の効果】
以上のとおり、本発明に係る図形入力作業の支援装置によれば、図面上の所定点に関連した座標値を、ディスプレイ画面上で認識容易な態様で表示するようにしたため、図形をコンピュータに入力する作業を行う際に、オペレータの作業負担を大幅に軽減することができるようになる。
【図面の簡単な説明】
【図1】CAD装置への入力対象となる紙図面上の情報の一例を示す図である。
【図2】本発明に係る図形入力作業の支援装置の基本構成を示すブロック図である。
【図3】図1に示す図面における所定点P近傍の「黒画素」の配列を示す図である。
【図4】所定点Pの座標値を認識するための3点指示により特定された参照領域を示す図である。
【図5】図4で特定された参照領域を拡大表示した例を示す図である。
【図6】拡大表示した参照領域にスクロール機能をもたせた例を示す図である。
【図7】本発明に係る図形入力作業の支援装置の別な実施形態の基本構成を示すブロック図である。
【図8】所定点Pを起点として引出線の端点QQおよびRRを探索する処理を説明するための図である。
【図9】ある1つの着目画素について、進行可能な8個の隣接画素を示す図である。
【図10】所定点Pを起点として、引出線の端点QQおよびRRを認識するまでの処理手順を示す流れ図である。
【符号の説明】
10…画像入力手段
20…記憶手段
30…画像表示手段
40…指示手段
50…参照領域特定手段
60…表示態様変更手段
70…座標値認識手段
Ax,Ay…参照領域
AAx,AAy…拡大領域
P…座標値を認識する必要がある所定点
Q…所定点PのY座標値が記述されている方向を示す点
R…所定点PのX座標値が記述されている方向を示す点
QQ,QQ…引出線の端点
RR…引出線の端点
Sx,Sy…スクロールバー
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a graphic input work support apparatus, and more particularly to an apparatus for supporting a work of inputting graphic information on a design drawing such as a lead frame for a semiconductor integrated circuit to a computer such as a CAD apparatus.
[0002]
[Prior art]
In designing various products including a semiconductor integrated circuit, it is becoming common to use a CAD apparatus. In this case, various design information must be input as digital data to a computer constituting the CAD apparatus. When designing work is performed using a CAD device from the beginning, when the designing work is completed, necessary design information is already prepared in the CAD device in the form of digital data. When a paper drawing is used, the operator needs to input design information on the paper drawing into the CAD device. Also, in the field of semiconductor integrated circuits and the like, there is often a division of labor such that a company A creates a design drawing and another company B creates a mask pattern based on the design drawing. In such a case, even if A company designed from the beginning using a CAD device, if the CAD devices used by both companies require different data formats, the design is made using paper drawings as a medium. Information is often exchanged.
[0003]
When inputting design information expressed on a paper drawing to a CAD apparatus, it is usually necessary to input graphic information with correct dimensions. More specifically, it is essential to input individual points constituting the figure together with their coordinate values. For this reason, on the paper drawing, the coordinate value of a predetermined point on the graphic is described together with the graphic. The operator inputs the individual points on the figure described in the paper drawing while recognizing the coordinate values one by one and converting them into the data format required by the CAD device.
[0004]
[Problems to be solved by the invention]
However, the graphic input work based on the paper drawing described above imposes a great work burden on the operator. In particular, an enormous number of figures are densely arranged in a design drawing of a semiconductor integrated circuit or the like, and the number of points to be input is enormous. Moreover, the coordinate value of each point is described outside the drawing, and in order to confirm the coordinate value for the predetermined point, the work of tracing the leader line connected to the predetermined point to the outside is necessary. I need it. However, if a large number of leader lines are arranged at a considerably high density, a mistake that causes confusion with an adjacent leader line occurs as the line is traced to the outside, and there is a risk of erroneous recognition of coordinate values. For this reason, the actual situation is that the operator is paying close attention to the coordinate values while applying a ruler on the drawing, and much effort and time have been spent on the input work.
[0005]
Therefore, the present invention has an object to provide a graphic input work support device that can reduce the work burden of an operator when performing a work of inputting a graphic to a computer based on a drawing in which coordinate values are described. And
[0006]
[Means for Solving the Problems]
  (1) The first aspect of the present invention is:It was written in the figure description column to show the figure used for the integrated circuit.A figure and a predetermined point on the figureIt was written in the marginal area of the graphic description column to show the coordinatesIn order to associate the coordinate value with the predetermined point and the coordinate value, a figure is input to the computer based on the drawing in which one end is connected to the predetermined point and the other end extends to the vicinity of the coordinate value. In the support device for supporting this figure input work when performing work,
  Image input means for capturing information on the drawing as image data;
  Storage means for storing the captured image data;
  Image display means for displaying information on the drawing based on the image data stored in the storage means;
  Based on operator instruction input,Instruction means for instructing a predetermined point on the graphic displayed by the image display means;
  By analyzing the image data,Processes that follow the pixels that make up the figure or leader line in the upward, downward, leftward, or rightward direction starting from the pixel in the vicinity of the point indicated by the instruction means. Until the end point is reached, it recognizes the position of the pixel as the end point of the leader line,A reference area specifying means for specifying the reference area;
  Of the images displayed by the image display means, the reference area specified by the reference area specifying means is displayed in a display mode different from other areas.Thereby, on the image display means, the visibility of the coordinate value corresponding to the point indicated by the instruction means is improved.Display mode changing means;
  Is provided.
[0007]
(2) According to the second aspect of the present invention, in the graphic input work support device according to the first aspect described above, the display mode changing means enlarges and displays the specified reference area, so that it is different from other areas. A function for displaying in different display modes is provided.
[0008]
(3) According to a third aspect of the present invention, in the graphic input work support apparatus according to the first or second aspect described above, the reference area is moved based on a scroll instruction from the operator. It has a function.
[0009]
(4) A fourth aspect of the present invention is the graphic input work support apparatus according to the first aspect described above,
Pattern recognition is performed on the reference area specified by the reference area specifying means, the coordinate value described in the reference area is read as a digital code, and the digital code is output to the computer that is the input target of the figure. Coordinate value recognition means is provided in place of the display mode changing means.
[0010]
  (5) According to a fifth aspect of the present invention, in the graphic input work support device according to the first to fourth aspects described above, the function of instructing a predetermined point on the graphic to the instruction means and the coordinates of the predetermined point Added a function to indicate the direction in which the value is describedIn addition, the reference area specifying means performs a process of tracing pixels only in the designated direction.Is.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
§1. General drawing to be input
Hereinafter, the present invention will be described based on the illustrated embodiments. Here, the function of the support apparatus according to the present invention will be described by taking as an example the case of performing an operation of inputting a figure on a paper drawing as shown in FIG.
[0012]
The paper drawing shown in FIG. 1 is an enlarged view of a part of a lead frame for a semiconductor integrated circuit, and a portion indicated by a thick line in the drawing shows a figure to be input, and a thin straight line is Is also a leader line. One end of each leader line is connected to a predetermined point on the figure, and the other end extends to the outside of the field. Predetermined coordinate values are described outside this field. In the example shown in FIG. 1, as shown in the figure, the X axis is defined in the horizontal direction and the Y axis is defined in the vertical direction, and the coordinate values described in the upper column of the figure are the X coordinate values of the respective points. The coordinate values described in the left column of FIG. 6 indicate the Y coordinate values of each point. The correspondence between each point on the figure and the coordinate value is related by the leader line, and if you follow the leader line connected to each point to the outside of the field, the numerical value written near the end point will be the point. It becomes the coordinate value of. For example, in the illustrated example, the X coordinate value for the predetermined point P is “6.50”, and the Y coordinate value is “8.25”.
[0013]
By the way, in the example shown in FIG. 1, for the sake of convenience of explanation, only a part of the drawing composed of relatively simple figures is enlarged and shown, so that the operation of recognizing the coordinate value of a predetermined point is relatively easy and erroneous recognition is performed. However, in the actual drawing of a semiconductor integrated circuit, a huge number of fine figures are arranged at high density, the arrangement density of leader lines is very high, and the numerical values indicating coordinate values are small and difficult to read. It is common. For this reason, the work of checking the coordinate value by tracing the leader line to the outside is very complicated work, and erroneous recognition is likely to occur. In particular, when checking the coordinate values of the points near the center of the drawing, the distance to follow the leader line becomes very long and errors are likely to occur. For this reason, as already described, the current situation is that a straight line ruler is applied to the drawing to carefully recognize the coordinate values. The present invention has been made to reduce the burden of such input work.
[0014]
§2. Basic configuration of support device according to the present invention
FIG. 2 is a block diagram showing the basic configuration of the graphic input work support apparatus according to the present invention. If the main components of this apparatus are classified by paying attention to their functions, they can be divided into image input means 10, storage means 20, image display means 30, instruction means 40, reference area specifying means 50, and display mode changing means 60. it can. Actually, the support device according to the present invention can be realized by incorporating dedicated software into general-purpose computer hardware, but here, for convenience of explanation, the functional aspect of the support device. Focusing on the above, this support apparatus will be considered as a set of the six functional elements described above.
[0015]
The image input means 10 has a function of taking information on the drawing as image data. In the apparatus of the embodiment described here, a so-called scanner device is used as the image input means 10. The graphic information relating to the lead frame on the paper drawing as shown in FIG. 1 is directly taken into the support apparatus in the form of digital data as image information. Here, information on a paper drawing is taken in the form of binary (monochrome) raster image data.
[0016]
The storage unit 20 is a device that stores the image data captured by the image input unit 10. Specifically, general storage means used for computers such as a memory and a magnetic storage device may be used.
[0017]
The image display means 30 is means for displaying information on the captured drawing based on the image data stored in the storage means 20. Specifically, it is configured by a general computer display and a control device for image display, and a desired portion on the drawing is displayed at a desired magnification based on the data in the storage means 20. It has a function to display on the screen. In addition to simply displaying a drawing based on the data in the storage means 20, as will be described later, a function for displaying a pointer such as a mouse cursor in conjunction with the instruction means 40, a display mode changing means 60 Based on the instruction, it has a function of partially changing the display mode.
[0018]
The instruction unit 40 has a function of instructing a predetermined point on the graphic displayed on the display screen by the image display unit 30. Specifically, the pointing means 40 can be configured by a pointing device such as a mouse, a trackball, and a tablet, and hardware and software for controlling the pointing device. Here, an example in which a mouse is used as the instruction means 40 will be described. When a mouse is used, the image display means 30 executes processing for displaying a mouse pointer at a predetermined position on the display screen based on a signal given from the instruction means 40. The operator can move the mouse pointer to an arbitrary position by operating the mouse, and can specify the position of the mouse pointer at that time by clicking the mouse button. This function allows the operator to indicate a predetermined point on the drawing displayed on the display screen.
[0019]
The reference area specifying means 50 analyzes the image data in the storage means 20, thereby recognizing a leader line extending from the point indicated by the instruction means 40, and specifying a reference area near the end point of the leader line. Execute. For example, when a drawing as shown in FIG. 1 is displayed on the display screen, if the operator operates the instruction means 40 (mouse) to indicate a predetermined point P, the reference area specifying means 50 stores The image data in the means 20 is analyzed, and processing for recognizing a leader line extending from the predetermined point P is executed. And the end point vicinity of this leader line is specified as a reference area. This reference area is an area where numbers indicating coordinate values related to the leader line are expected to be written.
[0020]
As a specific processing method for recognizing a leader line extending from the predetermined point P and tracing it to the end point, a method generally called “chain code method” can be used. For example, as shown in FIG. 1, the leader line for indicating the X coordinate value is composed of a straight line substantially parallel to the Y axis, and the leader line for indicating the Y coordinate value is substantially straight from the straight line parallel to the X axis. In such a case, if the pixel is sequentially traced from the pixel corresponding to the position of the predetermined point P to the adjacent pixels in the four directions of + X direction, −X direction, + Y direction, and −Y direction, Good.
[0021]
FIG. 3 is a diagram showing only “black pixels” (pixels constituting a black portion in the drawing of FIG. 1) in the vicinity of the predetermined point P in the drawing shown in FIG. In the case of this example, the hatched pixel in the figure is a pixel corresponding to the position of the predetermined point P. From this pixel, the pixel is traced to the adjacent pixels in the four directions, up, down, left, and right, and finally the coordinates If you reach the out-of-line area where the value is described, the last pixel you reached will be the end point of the leader line. Whether or not it has reached the out-of-line area can be recognized if the coordinate value of the out-of-line area is defined in advance. When this process is executed for the predetermined point P in FIG. 1, it is not possible to immediately follow the downward direction (−Y direction) in the figure, so that the right direction (+ X direction) in the figure is substantially the same as the left side in the figure. A process of tracing adjacent pixels in the three directions of the direction (−X direction) and the upward direction (+ Y direction) in the figure is executed. In either case, when reaching the marginal area, the position of the pixel is recognized as the end point of the leader line, and a predetermined reference area is defined near the end point. In the diagram shown in FIG. 1, there are only two out-of-line areas where the coordinate values are written, that is, the upper out-of-line and the left out-of-line. Therefore, finally, from the predetermined point P to the left (−X direction) in the figure. The end point of the leader line is obtained for each of the two cases, i.e., the case of tracing to and the case of tracing in the upward direction (+ Y direction) in the figure, and two reference areas are specified. Reference areas Ax and Ay shown in FIG. 4 are areas specified in this way.
[0022]
The display mode changing unit 60 has a function of executing a process of changing the display mode of the reference area specified by the reference area specifying unit 50. That is, a process of displaying only the reference area portion of the image displayed by the image display means 30 in a display mode different from the other areas is executed. As described above, since it is expected that coordinate values related to a predetermined point designated by the operator are described in the reference area, if only the display mode in the reference area is changed to a different display mode, the operator This reference area can be focused on the screen, and the coordinate value of a predetermined point can be easily recognized.
[0023]
In short, when the operator performs a figure input operation to the CAD device based on the drawing as shown in FIG. 1, first, the information on the drawing is used as image information by the scanner device constituting the image input means 10, and this support device. It is only necessary to perform an input operation of the CAD apparatus in a state where this drawing is displayed on the display screen. At this time, if it is necessary to recognize the coordinate value of the predetermined point on the drawing, the predetermined point may be clicked with the mouse. Then, since only the coordinate value regarding this predetermined point is displayed conspicuously on the display screen, the recognition of the coordinate value becomes very easy and erroneous recognition is reduced.
[0024]
§3. More practical embodiments
As described above, in §2, the basic configuration and basic operation of the support device according to the present invention have been described. Here, a more practical embodiment of this support apparatus will be described.
[0025]
In the drawing shown in FIG. 1, the X coordinate value of each point is written outside the upper column, the Y coordinate value of each point is written outside the left column, and no coordinate value is written outside the lower column and right column. Even in the case of tracing in four directions, up, down, left and right, only the two directions can reach the margin. However, in the case of a drawing in which coordinate values are written in four locations, the upper margin, the lower margin, the left margin, and the right margin, if all four directions are followed, there is a possibility that all will reach the margin area. It is possible that the display mode is changed for one reference region. In this case, of the four coordinate values written in the four reference areas, only two coordinate values correspond to the predetermined point P, and the remaining two become irrelevant coordinate values. Therefore, the operator needs to select two correct coordinate values from the four coordinate values.
[0026]
Such a selection can actually be performed intuitively. This is because there is usually no problem in recognizing a coordinate value written near the predetermined point P as a correct coordinate value. However, it is useless and inefficient to perform a search process in four directions where originally two directions are acceptable. Therefore, more practically, in addition to the function of indicating the predetermined point P on the figure to the instruction means 40, the direction in which the ordinate value and the abscissa value of the predetermined point P are described are displayed. It is preferable to provide an instruction function.
[0027]
Specifically, the mouse may be configured to indicate three points. The concept of an embodiment in which such a three-point instruction is given will be described with reference to FIG. Consider a case where it is desired to recognize the X coordinate value and the Y coordinate value for a predetermined point P on the display screen. In this case, the operator first moves the mouse pointer over the predetermined point P and clicks the mouse button. Thereby, the position of the predetermined point P is input. Subsequently, the mouse pointer is moved over the point Q and the mouse button is clicked, and further, the mouse pointer is moved over the point R and the mouse button is clicked. Eventually, the positions of the three points P, Q, and R are designated. Here, the point Q is a point indicating the direction in which the Y coordinate value (ordinate value) of the predetermined point P is described. That is, by designating the point Q located on the left side of the point P, the support device is informed of the information that “the Y coordinate value for the predetermined point P is described outside the left column”. . Similarly, the point R is a point indicating the direction in which the X coordinate value (abscissa value) of the predetermined point P is described. By designating the point R located above the point P, “this predetermined point This support apparatus is informed of the information that “the X coordinate value of P is described outside the upper column”.
[0028]
As described above, when the operator gives additional information to the support device, useless calculation processing can be omitted in the support device. That is, in the example shown in FIG. 4, the reference area specifying means 50 first searches in the -X direction (left direction in the figure) from the point P toward the point Q, and recognizes the end point QQ of the leader line. Then, the reference area Ay in the vicinity of the end point QQ (the area where the Y coordinate value of the predetermined point P is expected to be written) is specified. Similarly, a search is performed in the + Y direction (upward in the figure) from the point P to the point R, the end point RR of the leader line is recognized, and the reference area Ax (X of the predetermined point P in the vicinity of the end point RR) is recognized. Specify the area where the coordinate values are expected to be written). Subsequently, the display mode of the specified reference areas Ax and Ay is changed by the display mode changing means 60.
[0029]
It should be noted that which region is set as the reference region is set in advance in consideration of the description format of coordinate values on the drawing. For example, in this embodiment, the size and shape of the reference area are defined as a rectangle having a predetermined dimension that is large enough to contain a digit string (decimal point and three numbers) indicating coordinate values. ing. Further, the position where such a rectangular reference area Ay is arranged is defined as a position where the center point is separated from the end point QQ of the leader line by a predetermined distance to the left of the drawing. As for the position where the reference area Ax is arranged, this rectangle is defined as a position whose center point is separated from the end point RR of the leader line by a predetermined distance upward.
[0030]
As the display mode changing method executed by the display mode changing means 60, various methods are possible such as changing the display color of the character strings in the reference areas Ax and Ay, increasing the display brightness, and performing blink display. However, in this embodiment, only the portion in the reference area is enlarged and displayed. For example, as shown in FIG. 4, when the reference areas Ax and Ay are specified in relation to the predetermined point P, the reference area Ax is set as the enlarged area AAx, the reference area Ay is set as the enlarged area AAy, and on the display screen. The display form as shown in FIG. 5 is obtained. Such an enlarged display is a very effective method with excellent visual discrimination. The operator can easily recognize that the X coordinate value for the predetermined point P is “6.50” and the Y coordinate value is “8.25”.
[0031]
As described above, the shape, size, and position of the reference area (relative position with respect to the end point of the leader line) are set in advance in consideration of the coordinate value description format on the drawing. Depending on the case, the character string indicating the coordinate value may not fit well in the reference area, and a part of the character string may protrude from the reference area. In order to cope with such a situation, it is preferable to add a function to the reference area specifying means 50 to move the reference area based on a scroll instruction from the operator.
[0032]
Specifically, in the apparatus of the present embodiment, when the display mode changing unit 60 performs an enlarged display, scroll bars Sx and Sy are provided around the enlarged area AAy as shown in FIG. The left and right arrows in the scroll bar Sx are clicked with the mouse to scroll left and right, and the up and down arrows in the scroll bar Sy are clicked with the mouse to scroll up and down. Yes. If such a scroll function is used, even if the coordinate values are displayed in a biased manner in the enlarged area AAy as shown in FIG. 6A, the operation of the scroll bars Sx and Sy causes the operation shown in FIG. As shown in b), the correction can be made so that the coordinate value is displayed at the center in the enlarged area AAy. Therefore, even if a part of the numerical value indicating the coordinate value protrudes and cannot be recognized, it can be recognized by appropriately scrolling.
[0033]
§4. An embodiment to which a function for automatically inputting coordinate values is added
FIG. 7 is a block diagram showing a basic configuration of another embodiment of the support apparatus according to the present invention. The apparatus shown in FIG. 7 is obtained by replacing the display mode changing means 60 in the apparatus shown in FIG. 2 with a coordinate value recognizing means 70, and the other components are exactly the same. The display mode changing means 60 only has a function of displaying the display area in a different manner, such as enlarging the image in the reference area specified by the reference area specifying means 50. It has a function of performing pattern recognition on an image in the image, reading a coordinate value described in the reference area as a digital code, and outputting the digital code to a computer (CAD device) which is a graphic input target.
[0034]
For example, as shown in FIG. 4, when the reference areas Ax and Ay are specified by designating the predetermined point P, the coordinate value recognition means 70 performs pattern recognition on the character string in the reference area Ax, The digital code “6.50” is recognized. Similarly, the pattern recognition for the character string in the reference area Ay is performed, and the digital code “8.25” is recognized. For the character pattern recognition processing, software used in a general OCR apparatus may be used. The digital code recognized in this way is output from the coordinate value recognition means 70 to the outside. Therefore, if the support apparatus and the CAD apparatus are connected so that the output signal is input to the CAD apparatus, the coordinate value can be automatically input. That is, it is not necessary to perform an operation of inputting coordinate values from a keyboard or the like on the CAD device, and the work burden on the operator is further reduced.
[0035]
【Example】
Finally, a specific example of the end point search process executed in the reference area specifying unit 50 of the support apparatus according to the present invention will be described. Here, a case is considered where three points P, Q, and R are designated when “black pixels” are arranged as shown in FIG. Here, the point P is a predetermined point whose coordinates are to be recognized, the point Q is a point indicating the direction in which the Y coordinate value of the predetermined point P is described, and the point R is the predetermined point P. This is a point indicating the direction in which the X coordinate value is described. In this example, the Y coordinate value is written outside the right column of the drawing, and the X coordinate value is written outside the upper column of the drawing. Therefore, the search for the Y coordinate value is performed in the right direction of the figure, and the search for the X coordinate value is performed in the upward direction of the figure.
[0036]
The search method shown here is a method based on an algorithm generally called “chain code method”, and proceeds in order from a pixel P as a starting point to an adjacent pixel in a predetermined search direction. This is to obtain a new reaching pixel. In general, with respect to a certain target pixel, the traveling direction to eight adjacent pixels from (1) to (8) can be considered as shown in FIG. Here, of the eight traveling directions, it is determined in advance which traveling direction is allowed, and when a plurality of traveling directions are permitted, the priority order is determined. To leave. Here, the information defined in this way is referred to as “priority traveling direction”. Then, based on the preferential traveling direction, the pixel P is sequentially advanced from the starting pixel P to the adjacent pixel, and the final reaching pixel is obtained.
[0037]
Specifically, when searching in the right direction in FIG. 8, for example, direction (5) is set as the first priority direction, and direction (3) and direction (8) are set as the second priority direction (this example Then, both are given the same priority, and if it is possible to proceed in either direction (3) or direction (8), either direction can be arbitrarily selected). Then, for a certain pixel of interest, first, if it can proceed in the first priority direction, it proceeds in that direction. That is, if a “black pixel” is adjacent in that direction, a process of setting the adjacent pixel as a new target pixel is performed. If it is impossible to proceed in the first priority direction, it is determined whether or not it is possible to proceed in the second priority direction. If possible, proceed in the second priority direction. If it is impossible to proceed in the second priority direction, the search ends there, and the current pixel of interest becomes the final pixel reached.
[0038]
Based on such an algorithm, when the search process using the pixel P shown in FIG. 8 as the first pixel of interest is performed, the search is performed along the route indicated by the arrow in the figure, and finally the pixel QQ is determined as the arrival pixel. This pixel QQ will be recognized as the end point of the leader line. However, as in the example shown in FIG. 8, there may be a case where the original leader line is discontinuous due to so-called “pixel missing”. In order to cope with such a case, it is preferable to define such that the progression is permitted even if a predetermined number of blank pixels are present. If such a definition is made, in the example shown in FIG. 8, it is possible to proceed further to the right from the pixel QQ, and finally the pixel QQ.*Is recognized as a reaching pixel.
[0039]
In the case of performing an upward search in FIG. 8, for example, direction (2) may be determined as the first priority direction, and directions (1) and (3) may be determined as the second priority direction. As a result, the pixel RR is finally recognized as a reaching pixel.
[0040]
FIG. 10 is a flowchart showing a processing procedure from searching for such an algorithm to recognizing the end point QQ and the end point RR of the leader line. First, in step S1, three points P, Q, and R are input. Subsequently, in step S2, the priority traveling direction is defined based on the positional relationship between the points P and Q. In the case of the above example, since the point Q is located on the right side of the point P, the direction (5) is defined as the first priority direction, and the directions (3) and (8) are defined as the second priority direction. Then, using point P as the starting pixel, it is determined in step S3 whether or not it is possible to proceed to an adjacent pixel. If possible, the process proceeds to the next pixel based on the priority traveling direction in step S4, and returns to step S3 again. Thus, the progression to the adjacent pixels is continued as much as possible. If the advancement becomes impossible, the current position is recognized as the end point QQ in step S5.
[0041]
Subsequently, in step S6, the priority traveling direction is defined based on the positional relationship between the points P and R. In the case of the above example, since the point R is located above the point P, the direction (2) is defined as the first priority direction, and the directions (1) and (3) are defined as the second priority direction. Then, using point P as the starting pixel, it is determined in step S7 whether or not it is possible to proceed to an adjacent pixel. If possible, the process proceeds to the next pixel in step S8 based on the priority traveling direction, and returns to step S7 again. Thus, the progression to the adjacent pixels is continued as much as possible. If the advancement becomes impossible, the current position is recognized as the end point RR in step S9.
[0042]
Of course, the end point recognition using such a simple algorithm does not always recognize the correct end point of the leader line. In some cases, a line constituting a figure is erroneously recognized as a leader line, and an unexpected recognition result may be obtained. However, this device is only a device that functions as a support device, and a 100% recognition result is not necessarily required. For example, even if a predetermined point P is clicked with the mouse, even if the display mode of the corresponding coordinate value does not change, it is sufficient to recognize the coordinate value for the point by a conventional method. Does not occur. Even if the recognition result by the support device is 90%, if the coordinate values of 900 points can be easily recognized using the support device in the operation of inputting 1000 points, The function as a support device can be fulfilled sufficiently.
[0043]
【The invention's effect】
As described above, according to the graphic input work support device according to the present invention, the coordinate value related to the predetermined point on the drawing is displayed on the display screen in an easily recognizable manner, so that the graphic is input to the computer. The operator's work burden can be greatly reduced when performing the work to be performed.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating an example of information on a paper drawing to be input to a CAD device.
FIG. 2 is a block diagram showing a basic configuration of a graphic input work support apparatus according to the present invention.
3 is a diagram showing an arrangement of “black pixels” in the vicinity of a predetermined point P in the drawing shown in FIG. 1;
FIG. 4 is a diagram showing a reference area specified by a three-point instruction for recognizing a coordinate value of a predetermined point P.
FIG. 5 is a diagram showing an example in which the reference area specified in FIG. 4 is enlarged and displayed.
FIG. 6 is a diagram showing an example in which a scroll function is provided in the enlarged reference area.
FIG. 7 is a block diagram showing a basic configuration of another embodiment of the graphic input work support apparatus according to the present invention.
FIG. 8 is a diagram for explaining a process of searching for end points QQ and RR of a leader line starting from a predetermined point P.
FIG. 9 is a diagram showing eight adjacent pixels that can proceed with respect to a certain target pixel;
FIG. 10 is a flowchart showing a processing procedure from the predetermined point P as a starting point until the end points QQ and RR of the leader line are recognized.
[Explanation of symbols]
10. Image input means
20: Storage means
30. Image display means
40. Instruction means
50. Reference area specifying means
60: Display mode changing means
70: Coordinate value recognition means
Ax, Ay ... Reference area
AAx, AAy ... Enlarged area
P: Predetermined point where the coordinate value needs to be recognized
Q: Point indicating the direction in which the Y coordinate value of the predetermined point P is described
R: Point indicating the direction in which the X coordinate value of the predetermined point P is described
QQ, QQ*... End point of leader line
RR: Leader end point
Sx, Sy ... Scroll bar

Claims (5)

集積回路に用いる図形を示すための図形記載欄に記載された図形と、この図形上の所定点の座標を示すために前記図形記載欄の欄外領域に記載された座標値と、前記所定点と前記座標値とを関連づけるために一端が前記所定点に接続され他端が前記座標値の近傍まで伸びた引出線と、が記された図面に基づいて、前記図形をコンピュータに入力する作業を行う場合に、この図形入力作業を支援するための装置であって、
前記図面上の情報を画像データとして取り込む画像入力手段と、
前記画像データを格納する記憶手段と、
前記記憶手段内に格納された画像データに基づいて、前記図面上の情報を表示する画像表示手段と、
オペレータの指示入力に基づいて、前記画像表示手段によって表示されている図形上の所定点を指示する指示手段と、
前記画像データを解析することにより、前記指示手段によって指示された点の近傍の画素を起点として、上方向、下方向、左方向、もしくは右方向へと図形または引出線を構成する画素を辿る処理を行い、その結果、前記欄外領域の画素まで辿り着いたら、当該画素の位置を引出線の端点と認識し、この端点近傍の所定位置に参照領域を特定する参照領域特定手段と、
前記画像表示手段によって表示されている画像のうち、前記参照領域特定手段によって特定された参照領域を他の領域とは異なる表示態様で表示させることにより、前記画像表示手段上において、前記指示手段によって指示された点に対応する座標値の視認性を向上させる表示態様変更手段と、
を備えることを特徴とする図形入力作業の支援装置。
A graphic described in a graphic description column for indicating a graphic used for an integrated circuit, a coordinate value described in a marginal area of the graphic description column to indicate the coordinates of a predetermined point on the graphic, and the predetermined point In order to associate the coordinate values with each other, an operation for inputting the figure to the computer is performed based on a drawing in which one end is connected to the predetermined point and the other end extends to the vicinity of the coordinate value. A device for supporting the graphic input work,
Image input means for capturing information on the drawing as image data;
Storage means for storing the image data;
Image display means for displaying information on the drawing based on image data stored in the storage means;
Instruction means for instructing a predetermined point on the graphic displayed by the image display means based on an instruction input by an operator ;
A process of tracing pixels constituting a figure or a leader line in an upward direction, a downward direction, a left direction, or a right direction, starting from a pixel in the vicinity of the point indicated by the indication unit, by analyzing the image data As a result, when reaching the pixel in the out-of-line region, a reference region specifying means for recognizing the position of the pixel as an end point of the leader line and specifying a reference region at a predetermined position near the end point ;
Of the images displayed by the image display means, the reference area specified by the reference area specifying means is displayed in a display mode different from other areas, so that the instruction means on the image display means Display mode changing means for improving the visibility of the coordinate value corresponding to the instructed point ;
A graphic input work support apparatus comprising:
請求項1に記載の支援装置において、表示態様変更手段が、特定された参照領域を拡大表示することを特徴とする図形入力作業の支援装置。2. The graphic input work support device according to claim 1, wherein the display mode changing means enlarges and displays the specified reference area. 請求項1または2に記載の支援装置において、参照領域特定手段が、オペレータからのスクロール指示に基づいて参照領域を移動させる機能を有することを特徴とする図形入力作業の支援装置。3. A support apparatus for graphic input work according to claim 1, wherein the reference area specifying means has a function of moving the reference area based on a scroll instruction from an operator. 集積回路に用いる図形を示すための図形記載欄に記載された図形と、この図形上の所定点の座標を示すために前記図形記載欄の欄外領域に記載された座標値と、前記所定点と前記座標値とを関連づけるために一端が前記所定点に接続され他端が前記座標値の近傍まで伸びた引出線と、が記された図面に基づいて、前記図形をコンピュータに入力する作業を行う場合に、この図形入力作業を支援するための装置であって、
前記図面上の情報を画像データとして取り込む画像入力手段と、
前記画像データを格納する記憶手段と、
前記記憶手段内に格納された画像データに基づいて、前記図面上の情報を表示する画像表示手段と、
オペレータの指示入力に基づいて、前記画像表示手段によって表示されている図形上の所定点を指示する指示手段と、
前記画像データを解析することにより、前記指示手段によって指示された点の近傍の画素を起点として、上方向、下方向、左方向、もしくは右方向へと図形または引出線を構成する画素を辿る処理を行い、その結果、前記欄外領域の画素まで辿り着いたら、当該画素の位置を引出線の端点と認識し、この端点近傍の所定位置に参照領域を特定する参照領域特定手段と、
前記参照領域特定手段によって特定された参照領域に対してパターン認識を行い、この参照領域内に記述されている座標値をデジタルコードとして読取り、図形の入力対象となるコンピュータに対して前記デジタルコードを出力する座標値認識手段と、
を備えることを特徴とする図形入力作業の支援装置。
A graphic described in a graphic description column for indicating a graphic used for an integrated circuit, a coordinate value described in a marginal area of the graphic description column to indicate the coordinates of a predetermined point on the graphic, and the predetermined point In order to associate the coordinate values with each other, an operation for inputting the figure to the computer is performed based on a drawing in which one end is connected to the predetermined point and the other end extends to the vicinity of the coordinate value. A device for supporting the graphic input work,
Image input means for capturing information on the drawing as image data;
Storage means for storing the image data;
Image display means for displaying information on the drawing based on image data stored in the storage means;
Instruction means for instructing a predetermined point on the graphic displayed by the image display means based on an instruction input by an operator ;
A process of tracing pixels constituting a figure or a leader line in an upward direction, a downward direction, a left direction, or a right direction, starting from a pixel in the vicinity of the point indicated by the indication unit, by analyzing the image data As a result, when reaching the pixel in the out-of-line region, a reference region specifying means for recognizing the position of the pixel as an end point of the leader line and specifying a reference region at a predetermined position near the end point ;
Pattern recognition is performed on the reference area specified by the reference area specifying means, the coordinate value described in the reference area is read as a digital code, and the digital code is input to a computer to which a figure is to be input. Output coordinate value recognition means;
A graphic input work support apparatus comprising:
請求項1〜4のいずれかに記載の支援装置において、指示手段が、図形上の所定点を指示する機能とともに、前記所定点の座標値が記述されている方向を指示する機能を有し、参照領域特定手段が、指示された方向にのみ画素を辿る処理を行うことを特徴とする図形入力作業の支援装置。In support device according to any one of claims 1 to 4, indicating means, together with the ability to instruct a predetermined point on the figure, have a function of specifying a direction coordinate value of the predetermined point it is described, A graphic input work support apparatus, characterized in that the reference area specifying means performs a process of tracing pixels only in the designated direction .
JP34460796A 1996-12-09 1996-12-09 Support device for graphic input work Expired - Fee Related JP3635174B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34460796A JP3635174B2 (en) 1996-12-09 1996-12-09 Support device for graphic input work

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34460796A JP3635174B2 (en) 1996-12-09 1996-12-09 Support device for graphic input work

Publications (2)

Publication Number Publication Date
JPH10171859A JPH10171859A (en) 1998-06-26
JP3635174B2 true JP3635174B2 (en) 2005-04-06

Family

ID=18370583

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34460796A Expired - Fee Related JP3635174B2 (en) 1996-12-09 1996-12-09 Support device for graphic input work

Country Status (1)

Country Link
JP (1) JP3635174B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5402417B2 (en) * 2009-09-03 2014-01-29 株式会社リコー Image processing device

Also Published As

Publication number Publication date
JPH10171859A (en) 1998-06-26

Similar Documents

Publication Publication Date Title
JP2012203458A (en) Image processor and program
KR20030088862A (en) Apparatus for producing sewing data and program for producing sewing data
JPH0640219B2 (en) How to create cutout mask data
JPH10188014A (en) Picture editing method and its device
US5150434A (en) Image data filing system with image data modification facility
JP3635174B2 (en) Support device for graphic input work
US5302967A (en) Figure processing apparatus and method aided by display with ruled lines
US6430583B1 (en) Scenario editing apparatus for performing editing of multimedia using figure feature points
JP2996933B2 (en) Drawing display device
JP3005440B2 (en) Defect inspection device and defect inspection method
US5471536A (en) Figure digitizing system
JPH07244741A (en) Method and device for navigation display
JPH08202856A (en) Picture processing method
US8768060B2 (en) Image processing apparatus, image processing method and computer-readable medium
JP2000067258A (en) Drawing plotter
JP3386209B2 (en) Device for rearranging objects displayed on a display screen
JPH0934989A (en) Format parameter generating method for ocr
JP2023153638A (en) Program, information processing apparatus, and determination method
JP3213047B2 (en) Recognition target area setting method
JP3952513B2 (en) Data display device
JP2990764B2 (en) Document processing device
JP2721344B2 (en) Image processing method
EP0637811A2 (en) Method for defining a plurality of form definition data sets
JP3090978B2 (en) Image cutout processing device
JPH01121919A (en) Coordinate input device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040921

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041122

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041221

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041228

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees