JPH10255061A - Object shape identifying device and method - Google Patents

Object shape identifying device and method

Info

Publication number
JPH10255061A
JPH10255061A JP5888697A JP5888697A JPH10255061A JP H10255061 A JPH10255061 A JP H10255061A JP 5888697 A JP5888697 A JP 5888697A JP 5888697 A JP5888697 A JP 5888697A JP H10255061 A JPH10255061 A JP H10255061A
Authority
JP
Japan
Prior art keywords
line drawing
line
intersection
graphic
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.)
Granted
Application number
JP5888697A
Other languages
Japanese (ja)
Other versions
JP3377394B2 (en
Inventor
Ryuji Nakamura
竜二 中村
Chinatsu Sakai
千夏 酒井
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)

Abstract

PROBLEM TO BE SOLVED: To provide an object shape identifying device which locally makes area specification in figure data that shows the flat plane shape of an object and effectively identifies whether it is an object or space without tracing a part one by one even when there is uncontinuous part in a contour line of figure data in the designated area. SOLUTION: A single and closed virtual line B is formed connecting among plural coordinate data (Q1, Q2,...) which are inputted in a local area by a keyboard, and intersections with a contour line A of figure data are calculated, a line drawing is formed, tracking the line A or the line B in the direction of decision from an intersection 1 toward other intersections by deciding a line drawing forming direction according to coordinate data, a figure area C that is surrounded by the line drawing is formed, repeating an operation that selects the line drawing including other corresponding intersections which are located at a position that is rotated at prescribed degrees in the line drawing forming direction against a line drawing including the intersection 1 at the other intersections, and the inside of the area C is identified and displayed on a graphic display, assuming that the inside of the area C is a read frame.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

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

【0002】[0002]

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

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

【0004】[0004]

【発明が解決しようとする課題】ところで、半導体装置
が小型化高集積化し、リードフレームの多ピン化が進行
しファインピッチ化した今日では、CAD装置により描
かれたリードフレームの図形データ全体を直接視認して
特定のインナーリード部を選んで走査線を書き込むのは
煩雑で困難である。従って、上記図形データのうちイン
ナーリード部を局部的にエリア指定して取り出し、リー
ド部か空間かを識別する手法を取らざるを得ない。ま
た、この指定エリア内に閉じた図形要素があると、該閉
じた図形要素を内包する外形全体を辿って物体か空間か
を判定しなければならないが、指定エリア内では輪郭線
が連続していない場合が多く、インナーリード部か空間
部かの識別に時間を要する。例えば、ある指定エリア内
において、輪郭線が途切れた中に閉じた図形要素がn個
が存在する場合、該閉じた図形要素を取り囲む外形形状
を認識するためこれを逐一辿って形状を認識する必要が
あり、最大でn×n回分輪郭線を辿ってリード部か空間
部かの識別する処理が必要であり効率が悪い。
Now that semiconductor devices have been miniaturized and highly integrated, and the number of pins in the lead frame has increased and the pitch has been reduced to a fine pitch, the entire graphic data of the lead frame drawn by the CAD device is directly transferred. It is complicated and difficult to select a specific inner lead portion and visually write a scanning line. Therefore, an inner lead portion of the graphic data must be locally designated and taken out, and a method of identifying the lead portion or the space must be taken. If there is a closed graphic element in the designated area, it is necessary to determine the object or space by tracing the entire outer shape including the closed graphic element, but in the designated area, the outline is continuous. In many cases, it does not take much 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 in which a contour line is interrupted, it is necessary to follow the shape one by one in order to recognize the external shape surrounding the closed graphic element. It is necessary to perform a process of identifying the lead portion or the space portion by tracing the contour line at most n × n times, which is inefficient.

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

【0006】[0006]

