JP3377394B2 - Apparatus and method for identifying shape of object - Google Patents

Apparatus and method for identifying shape of object

Info

Publication number
JP3377394B2
JP3377394B2 JP05888697A JP5888697A JP3377394B2 JP 3377394 B2 JP3377394 B2 JP 3377394B2 JP 05888697 A JP05888697 A JP 05888697A JP 5888697 A JP5888697 A JP 5888697A JP 3377394 B2 JP3377394 B2 JP 3377394B2
Authority
JP
Japan
Prior art keywords
line
line drawing
intersection
area
graphic
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
Application number
JP05888697A
Other languages
Japanese (ja)
Other versions
JPH10255061A (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.)
Shinko Electric Industries Co Ltd
Original Assignee
Shinko Electric Industries 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 Shinko Electric Industries Co Ltd filed Critical Shinko Electric Industries Co Ltd
Priority to JP05888697A priority Critical patent/JP3377394B2/en
Publication of JPH10255061A publication Critical patent/JPH10255061A/en
Application granted granted Critical
Publication of JP3377394B2 publication Critical patent/JP3377394B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Testing Or Measuring Of Semiconductors Or The Like (AREA)
  • Lead Frames For Integrated Circuits (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、CAD(Comp
uter Aided Design)装置により描か
れたリードフレーム等の物体の平面形状を図形データと
して記憶しておき、前記物体の局部エリアを指定して、
当該指定エリア内の図形データを読み出してその輪郭線
の内外が物体か空間かを判定する物体の形状識別装置及
び方法に関する。
TECHNICAL FIELD The present invention relates to a CAD (Comp
Uter Aided Design) A plane shape of an object such as a lead frame drawn by a device is stored as graphic data, a local area of the object is designated,
The present invention relates to an object shape identifying apparatus and method for reading out graphic data in the designated area and determining whether the inside or outside of the contour line is an object or a space.

【0002】[0002]

【従来の技術】従来、例えば半導体パッケージに用いら
れるリードフレームの検査工程において、インナーリー
ドのリード幅などの検査を行う場合に、予め測定すべき
インナーリード部に走査線となるマーカーを付与した検
査データが検査装置に与えられており、該検査装置は検
査データにしたがって上記マーカーとインナーリード部
との交点を読み取って指定された箇所の実際のリード部
の幅を測定してリードフレームの検査が行われるように
システムが構築されている。上記CAD装置に描かれた
リードフレームの輪郭形状を示す図形データを用いて、
検査データを作成する場合、上記CADデータをパーソ
ナルコンピュータ等の演算処理装置に読み込んで記憶さ
せた図形データより作業者が、インナーリード部か又は
穴を含む空間部分であるかを視覚的に認識しながら、図
形データ上にマーカーとなる走査線を付与していた。そ
して、上記インナーリード部の測定は、走査線とインナ
ーリード部との交点のうち何番目から何番目を測定せよ
というデータ形式で与えられるため、できるだけ走査線
を長く引くことが望ましい。
2. Description of the Related Art Conventionally, in a step of inspecting a lead frame used for a semiconductor package, for example, in the case of inspecting a lead width of an inner lead, an inspection in which a marker serving as a scanning line is attached to an inner lead portion to be measured in advance. The data is given to the inspection device, and the inspection device reads the intersection of the marker and the inner lead portion according to the inspection data and measures the actual width of the lead portion at the designated portion to inspect the lead frame. The system is built to be done. Using the graphic data showing the outline shape of the lead frame drawn on the CAD device,
When creating the inspection data, the operator visually recognizes whether the CAD data is an inner lead portion or a space portion including a hole from the graphic data read and stored in an arithmetic processing device such as a personal computer. However, a scanning line that serves as a marker is provided on the graphic data. Further, since the measurement of the inner lead portion is given in a data format of measuring from which point of the intersection of the scanning line and the inner lead portion, it is desirable to draw the scanning line as long as possible.

【0003】一般に、図形データより物体の平面形状を
判定するためには、外形を形成する図形要素群を認識す
ること、外形の内側に存在する輪郭の閉じた図形要素群
を認識すること、これらの関係を視覚的に認識した上で
各図形要素に対してその輪郭線のどちら側に物体及び空
間部が存在するかを判定できる。例えば、QFP(Qu
ad Flat Package)やDIP(Dual
Inline Package)などに用いられるリー
ドフレームにおいて、ダイパッドより放射状に形成され
るインナーリード部の形状を判定する場合、先ず外形形
状を視覚的に認識する。次に、外形により囲まれた部分
に閉じた形状があるか否かを認識して、閉じた形状があ
れば穴であると判定する。このように、予め描こうとす
る線分の始点が物体(リード部)上か空間部(穴)上か
を認識した上で、該インナーリード部に対して交差する
方向(リードフレームの幅方向)に線分を引く。上記線
分の始点が空間より始まる場合、第1番目と第2番目の
交点との間が物体であり第2番目と第3番目の交点との
間が空間であるというアルゴリズムを用いてマーカーと
なる検査データを作成していた。
In general, in order to determine the planar shape of an object from graphic data, it is necessary to recognize a graphic element group forming an outer shape and to recognize a graphic element group having a closed contour inside the outer shape. After visually recognizing the relationship of, it is possible to determine on which side of the contour line the object and the space part exist for each graphic element. For example, QFP (Qu
ad Flat Package) and DIP (Dual)
In the case of determining the shape of the inner lead portion radially formed from the die pad in a lead frame used for Inline Package) or the like, first, the outer shape is visually recognized. Next, whether or not there is a closed shape in the portion surrounded by the outer shape is recognized, and if there is a closed shape, it is determined to be a hole. In this way, after recognizing in advance whether the starting point of the line segment to be drawn is on the object (lead part) or the space part (hole), the direction crossing the inner lead part (width direction of the lead frame) Draw a line segment on. When the starting point of the line segment starts from the space, a marker is used by using an algorithm in which an object is between the first and second intersections and a space is between the second and third intersections. I was creating inspection data.

【0004】[0004]

【発明が解決しようとする課題】ところで、半導体装置
が小型化高集積化し、リードフレームの多ピン化が進行
しファインピッチ化した今日では、CAD装置により描
かれたリードフレームの図形データ全体を直接視認して
特定のインナーリード部を選んで走査線を書き込むのは
煩雑で困難である。従って、上記図形データのうちイン
ナーリード部を局部的にエリア指定して取り出し、リー
ド部か空間かを識別する手法を取らざるを得ない。ま
た、この指定エリア内に閉じた図形要素があると、該閉
じた図形要素を内包する外形全体を辿って物体か空間か
を判定しなければならないが、指定エリア内では輪郭線
が連続していない場合が多く、インナーリード部か空間
部かの識別に時間を要する。例えば、ある指定エリア内
において、輪郭線が途切れた中に閉じた図形要素がn個
が存在する場合、該閉じた図形要素を取り囲む外形形状
を認識するためこれを逐一辿って形状を認識する必要が
あり、最大でn×n回分輪郭線を辿ってリード部か空間
部かの識別する処理が必要であり効率が悪い。
By the way, in today's semiconductor devices, which are miniaturized and highly integrated, and lead pins have become multi-pin and fine pitches have been achieved, the entire graphic data of the lead frame drawn by the CAD device is directly processed. It is complicated and difficult to visually recognize and select a specific inner lead portion to write a scanning line. Therefore, it is unavoidable to take a method of locally specifying the area of the inner lead portion in the graphic data and extracting the inner lead portion to identify the lead portion or the space. Further, if there is a closed graphic element in this designated area, it is necessary to trace the entire outline including the closed graphic element to determine whether it is an object or a space, but the contour line is continuous in the designated area. In many cases, it takes time to identify the inner lead portion or the space portion. For example, in a certain designated area, when there are n closed graphic elements while the contour line is interrupted, it is necessary to recognize the outer shape surrounding the closed graphic element one by one to recognize the shape. Therefore, it is necessary to trace the contour line for a maximum of n × n times to identify the lead portion or the space portion, which is inefficient.