【課題を解決するための手段】本発明は上記目的を達成
するため次の構成を備える。すなわち、物体の平面形状
に関する図形データを入力する第1入力手段と、エリア
指定データ及び座標データを含む指定データを入力する
第2入力手段と、前記第1及び第2入力手段より入力さ
れたデータを記憶する記憶手段と、前記記憶手段より読
み出された図形データや該図形データを含む表示エリア
内に作成された線画を出力する線画出力手段と、前記記
憶手段に記憶された制御プログラムに基づき、前記2入
力手段より入力されたエリア指定データに応じて指定エ
リア内の図形データを前記記憶手段より読み出し、前記
第2入力手段より前記指定エリア内に入力された複数の
座標データ間を結んで単一の閉じた仮想線を形成して前
記図形データの輪郭線との交点を求め、前記座標データ
に基づいて線画形成方向を判定して1の交点より判定方
向に他の交点に向かって輪郭線又は仮想線を辿りながら
線画を形成し、他の交点において当該1の交点を含む線
画に対して前記線画形成方向へ所定角度回転した位置に
ある当該他の交点を含む線画を選択する作業を繰り返し
ながら線画により囲まれた図形エリアを形成し、該図形
エリア内を物体であると仮定して前記線画出力手段へ識
別表示させる制御手段とを備えたことを特徴とする。
The present invention has the following arrangement to achieve the above object. That is, first input means for inputting graphic data relating to the planar shape of an object, second input means for inputting designation data including area designation data and coordinate data, and data inputted from the first and second input means. A line drawing output unit for outputting graphic data read from the storage unit and a line drawing created in a display area including the graphic data; and a control program stored in the storage unit. Reading the figure data in the designated area from the storage means in accordance with the area designation data inputted from the second input means, and connecting the plurality of coordinate data inputted in the designated area from the second input means; A single closed virtual line is formed to determine an intersection with the contour line of the graphic data, and a line drawing forming direction is determined based on the coordinate data to determine one intersection. A line drawing is formed while following a contour line or a virtual line toward another intersection in the determination direction, and the other 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. Control means for forming a graphic area surrounded by the line drawing while repeating the operation of selecting a line drawing including the intersection of the above, and assuming that the inside of the graphic area is an object, the control means for identifying and displaying to the line drawing output means. It is characterized by.

【0007】また、前記制御手段は、前記線画形成方向
を左回り方向と判定した場合には、前記1の交点を含む
線画に対して左回り最大角度回転した位置にある他の交
点を含む線画を選択し、前記線画形成方向を右回り方向
と判定した場合には、当該1の交点を含む線画に対して
右回り最大角度回転した位置にある他の交点を含む線画
を選択して図形エリアを形成するように制御するのが望
ましい。また、前記制御手段は、前記仮想線の始点を空
間部に仮定した場合には第1の交点より線画形成方向に
輪郭線又は仮想線を辿り、前記始点を物体上に仮定した
場合には第2の交点より線画形成方向に輪郭線又は仮想
線を辿りながら図形エリアを形成するのが好ましい。ま
た、前記制御手段は、前記図形エリアの内部に図形があ
る場合には、これを辿ることにより該図形に仕切られた
部分を物体か空間部かを識別するのが望ましい。
If the control means determines that the line drawing forming direction is a counterclockwise direction, the control means includes a line drawing including another intersection at a position rotated by the maximum counterclockwise angle with respect to the line drawing including the one intersection. Is selected, and when it is determined that the line drawing forming direction is the clockwise direction, a line drawing including another intersection at a position rotated clockwise by the maximum angle with respect to the line drawing including the one intersection is selected and the graphic area is selected. It is desirable to control so as to form. Further, the control means traces a contour line or a virtual line from the first intersection in the line drawing forming direction when the starting point of the virtual line is assumed to be a space portion, and when the starting point is assumed on the object, It is preferable to form a graphic area while following a contour line or a virtual line in the line drawing forming direction from the intersection of the two. Further, when there is a figure inside the figure area, it is preferable that the control means identifies the part partitioned by the figure as an object or a space by following the figure.