【0005】本発明の目的は、上記従来技術の課題を解
決し、物体の平面形状を示す図形データのうち局部的に
エリア指定して、当該指定エリア内の図形データの輪郭
線に不連続な部分があってもこれを逐一辿ることなく物
体か空間かを効率的に識別する物体の形状識別装置及び
方法を提供することにある。
An object of the present invention is to solve the above-mentioned problems of the prior art, to locally specify an area in the figure data indicating the planar shape of an object, and discontinue the contour line of the figure data in the specified area. An object of the present invention is to provide an object shape identifying apparatus and method for efficiently identifying an object or a space without tracing each portion even if there is a portion.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するた
め、本発明は次の構成を備える。すなわち、物体の平面
形状に関する図形データを入力する第1入力手段と、エ
リア指定データ座標データを含む指定データを入力す
る第2入力手段と、前記第1及び第2入力手段より入
力されたデータを記憶する記憶手段と、前記記憶手段
読み出された図形データや該図形データを含む表示エ
リア内に作成された線画を出力する線画出力手段と、前
記記憶手段に記憶された制御プログラムに基づき、前記
2入力手段より入力されたエリア指定データに応じ
て指定エリア内の図形データを前記記憶手段より読み出
し、前記第2入力手段より前記指定エリア内に入力され
た複数の座標データ間を結んで単一の閉じた仮想線を形
成して前記図形データの輪郭線との交点を求め、前記座
標データに基づいて線画形成方向を判定して1の交点よ
り判定方向に他の交点に向かって輪郭線又は仮想線を辿
りながら線画を形成し、他の交点において当該1の交点
を含む線画に対して前記線画形成方向へ所定角度回転し
た位置にある当該他の交点を含む線画を選択する作業を
繰り返しながら線画囲まれた図形エリアを形成し、該
図形エリア内を物体であると仮定して前記線画出力手段
により識別表示る制御手段とを備えたことを特徴とす
る。
In order to solve the above problems, the present invention has the following constitution. That is, a first input means for inputting graphic data related to the planar shape of the object, and a second input means for inputting specification data including the area designation data and coordinate data, is more input to the first and second input means storage means for storing data, or the storage means
Line drawing output unit for outputting a line drawing that is created in the display area including al graphic data and figure shape data read out, based on the control program stored in said storage means, said
Read from the storage means the graphic data in the designated region in accordance with a more input area specifying data to the second input means, by connecting between a plurality of coordinate data inputted in said designated area from said second input means A single closed virtual line is formed to obtain an intersection with the contour line of the graphic data, a line drawing forming direction is determined based on the coordinate data, and a contour is drawn from the one intersection toward the other intersection in the determination direction. A process of forming a line drawing while tracing a line or an imaginary line and selecting a line drawing including the other intersection at a position rotated by a predetermined angle in the line drawing forming direction with respect to a line drawing including the one intersection at another intersection Repeatingly forming a graphic area surrounded by a line drawing , and assuming that the graphic area is an object, the line drawing output means
Characterized by comprising a control unit that displays identified by.

【0007】また、前記制御手段、前記線画形成方向
を左回り方向と判定した場合には、前記1の交点を含む
線画に対して左回り最大角度回転した位置にある他の交
点を含む線画を選択し、前記線画形成方向を右回り方向
と判定した場合には、当該1の交点を含む線画に対して
右回り最大角度回転した位置にある他の交点を含む線画
を選択して図形エリアを形成する手段であることを特徴
とする。また、前記制御手段、前記仮想線の始点を空
間部上と仮定した場合には第1の交点より線画形成方向
に輪郭線又は仮想線を辿り、前記始点を物体上仮定し
た場合には第2の交点より線画形成方向に輪郭線又は仮
想線を辿りながら図形エリアを形成する手段であること
を特徴とする。また、前記制御手段、前記図形エリア
の内部に図形がある場合には、これを辿ることにより該
図形に仕切られた部分物体か空間部かを識別する手段
であることを特徴とする
Further, line drawing said control means, when the line drawing forming direction is determined that the counterclockwise direction, including other intersections in the position rotated counterclockwise maximum angle with respect to the line drawing including an intersection of the 1 When it is determined that the line drawing forming direction is a clockwise direction, the line drawing including another intersection at the position rotated by the maximum clockwise angle with respect to the line drawing including the intersection of the 1 is selected to select the graphic area. Is a means of forming
And Further, the control means, wherein when the starting point of the virtual line assuming upper space portion follows the contour or phantom line drawing forming direction than the first intersection, when the start point assuming that the object A means for forming a graphic area while tracing a contour line or an imaginary line in the line drawing forming direction from the second intersection
Is characterized by . Further, the control means, when there is a graphic within said graphics area, means for identifying the portion or the object or space which is partitioned in the drawing type by following this
Is characterized in that .

【0008】また、物体の形状識別方法においては、第
1入力手段より物体の平面形状を示す図形データを入
力して該図形データを記憶手段に記憶し、前記記憶手段
に記憶された制御プログラムに基づき、第2入力手段
より物体の局部エリアを指定すると、当該指定エリアに
応じた図形データを読み出し、前記第2入力手段より
指定エリア内に複数の座標データを入力すると、当該座
標データ間を結んで単一の閉じた仮想線を形成して前記
図形データの輪郭線と交点を求め、前記座標データに
基づいて線画形成方向を判定して1の交点より判定方向
に他の交点に向かって輪郭線又は仮想線を辿りながら線
画を形成し、他の交点において当該1の交点を含む線画
に対して前記線画形成方向へ所定角度回転した位置にあ
る当該他の交点を含む線画を選択する作業を繰り返しな
がら上記線画により囲まれた図形エリア内を物体と仮定
して線画出力手段により識別表示ることを特徴とす
る。
Further, in the object shape identification method, enter the graphic data showing more object plane configuration to the first input means stores figure type data in the storage means, said storage means a control program stored in the basis, specifying the local area of the object than <br/> to the second input means, reads out the graphic data corresponding to the designated area, entering a plurality of coordinate data more within the designated area to the second input means , A single closed virtual line is formed by connecting the coordinate data to obtain an intersection with the contour line of the graphic data, the line drawing forming direction is determined based on the coordinate data, and the determination direction from the intersection of 1 A line drawing is formed while tracing a contour line or an imaginary line toward another intersection, and the other intersection at the position rotated by a predetermined angle in the line drawing forming direction with respect to the line drawing including the one intersection at the other intersection. Assuming the object graphics area surrounded by the line image by repeating the operations of selecting a line drawing that contains the features that you identification by line drawings output means.

【0009】また、前記線画形成方向が左回り方向と判
定された場合には、当該1の交点を含む線画に対して左
回り最大角度回転した位置にある他の交点を含む線画を
選択し、前記線画形成方向が右回り方向と判定された場
合には、当該1の交点を含む線画に対して右回り最大角
度回転した位置にある他の交点を含む線画を選択して図
形エリアを形成することを特徴とする。また、前記図形
エリアを形成する際に、始点を空間部上と仮定した場合
には第1の交点より線画形成方向に輪郭線又は仮想線を
辿り、始点を物体上仮定した場合には第2の交点より
線画形成方向に輪郭線又は仮想線を辿ることを特徴とす
。また、前記図形エリア内に図形がある場合には、こ
れを辿ることより該図形に仕切られた部分物体か空間
部かを識別することを特徴とする
When it is determined that the line drawing forming direction is the counterclockwise direction, a line drawing including another intersection at the position rotated by the maximum counterclockwise angle with respect to the line drawing including the intersection of the 1 is selected, When it is determined that the line drawing forming direction is the clockwise direction, the line drawing including the other intersection at the position rotated by the maximum clockwise angle with respect to the line drawing including the one intersection is selected to form the graphic area. It is characterized by Further, when forming the graphic area, if the starting point is assumed to be on the space portion, the contour line or virtual line is traced in the line drawing forming direction from the first intersection, and if the starting point is assumed to be on the object, Characterized by tracing a contour line or a virtual line in the line drawing forming direction from the intersection of two
It Also, the if there is a figure in the graphic area is partitioned portion in the drawing form than to follow this, characterized in that identifying whether the object or space.

【0010】[0010]

【発明の実施の形態】以下、本発明の好適な実施例を添
付図面に基づいて詳細に説明する。本実施の態様は、物
体としてQFP用のリードフレームを用い、その局部的
平面形状を認識するための形状識別装置及び方法につい
て説明する。図1はリードフレームの形状識別装置の構
成を示すブロック図、図2はリードフレームの形状識別
プロセスを示すフローチャート、図3(a)はリードフ
レームの形状の識別プロセスを示す模式説明図、図3
(b)(c)は各交点において次に辿るべき線画の選択
方法を示す説明図、図4は識別されたリードフレームの
局部的形状を示す説明図、図5はQFP用リードフレー
ムの平面図、図6は線画形成方向の判定方法を示す説明
図である。
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings. In this embodiment, a lead frame for QFP is used as an object, and a shape identifying apparatus and method for recognizing a local planar shape of the lead frame will be described. 1 is a block diagram showing the configuration of a lead frame shape identification device, FIG. 2 is a flow chart showing the lead frame shape identification process, and FIG. 3A is a schematic explanatory view showing the lead frame shape identification process.
(B) and (c) are explanatory views showing a method of selecting a line drawing to be followed next at each intersection, FIG. 4 is an explanatory view showing a localized shape of the identified lead frame, and FIG. 5 is a plan view of the QFP lead frame. FIG. 6 is an explanatory diagram showing a method of determining the line drawing forming direction.

【0011】先ず、リードフレームの形状認識装置の構
成を図1に示すブロック図を参照して説明する。図1に
おいて、1は第1入力手段としてのCADシステムであ
り、リードフレームの平面形状に関する図形データを生
成し出力する。上記CADシステム1よりリードフレー
ムの平面形状に関する図形データが入力される。2は第
2入力手段としてのキーボードであり、上記図形データ
のうち局部エリアを抽出するエリア指定データ及び後述
する仮想線を形成するための複数の座標データを含む指
定データが入力される。上記第1,第2入力手段として
は、CADシステム1やキーボード2の他に外部記憶装
置やオンライン接続された外部コンピュータシステム等
であっても良い。
First, the structure of the lead frame shape recognition apparatus will be described with reference to the block diagram shown in FIG. In FIG. 1, reference numeral 1 denotes a CAD system as a first input means, which generates and outputs graphic data regarding the planar shape of the lead frame. Graphic data relating to the planar shape of the lead frame is input from the CAD system 1. Reference numeral 2 is a keyboard as a second input means, and the designation data including area designation data for extracting a local area of the graphic data and a plurality of coordinate data for forming a virtual line described later are inputted. The first and second input means may be an external storage device, an online computer system connected online, or the like, in addition to the CAD system 1 and the keyboard 2.

【0012】3は記憶手段の1部としてのRAMであ
り、上記CADシステム1から入力された前記図形デー
タを記憶する。また、上記図形データに基づいて後述す
る制御手段としてのマイクロプロセッサ(MPU)がリ
ードフレームに対応する仮想平面をRAM3の記憶エリ
アに論理構成すると共に、MPUはその仮想平面上にお
いて指定された指定エリアに含まれる図形データを生成
し、その仮想平面上の図形データを記憶する。上記RA
M3は、CADシステム1,キーボード2から入力され
たコマンドやデータを記憶する記憶手段としての機能の
他、後述するMPUのワークエリアとしての機能を有
し、該MPUがデータ処理して得られた情報や演算結果
等が一時的に記憶される。尚、上記RAM3に代えて、
フレキシブルディスク、ICメモリカード等の外部メモ
リを用いることもできる。
Reference numeral 3 denotes a RAM as a part of a storage means, which stores the graphic data input from the CAD system 1. Further, based on the graphic data, a microprocessor (MPU) as a control means described later logically configures a virtual plane corresponding to the lead frame in the storage area of the RAM 3, and the MPU is designated area designated on the virtual plane. To generate graphic data included in, and store the graphic data on the virtual plane. RA above
The M3 has a function as a storage unit for storing commands and data input from the CAD system 1 and the keyboard 2 and a function as a work area for an MPU described later, and is obtained by the MPU processing the data. Information, calculation results, etc. are temporarily stored. Incidentally, instead of the RAM3,
An external memory such as a flexible disk or an IC memory card can also be used.

【0013】4は記憶手段の1部としてのROMであ
り、後述するMPUのオペレーティングシステム、リー
ドフレームの形状識別装置の制御プログラム、制御デー
タ等が予め記憶されている。なお、制御プログラム、制
御データ等はROM4に記憶することなく、フレキシブ
ルディスク、ICメモリカード等の外部メモリを用いる
こともできる。5は線画出力手段としてのグラフィック
ディスプレイであり、前記キーボード2より入力された
指定データに基づいて作成した線画を出力表示する。上
記線画出力手段としては、グラフィックディスプレイ5
の他にプリンタ、外部記憶装置等も採用可能である。
Reference numeral 4 denotes a ROM as a part of the storage means, which stores in advance an MPU operating system, a control program of a lead frame shape identifying device, control data, and the like. The control program, control data, etc. may be stored in the ROM 4 and an external memory such as a flexible disk or an IC memory card may be used. Reference numeral 5 is a graphic display as a line drawing output means, which outputs and displays a line drawing created based on the designated data input from the keyboard 2. A graphic display 5 is used as the line drawing output means.
Besides, a printer, an external storage device, or the like can also be adopted.