【0008】また、物体の形状識別方法においては、第
1入力手段より物体の平面形状を示す図形データを入力
して該図形データを記憶手段に記憶し、前記記憶手段に
記憶された制御プログラムに基づき、第2入力手段より
物体の局部エリアを指定すると、当該指定エリアに応じ
た図形データを読み出し、前記第2入力手段より指定エ
リア内に複数の座標データを入力すると、当該座標デー
タ間を結んで単一の閉じた仮想線を形成して前記図形デ
ータの輪郭線と交点を求め、前記座標データに基づいて
線画形成方向を判定して1の交点より判定方向に他の交
点に向かって輪郭線又は仮想線を辿りながら線画を形成
し、他の交点において当該1の交点を含む線画に対して
前記線画形成方向へ所定角度回転した位置にある当該他
の交点を含む線画を選択する作業を繰り返しながら上記
線画により囲まれた図形エリア内を物体と仮定して識別
表示することを特徴とする。
In the object shape identification method, graphic data indicating the planar shape of the object is input from the first input means, the graphic data is stored in the storage means, and the control program stored in the storage means is used. When a local area of the object is designated by the second input means, graphic data corresponding to the designated area is read out. When a plurality of coordinate data are inputted into the designated area by the second input means, the coordinate data is connected. To form a single closed virtual line to determine the contour line and the intersection of the figure data, determine the line drawing forming direction based on the coordinate data, and determine the outline from one intersection toward another intersection in the determination direction. A line drawing is formed while following a line or a virtual line, and 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. Repeating an operation for selecting, characterized in that identification assuming object graphic area surrounded by the line drawing.

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

【0010】[0010]

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

【0011】先ず、リードフレームの形状認識装置の構
成を図1に示すブロック図を参照して説明する。図1に
おいて、1は第1入力手段としてのCADシステムであ
り、リードフレームの平面形状に関する図形データを生
成し出力する。上記CADシステム1よりリードフレー
ムの平面形状に関する図形データが入力される。2は第
2入力手段としてのキーボードであり、上記図形データ
のうち局部エリアを抽出するエリア指定データ及び後述
する仮想線を形成するための複数の座標データを含む指
定データが入力される。上記第1,第2入力手段として
は、CADシステム1やキーボード2の他に外部記憶装
置やオンライン接続された外部コンピュータシステム等
であっても良い。
First, the configuration of the lead frame shape recognition device will be described with reference to the block diagram shown in FIG. In FIG. 1, reference numeral 1 denotes a CAD system as first input means, which generates and outputs graphic data relating to a planar shape of a lead frame. Graphic data relating to the planar shape of the lead frame is input from the CAD system 1. Reference numeral 2 denotes a keyboard as second input means, to which area designation data for extracting a local area from the graphic data and designation data including a plurality of coordinate data for forming a virtual line to be described later are inputted. The first and second input means may be an external storage device or an externally connected external computer system 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 the storage means, which stores the graphic data input from the CAD system 1. Also, 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 a storage area of the RAM 3, and the MPU designates a designated area designated on the virtual plane. Is generated, and the graphic data on the virtual plane is stored. 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 also has a function as a work area of an MPU, which will be described later. Information, calculation results, and the like are temporarily stored. In addition, instead of the above 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, in which an operating system of an MPU to be described later, a control program of a lead frame shape identification device, control data, and the like are stored in advance. Note that an external memory such as a flexible disk or an IC memory card can be used without storing the control program, control data, and the like in the ROM 4. Reference numeral 5 denotes a graphic display as line drawing output means, which outputs and displays a line drawing created based on the designated data input from the keyboard 2. The line drawing output means includes a graphic display 5.
In addition, a printer, an external storage device, and the like can be adopted.

【0014】6は制御手段としてのMPUであり、上記
ROM4に記憶された制御プログラムに基づき、前記キ
ーボード2よりエリア指定データが入力されると、上記
RAM3より指定エリア内に存在する図形データを読み
出し、前記キーボード2より複数の座標データが入力さ
れると上記図形データを含む表示エリア内に線画を書き
込んで上記グラフィックディスプレイ5に表示させるよ
う制御する。具体的には、上記キーボード2より入力さ
れたエリア指定データに応じて指定エリア内の図形デー
タを上記RAM3より読み出し、上記キーボード2より
上記指定エリア内に入力された複数の座標データ間を結
んで単一の閉じた仮想線を形成して前記図形データの輪
郭線との交点を求め、前記座標データに基づいて線画形
成方向を判定して1の交点より判定方向に他の交点に向
かって輪郭線又は仮想線を辿りながら線画を形成し、他
の交点において当該1の交点を含む線画に対して前記線
画形成方向へ所定角度回転した位置にある当該他の交点
を含む線画を選択する作業を繰り返しながら線画により
囲まれた図形エリアを形成し、該図形エリア内を物体で
あると仮定して上記グラフィックディスプレイ5に識別
表示させる。
Reference numeral 6 denotes an MPU serving as control means. When area designation data is input from the keyboard 2 based on a control program stored in the ROM 4, graphic data existing in the designated area is read from the RAM 3. When a plurality of coordinate data is input from the keyboard 2, a control is performed so that a line image is written in a display area including the graphic data and displayed on the graphic display 5. More specifically, graphic data in the designated area is read out from the RAM 3 in accordance with the area designation data input from the keyboard 2, and a plurality of coordinate data input into the designated area from the keyboard 2 are connected. A single closed virtual line is formed to determine an intersection with the outline of the graphic data, a line drawing forming direction is determined based on the coordinate data, and a contour is formed from one intersection toward another intersection in the determination direction. Forming a line drawing while tracing a line or a virtual 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 the line drawing including the one intersection at another intersection. A graphic area surrounded by line drawings is formed while repeating, and the graphic display 5 is identified and displayed on the graphic display 5 assuming 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 process for identifying the shape of the lead frame 7 will now be described with reference to the flowchart shown in FIG.
This will be specifically described with reference to FIGS. In FIG. 2, when the lead frame shape discriminating apparatus is started (step S1), the MPU 6 reads the control program stored in the ROM 4 and makes preparations such as clearing the RAM 3. 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.
Pointing the local area 8 in the planar shape of the lead frame 7
If set, the read frame existing in the local area 8
Of the graphic data (contour line A) of the
Generated on the virtual plane (see FIG. 3A) and
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 including 1)
(Q2 to Q6) are input. In this embodiment, the starting point position
(Q1) is assumed to be in the space, and the coordinate data
The way to take the data is based on the lead
Intersection between the outline A (solid line) and the imaginary line B (dashed line) of the frame 7
(Step S4). Ma
The line drawing forming direction is input from the keyboard 2.
Based on the coordinate data (Q1 to Q6), the MPU 6
It is determined dynamically (step S5). For example, as shown in FIG.
As shown, the coordinates (x1, Y1), (XTwo, YTwo),
(XThree, Y Three) Is specified counterclockwise in the order of →→
Suppose that the area of the shaded area A is the area of three trapezoids
Calculate the area A = (y1+ YTwo) (XTwo-X1) / 2 + (yTwo+
yThree) (XThree-XTwo) / 2 + (yThree+ Y1) (X1-X
Three) / 2. 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, ie
Because it depends on the specified rotation direction of the coordinate data (~)
is there. The coordinate data (Q1
To Q6) can be determined. However, specified
Line segments connecting the coordinates that have been set do not have intersections
It is necessary to keep in mind that the above coordinate data is entered
is there. The line drawing direction is input together with the coordinate data.
However, considering operability and input mistakes, the coordinates
Preferably, it is automatically determined 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.
Are coordinate data (Q1 to Q1) input from the keyboard 2
Q6) are connected to form a virtual line B, and then intersections (P1 to P14) of the outline 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 another intersection (P2) from the first intersection (P1) toward the line drawing forming direction (the counterclockwise direction in this embodiment) determined. At this time, when the starting point (Q1) is assumed to be a space, the tracing starts from the first intersection (P1), and when the starting point (Q1) is assumed on the lead frame 7, the second intersection (P2) ) To start tracing (step S7).