【0014】6は制御手段としてのMPUであり、上記
ROM4に記憶された制御プログラムに基づき、前記キ
ーボード2よりエリア指定データが入力されると、上記
RAM3より指定エリア内に存在する図形データを読み
出し、前記キーボード2より複数の座標データが入力さ
れると上記図形データを含む表示エリア内に線画を書き
込んで上記グラフィックディスプレイ5に表示させるよ
う制御する。具体的には、上記キーボード2より入力さ
れたエリア指定データに応じて指定エリア内の図形デー
タを上記RAM3より読み出し、上記キーボード2より
上記指定エリア内に入力された複数の座標データ間を結
んで単一の閉じた仮想線を形成して前記図形データの輪
郭線との交点を求め、前記座標データに基づいて線画形
成方向を判定して1の交点より判定方向に他の交点に向
かって輪郭線又は仮想線を辿りながら線画を形成し、他
の交点において当該1の交点を含む線画に対して前記線
画形成方向へ所定角度回転した位置にある当該他の交点
を含む線画を選択する作業を繰り返しながら線画により
囲まれた図形エリアを形成し、該図形エリア内を物体で
あると仮定して上記グラフィックディスプレイ5に識別
表示させる。
Reference numeral 6 is an MPU as a control means, and when the area designating data is inputted from the keyboard 2 based on the control program stored in the ROM 4, the graphic data existing in the designated area is read out from the RAM 3. When a plurality of coordinate data is input from the keyboard 2, a line drawing is written in the display area containing the graphic data and is displayed on the graphic display 5. Specifically, the graphic data in the designated area is read from the RAM 3 in accordance with the area designation data input from the keyboard 2, and a plurality of coordinate data input from the keyboard 2 into the designated area is connected. A single closed virtual line is formed to obtain an intersection with the contour line of the graphic data, a line drawing forming direction is determined based on the coordinate data, and a contour is drawn from the one intersection toward the other intersection in the determination direction. A process of forming a line drawing while tracing a line or an imaginary line and selecting a line drawing including the other intersection at a position rotated by a predetermined angle in the line drawing forming direction with respect to a line drawing including the one intersection at another intersection A graphic area surrounded by a line drawing is formed repeatedly, and the graphic display 5 is identified and displayed on the assumption that the graphic area is an object.

【0015】以下、上記リードフレーム7の形状識別プ
ロセスについて図2に示すフローチャートに基づいて、
図3〜図6を参照しながら具体的に説明する。図2にお
いて、リードフレームの形状識別装置を起動すると(ス
テップS1)、MPU6はROM4に記憶された制御プ
ログラムを読み込み、RAM3をクリアする等の準備を
行う。先ず、上記MPU6はCADシステム1からリー
ドフレーム7についての図形データを読み込み、RAM
3に記憶する(ステップS2)。
The shape identifying process of the lead frame 7 will be described below with reference to the flow chart shown in FIG.
A specific description will be given with reference to FIGS. In FIG. 2, when the lead frame shape identification device is activated (step S1), the MPU 6 reads the control program stored in the ROM 4 and prepares for clearing the RAM 3 or the like. First, the MPU 6 reads the graphic data of the lead frame 7 from the CAD system 1 and stores it in the RAM.
3 (step S2).

【0016】次に、図5に示すように、キーボード2よ
りリードフレーム7の平面形状のうち局部エリア8を指
定すると、当該局部エリア8内に存在するリードフレー
ム(インナーリード部)7の図形データ(輪郭線A)を
前記仮想平面上に生成する(図3(a)参照)と共に前
記RAM3に記憶する(ステップS3)。そして、前記
キーボード2より前記局部エリア8内で、始点位置(Q
1)を含む単一の閉じた仮想線Bを形成する座標データ
(Q2〜Q6)を入力する。本実施例では、始点位置
(Q1)は空間部に取るものと仮定し、また、座標デー
タの取り方は、上記局部エリア8内に存在するリードフ
レーム7の輪郭線A(実線)と仮想線B(破線)が交点
を持つように指定するものとする(ステップS4)。ま
た、線画形成方向は、上記キーボード2より入力される
座標データ(Q1〜Q6)に基づいてMPU6により自
動的に判定される(ステップS5)。例えば、図6に示
すように、座標(x1 ,y1 )、(x2 ,y2 )、
(x3 ,y 3 )が→→の順に左回り方向に指定
されたとすると、斜線部Aの面積は3つの台形の面積を
演算して、 面積A=(y1 +y2 )(x2 −x1 )/2+(y2
3 )(x3 −x2 )/2+(y3 +y1 )(x1 −x
3 )/2 で求められる。この場合の面積Aの符号は−となる。逆
に上記座標が右回りに指定されたとすると上記面積Aの
符号は+となる。これは(xn+1 −xn )の符号、即ち
座標データ(〜)の指定回り方向に依存するためで
ある。上記面積Aの+−の符号により座標データ(Q1
〜Q6)の線画形成方向が判定できる。但し、指定され
た座標を線分で結んだ当該線分どうしが交点を持たない
よう、上記座標データを入力することに留意する必要が
ある。尚、上記線画形成方向は、座標データと共に入力
してもよいが、操作性や入力ミス等を考慮すると、座標
データ入力により自動的に判定されるのが好ましい。
Next, as shown in FIG. 5, the keyboard 2
Of the plan shape of the lead frame 7
Then, the lead frame existing in the local area 8 is determined.
The graphic data (outline A) of the frame (inner lead part) 7
Generate on the virtual plane (see FIG. 3A) and forward
It is stored in the RAM 3 (step S3). And said
From the keyboard 2 in the local area 8, the starting point position (Q
Coordinate data forming a single closed virtual line B containing 1)
Input (Q2 to Q6). In this embodiment, the starting point position
(Q1) is assumed to be taken in the space, and the coordinate data
How to collect the data
Intersection of contour line A (solid line) and phantom line B (broken line) of frame 7
Is designated (step S4). Well
Also, the line drawing forming direction is input from the keyboard 2.
Based on the coordinate data (Q1 to Q6), MPU6
It is dynamically determined (step S5). For example, shown in Figure 6.
So that the coordinates (x1, Y1), (X2, Y2),
(X3, Y 3) Is specified counterclockwise in the order of → →
Then, the area of the shaded area A is the area of three trapezoids.
Calculate, Area A = (y1+ Y2) (X2-X1) / 2 + (y2+
y3) (X3-X2) / 2 + (y3+ Y1) (X1-X
3) / 2 Required by. The sign of the area A in this case is −. Reverse
If the above coordinates are specified clockwise, the area A
The sign is +. This is (xn + 1-Xn) Sign, that is,
Because it depends on the specified direction of coordinate data (~)
is there. Coordinate data (Q1
It is possible to determine the line drawing forming direction of Q6. However, it is specified
Line segments that connect the coordinates that have
, It is necessary to keep in mind to enter the above coordinate data
is there. The line drawing formation direction is entered together with the coordinate data.
However, considering the operability and input mistakes, the coordinates
It is preferably determined automatically by data input.

【0017】次に、図3(a)に示すように、MPU6
は上記キーボード2より入力された座標データ(Q1〜
Q6)を結んで仮想線Bを形成し、次いで輪郭線A(実
線)と仮想線B(破線)との交点(P1〜P14)を求
める(ステップS6)。次に、第1の交点(P1)から
判定された線画形成方向(本実施例では左回り方向)に
向かって他の交点(P2)を目指して仮想線B上を辿り
ながら線画を描く。このとき、始点(Q1)を空間部と
仮定した場合には、第1の交点(P1)より辿り、上記
始点(Q1)をリードフレーム7上に仮定した場合に
は、第2の交点(P2)より辿り始めるものとする(ス
テップS7)。
Next, as shown in FIG. 3A, the MPU 6
Is the coordinate data (Q1
Q6) is connected to form a virtual line B, and then the intersections (P1 to P14) of the contour line A (solid line) and the virtual line B (broken line) are obtained (step S6). Next, a line drawing is drawn while tracing the virtual line B toward the other intersection (P2) toward the determined line drawing forming direction (counterclockwise in this embodiment) from the first intersection (P1). At this time, if the starting point (Q1) is assumed to be a space portion, the first intersection (P1) is followed, and if the starting point (Q1) is assumed to be on the lead frame 7, the second intersection (P2) is set. ) Is started (step S7).