【0018】また、上記輪郭線Aと仮想線Bの各交点に
おいて辿るべき線画の選択方法について図3(b)
(c)を参照して説明する。図3(c)において、線画
形成方向が左回りと判定された場合には、例えば交点
(P)においてベクトルV1に対して左回り方向へ最大
角度回転した位置にあるベクトルV4を選択するものと
する。また、図3(b)において、上記線画形成方向が
右回りと判定された場合には、ベクトルV1に対して右
回り方向へ最大角度回転した位置にあるベクトルV4を
選択するものとする。
FIG. 3B shows a method of selecting a line image to be traced at each intersection of the contour line A and the virtual line B.
This will be described with reference to FIG. In FIG. 3C, when it is determined that the line drawing forming direction is counterclockwise, for example, a vector V4 at a position rotated at the maximum counterclockwise direction with respect to the vector V1 at the intersection (P) is selected. I do. In FIG. 3B, when it is determined that the line drawing forming direction is clockwise, the vector V4 at the position rotated by the maximum angle clockwise 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)。
Accordingly, 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 (P1), and the intersection (P2 )
When the direction of the next line image to be traced is determined, 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 (P1) is selected. Similarly, when determining the direction of the next line image to be traced at the intersection (P13), a line segment L3 at a position rotated by the maximum angle counterclockwise with respect to the line segment L2 including the intersection (P2) is selected. Similarly, when determining the direction of the next line image to be traced at the intersection (P14), the line segment L4 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. Intersections (P1), (P2), (P13), (P14)
Are formed, and a graphic area C composed of line segments L1, L2, L3, L4 connecting. 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 clockwise with respect to the line segment L4 including the intersection (P1).
Is repeated, and a graphic area C is similarly formed (steps S8 and S9).

【0020】上記図形エリアCの内外における物体と空
間と判定は、交点を左回りに辿った場合には進行方向に
対して左側が物体であると判定する。また、交点を右回
りに辿った場合には、進行方向に対して右側が物体であ
ると判定する。よって、図3(a)に示す閉じた図形エ
リアCの場合には、四辺形の内部(斜線部)が物体(イ
ンナーリード部)であることが判定できる。
The object and the space inside and outside the graphic area C are determined to be objects on the left side of the traveling direction when the intersection is traced counterclockwise. 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 (hatched portion) of the quadrilateral is an object (inner lead portion).

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

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

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

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

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

【0026】上記構成によれば、例えばファインピッチ
化したリードフレームのインナーリードなどの複雑で微
細な外形形状を有する図形データのうち、操作者が指定
した指定エリアに存在する図形データを取り出して、当
該指定エリア内の図形データの輪郭線に不連続な部分が
あってもこれを逐一辿ることなく物体か空間かを効率的
に識別できる。特に、上記指定エリア内に閉じた図形要
素が含まれる場合に、該閉じた図形要素を内包する輪郭
線全体を認識しなくても物体か空間部かを識別できるの
で、使い勝手が良く、処理時間の大幅な短縮が可能にな
る。具体的には、閉じた図形要素がn個有る場合には、
従来はn×n回の処理が必要であったが、本発明によれ
ば、上記n個の図形要素を含む仮想線Bを指定する最大
でもn回の処理を行うだけで物体か空間部かを判定でき
る。
According to the above configuration, graphic data existing in a designated area designated by an operator is extracted from graphic data having a complicated and fine outer shape such as inner leads of a fine pitch lead frame. Even if there is a discontinuity in the outline of the graphic data in the designated area, it is possible to efficiently discriminate between an object and a space without following the discontinuity. 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 greatly reduced. Specifically, if there are n closed graphic elements,
Conventionally, n × n times of processing were required. However, according to the present invention, it is necessary to perform at most n times of processing for designating the virtual line B including the above n graphic elements. 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. For example, the object is not limited to the shape of the inner lead of the lead frame. This is effectively used when the shape of another object is identified in the local area. Also,
The graphic data obtained by judging whether the object or the space portion is not limited to inspection data, and may be used for generating other data such as design data. Of course, modifications can be made.

【0028】[0028]

【発明の効果】本発明は前述したように、入力手段より
指定された指定エリアに応じた図形データを記憶手段よ
り読み出し、該図形データを含む指定エリア内に複数の
座標データを入力することにより、該座標データ間を結
んで単一の閉じた仮想線を形成して前記図形データの輪
郭線との交点を求め、前記座標データに基づいて線画形
成方向を判定して1の交点より判定方向に他の交点に向
かって輪郭線又は仮想線を辿りながら線画を形成し、他
の交点において当該1の交点を含む線画に対して前記線
画形成方向へ所定角度回転した位置にある当該他の交点
を含む線画を選択する作業を繰り返しながら線画により
囲まれた図形エリアを形成して、該図形エリア内を物体
と仮定して線画出力手段に識別表示させることにより、
複雑で微細な外形形状を有する図形データのうち、操作
者が指定した指定エリアに存在する図形データを取り出
して、当該指定エリア内の図形データの輪郭線に不連続
な部分があってもこれを逐一辿ることなく物体か空間か
を効率的に識別できる。特に、上記指定エリア内に閉じ
た図形要素が含まれる場合に、該閉じた図形要素を内包
する輪郭線全体を認識しなくても物体か空間部かを識別
できるので、使い勝手が良く、処理時間の大幅な短縮が
可能になる。
As described above, according to the present invention, graphic data corresponding to a designated area designated by the input means is read out from the storage means, and a plurality of coordinate data are inputted into the designated area including the graphic data. Forming a single closed virtual line by connecting the coordinate data to determine an intersection with a contour line of the graphic data, determining a line drawing forming direction based on the coordinate data, and determining a determination direction from one intersection. A line drawing while tracing a contour line or a virtual 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 operation of selecting the line drawing including the, and assuming that the inside of the graphic area is an object, the line drawing output means is identified and displayed,
Of the graphic data having a complicated and fine outer shape, the graphic data existing in the designated area designated by the operator is taken out, and even if there is a discontinuity in the contour line of the graphic data in the designated area, this is taken out. An object or a space can be efficiently identified without tracing each time. 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 greatly reduced.