【0018】また、上記輪郭線Aと仮想線Bの各交点に
おいて辿るべき線画の選択方法について図3(b)
(c)を参照して説明する。図3(c)において、線画
形成方向が左回りと判定された場合には、例えば交点
(P)においてベクトルV1に対して左回り方向へ最大
角度回転した位置にあるベクトルV4を選択するものと
する。また、図3(b)において、上記線画形成方向が
右回りと判定された場合には、ベクトルV1に対して右
回り方向へ最大角度回転した位置にあるベクトルV4を
選択するものとする。
A method of selecting a line drawing to be traced at each intersection of the contour line A and the virtual line B is shown in FIG. 3B.
This will be described with reference to (c). In FIG. 3C, when the line drawing forming direction is determined to be counterclockwise, for example, at the intersection (P), the vector V4 at the position rotated by the maximum angle in the counterclockwise direction with respect to the vector V1 is selected. To do. Further, in FIG. 3B, when the line drawing forming direction is determined to be clockwise, the vector V4 located at the position rotated by the maximum angle in the clockwise direction with respect to the vector V1 is selected.

【0019】よって、図3(a)の場合には、線画形成
方向が左回りと判定されるため、交点(P1)より左回
りに仮想線Bを形成する線分L1を辿り、交点(P2)
において次に辿る線画の方向を決める場合には、交点
(P1)を含む線分L1に対して左回り方向へ最大角度
回転した位置にある線分L2を選択する。同様に交点
(P13)において次に辿る線画の方向を決める場合に
は、交点(P2)を含む線分L2に対して左回り方向へ
最大角度回転した位置にある線分L3を選択する。同様
に交点(P14)において次に辿る線画の方向を決める
場合には、交点(P13)を含む線分L3に対して左回
り方向へ最大角度回転した位置にある線分L4を選択し
て、交点(P1)、(P2)、(P13)、(P14)
を結ぶ線分L1,L2,L3,L4よりなる図形エリア
Cが形成される。これは、上記線画形成方向が右回りと
判定された場合には、交点(P1)を含む線分L4に対
して右回り方向へ最大角度回転した位置にある線分L3
を選択する作業を繰り返して同様に図形エリアCが形成
される(ステップS8,S9)。
Therefore, in the case of FIG. 3A, since the line drawing forming direction is determined to be counterclockwise, the line segment L1 forming the virtual line B is traced counterclockwise from the intersection point (P1) and the intersection point (P2). )
When the direction of the line drawing to be followed next in is determined in, the line segment L2 at the position rotated by the maximum angle in the counterclockwise direction with respect to the line segment L1 including the intersection point (P1) is selected. Similarly, when the direction of the line drawing to be followed at the intersection (P13) is determined, the line segment L3 located at the position rotated by the maximum angle in the counterclockwise direction with respect to the line segment L2 including the intersection (P2) is selected. Similarly, when determining the direction of the line drawing to be followed at the intersection (P14), the line segment L4 located at the position rotated by the maximum angle in the counterclockwise direction with respect to the line segment L3 including the intersection (P13) is selected, Intersection points (P1), (P2), (P13), (P14)
A graphic area C composed of line segments L1, L2, L3, and L4 connecting the two is formed. This is because when the line drawing forming direction is determined to be clockwise, the line segment L3 at the position rotated by the maximum angle in the clockwise direction with respect to the line segment L4 including the intersection (P1).
The graphic area C is similarly formed by repeating the operation of selecting (steps S8 and S9).

【0020】上記図形エリアCの内外における物体と空
間と判定は、交点を左回りに辿った場合には進行方向に
対して左側が物体であると判定する。また、交点を右回
りに辿った場合には、進行方向に対して右側が物体であ
ると判定する。よって、図3(a)に示す閉じた図形エ
リアCの場合には、四辺形の内部(斜線部)が物体(イ
ンナーリード部)であることが判定できる。
In determining the object and space inside and outside the graphic area C, when the intersection is traced counterclockwise, it is determined that the left side of the traveling direction is the object. Further, when the intersection is traced clockwise, it is determined that the right side of the traveling direction is the object. Therefore, in the case of the closed graphic area C shown in FIG. 3A, it can be determined that the inside of the quadrilateral (hatched portion) is the object (inner lead portion).

【0021】次に、図4に示すように、図形エリアCの
内部に始点及び終点を持つ図形要素Dが含まれているか
否かを判断し(ステップS10)、図形要素Dが含まれ
ている場合にはこれを辿り、始点より辿って始点に戻る
場合、即ち閉じた図形要素である場合には穴であると判
定できる。上記図形要素Dを辿る場合には、左回りに辿
った場合には、線画(線分,曲線など)の右側が物体と
判定し、右回りに辿った場合には、線画(線分,曲線な
ど)の左側が物体と判定するものとする(ステップS1
1)。
Next, as shown in FIG. 4, it is judged whether or not a graphic element D having a start point and an end point is included in the graphic area C (step S10), and the graphic element D is included. In this case, this is traced, and if it is traced from the start point and returned to the start point, that is, if it is a closed graphic element, it can be determined as a hole. When tracing the above-mentioned graphic element D, when tracing counterclockwise, it is determined that the right side of the line drawing (line segment, curve, etc.) is an object, and when tracing clockwise, line drawing (line segment, curve) It is determined that the left side of () is an object (step S1)
1).

【0022】このような作業を上記輪郭線Aと仮想線B
が交点を持つことにより形成される単数又は複数の図形
エリアCに対して行い、リードフレーム7であると判明
した領域にはフラグを立てるか、或いはグラフィックデ
ィスプレイ5上で色を変えてリードフレーム7であるこ
とを識別表示させることにより、明確に識別することが
可能である(ステップ12)。
Such work is performed by the contour line A and the virtual line B.
Is performed on a single or a plurality of graphic areas C formed by having the intersections, and a flag is set in a region which is found to be the lead frame 7, or the lead frame 7 is changed in color on the graphic display 5. It is possible to clearly identify the fact that it is (step 12).