【図面の簡単な説明】[Brief description of the 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】リードフレームの形状の識別プロセスを示す模
式説明図及び各交点において次に辿るべき線画の選択方
法を示す説明図である。
FIG. 3 is a schematic explanatory diagram showing a process of identifying the shape of a lead frame and an explanatory diagram showing a method of selecting a next line image to be followed 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 lead frame for QFP.

【図6】線画形成方向の判定方法を示す説明図である。FIG. 6 is an explanatory diagram illustrating 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 area

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 物体の平面形状に関する図形データを入
力する第1入力手段と、 エリア指定データ及び座標データを含む指定データを入
力する第2入力手段と、 前記第1及び第2入力手段より入力されたデータを記憶
する記憶手段と、 前記記憶手段より読み出された図形データや該図形デー
タを含む表示エリア内に作成された線画を出力する線画
出力手段と、 前記記憶手段に記憶された制御プログラムに基づき、前
記2入力手段より入力されたエリア指定データに応じて
指定エリア内の図形データを前記記憶手段より読み出
し、前記第2入力手段より前記指定エリア内に入力され
た複数の座標データ間を結んで単一の閉じた仮想線を形
成して前記図形データの輪郭線との交点を求め、前記座
標データに基づいて線画形成方向を判定して1の交点よ
り判定方向に他の交点に向かって輪郭線又は仮想線を辿
りながら線画を形成し、他の交点において当該1の交点
を含む線画に対して前記線画形成方向へ所定角度回転し
た位置にある当該他の交点を含む線画を選択する作業を
繰り返しながら線画により囲まれた図形エリアを形成
し、該図形エリア内を物体であると仮定して前記線画出
力手段へ識別表示させる制御手段とを備えたことを特徴
とする物体の形状識別装置。
A first input unit for inputting graphic data relating to a planar shape of an object; a second input unit for inputting designation data including area designation data and coordinate data; and an input from the first and second input units. Storage means for storing the obtained data, line drawing output means for outputting graphic data read from the storage means and line drawings created in a display area including the graphic data, and control stored in the storage means Based on the program, the graphic data in the designated area is read out from the storage means in accordance with the area designation data input from the two input means, and a plurality of coordinate data input into the designated area from the second input means are read out. To form a single closed virtual line to determine the intersection with the contour line of the graphic data, determine the line drawing forming direction based on the coordinate data, and A line drawing is formed while tracing a contour line or an imaginary line from the point toward another intersection in the determination direction, and at another intersection, the line drawing including the one intersection is rotated by a predetermined angle in the line drawing forming direction. Control means for forming a graphic area surrounded by the line drawing while repeating the operation of selecting the line drawing including the other intersection, and assuming that the inside of the graphic area is an object, to the line drawing output means for identification display. An apparatus for identifying the shape of an object.
【請求項2】 前記制御手段は、前記線画形成方向を左
回り方向と判定した場合には、前記1の交点を含む線画
に対して左回り最大角度回転した位置にある他の交点を
含む線画を選択し、前記線画形成方向を右回り方向と判
定した場合には、当該1の交点を含む線画に対して右回
り最大角度回転した位置にある他の交点を含む線画を選
択して図形エリアを形成するように制御することを特徴
する請求項1記載の物体の形状識別装置。
2. When the control unit determines that the line drawing forming direction is the counterclockwise direction, the control unit includes a line drawing including another intersection at a position rotated by the maximum counterclockwise angle with respect to the line drawing including the one intersection. Is selected, and when it is determined that the line drawing forming direction is the clockwise direction, a line drawing including another intersection at a position rotated clockwise by the maximum angle with respect to the line drawing including the one intersection is selected and the graphic area is selected. 2. The object shape identification apparatus according to claim 1, wherein control is performed so as to form.
【請求項3】 前記制御手段は、前記仮想線の始点を空
間部に仮定した場合には第1の交点より線画形成方向に
輪郭線又は仮想線を辿り、前記始点を物体上に仮定した
場合には第2の交点より線画形成方向に輪郭線又は仮想
線を辿りながら図形エリアを形成することを特徴とする
請求項1又は請求項2記載の物体の形状識別装置。
3. The control means according to claim 1, wherein when the starting point of said virtual line is assumed to be a space, a contour or virtual line is traced in a line drawing direction from a first intersection, and said starting point is assumed to be on an object. 3. The object shape identification device according to claim 1, wherein the figure area is formed while following a contour line or a virtual line from the second intersection in the line drawing forming direction.
【請求項4】 前記制御手段は、前記図形エリアの内部
に図形がある場合には、これを辿ることにより該図形に
仕切られた部分を物体か空間部かを識別することを特徴
とする請求項1、2、又は請求項3記載の物体の形状識
別装置。
4. The control device according to claim 1, wherein, when there is a graphic inside the graphic area, the control means identifies a portion partitioned by the graphic as an object or a space by following the graphic. 4. The object shape identification device according to claim 1, 2, or 3.
【請求項5】 第1入力手段より物体の平面形状を示す
図形データを入力して該図形データを記憶手段に記憶
し、前記記憶手段に記憶された制御プログラムに基づ
き、第2入力手段より物体の局部エリアを指定すると、
当該指定エリアに応じた図形データを読み出し、前記第
2入力手段より指定エリア内に複数の座標データを入力
すると、当該座標データ間を結んで単一の閉じた仮想線
を形成して前記図形データの輪郭線と交点を求め、前記
座標データに基づいて線画形成方向を判定して1の交点
より判定方向に他の交点に向かって輪郭線又は仮想線を
辿りながら線画を形成し、他の交点において当該1の交
点を含む線画に対して前記線画形成方向へ所定角度回転
した位置にある当該他の交点を含む線画を選択する作業
を繰り返しながら上記線画により囲まれた図形エリア内
を物体と仮定して線画出力手段へ識別表示させることを
特徴とする物体の形状識別方法。
5. A graphic data indicating a planar shape of an object is inputted from a first input means, the graphic data is stored in a storage means, and an object is inputted from a second input means based on a control program stored in the storage means. If you specify the local area of
When the graphic data corresponding to the designated area is read and a plurality of coordinate data are input into the designated area from the second input means, a single closed virtual line is formed by connecting the coordinate data to form the graphic data. , A line drawing direction is determined based on the coordinate data, and a line drawing is formed while tracing a contour line or an imaginary line from one intersection to another intersection in the determination direction. Assuming that the object in the graphic area surrounded by the line drawing is repeated while repeating the operation of 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. And causing the line drawing output means to perform identification display.
【請求項6】 前記線画形成方向が左回り方向と判定さ
れた場合には、当該1の交点を含む線画に対して左回り
最大角度回転した位置にある他の交点を含む線画を選択
し、前記線画形成方向が右回り方向と判定された場合に
は、当該1の交点を含む線画に対して右回り最大角度回
転した位置にある他の交点を含む線画を選択して図形エ
リアを形成することを特徴とする請求項5記載の物体の
形状識別方法。
6. When the line drawing forming direction is determined to be a counterclockwise direction, a line drawing including another intersection located at a position rotated by the maximum counterclockwise angle with respect to the line drawing including the one intersection is selected, When it is determined that the line drawing forming direction is the clockwise direction, a line drawing including another intersection at a position rotated clockwise by the maximum angle with respect to the line drawing including the one intersection is selected to form a graphic area. 6. The method according to claim 5, wherein the shape of the object is identified.
【請求項7】 前記図形エリアを形成する際に、始点を
空間部に仮定した場合には第1の交点より線画形成方向
に輪郭線又は仮想線を辿り、始点を物体上に仮定した場
合には第2の交点より線画形成方向に外形線又は仮想線
を辿ることを特徴とする請求項5又は請求項6記載の物
体の形状識別方法。
7. When forming the graphic area, if a starting point is assumed to be a space, a contour line or an imaginary line is traced in the line drawing forming direction from the first intersection, and a starting point is assumed to be on an object. 7. The object shape identification method according to claim 5, wherein the object traces an outline or a virtual line from the second intersection in the line drawing forming direction.
【請求項8】 前記図形エリア内に図形がある場合に
は、これを辿ることにより該図形に仕切られた部分を物
体か空間部かを識別することを特徴とする請求項5、6
又は請求項7記載の物体の形状識別方法。
8. When there is a graphic in the graphic area, by tracing the figure, a portion partitioned by the graphic is identified as an object or a space.
8. A method for identifying a shape of an 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 true JPH10255061A (en) 1998-09-25
JP3377394B2 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
JP3377394B2 (en) 2003-02-17

Similar Documents

Publication Publication Date Title
JPH0962850A (en) Axial symmetry graphic shaping device and method for generating axial symmetry graphic for entirety of arbitrary number of symmetry axes
JP2625612B2 (en) Image processing method and image processing apparatus
JPH10255061A (en) Object shape identifying device and method
JP2906202B2 (en) Text and figure input method
US5471536A (en) Figure digitizing system
JP3305395B2 (en) Figure division device
JPH0652243A (en) Drawing input processor
JP3679484B2 (en) Graphic processing apparatus and method
JP2773127B2 (en) Image editing method
JP2634905B2 (en) How to paint shapes
JPH0738229B2 (en) Graphic processing device
JPH0765057A (en) Dimensional line writing system
JP2575636B2 (en) Graphic display device
JPH0477976A (en) Graphic display device
JPH10335469A (en) Pattern data display device and its method
JPH096811A (en) Area arithmetic unit
JPH05324238A (en) Quantity deciding method using graph
JPH09153144A (en) Device and method for automatically preparing check pattern
JP2001022805A (en) Plane judging processing method and three-dimensional processing system including plane judging processing means
JPH07160894A (en) Screening method for graphic element
JP2001357076A (en) Image display method for cad system
JPH08147463A (en) Figure generating device
JPH07182318A (en) Document processor with ruled-line display function
JP2002297315A (en) Matrix system touch panel device and programmable display device using it
JPH0492974A (en) Automatic dimension display device

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