【0023】また、上記局部エリア8内で識別された図
形エリアCに連続する輪郭線Aに囲まれた部分はリード
フレーム7であると判定しても良いので、上記図形エリ
アCの内部のみならずこれに隣接するエリアについても
視認可能な限り識別を行っても良い。また、上記仮想点
Bの始点(Q1)をリードフレーム7上か空間部か仮定
する場合、局部エリア8内であるがために操作者の指定
と実際のリードフレームとの食い違いが生ずる場合が想
定されるが、上記始点(Q1)位置が明らかにリードフ
レーム7上か空間部かを視認できるいずれかの局部エリ
ア8において識別したデータとの食い違いを比較するこ
とで、リードフレーム7と空間部を入れ換えてグラフィ
ックディスプレイ5上に識別表示させることで整合性を
とることができる。また、上記座標データ(Q1〜Q
6)により形成される仮想線Bにより判定できない局部
エリア8内の図形については、再度仮想線Bを輪郭線A
と交点を持つように指定し直して、同様の手順で判定す
れば良い。
Since it is possible to determine that the portion surrounded by the contour line A continuous with the identified graphic area C in the local area 8 is the lead frame 7, it is only in the graphic area C. Alternatively, the area adjacent to this may be identified as long as it is visible. Further, when it is assumed that the starting point (Q1) of the virtual point B is on the lead frame 7 or the space portion, there is a possibility that a discrepancy occurs between the operator's designation and the actual lead frame because it is in the local area 8. However, by comparing the discrepancy with the identified data in any of the local areas 8 where the start point (Q1) position is clearly visible on the lead frame 7 or the space portion, the lead frame 7 and the space portion are compared. Consistency can be ensured by exchanging them for identification display on the graphic display 5. Further, the coordinate data (Q1 to Q
For a figure in the local area 8 that cannot be determined by the virtual line B formed by 6), the virtual line B is again defined by the contour line A.
It is sufficient to re-designate so as to have an intersection point with and to make a determination in the same procedure.

【0024】尚、上記局部エリア8に含まれる輪郭線A
で示す線画は線分により形成される多角形を用いて説明
したが、一部に円弧等の曲線が含まれる場合も処理可能
である。この場合、輪郭線Aと仮想線Bとの交点より図
形エリアCを辿る方向を決めるのに線分と円弧、或いは
円弧と円弧などの組み合わせでは回転角度が一様に決め
られないとの疑義が生ずる。しかしながら、上記円弧等
の曲線も複数のドットデータの連続により形成されてい
るため、交点よりある順番にある点とを結ぶ線分を疑似
的に円弧までの回転角度と近似することにより、進行方
向に対する最大最小の回転角度を求めることは可能であ
り、同様の手順で判定することが可能である。
The contour line A included in the local area 8 is as follows.
The line drawing shown by is described using a polygon formed by line segments, but it is also possible to process the case where a curve such as an arc is included in part. In this case, there is a suspicion that the rotation angle cannot be uniformly determined by a combination of a line segment and an arc, or a combination of an arc and an arc in determining the direction of tracing the graphic area C from the intersection of the contour line A and the virtual line B. Occurs. However, since the curved line such as the arc is also formed by the continuation of a plurality of dot data, the line segment connecting the intersection and a point in a certain order is pseudo-approximated to the rotation angle up to the arc, thereby It is possible to obtain the maximum and minimum rotation angles with respect to, and it is possible to determine by the same procedure.

【0025】このように、局部エリア8内の図形データ
に対してリードフレーム7か空間部かを判定した後、例
えばこの図形データを用いて、リードフレームの検査用
データを作成することが可能である。即ち、リードフレ
ーム7のうち検査すべき局部エリア8を指定してのイン
ナーリード部か空間部かを識別した上で、該インナーリ
ード部に交差する走査線によるマーカーを可能な限り長
く描いて、ある交点間のリード幅を測定するための検査
用データを生成することができる。
In this way, after determining whether the lead frame 7 or the space portion is included in the graphic data in the local area 8, it is possible to create the inspection data of the lead frame using this graphic data, for example. is there. That is, after identifying the inner lead portion or the space portion in which the local area 8 to be inspected is designated in the lead frame 7, the marker by the scanning line intersecting the inner lead portion is drawn as long as possible, Inspection data for measuring the lead width between certain intersections can be generated.

【0026】上記構成によれば、例えばファインピッチ
化したリードフレームのインナーリードなどの複雑で微
細な外形形状を有する図形データのうち、操作者が指定
した指定エリアに存在する図形データを取り出して、当
該指定エリア内の図形データの輪郭線に不連続な部分が
あってもこれを逐一辿ることなく物体か空間かを効率的
に識別できる。特に、上記指定エリア内に閉じた図形要
素が含まれる場合に、該閉じた図形要素を内包する輪郭
線全体を認識しなくても物体か空間部かを識別できるの
で、使い勝手が良く、処理時間の大幅な短縮が可能にな
る。具体的には、閉じた図形要素がn個有る場合には、
従来はn×n回の処理が必要であったが、本発明によれ
ば、上記n個の図形要素を含む仮想線Bを指定する最大
でもn回の処理を行うだけで物体か空間部かを判定でき
る。
According to the above configuration, for example, out of the graphic data having a complicated and fine outer shape such as the inner lead of the fine lead pitch lead frame, the graphic data existing in the designated area designated by the operator is taken out, Even if there is a discontinuous portion in the contour line of the graphic data in the designated area, it is possible to efficiently discriminate between the object and the space without tracing this step by step. In particular, when a closed graphic element is included in the designated area, it is possible to identify an object or a space without recognizing the entire contour line including the closed graphic element. Can be significantly shortened. Specifically, when there are n closed graphic elements,
Conventionally, processing of n × n times was required, but according to the present invention, the virtual line B including the above-mentioned n graphic elements is designated only by performing processing at most n times. Can be determined.

【0027】以上、本発明の好適な実施の態様について
種々述べてきたが、本発明は上記各実施の態様に限定さ
れるものではなく、例えば、物体としてはリードフレー
ムのインナーリードの形状に限らず、他の物体の形状を
局部エリアで識別する場合に有効に用いられる。また、
物体か空間部かを判定して得られた図形データは検査用
データに限らず、設計用データなど他のデータ生成用に
用いても良い等、発明の精神を逸脱しない範囲内でさら
に多くの改変を施し得るのはもちろんのことである。
Although various preferred embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and for example, the object is not limited to the shape of the inner lead of the lead frame. Instead, it is effectively used to identify the shape of another object in the local area. Also,
The graphic data obtained by determining whether it is an object or a space is not limited to inspection data, and may be used for other data generation such as design data. Of course, modifications can be made.

【0028】[0028]

【発明の効果】本発明は前述したように、入力手段より
指定された指定エリアに応じた図形データを記憶手段よ
り読み出し、該図形データを含む指定エリア内に複数の
座標データを入力することにより、該座標データ間を結
んで単一の閉じた仮想線を形成して前記図形データの輪
郭線との交点を求め、前記座標データに基づいて線画形
成方向を判定して1の交点より判定方向に他の交点に向
かって輪郭線又は仮想線を辿りながら線画を形成し、他
の交点において当該1の交点を含む線画に対して前記線
画形成方向へ所定角度回転した位置にある当該他の交点
を含む線画を選択する作業を繰り返しながら線画により
囲まれた図形エリアを形成して、該図形エリア内を物体
と仮定して線画出力手段に識別表示させることにより、
複雑で微細な外形形状を有する図形データのうち、操作
者が指定した指定エリアに存在する図形データを取り出
して、当該指定エリア内の図形データの輪郭線に不連続
な部分があってもこれを逐一辿ることなく物体か空間か
を効率的に識別できる。特に、上記指定エリア内に閉じ
た図形要素が含まれる場合に、該閉じた図形要素を内包
する輪郭線全体を認識しなくても物体か空間部かを識別
できるので、使い勝手が良く、処理時間の大幅な短縮が
可能になる。
As described above, according to the present invention, the graphic data corresponding to the designated area designated by the input means is read out from the storage means, and a plurality of coordinate data is input in the designated area including the graphic data. , A single closed virtual line is formed by connecting the coordinate data to obtain an intersection with the contour line of the graphic data, the line drawing forming direction is determined based on the coordinate data, and the determination direction is determined from the intersection of 1. A line drawing is formed while tracing a contour line or an imaginary line toward another intersection, and the other intersection at a position rotated by a predetermined angle in the line drawing forming direction with respect to the line drawing including the one intersection at the other intersection. By forming a graphic area surrounded by the line drawing while repeating the work of selecting the line drawing including, and displaying the graphic area on the line drawing output means assuming that the graphic area is an object,
Of the graphic data with a complicated and fine outer shape, the graphic data existing in the specified area specified by the operator is extracted, and even if there is a discontinuity in the contour line of the graphic data in the specified area, It is possible to efficiently identify objects or spaces without tracing them one by one. In particular, when a closed graphic element is included in the designated area, it is possible to identify an object or a space without recognizing the entire contour line including the closed graphic element. Can be significantly shortened.

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

【図1】リードフレームの形状識別装置の構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a configuration of a lead frame shape identification device.

【図2】リードフレームの形状識別プロセスを示すフロ
ーチャートである。
FIG. 2 is a flowchart showing a lead frame shape identification process.

【図3】リードフレームの形状の識別プロセスを示す模
式説明図及び各交点において次に辿るべき線画の選択方
法を示す説明図である。
3A and 3B are a schematic explanatory view showing a lead frame shape identification process and an explanatory view showing a method of selecting a line drawing to be followed next at each intersection.

【図4】識別されたリードフレームの局部的形状を示す
説明図である。
FIG. 4 is an explanatory view showing a local shape of an identified lead frame.

【図5】QFP用リードフレームの平面図である。FIG. 5 is a plan view of a QFP lead frame.

【図6】線画形成方向の判定方法を示す説明図である。FIG. 6 is an explanatory diagram showing a method of determining a line drawing forming direction.

【符号の説明】[Explanation of symbols]

A 輪郭線 B 仮想線 C 図形エリア D 図形要素 1 CADシステム 2 キーボード 3 RAM 4 ROM 5 グラフィックディスプレイ 6 MPU 7 リードフレーム 8 局部エリア A contour line B virtual line C graphic area D graphic element 1 CAD system 2 keyboard 3 RAM 4 ROM 5 Graphic display 6 MPU 7 lead frame 8 local areas

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 7/00 - 7/60 G06T 1/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06T 7 /00-7/60 G06T 1/00

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 物体の平面形状に関する図形データを入
力する第1入力手段と、 エリア指定データ座標データを含む指定データを入力
する第2入力手段と、 前記第1及び第2入力手段より入力されたデータを記
憶する記憶手段と、 前記記憶手段から読み出された図形データや該図形デー
タを含む表示エリア内に作成された線画を出力する線画
出力手段と、 前記記憶手段に記憶された制御プログラムに基づき、前
2入力手段より入力されたエリア指定データに応
じて指定エリア内の図形データを前記記憶手段より読み
出し、前記第2入力手段より前記指定エリア内に入力さ
れた複数の座標データ間を結んで単一の閉じた仮想線を
形成して前記図形データの輪郭線との交点を求め、前記
座標データに基づいて線画形成方向を判定して1の交点
より判定方向に他の交点に向かって輪郭線又は仮想線を
辿りながら線画を形成し、他の交点において当該1の交
点を含む線画に対して前記線画形成方向へ所定角度回転
した位置にある当該他の交点を含む線画を選択する作業
を繰り返しながら線画囲まれた図形エリアを形成し、
該図形エリア内を物体であると仮定して前記線画出力手
により識別表示る制御手段とを備えたことを特徴と
する物体の形状識別装置。
And 1. A first input means for inputting graphic data related to the planar shape of the object, and a second input means for inputting specification data including the area designation data and coordinate data, more to the first and second input means A storage unit that stores the input data, a line drawing output unit that outputs the graphic data read from the storage unit and a line drawing created in a display area including the graphic data, and a line drawing output unit that is stored in the storage unit. based on the control program, the second input means to read from the storage means the graphic data more in the designated region in accordance with the input area specifying data, a plurality of input to said designated area from said second input means A single closed virtual line is formed by connecting coordinate data to obtain an intersection with the contour line of the graphic data, and a line drawing forming direction is determined based on the coordinate data. A line drawing is formed while tracing a contour line or an imaginary line from the intersection of the line toward the other intersection in the determination direction, and at a position rotated at a predetermined angle in the line drawing forming direction with respect to the line image including the one intersection at the other intersection. the graphic area bounded by a line drawing formed by repeating the operations of selecting a line drawing that contains a certain the other intersections,
Shape identification device of the object, characterized in that a control means figure shaped area assumed to be an object that identifies the display by the line drawing output unit.
【請求項2】 前記制御手段、前記線画形成方向を左
回り方向と判定した場合には、前記1の交点を含む線画
に対して左回り最大角度回転した位置にある他の交点を
含む線画を選択し、前記線画形成方向を右回り方向と判
定した場合には、当該1の交点を含む線画に対して右回
り最大角度回転した位置にある他の交点を含む線画を選
択して図形エリアを形成する手段であることを特徴
る請求項1記載の物体の形状識別装置。
Line drawing wherein said control means, when the line drawing forming direction is determined that the counterclockwise direction, including other intersections in the position rotated counterclockwise maximum angle with respect to the line drawing including an intersection of the 1 When it is determined that the line drawing forming direction is a clockwise direction, the line drawing including another intersection at the position rotated by the maximum clockwise angle with respect to the line drawing including the intersection of the 1 is selected to select the graphic area. object shape identification device characteristics and to <br/> Ru claim 1, wherein that the means for forming.
【請求項3】 前記制御手段、前記仮想線の始点を空
間部上と仮定した場合には第1の交点より線画形成方向
に輪郭線又は仮想線を辿り、前記始点を物体上仮定し
た場合には第2の交点より線画形成方向に輪郭線又は仮
想線を辿りながら図形エリアを形成する手段であること
を特徴とする請求項1又は請求項2記載の物体の形状識
別装置。
Wherein said control means, said when the starting point of the virtual line assuming upper space portion follows the contour or phantom line drawing forming direction than the first intersection, and the start point assuming that the object In this case, the object shape identifying apparatus according to claim 1 or 2, which is means for forming a graphic area while tracing a contour line or an imaginary line in a line drawing forming direction from the second intersection.
【請求項4】 前記制御手段、前記図形エリアの内部
に図形がある場合には、これを辿ることにより該図形に
仕切られた部分物体か空間部かを識別する手段である
ことを特徴とする請求項1、2、又は請求項3記載の物
体の形状識別装置。
Wherein said control means, when there is a graphic within said graphics area is a means of identifying the Do object or space partitioned portion in the drawing type by following this <br / > The object shape identifying apparatus according to claim 1, 2, or 3.
【請求項5】 第1入力手段より物体の平面形状を示
す図形データを入力して該図形データを記憶手段に記憶
し、前記記憶手段に記憶された制御プログラムに基づ
き、第2入力手段より物体の局部エリアを指定する
と、当該指定エリアに応じた図形データを読み出し、前
記第2入力手段より指定エリア内に複数の座標データ
を入力すると、当該座標データ間を結んで単一の閉じた
仮想線を形成して前記図形データの輪郭線と交点を求
め、前記座標データに基づいて線画形成方向を判定して
1の交点より判定方向に他の交点に向かって輪郭線又は
仮想線を辿りながら線画を形成し、他の交点において当
該1の交点を含む線画に対して前記線画形成方向へ所定
角度回転した位置にある当該他の交点を含む線画を選択
する作業を繰り返しながら上記線画により囲まれた図形
エリア内を物体と仮定して線画出力手段により識別表示
ることを特徴とする物体の形状識別方法。
5. A stored in the storage means the figure type data to input graphic data showing more object plane configuration to the first input means, based on the control program stored in said storage means, a second input means If you specify a local area of more objects, it reads graphic data corresponding to the designated area, entering a plurality of coordinate data more within the designated area to the second input means, to close a single tie between the coordinate data Virtual line is formed to obtain an intersection with the contour line of the graphic data, the line drawing forming direction is determined based on the coordinate data, and the contour line or the virtual line is drawn from the one intersection toward the other intersection in the determination direction. Repeating the work of forming a line drawing while tracing the line and selecting the line drawing including the other intersection at a position rotated by a predetermined angle in the line drawing forming direction with respect to the line drawing including the one intersection at another intersection. From the above, it is assumed that the figure area surrounded by the line drawing is an object and is displayed by the line drawing output means.
Object shape identification method characterized by be Rukoto.
【請求項6】 前記線画形成方向が左回り方向と判定さ
れた場合には、当該1の交点を含む線画に対して左回り
最大角度回転した位置にある他の交点を含む線画を選択
し、前記線画形成方向が右回り方向と判定された場合に
は、当該1の交点を含む線画に対して右回り最大角度回
転した位置にある他の交点を含む線画を選択して図形エ
リアを形成することを特徴とする請求項5記載の物体の
形状識別方法。
6. When the line drawing forming direction is determined to be a counterclockwise direction, a line drawing including another intersection at a position rotated by a maximum counterclockwise angle with respect to the line drawing including the intersection of the 1 is selected, When it is determined that the line drawing forming direction is the clockwise direction, the line drawing including the other intersection at the position rotated by the maximum clockwise angle with respect to the line drawing including the one intersection is selected to form the graphic area. The shape identifying method for an object according to claim 5, wherein:
【請求項7】 前記図形エリアを形成する際に、始点を
空間部上と仮定した場合には第1の交点より線画形成方
向に輪郭線又は仮想線を辿り、始点を物体上仮定した
場合には第2の交点より線画形成方向に輪郭線又は仮想
線を辿ることを特徴とする請求項5又は請求項6記載の
物体の形状識別方法。
7. When forming the graphic area, when the starting point is assumed to be on a space portion, a contour line or an imaginary line is traced in the line drawing forming direction from the first intersection, and the starting point is assumed to be on the object. 7. The object shape identifying method according to claim 5, wherein a contour line or a virtual line is traced in the line drawing forming direction from the second intersection.
【請求項8】 前記図形エリア内に図形がある場合に
は、これを辿ることにより該図形に仕切られた部分
体か空間部かを識別することを特徴とする請求項5、6
又は請求項7記載の物体の形状識別方法。
8. If there is a figure in the figure area, it is possible to identify whether the portion partitioned by the figure is an object or a space by tracing the figure. 5, 6
Alternatively, the shape identifying method of the object according to claim 7.
JP05888697A 1997-03-13 1997-03-13 Apparatus and method for identifying shape of object Expired - Lifetime JP3377394B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05888697A JP3377394B2 (en) 1997-03-13 1997-03-13 Apparatus and method for identifying shape of object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05888697A JP3377394B2 (en) 1997-03-13 1997-03-13 Apparatus and method for identifying shape of object

Publications (2)

Publication Number Publication Date
JPH10255061A JPH10255061A (en) 1998-09-25
JP3377394B2 true JP3377394B2 (en) 2003-02-17

Family

ID=13097271

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05888697A Expired - Lifetime JP3377394B2 (en) 1997-03-13 1997-03-13 Apparatus and method for identifying shape of object

Country Status (1)

Country Link
JP (1) JP3377394B2 (en)

Also Published As

Publication number Publication date
JPH10255061A (en) 1998-09-25

Similar Documents

Publication Publication Date Title
US7916145B2 (en) Drawing apparatus and dotted line drawing method
JP3353955B2 (en) How to change the shape of the region of interest
EP2083393A2 (en) Image processing apparatus, image processing method, and storage medium storing a program for causing an image processing apparatus to execute an image processing method
JPH07111742B2 (en) Method and apparatus for transforming figure
JPH077456B2 (en) Recognition device of figure by degree of polymerization
JP3377394B2 (en) Apparatus and method for identifying shape of object
US20220406018A1 (en) Three-dimensional display device, three-dimensional display method, and three-dimensional display program
JP2906202B2 (en) Text and figure input method
JP2625612B2 (en) Image processing method and image processing apparatus
JP2006260119A (en) Three-dimensional shape processor, three-dimensional shape processing method, program and recording medium
JP4320604B2 (en) Image processing method and image processing apparatus
JP2777628B2 (en) Graphic processing method and apparatus
JPS59194258A (en) Graph processor
JP2616427B2 (en) String display device
JPH09190524A (en) Graphic processor and method therefor
JP3351939B2 (en) Character string transformation arrangement method
JPH0683920A (en) Handwriting information display device
JPH02222079A (en) Broken line drawing method
JPH10335469A (en) Pattern data display device and its method
JP2847972B2 (en) Wiring status display
JP3254328B2 (en) Ellipse data processing device
JPH0477976A (en) Graphic display device
JPH0738229B2 (en) Graphic processing device
JPH0922472A (en) Image processing method
JPH05225293A (en) Method and device for generating piping figure

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081206

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091206

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091206

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101206

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111206

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121206

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121206

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131206

Year of fee payment: 11

EXPY Cancellation because of completion of term