JPH08329245A - Method and device for graphic processing - Google Patents

Method and device for graphic processing

Info

Publication number
JPH08329245A
JPH08329245A JP7139118A JP13911895A JPH08329245A JP H08329245 A JPH08329245 A JP H08329245A JP 7139118 A JP7139118 A JP 7139118A JP 13911895 A JP13911895 A JP 13911895A JP H08329245 A JPH08329245 A JP H08329245A
Authority
JP
Japan
Prior art keywords
graphic
plane
determined
determining
predetermined
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
JP7139118A
Other languages
Japanese (ja)
Other versions
JP3774489B2 (en
Inventor
Masaru Kageura
勝 影浦
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP13911895A priority Critical patent/JP3774489B2/en
Publication of JPH08329245A publication Critical patent/JPH08329245A/en
Application granted granted Critical
Publication of JP3774489B2 publication Critical patent/JP3774489B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PURPOSE: To properly obtain the intersection between two geometrical elements even in the case of data of two geometrical elements including noise by providing a first discrimination process to discriminate graphics as an ellipse and a second discrimination process to discriminate graphics as a circle. CONSTITUTION: A central processing unit (CPU) 2, a read only memory (ROM) 3, and a random access memory (RAM) 4 are connected to a bus 1 (including a control line, a data line, and an address line), and an input device 6, a CRT 8, and an external storage device 10 are connected to the bus 1 through an input interface 5, a CRT interface 7, and an external storage device interface 9 respectively. The first discrimination process where a prescribed decision formula based on coefficients of an equation of graphics is calculated to discriminate graphics as an ellipse and the second discrimination process where graphics are discriminated as a circle in the case of the length difference between the minor axis and the major axis of graphics shorter than a prescribed value at the time when graphics are discriminated as an ellipse in the first discrimination process are provided to discriminate the graphics.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、図形処理方法とその
装置、特に、2つの図形の交線の算出方法に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic processing method and apparatus, and more particularly to a method of calculating a line of intersection of two graphics.

【0002】[0002]

【従来の技術】従来、交線を求めるときに、単純に2幾
何要素の式を連立させて交線の式を代数的・解析的に求
めるという方法があった。また、交線を求めるときに、
2幾何要素の幾何的な特徴を利用して、判別式等を使っ
てあらかじめ交線の種類を決定して、交線の計算を行な
うという方法があった。
2. Description of the Related Art Conventionally, when obtaining an intersection line, there has been a method of simply establishing simultaneous equations of two geometric elements and obtaining the equation of the intersection line algebraically and analytically. Also, when seeking the intersection line,
There has been a method of calculating the intersection line by previously determining the type of the intersection line using a discriminant or the like by utilizing the geometrical characteristics of the two geometric elements.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
方法では、2幾何要素の関係の判定等で、桁落ち等によ
る数値的な誤差が少しでも入った場合、統一的かつ実用
的な基準で正しく判定できず、正しい交線が求まらない
ことが多いという問題があった。本発明は、上記従来例
に鑑みてなされたもので、2幾何要素のデータにノイズ
を含む場合であっても、適正にそれらの2幾何要素間の
交線を求める図形処理方法とその装置を提供することを
目的とする。
However, according to the conventional method, when a numerical error due to a digit cancellation is included in the determination of the relationship between two geometric elements, the method is correct according to a unified and practical standard. There was a problem that it was not possible to make a judgment and the correct line of intersection could not be obtained in many cases. The present invention has been made in view of the above-mentioned conventional example, and provides a graphic processing method and an apparatus thereof for appropriately obtaining a line of intersection between two geometric elements even when data of the two geometric elements include noise. The purpose is to provide.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するた
め、本発明の図形処理方法とその装置は以下の構成を備
える。即ち、図形の方程式の係数に基づく所定の判別式
を計算して、前記図形を楕円と判定する第1の判定工程
と、前記第1の判定工程で前記図形を楕円と判定したと
き、前記図形の短軸と長軸の長さの差が所定値以下であ
れば、前記図形を円と判定する第2の判定工程とを備え
る。
In order to achieve the above object, a graphic processing method and apparatus of the present invention have the following configurations. That is, a predetermined discriminant based on the coefficient of the equation of the figure is calculated to determine the figure as an ellipse, and when the figure is determined as an ellipse in the first step, the figure is If the difference between the short axis length and the long axis length is less than or equal to a predetermined value, the second determination step of determining the figure as a circle is provided.

【0005】また、別の発明は、図形の方程式の係数に
基づく所定の判別式を計算して、前記図形を楕円と判定
する第1の判定手段と、前記第1の判定手段で前記図形
を楕円と判定したとき、前記図形の短軸と長軸の長さの
差が所定値以下であれば、前記図形を円と判定する第2
の判定手段とを備える。
Another aspect of the present invention is to calculate a predetermined discriminant based on a coefficient of an equation of a figure to determine the figure as an ellipse, and to determine the figure by the first decision means. If it is determined that the figure is an ellipse and the difference between the short axis and the long axis of the figure is less than or equal to a predetermined value, the figure is determined to be a circle.
And the determination means of.

【0006】[0006]

【作用】以上の構成において、図形の方程式の係数に基
づく所定の判別式を計算して、前記図形を楕円と判定
し、前記第1の判定工程で前記図形を楕円と判定したと
き、前記図形の短軸と長軸の長さの差が所定値以下であ
れば、前記図形を円と判定する。
In the above structure, a predetermined discriminant based on the coefficient of the equation of the figure is calculated, the figure is determined to be an ellipse, and when the figure is determined to be an ellipse in the first determining step, the figure If the difference between the length of the short axis and the length of the long axis is less than or equal to a predetermined value, the figure is determined to be a circle.

【0007】また、別の発明は、第1の判定手段が、図
形の方程式の係数に基づく所定の判別式を計算して、前
記図形を楕円と判定し、第2の判定手段が、前記第1の
判定手段で前記図形を楕円と判定したとき、前記図形の
短軸と長軸の長さの差が所定値以下であれば、前記図形
を円と判定する。
According to another aspect of the invention, the first determining means calculates a predetermined discriminant based on the coefficient of the equation of the figure and determines the figure as an ellipse, and the second determining means sets the When the figure is determined to be an ellipse by the determination unit 1 and the difference between the lengths of the short axis and the long axis of the figure is equal to or less than a predetermined value, the figure is determined to be a circle.

【0008】[0008]

【実施例】まず、本発明に係る実施例の図形処理方法の
ポイントの一つは、2つの図形の交線を求める際に、交
線の一般方程式の係数に基づいて、各種判別行列式を計
算することで、おおまかな交線の種類を判別するとい
う、いわゆる代数的判別を行い、その後、おおまかに各
図形種に分類された交線をその複数の幾何的特徴量に基
づいて最終的な交線の分類を決定し、また調整するとい
う、いわゆる幾何学的分類処理を行う構成を有すること
により、ノイズに強く適正な交線を求めることができる
ことにある。 (実施例1)図1は、本発明に係る1実施例の図形処理
装置のブロック図であり、バス1(制御線,データ線お
よびアドレス線を含む)には、中央処理装置(CPU)
2,リード・オンリー・メモリ(ROM)3,ランダム・
アクセス・メモリ(RAM)4,入力インターフェース5
を介して入力装置6,CRTインターフェース7を介し
てCRT8,外部記憶装置インターフェース9を介し
て、磁気ディスク,磁気テープ等のの外部記憶装置10
が接続されている。
First, one of the points of the graphic processing method of the embodiment according to the present invention is to obtain various discriminant determinants on the basis of the coefficient of the general equation of the intersecting line when obtaining the intersecting line of two figures. By performing a calculation, a so-called algebraic distinction is performed, which is to discriminate the types of rough intersecting lines, and then the intersecting lines roughly classified into each figure type are finally determined based on the plurality of geometric feature amounts. By having a configuration for performing so-called geometric classification processing of determining and adjusting the classification of intersection lines, it is possible to find appropriate intersection lines that are resistant to noise. (Embodiment 1) FIG. 1 is a block diagram of a graphic processing device according to one embodiment of the present invention. A bus 1 (including a control line, a data line and an address line) has a central processing unit (CPU).
2, read only memory (ROM) 3, random
Access memory (RAM) 4, input interface 5
An external storage device 10 such as a magnetic disk, a magnetic tape or the like via an input device 6, a CRT 8 via a CRT interface 7, and an external storage device interface 9 via
Is connected.

【0009】ROM3に記憶されたプログラムに応じ、
RAM4を一時記憶装置として種々の処理及び制御、例
えば図形入力制御,図形表示表示,ピック処理,隠面処
理,内外判定等を行なう。入力装置6はキーボード,タ
ブレット,マウス等を備え、図形データの入力を行なう
が、この図形データはホスト・コンピュータから受けて
もよい。
According to the program stored in the ROM 3,
The RAM 4 is used as a temporary storage device to perform various processes and controls, such as graphic input control, graphic display display, pick processing, hidden surface processing, and inside / outside determination. The input device 6 is provided with a keyboard, a tablet, a mouse, etc. and inputs graphic data, but this graphic data may be received from the host computer.

【0010】CRT8は、必要に応じて複数のビット・
マップ・プレーン等を含んでおり、図形を表示する。次
に、本実施例の理解を容易にするために、図2に示すよ
うな円筒と平面による交線を求める方法、即ち、交線が
楕円または円である場合での交線計算方法を一例として
以下説明する。
The CRT 8 has a plurality of bits, if necessary.
It includes maps and planes and displays graphics. Next, in order to facilitate understanding of the present embodiment, an example of a method of obtaining an intersection line between a cylinder and a plane as shown in FIG. 2, that is, an intersection line calculation method when the intersection line is an ellipse or a circle is taken as an example. Will be described below.

【0011】図3は、本発明の一実施例の図形処理の流
れを説明するフローチャートである。ここで、以下に述
べる処理に対応する処理プログラムはROM3に格納さ
れており、CPU2がこのプログラムを読み出して、解
釈し、実行する。以下、フローチャートを説明する前
に、説明に必要となる用語の定義を行う。 <平面、および、円筒面等の記号および用語の定義>平
面および円筒面に関する記号を図8に示すように定義す
る。
FIG. 3 is a flow chart for explaining the flow of graphic processing according to an embodiment of the present invention. Here, a processing program corresponding to the processing described below is stored in the ROM 3, and the CPU 2 reads this program, interprets it, and executes it. Hereinafter, before explaining the flowchart, terms necessary for the explanation will be defined. <Definition of Symbols and Terms for Planes and Cylindrical Surfaces> Symbols for planes and cylindrical surfaces are defined as shown in FIG.

【0012】P0:平面上の基準点 n0:平面の法線ベクトル(単位ベクトルとする) c0:円筒面の軸上の基準点 r: 円筒面の半径 n1:円筒面の軸ベクトル(単位ベクトルとする) 次の2つは図4には示されていないが、詳細は後述す
る。
P0: reference point on plane n0: normal vector of plane (unit vector) c0: reference point on axis of cylindrical surface r: radius of cylindrical surface n1: axis vector of cylindrical surface (unit vector) The following two are not shown in FIG. 4, but will be described in detail later.

【0013】EPS:幾何学的許容長さ EPSA:幾何学的許容角度 《用語》 ・円筒面の基準面:c0を通り円筒面の軸に垂直な平面
を円筒面の基準面という。
EPS: Geometrical permissible length EPSA: Geometrical permissible angle << Term >> ・ Cylindrical reference plane: A plane that passes through c0 and is perpendicular to the axis of the cylindrical surface is referred to as the cylindrical reference surface.

【0014】・幾何学的特徴値:図形の中心,半径,長
径,短径等の幾何学的な特徴を表す値。 次に、図3を参照して、本発明の一実施例の図形処理の
流れを説明する。尚、上述した変数名が以下の記述に表
れるが、それらの変数名は、ランダムアクセスメモリ4
に割り当てられているものとする。
Geometrical feature value: A value representing geometrical features such as the center, radius, major axis, and minor axis of a figure. Next, with reference to FIG. 3, a flow of graphic processing according to an embodiment of the present invention will be described. Although the above-mentioned variable names appear in the following description, those variable names are the random access memory 4
Be assigned to.

【0015】まず、ステップS6では、交線の式から交
線の種類・特徴量を算出する。ここで、対象となる平
面,円筒面のデータはすでに外部記憶装置またはランダ
ムアクセスメモリに予め格納されているものとし、そこ
から対象となる平面,円筒面のデータ取り出す。また、
対象となる平面は、所定のxy平面と平行になるように
座標変換が既にかけられており、交線の式として2次曲
線の一般形 a・x2+2h・xy+b・y2+2g・x+2f・y+c=
0 ここで、a,b,c,f,gは定数。 の形式で既に求められており、ランダムアクセスメモリ
4にそのデータが格納されているものとする。
First, in step S6, the type and feature amount of the intersection line are calculated from the equation of the intersection line. Here, it is assumed that the data of the target plane and the cylindrical surface are already stored in advance in the external storage device or the random access memory, and the data of the target plane and the cylindrical surface are extracted from there. Also,
Coordinate conversion has already been applied to the target plane so that it becomes parallel to the predetermined xy plane, and the general form of a quadratic curve is expressed as a line of intersection: a · x 2 + 2h · xy + b · y 2 + 2g · x + 2f y + c =
0 where a, b, c, f and g are constants. It is assumed that the data has already been obtained in the form of, and the data is stored in the random access memory 4.

【0016】上述の座標変換は、例えば、前記対象とな
る平面の各座標と所定の変換マトリクスM(所定のxy
平面と元座標空間での対象となる平面の角度をパラメー
タとする)の積を取ることで実現できる。また、逆に、
変換された平面の各座標と前記変換マトリクスMの逆行
列M’の積を取ることにより、元の対象となる平面を求
めることができる。
The above-mentioned coordinate conversion is performed by, for example, each coordinate of the target plane and a predetermined conversion matrix M (predetermined xy).
It can be realized by taking the product of the angle between the plane and the plane of interest in the original coordinate space). On the contrary,
The original target plane can be obtained by taking the product of each coordinate of the transformed plane and the inverse matrix M ′ of the transformation matrix M.

【0017】以下、本ステップでの詳細な処理内容を説
明する。まず、上の2次曲線の種類を判別するための行
列式 を算出し、ランダムアクセスメモリ4に格納する。そし
て、D=0であるならば上の2次曲線を直線として分類
する。
The details of the processing in this step will be described below. First, the determinant for determining the type of the above quadratic curve Is calculated and stored in the random access memory 4. Then, if D = 0, the above quadratic curve is classified as a straight line.

【0018】次に、上の2次曲線の種類を判別するため
の別な行列式 を計算し、ランダムアクセスメモリ4に格納する。そし
て、△=0ならば上の2次曲線を放物線として分類す
る。
Next, another determinant for discriminating the type of the above quadratic curve Is calculated and stored in the random access memory 4. If Δ = 0, the above quadratic curve is classified as a parabola.

【0019】次に、 x0=(rfh−bg)/△ y0=(rhg−af)/△ を計算し、ランダムアクセスメモリ4に格納する。そし
て、 X0=(x0,y0) を計算し、ランダムアクセスメモリ4に格納する。
Next, x0 = (rfh-bg) / Δ y0 = (rhg-af) / Δ is calculated and stored in the random access memory 4. Then, X0 = (x0, y0) is calculated and stored in the random access memory 4.

【0020】次に、aとbの関係によって、以下の式 θ=π/4: (もし、a=bならば) θ=(1/2)atan(2h/(a−b)):(もし、a≠bならば) を計算し、ランダムアクセスメモリ4に格納する。Next, according to the relationship between a and b, the following equation θ = π / 4: (If a = b) θ = (1/2) atan (2h / (ab)) :( If a ≠ b), it is calculated and stored in the random access memory 4.

【0021】次に、 t2−(a+b)t+ab=0 ここで、a,bは定数 の解t1,t2を計算し、ランダムアクセスメモリ4に
格納する。
Next, t 2 − (a + b) t + ab = 0 where a and b are constant solutions t1 and t2, which are stored in the random access memory 4.

【0022】次に、h=0ならば、a,bをそれぞれa
2、b2に代入、即ち、 a2=a,b2=b の代入を行って、ランダムアクセスメモリ4に格納す
る。
Next, if h = 0, a and b are respectively a
2 and b2 are substituted, that is, a2 = a and b2 = b are substituted and stored in the random access memory 4.

【0023】また、h>0ならば、 a2=max(t1,t2) b2=min(t1,t2) ここで、max(x1,x2): x1とx2のうちの
大きい方を選択
する関数。
If h> 0, then a2 = max (t1, t2) b2 = min (t1, t2) where max (x1, x2): The larger one of x1 and x2 is selected.
Function to do.

【0024】min(x1,x2): x1とx2のう
ちの小さい方を選択する関数。 を計算し、ランダムアクセスメモリ4に格納する。ま
た、h<0ならば、 a2=min(t1,t2) b2=max(t1,t2) を計算し、ランダムアクセスメモリ4に格納する。
Min (x1, x2): A function for selecting the smaller one of x1 and x2. Is calculated and stored in the random access memory 4. If h <0, a2 = min (t1, t2) and b2 = max (t1, t2) are calculated and stored in the random access memory 4.

【0025】次に、△>0とならば、円,楕円,点楕
円,虚楕円のいずれかであるとしてその結果(それらの
種類を識別する所定のコード)をランダムアクセスメモ
リ4に格納する。次に、a/cを計算して、 a/c>0 ならば、点,虚楕円として、その結果(それらの種類を
識別する所定のコード)をランダムアクセスメモリ4に
格納する。
Next, if Δ> 0, the result (predetermined code for identifying the types) is stored in the random access memory 4 as being any one of a circle, an ellipse, a point ellipse, and an imaginary ellipse. Next, a / c is calculated. If a / c> 0, the result (a predetermined code for identifying the types) is stored in the random access memory 4 as a point or an imaginary ellipse.

【0026】a/c>0が成立しなければ、円または楕
円として、その結果(それらの種類を識別する所定のコ
ード)をランダムアクセスメモリ4に格納する。次に、 r1=√(−c/a2) r2=√(−c/b2) ここで、√(x):xのルートを演算する関数。 を計算し、ランダムアクセスメモリ4に格納する。
If a / c> 0 is not established, the result (a predetermined code for identifying the types) is stored in the random access memory 4 as a circle or an ellipse. Next, r1 = √ (−c / a2) r2 = √ (−c / b2) where √ (x): a function for calculating the route of x. Is calculated and stored in the random access memory 4.

【0027】ここで、r1−r2=0ならば円と判定
し、それ以外ならば楕円判定し、その結果(それらの種
類を識別する所定のコード)をランダムアクセスメモリ
4に格納する。上述の処理で円と判定されたならば、半
径rmin=r1=r2となる。また、その中心はX0
である。これらのデータを、ランダムアクセスメモリ4
に格納する。
Here, if r1-r2 = 0, it is determined to be a circle, otherwise it is determined to be an ellipse, and the result (a predetermined code for identifying those types) is stored in the random access memory 4. If it is determined to be a circle in the above process, the radius rmin = r1 = r2. The center is X0
Is. These data are stored in the random access memory 4
To be stored.

【0028】また、上述の処理で楕円と判定されたとき
で、r1>r2ならば、 長軸ベクトル:(r1,0,0)を半時計周りにθ回転した
ベクトル 短軸ベクトル:(0,r2,0)を半時計周りにθ回転した
ベクトル 中心:X0 としてそれらのデータをランダムアクセスメモリ4に格
納する。
When it is determined to be an ellipse in the above process and r1> r2, the long axis vector: (r1,0,0) is rotated by θ counterclockwise. The short axis vector: (0, r2,0) is rotated in the counterclockwise direction by θ and the data is stored in the random access memory 4 as the center: X0.

【0029】以上説明した判定条件を満足しない、即
ち、円か楕円以外に分類されたときは、処理を終了す
る。逆に、円か楕円に分類されたときは、ステップS7
へ進む。ステップS7では、ステップS6で分類された
交線が楕円であるかチェックして、楕円であればステッ
プS8へ進む。逆に、円であればステップS11へ進
む。
If the judgment conditions described above are not satisfied, that is, if the classification is not a circle or an ellipse, the process ends. On the other hand, if it is classified into a circle or an ellipse, step S7.
Go to. In step S7, it is checked whether the intersection line classified in step S6 is an ellipse, and if it is an ellipse, the process proceeds to step S8. Conversely, if it is a circle, the process proceeds to step S11.

【0030】ステップS8では、長軸または短軸の長さ
が、所定の幾何学的許容長さであるEPS以下であるか
を判定する。ここでの処理は、ステップS6で求めた楕
円の特徴値である長軸,短軸ベクトルからそれらの大き
さ(長さ)を計算して、その長軸または短軸の長さがE
PS以下かどうかを判定する。そして、長軸または短軸
の長さがEPS以下であれば、ステップS13からのス
テップを行なう。逆に、その長軸または短軸の長さがE
PS以下でなければ、ステップS9からの処理を行な
う。
In step S8, it is determined whether the length of the major axis or the minor axis is equal to or smaller than EPS, which is a predetermined geometrically allowable length. In this processing, the sizes (lengths) of the long axis and short axis vectors, which are the feature values of the ellipse obtained in step S6, are calculated, and the length of the long axis or the short axis is E.
It is determined whether it is PS or less. Then, if the length of the major axis or the minor axis is not more than EPS, the steps from step S13 are performed. Conversely, the length of the major axis or minor axis is E
If not less than PS, the processing from step S9 is performed.

【0031】ステップS9では、長軸と短軸の長さの差
がEPS以下かどうかを判定する。ここでは、その差が
幾何学的許容長さであるEPS以下ならば近似的に円と
見なし、ステップS12からの処理を行なう。逆に、そ
の差が幾何学的許容長さEPS以下でなければ楕円と見
なし、ステップS10からの処理を行なう。ステップS
10では、楕円として交線を出力する。具体的には、ス
テップS6で求めた中心座標,長軸ベクトル,短軸ベク
トルを、元の座標空間に逆座標変換し、楕円の法線ベク
トルを元の平面の法線ベクトルと同一にしたものを、楕
円の特徴値として出力して、それらの変換された特徴値
をランダムアクセスメモリ4または、外部記憶装置10
に格納する。
In step S9, it is determined whether the difference between the lengths of the major axis and the minor axis is EPS or less. Here, if the difference is equal to or less than EPS, which is the geometrically allowable length, it is regarded as an approximate circle, and the processing from step S12 is performed. On the contrary, if the difference is not less than the geometrically allowable length EPS, it is regarded as an ellipse, and the processing from step S10 is performed. Step S
In 10, the intersection line is output as an ellipse. Specifically, the central coordinates, the long axis vector, and the short axis vector obtained in step S6 are inversely transformed into the original coordinate space, and the normal vector of the ellipse is made the same as the normal vector of the original plane. Are output as elliptic feature values, and the converted feature values are output to the random access memory 4 or the external storage device 10.
To be stored.

【0032】ステップS11では半径がEPS以下かど
うかを判定する。具体的には、交線が円と判定されたと
きであって、その半径が微小であったり、桁落ち等の数
値的誤差等で、幾何学的許容誤差EPS以下であると判
定された時は、ステップS13からの処理を行なう。逆
に、EPS以上であると判定された時は、ステップS1
2からの処理を行なう。
In step S11, it is determined whether the radius is less than EPS. Specifically, when it is determined that the intersection line is a circle and the radius thereof is minute, or due to a numerical error such as a digit loss, it is determined that the intersection line is less than or equal to the geometrical allowable error EPS. Performs the processing from step S13. On the contrary, when it is determined that it is EPS or more, step S1
Processing from 2 is performed.

【0033】ステップS12では、交線を円として出力
する。具体的には、交線が円であると判定し、ステップ
S9から本ステップにきた場合、言い換えれば、ステッ
プS6の代数的判定で楕円と判定された場合は、長軸と
短軸があるので、ここでは、長軸と短軸の大きさの平均
を円の半径とする。尚、ここでの半径の求め方は、今、
長軸と短軸の大きさの平均としたが、長軸あるいは短軸
のいづれかの長さを円の半径として設定してもよい。
In step S12, the line of intersection is output as a circle. Specifically, when it is determined that the line of intersection is a circle and the process proceeds from step S9 to this step, in other words, when it is determined to be an ellipse in the algebraic determination of step S6, there is a long axis and a short axis. , Here, the average of the sizes of the major axis and the minor axis is the radius of the circle. In addition, how to find the radius here is now
Although the average of the sizes of the major axis and the minor axis is used, either the major axis or the minor axis may be set as the radius of the circle.

【0034】そして、所定のxy平面と平行である求め
られた円を元の対象平面上に座標変換するために、逆行
列M’とこの求められた円の各座標との積をとることに
より座標変換する。このようにして、元の対象の法線ベ
クトルと同一の法線ベクトルを持つ円の中心と半径等の
特徴値をCRT8に出力する。ステップS13では、交
線が点に縮退したと判定して、この判定状態をメッセー
ジでCRT8に出力するが、交線に関するデータのCR
T8への出力は行わず、処理を終了する。
Then, in order to transform the obtained circle parallel to the predetermined xy plane onto the original object plane, the product of the inverse matrix M'and each coordinate of the obtained circle is obtained. Convert coordinates. In this way, the feature values such as the center and radius of the circle having the same normal vector as the original target normal vector are output to the CRT 8. In step S13, it is determined that the intersection line degenerates to a point, and this determination state is output to the CRT 8 as a message.
The process ends without outputting to T8.

【0035】以上説明したように、本実施例によれば、
交線の一般式の係数に基づいて代数的形状判別を行い、
その結果を用いて、短軸や長軸や半径などの幾何学的特
徴量での第2次の形状判別を行い、形状を調整すること
により、適正な交線形状を求めることができる。 (実施例2)実施例2の図形処理装置のハードウエア構
成は図1と同様であるが、交線算出方法が異なる。
As described above, according to this embodiment,
Performs algebraic shape discrimination based on the coefficient of the general formula of the intersection line,
By using the result, the secondary shape determination is performed based on the geometric feature amount such as the short axis, the long axis, the radius, and the like, and the shape is adjusted, so that an appropriate intersecting line shape can be obtained. (Embodiment 2) The hardware configuration of the graphic processing apparatus of Embodiment 2 is the same as that of FIG. 1, but the method of calculating the line of intersection is different.

【0036】以下、図4のフローチャートを参照して、
実施例2での交線算出処理手順を説明する。ただし、図
4のステップS6〜ステップS13は実施例1のステッ
プS6からステップS13の処理と同様であるので説明
を省略する。また説明で使用する用語等も実施例1と同
様である。
Hereinafter, with reference to the flowchart of FIG.
The intersection line calculation processing procedure in the second embodiment will be described. However, steps S6 to S13 of FIG. 4 are the same as the processing of steps S6 to S13 of the first embodiment, and a description thereof will be omitted. The terms used in the description are the same as in the first embodiment.

【0037】まず、ステップS1では平面と円筒面との
関係を判定する。具体的には、平面の法線ベクトルと円
筒の軸との関係判定を行ない、交線の種類を推定する。
具体的には、平面の法線ベクトルn0と円筒の軸ベクト
ルn1間の内積に基づく相関値を以下の式で計算する。 a=n0・n1/(|n0|・|n1|) そして、その結果aをランダムアクセスメモリ4に格納
する。次に、その結果aの絶対値が次式を満足するか判
定し、 1.0−EPSA≦|a|≦1.0+EPSA を満足するとき、平面と円筒軸は垂直と判定する。ま
た、 |a|≦EPSA を満足するとき、平面と円筒軸は平行であると判定す
る。そして、それらの結果をランダムアクセスメモリ4
に格納する。
First, in step S1, the relationship between the flat surface and the cylindrical surface is determined. Specifically, the relationship between the normal vector of the plane and the axis of the cylinder is determined, and the type of intersection line is estimated.
Specifically, the correlation value based on the inner product between the plane normal vector n0 and the cylindrical axis vector n1 is calculated by the following formula. a = n0.n1 / (| n0 |. | n1 |) Then, the result a is stored in the random access memory 4. Next, it is determined whether or not the absolute value of the result a satisfies the following expression. When 1.0-EPSA ≦ | a | ≦ 1.0 + EPSA is satisfied, it is determined that the plane and the cylinder axis are vertical. When | a | ≦ EPSA is satisfied, it is determined that the plane and the cylinder axis are parallel to each other. Then, those results are stored in the random access memory 4
To be stored.

【0038】ステップS2では、ステップS1における
判定結果をランダムアクセスメモリより取り出し、平面
と円が垂直であればステップS14へ進む。逆に、垂直
でなければステップS3へ進む。ステップS14では、
円筒軸と平面の交点を算出する。ステップS15では、
円としての交線をCRT8に出力する。具体的には、ス
テップS14で求めた交点をランダムアクセスメモリ4
より取り出し、その交点を円の中心とし、半径は円筒面
の半径rと同じ円を交線として、それらのデータをラン
ダムアクセスメモリ4や外部記憶装置10に格納する
か、またはCRT8にその図形を出力する(図2参
照)。そして、処理を終了する。
In step S2, the judgment result in step S1 is fetched from the random access memory, and if the plane and the circle are vertical, the process proceeds to step S14. On the contrary, if it is not vertical, the process proceeds to step S3. In step S14,
Calculate the intersection of the cylinder axis and the plane. In step S15,
The intersection line as a circle is output to the CRT 8. Specifically, the intersection obtained in step S14 is set to the random access memory 4
Then, the intersection is defined as the center of the circle, and the radius is defined as the intersection of the circle having the same radius as the radius r of the cylindrical surface. Output (see FIG. 2). Then, the process ends.

【0039】ステップS3では、平面と円筒軸が平行か
どうかを判定する。具体的には、ステップS1における
判定結果をランダムアクセスメモリ4より取り出し、平
面と円筒軸が平行という結果になっているかどうかチェ
ックし、平面と円筒軸が平行であればステップS16へ
進み、そうでなければステップS4へ進む。ステップS
16では、交線は直線であるとして、その直線を求める
計算を行なう。具体的には、交線は、0本から2本の直
線(図2の(b)、(c)、(d)参照)であり、その
計算を行い、その直線のデータをランダムアクセスメモ
リ4または外部記憶装置10またはCRT8に出力する
(図2参照)。そして、処理を終了する。
In step S3, it is determined whether the plane and the cylinder axis are parallel. Specifically, the determination result in step S1 is fetched from the random access memory 4, and it is checked whether or not the plane and the cylinder axis are parallel. If the plane and the cylinder axis are parallel, the process proceeds to step S16. If not, the process proceeds to step S4. Step S
In 16, it is assumed that the intersecting line is a straight line, and the calculation for obtaining the straight line is performed. Specifically, the intersecting line is 0 to 2 straight lines (see (b), (c), and (d) in FIG. 2), and the calculation is performed, and the data of the straight line is stored in the random access memory 4 Alternatively, it is output to the external storage device 10 or the CRT 8 (see FIG. 2). Then, the process ends.

【0040】ステップS4では、平面がxy平面に平行
になるように、平面,円筒面を座標変換する。具体的に
は、平面がxy平面と平行になるように、平面,円筒面
の各特徴値に対して座標変換を行う。ステップS5で
は、変換後の平面のZ座標値(XY平面に直交する軸を
Z軸として、そのZ軸方向でのその平面の座標値)Z0
を円筒面の式に代入し、交線の式を算出する。具体的に
は、以下の処理を行う。即ち、ステップS4の座標変換
の結果、平面の式が、 Z=Z0 になったとする。また平面,円筒面の各特徴値である、
平面上の基準点P0、円筒面の軸上の基準点C0、円筒
面の軸ベクトルn1がそれぞれ、 P0 --> P01 C0 --> C01 n1 --> n11 になったとする。この時、変換後の円筒面の式は、 (X−C01)・(X−C0)={(X−C01)・n01}2+r2 この式に、X=(x,y,Z0)を代入し、展開した式
が、交線の式として求められる。そして、求められた交
線の式のパラメータをランダムアクセスメモリ4に格納
する。
In step S4, the plane and the cylindrical surface are coordinate-converted so that the plane is parallel to the xy plane. Specifically, coordinate conversion is performed on each feature value of the plane and the cylindrical surface so that the plane is parallel to the xy plane. In step S5, the Z coordinate value of the plane after conversion (the coordinate value of the plane in the Z axis direction with the axis orthogonal to the XY plane as the Z axis) Z0
Is substituted into the equation for the cylindrical surface, and the equation for the line of intersection is calculated. Specifically, the following processing is performed. That is, it is assumed that the equation of the plane becomes Z = Z0 as a result of the coordinate conversion in step S4. Moreover, it is each feature value of a plane and a cylindrical surface,
It is assumed that the reference point P0 on the plane, the reference point C0 on the axis of the cylindrical surface, and the axis vector n1 of the cylindrical surface are P0-> P01 C0-> C01 n1-> n11, respectively. At this time, the equation of the cylindrical surface of the converted, the (X-C01) · (X -C0) = {(X-C01) · n01} 2 + r 2 This equation, X = a (x, y, Z0) The substituted and expanded expression is obtained as the intersection line expression. Then, the parameters of the equation of the obtained intersection line are stored in the random access memory 4.

【0041】次に、実施例1で説明したステップS6以
下の処理に進も、交線を楕円か円と判定すればそれをC
RT8等に出力し、点として判定されれば、その主旨を
CRT等に表示して処理を終了する。以上説明したよう
に、本実施例によれば、はじめに、平面と円筒面の位置
関係の代数的判定、より具体的には、平面と円筒が直交
しているか平行になっているかを代数的に判定して、そ
れらのいずれかであると判定すると、それぞれ交線が
円、直線と見なし、それらに対して、ステップS6以下
の幾何学的処理を行なう必要がなく、より高速に図形処
理を実行できる。このように、上述の代数的処理と幾何
学的処理を巧妙に結びつけることにより、高速にかつ、
適正な交線形状を求めることができる。 (実施例3)本実施例では、円筒面の軸と平面が平行と
判定され、交線が直線である場合(図4(b),(c),(d)
参照)での平面と円筒面の交線計算処理方法を説明す
る。
Next, even if the processing from step S6 onward described in the first embodiment is proceeded to, if it is determined that the line of intersection is an ellipse or a circle, it is C
If the result is output to the RT 8 or the like and is determined as a point, the effect is displayed on the CRT or the like, and the process ends. As described above, according to the present embodiment, first, the algebraic determination of the positional relationship between the plane and the cylindrical surface, more specifically, whether the plane and the cylinder are orthogonal or parallel is algebraically determined. If it is determined that the intersection line is a circle or a straight line, it is not necessary to perform the geometric processing in and after step S6 on them, and the graphic processing is executed at a higher speed. it can. In this way, by cleverly combining the above-mentioned algebraic processing and geometrical processing,
A proper intersecting line shape can be obtained. (Embodiment 3) In the present embodiment, when the axis of the cylindrical surface is determined to be parallel to the plane and the intersecting line is a straight line (FIGS. 4B, 4C, and 4D).
The method of calculating the line of intersection between the plane and the cylindrical surface in the reference) will be described.

【0042】尚、以下に示すフローチャートに対応する
プログラムは、ROM3に予め格納されており、CPU
2がこのプログラムを参照し、解釈して実行する。図5
は、本実施例の平面と円筒面の交線計算処理方法を説明
するフローチャートであり、このフローチャートを参照
して、各ステップ毎にその処理内容を説明する。ここ
で、説明に使用する用語等は実施例1と同様である。
A program corresponding to the following flow chart is stored in the ROM 3 in advance, and the CPU
2 refers to this program, interprets it, and executes it. Figure 5
Is a flowchart for explaining a method for calculating the intersection line between the plane and the cylindrical surface of the present embodiment, and the processing contents will be described for each step with reference to this flowchart. Here, terms and the like used in the description are the same as those in the first embodiment.

【0043】ステップS100では、円筒の軸と平面が
平行な場合での円筒面の軸と平面の距離r2を算出し
て、ランダムアクセスメモリ4に格納する。算出方法
は、円筒の軸上の任意の1点と平面の距離を求めればよ
い。ステップS17では、円筒面と平面の最短距離d
(符号付き)、即ち、 d=r2−r を求め、その結果をランダムアクセスメモリ4に格納す
る。
In step S100, the distance r2 between the axis of the cylindrical surface and the plane when the axis of the cylinder is parallel to the plane is calculated and stored in the random access memory 4. The calculation method may be to find the distance between any one point on the axis of the cylinder and the plane. In step S17, the shortest distance d between the cylindrical surface and the flat surface
(With a sign), that is, d = r2-r is obtained, and the result is stored in the random access memory 4.

【0044】ステップS18では、ステップS17で求
められた円筒面と平面の最短距離dが、次不等式 d ≦ EPS を満足するかどうかを判定する。そして、満足すれば、
ステップS22へ進み、満足しなければステップS19
からの処理を行なう。
In step S18, it is determined whether or not the shortest distance d between the cylindrical surface and the plane obtained in step S17 satisfies the following inequality d ≤ EPS. And if you are satisfied,
If not satisfied, go to step S22.
Process from.

【0045】ステップS22では、円筒面と平面が接し
ていると判定して、ランダムアクセスメモリに4その判
定結果を格納する(図2(c)参照)。ステップS23で
は、接している稜線を交線として算出する。具体的に
は、C0から平面におろした垂線の足の点をP3とする
と、P3を通り円筒面の軸方向ベクトルを方向ベクトル
とする直線が接している稜線(交線)であるとして、算
出する。そして、その結果をCRT8に表示して処理を
終了する。
In step S22, it is determined that the cylindrical surface and the flat surface are in contact with each other, and the determination result 4 is stored in the random access memory (see FIG. 2 (c)). In step S23, the contacting ridge lines are calculated as intersection lines. Specifically, when the point of the foot of the perpendicular line drawn from C0 to the plane is P3, it is calculated as a ridge line (intersection line) where a straight line passing through P3 and having the axial vector of the cylindrical surface as the direction vector is in contact. To do. Then, the result is displayed on the CRT 8 and the process ends.

【0046】ステップS19では、円筒面と平面の最短
距離dが次の不等式 d>EPS を満足するかどうか判定する。そして、満足すれば、ス
テップS24から処理を行ない、満足しなければステッ
プS20からの処理を行なう。
In step S19, it is determined whether the shortest distance d between the cylindrical surface and the flat surface satisfies the following inequality d> EPS. Then, if satisfied, the process is performed from step S24, and if not satisfied, the process from step S20 is performed.

【0047】ステップS24では、交線を持たないと判
定(図4(b)参照)、即ち、平面と円筒面は離れている
と判定し、その結果をCRT8に表示して処理を終了す
る。ステップS20では、2本の直線が交線であるとし
てこれらの直線を求め、ランダムアクセスメモリ4に格
納する(図4(d)参照)。具体的には、円筒面の基準点
を中心とし、半径を円筒面の半径rとした円の法線が円
筒面の軸方向ベクトルであるその円と、平面との交点、
P1,P2を求める。そして、P1,P2を通り、円筒
面の軸方向ベクトルを方向ベクトルとする直線を交線と
する。
In step S24, it is determined that there is no line of intersection (see FIG. 4B), that is, it is determined that the plane and the cylindrical surface are distant from each other, the result is displayed on the CRT 8, and the process is terminated. In step S20, it is assumed that the two straight lines are intersecting lines, and these straight lines are obtained and stored in the random access memory 4 (see FIG. 4 (d)). Specifically, an intersection of a circle whose center is the reference point of the cylindrical surface and whose normal is a circle whose radius is the radius r of the cylindrical surface is the axial direction vector of the cylindrical surface and a plane,
Find P1 and P2. A straight line passing through P1 and P2 and having the axial direction vector of the cylindrical surface as the direction vector is defined as an intersection line.

【0048】ステップS21では、P1とP2の距離が
EPS以内かどうか判定して、EPS以内であれば、2
本の交線距離がEPS以内と判定して、その結果をラン
ダムアクセスメモリ4に格納し、ステップS25へ進
む。逆に、EPS以内でなければ、その結果をCRT8
に表示して処理を終了する。ステップS25では、2本
の交線を一つにまとめる処理を行う。具体的には、2本
の交線は近似的に同一であると判定し、ステップS20
で求めた直線上の点P1,P2のいずれかを通り、円筒
面の軸方向ベクトルを方向ベクトルとする直線を求め、
それを唯一の交線としてランダムアクセスメモリ4また
は外部記憶装置10またはCRT8に出力する。
In step S21, it is determined whether the distance between P1 and P2 is within EPS, and if it is within EPS, 2 is determined.
It is determined that the intersecting line distance of the book is within EPS, the result is stored in the random access memory 4, and the process proceeds to step S25. On the contrary, if it is not within EPS, the result is CRT8.
And is displayed. In step S25, a process of combining the two intersection lines into one is performed. Specifically, it is determined that the two intersection lines are approximately the same, and step S20 is performed.
A straight line that passes through either of the points P1 and P2 on the straight line obtained in step 3 and uses the axial direction vector of the cylindrical surface as the direction vector,
It is output to the random access memory 4, the external storage device 10 or the CRT 8 as the only line of intersection.

【0049】以上説明したように、本実施例では、円筒
面の軸と平面が平行と判定され、交線が直線である場合
に、円筒面の軸と平面間の距離と所定の閾値との大小関
係によって、図2に示したように、円筒面と平面が離れ
ているか、接しているか(1本の交線を持つ)、2本の
交線を持つかを判定でき、特に、2本の交線を持つと判
定された場合、それらの距離が所定の閾値以内であれ
ば、1本の直線に修正することで、ノイズに強く適正な
交線を求めることができる。 (実施例4)本実施例では、図4の交線処理と、図5の
交線が直線である場合の交線処理を組み合わせた処理
(図6、図7参照)を説明する。本実施例での交線処理
でのポイントは、図4のステップS16で交線としての
直線が求められた後、図5のステップS100からの処
理を行って、その交線を調整することで、ノイズに強い
交線処理方法を提供する。
As described above, in the present embodiment, when it is determined that the axis of the cylindrical surface is parallel to the plane and the line of intersection is a straight line, the distance between the axis of the cylindrical surface and the plane and the predetermined threshold value are As shown in FIG. 2, it is possible to judge whether the cylindrical surface and the plane are separated from each other or are in contact with each other (have one intersection line) or have two intersection lines as shown in FIG. When it is determined that the lines of intersection have a distance of less than a predetermined threshold value, it is possible to obtain an appropriate line of intersection that is strong against noise by correcting the line into one straight line. (Embodiment 4) In this embodiment, a processing (see FIGS. 6 and 7) in which the intersection processing of FIG. 4 and the intersection processing when the intersection of FIG. 5 is a straight line are combined will be described. The point of the intersection line processing in this embodiment is that after the straight line as the intersection line is obtained in step S16 of FIG. 4, the processing from step S100 of FIG. 5 is performed to adjust the intersection line. , Provides a noise-resistant intersection line processing method.

【0050】尚、図6、図7に示すフローチャートに対
応するプログラムは、ROM3に予め格納されており、
CPU2がこのプログラムを参照し、解釈して実行す
る。図6、図7は、図4と図5を組み合わせた本実施例
の平面と円筒面の交線計算処理方法を説明するフローチ
ャートである。このフローチャートで、各ステップ番号
は図4と図5のステップ番号と同じものを用いており、
これは、図4と図5の対応するステップでの処理内容が
同じであることを意味する。
The programs corresponding to the flowcharts shown in FIGS. 6 and 7 are stored in the ROM 3 in advance,
The CPU 2 refers to this program, interprets it, and executes it. FIG. 6 and FIG. 7 are flowcharts for explaining the intersection line calculation processing method between the plane and the cylindrical surface of the present embodiment, which is a combination of FIGS. 4 and 5. In this flow chart, each step number is the same as the step number in FIG. 4 and FIG.
This means that the processing contents in the corresponding steps of FIG. 4 and FIG. 5 are the same.

【0051】即ち、図6、図7におけるステップS1〜
ステップS15は、図4のステップS1〜ステップS1
5の処理,また、図6、図7におけるステップS16〜
ステップS25は図5のステップS16〜ステップS2
5の処理と同様である。従って、全体のステップで説明
を省略する。以上説明したように、本実施例によれば、
図4の交線処理と、図5の交線が直線である場合の交線
処理を組み合わせて、交線を調整することで、ノイズに
強い交線処理方法を提供する。 (他の実施例)以上、平面と円筒の関係においてその交
線計算方法を説明したが、平面と,円筒面,円錐面,球
や,その他の面要素間の交線計算においても適用できる
ことは言うまでもない。
That is, steps S1 to S1 in FIGS.
Step S15 is step S1 to step S1 in FIG.
5 and steps S16 to S16 in FIG. 6 and FIG.
Step S25 is step S16 to step S2 in FIG.
This is the same as the process of 5. Therefore, the description of all steps is omitted. As described above, according to this embodiment,
By combining the intersecting line processing of FIG. 4 and the intersecting line processing of FIG. 5 when the intersecting line is a straight line to adjust the intersecting line, an intersecting line processing method resistant to noise is provided. (Other Embodiments) In the above, the intersection line calculation method has been described in relation to the plane and the cylinder. Needless to say.

【0052】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器から成る装置に適用
しても良い。また、本発明はシステム或は装置にプログ
ラムを供給することによって達成される場合にも適用で
きることはいうまでもない。以上説明したように、本発
明に係る実施例では、2幾何要素の交線を求める時に、
あらかじめ幾何的に意味のある誤差基準によって、2幾
何要素が接している場合等の特殊ケースの処理を行な
い、また代数的な一般的な手法で求めた交線の解を、幾
何的に意味のある誤差基準を使って補正することによっ
て、実用的な基準で正しく交線の解を安定的に求めるこ
とができ、かつノイズにも強いという効果がある。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus. As described above, in the embodiment according to the present invention, when the line of intersection of two geometric elements is obtained,
A special case such as a case where two geometric elements are in contact with each other is processed in advance by a geometrically meaningful error criterion, and the solution of the intersection line obtained by a general algebraic method is geometrically meaningful. By correcting using a certain error criterion, the solution of the intersection line can be stably obtained with a practical criterion, and it is also resistant to noise.

【0053】[0053]

【発明の効果】以上説明したように本発明によれば、2
幾何要素のデータにノイズを含む場合であっても、適正
にそれらの2幾何要素間の交線を求めることができる。
As described above, according to the present invention, 2
Even if the geometric element data contains noise, the line of intersection between the two geometric elements can be properly obtained.

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

【図1】本発明に係る1実施例の図形処理装置のブロッ
ク図である。
FIG. 1 is a block diagram of a graphic processing device according to an embodiment of the present invention.

【図2】平面と円筒面の位置関係に対応する交線の様子
を説明する図である。
FIG. 2 is a diagram illustrating a state of a line of intersection corresponding to a positional relationship between a plane surface and a cylindrical surface.

【図3】本発明の第1の実施例の交線処理を示す流れ図
である。
FIG. 3 is a flow chart showing intersection line processing according to the first embodiment of this invention.

【図4】本発明の第2の実施例の交線処理を示す流れ図
である。
FIG. 4 is a flow chart showing intersection line processing according to the second embodiment of the present invention.

【図5】本発明の第3の実施例の交線処理を示す流れ図
である。
FIG. 5 is a flow chart showing intersection line processing according to a third embodiment of this invention.

【図6】本発明の第4の実施例の交線処理を示す流れ図
である。
FIG. 6 is a flow chart showing intersection line processing according to a fourth embodiment of the present invention.

【図7】本発明の第4の実施例の交線処理を示す流れ図
である。
FIG. 7 is a flow chart showing an intersection line process of a fourth embodiment of the present invention.

【図8】各実施例での処理を説明するための、用語など
の定義を示す図である。
FIG. 8 is a diagram showing definitions of terms and the like for explaining processing in each embodiment.

Claims (40)

【特許請求の範囲】[Claims] 【請求項1】 図形の方程式の係数に基づく所定の判別
式を計算して、前記図形を楕円と判定する第1の判定工
程と、 前記第1の判定工程で前記図形を楕円と判定したとき、
前記図形の短軸と長軸の長さの差が所定値以下であれ
ば、前記図形を円と判定する第2の判定工程とを備える
ことを特徴とする図形処理方法。
1. A first determination step of determining a figure as an ellipse by calculating a predetermined discriminant based on a coefficient of a figure equation, and a step of determining the figure as an ellipse in the first determination step. ,
A graphic processing method comprising: a second determination step of determining the graphic as a circle if the difference between the lengths of the short axis and the long axis of the graphic is not more than a predetermined value.
【請求項2】 前記第2の判定工程で前記図形を円と判
定したとき、前記長軸の長さと前記短軸の長さの平均値
を前記円の半径の長さとすることを特徴とする請求項1
に記載の図形処理方法。
2. When the figure is determined to be a circle in the second determining step, an average value of the lengths of the major axis and the minor axis is set as a radius of the circle. Claim 1
The graphic processing method described in 1.
【請求項3】 前記第2の判定工程で前記図形を円と判
定したとき、前記長軸の長さを前記円の半径の長さとす
ることを特徴とする請求項1に記載の図形処理方法。
3. The graphic processing method according to claim 1, wherein when the graphic is determined to be a circle in the second determination step, the length of the major axis is set to the radius of the circle. .
【請求項4】 前記第2の判定工程で前記図形を円と判
定したとき、前記短軸の長さを前記円の半径とすること
を特徴とする請求項1に記載の図形処理方法。
4. The figure processing method according to claim 1, wherein when the figure is determined to be a circle in the second determination step, the length of the minor axis is set to the radius of the circle.
【請求項5】 前記図形の方程式は、x,yを変数とす
るax2+2hxy+by2+2gx+2fy+c=0で
表現され、a,h,b,g,f,cは所定の係数である
ことを特徴とする請求項1に記載の図形処理方法。
5. The equation of the figure is expressed by ax 2 + 2hxy + by 2 + 2gx + 2fy + c = 0 in which x and y are variables, and a, h, b, g, f and c are predetermined coefficients. The graphic processing method according to claim 1.
【請求項6】 前記第1の判定工程は、 ab−h2>0、かつ、a/c≦0、かつ、tを変数と
する2次方程式 t2−(a+b)t+ab=0 の解t1,t2
に関して、a2、b2を h=0ならば、a2=a,b2=b h>0ならば、a2=max(t1,t2),b2=min(t1,t2) h<0ならば、a2=min(t1,t2),b2=max(t1,t2) と設定し、−c/a2のルート演算の結果をr1、−c
/b2のルート演算の結果をr2とするとき、r1≒r
2ならば、前記図形を楕円と判定することを特徴とする
ことを特徴とする請求項5に記載の図形処理方法。
6. The first determination step is: ab-h 2 > 0, a / c ≦ 0, and a solution t 1 of a quadratic equation t 2 − (a + b) t + ab = 0 with t as a variable. , t2
Regarding a2 and b2, if h = 0, a2 = a, b2 = b h> 0, a2 = max (t1, t2), b2 = min (t1, t2) h <0, a2 = min (t1, t2), b2 = max (t1, t2), and the route calculation result of -c / a2 is r1, -c
When the route calculation result of / b2 is r2, r1≈r
If the figure is 2, the figure is determined to be an ellipse, and the figure processing method according to claim 5.
【請求項7】 前記図形の短軸または長軸のいづれか一
方の長さが所定値以下であれば、前記図形を点と判定す
る工程をさらに備えることを特徴とする請求項1に記載
の図形処理方法。
7. The graphic according to claim 1, further comprising a step of determining the graphic as a point if the length of either the short axis or the long axis of the graphic is not more than a predetermined value. Processing method.
【請求項8】 前記第1の判定工程で前記図形を楕円と
判定したとき、前記図形の短軸と長軸の長さの差が所定
値以下でなければ、前記図形を楕円と判定する第3の判
定工程をさらに備えることを特徴とする請求項1に記載
の図形処理方法。
8. When the figure is determined to be an ellipse in the first determining step and the difference between the short axis and the long axis of the figure is not less than a predetermined value, the figure is determined to be an ellipse. The graphic processing method according to claim 1, further comprising a determination step (3).
【請求項9】 前記第2の判定工程で円と判定された図
形を表示する工程をさらに備えることを特徴とする請求
項1に記載の図形処理方法。
9. The graphic processing method according to claim 1, further comprising a step of displaying a graphic determined to be a circle in the second determination step.
【請求項10】 前記第3の判定工程で楕円と判定され
た図形を表示する工程をさらに備えることを特徴とする
請求項8に記載の図形処理方法。
10. The figure processing method according to claim 8, further comprising a step of displaying a figure determined to be an ellipse in the third determining step.
【請求項11】 前記図形は、所定の平面と所定の円筒
面の交線の図形であることを特徴とする請求項1に記載
の図形処理方法。
11. The graphic processing method according to claim 1, wherein the graphic is a graphic of an intersection of a predetermined plane and a predetermined cylindrical surface.
【請求項12】 前記図形は、所定の平面と所定の円錐
面の交線の図形であることを特徴とする請求項1に記載
の図形処理方法。
12. The graphic processing method according to claim 1, wherein the graphic is a graphic of an intersection of a predetermined plane and a predetermined conical surface.
【請求項13】 前記図形は、所定の平面と所定の球面
の交線の図形であることを特徴とする請求項1に記載の
図形処理方法。
13. The graphic processing method according to claim 1, wherein the graphic is a graphic of an intersection of a predetermined plane and a predetermined spherical surface.
【請求項14】 前記第1の判定工程の前に、前記平面
の放線ベクトルと前記円筒面の軸ベクトルとの内積に基
づく相関係数を求め、前記相関係数が所定の範囲値内で
あれば、前記図形を円と判定する第4の判定工程を備
え、 前記第4の判定工程で前記図形が円と判定されたなら
ば、前記第1の判定工程以下の処理を行わないことを特
徴とする請求項8に記載の図形処理方法。
14. Before the first determining step, a correlation coefficient based on an inner product of a radial vector of the plane and an axial vector of the cylindrical surface is obtained, and the correlation coefficient is within a predetermined range value. For example, a fourth determination step of determining the figure as a circle is provided, and if the figure is determined as a circle in the fourth determination step, the processing subsequent to the first determination step is not performed. The graphic processing method according to claim 8.
【請求項15】 前記第1の判定工程の前に、前記平面
の放線ベクトルと前記円筒面の軸ベクトルとの内積に基
づく相関係数を求め、前記相関係数が所定の閾値以下で
あれば、前記図形を直線と判定する第5の判定工程を備
え、 前記第5の判定工程で前記図形が直線と判定されたなら
ば、前記第1の判定工程以下の処理を行わないことを特
徴とする請求項8に記載の図形処理方法。
15. A correlation coefficient based on an inner product of a radial vector of the plane and an axial vector of the cylindrical surface is obtained before the first determining step, and the correlation coefficient is equal to or less than a predetermined threshold value. And a fifth determination step of determining the figure as a straight line, and if the figure is determined to be a straight line in the fifth determination step, the processing subsequent to the first determination step is not performed. The graphic processing method according to claim 8.
【請求項16】 前記第5の判定工程で、前記図形を直
線と判定した場合、前記平面と前記円筒面間の距離が所
定の範囲値内であれば、前記平面と前記円筒面は接して
いると判定し、接している稜線を交線とする第6の判定
工程を有することを特徴とする請求項15に記載の図形
処理方法。
16. When the figure is determined to be a straight line in the fifth determining step and the distance between the plane and the cylindrical surface is within a predetermined range value, the plane and the cylindrical surface are in contact with each other. 16. The graphic processing method according to claim 15, further comprising a sixth determining step of determining that there is a ridge line that is in contact with the ridge line that is in contact with the ridge line.
【請求項17】 前記第5の判定工程で、前記図形を直
線と判定した場合、前記平面と前記円筒面間の距離が所
定の閾値以上であれば、前記平面と前記円筒面は交線を
持たないと判定する第7の判定工程を有することを特徴
とする請求項15に記載の図形処理方法。
17. When the figure is determined to be a straight line in the fifth determining step and the distance between the plane and the cylindrical surface is equal to or greater than a predetermined threshold, the plane and the cylindrical surface intersect with each other. The graphic processing method according to claim 15, further comprising a seventh determination step of determining that the graphic processing method does not have it.
【請求項18】 前記第5の判定工程で、前記図形を直
線と判定した場合、前記平面と前記円筒面間の距離が所
定の範囲値内になく、かつ、前記平面と前記円筒面間の
距離が所定の閾値以上でなければ、前記平面と前記円筒
面は2本の直線の交線を有すると判定する第8の判定工
程を有することを特徴とする請求項15に記載の図形処
理方法。
18. When the figure is determined to be a straight line in the fifth determining step, the distance between the plane and the cylindrical surface is not within a predetermined range value, and the distance between the plane and the cylindrical surface is between. The graphic processing method according to claim 15, further comprising an eighth determination step of determining that the flat surface and the cylindrical surface have an intersection line of two straight lines unless the distance is equal to or larger than a predetermined threshold value. .
【請求項19】 前記第8の判定工程で、前記平面と前
記円筒面は2本の直線の交線を有すると判定された場合
で、前記2本の直線間の距離が所定の閾値より小さけれ
ば、前記2本の直線の中心線を唯一の交線とすることを
特徴とする請求項18に記載の図形処理方法。
19. In the case where it is determined in the eighth determination step that the flat surface and the cylindrical surface have an intersection line of two straight lines, the distance between the two straight lines is smaller than a predetermined threshold value. The method according to claim 18, wherein the center line of the two straight lines is the only intersecting line.
【請求項20】 前記第8の判定工程で、前記平面と前
記円筒面は2本の直線の交線を有すると判定された場合
で、前記2本の直線間の距離が所定の閾値より小さけれ
ば、前記2本の直線のいづれか一方の直線を唯一の交線
とすることを特徴とする請求項18に記載の図形処理方
法。
20. When it is determined in the eighth determination step that the plane surface and the cylindrical surface have an intersection line of two straight lines, and the distance between the two straight lines is smaller than a predetermined threshold value. 19. The graphic processing method according to claim 18, wherein either one of the two straight lines is the only intersecting line.
【請求項21】 図形の方程式の係数に基づく所定の判
別式を計算して、前記図形を楕円と判定する第1の判定
手段と、 前記第1の判定手段で前記図形を楕円と判定したとき、
前記図形の短軸と長軸の長さの差が所定値以下であれ
ば、前記図形を円と判定する第2の判定手段とを備える
ことを特徴とする図形処理装置。
21. A first discriminating means for discriminating the figure as an ellipse by calculating a predetermined discriminant based on the coefficient of the equation of the figure, and when the figure is discriminated as an ellipse by the first discriminating means. ,
A graphic processing apparatus comprising: a second determination means for determining the graphic as a circle if the difference between the short axis and the long axis of the graphic is less than or equal to a predetermined value.
【請求項22】 前記第2の判定手段で前記図形を円と
判定したとき、前記長軸の長さと前記短軸の長さの平均
値を前記円の半径の長さとすることを特徴とする請求項
21に記載の図形処理装置。
22. When the figure is determined to be a circle by the second determining means, an average value of the length of the major axis and the length of the minor axis is set as the radius of the circle. The graphic processing device according to claim 21.
【請求項23】 前記第2の判定手段で前記図形を円と
判定したとき、前記長軸の長さを前記円の半径の長さと
することを特徴とする請求項21に記載の図形処理装
置。
23. The graphic processing apparatus according to claim 21, wherein, when the graphic is judged to be a circle by the second judging means, the length of the major axis is set to the radius of the circle. .
【請求項24】 前記第2の判定手段で前記図形を円と
判定したとき、前記短軸の長さを前記円の半径とするこ
とを特徴とする請求項21に記載の図形処理装置。
24. The graphic processing apparatus according to claim 21, wherein when the graphic is judged to be a circle by the second judging means, the length of the minor axis is set to the radius of the circle.
【請求項25】 前記図形の方程式は、x,yを変数と
するax2+2hxy+by2+2gx+2fy+c=0
で表現され、a,h,b,g,f,cは所定の係数であ
ることを特徴とする請求項21に記載の図形処理装置。
25. The equation of the figure is ax 2 + 2hxy + by 2 + 2gx + 2fy + c = 0 where x and y are variables.
22. The graphic processing device according to claim 21, wherein a, h, b, g, f, and c are represented by a predetermined coefficient.
【請求項26】 前記第1の判定手段は、 ab−h2>0、かつ、a/c≦0、かつ、tを変数と
する2次方程式 t2−(a+b)t+ab=0 の解t1,t2
に関して、a2、b2を h=0ならば、a2=a,b2=b h>0ならば、a2=max(t1,t2),b2=min(t1,t2) h<0ならば、a2=min(t1,t2),b2=max(t1,t2) と設定し、−c/a2のルート演算の結果をr1、−c
/b2のルート演算の結果をr2とするとき、r1≒r
2ならば、前記図形を楕円と判定することを特徴とする
ことを特徴とする請求項25に記載の図形処理装置。
26. The first determining means is a solution t1 of a quadratic equation t 2 − (a + b) t + ab = 0, where ab−h 2 > 0, a / c ≦ 0, and t is a variable. , t2
Regarding a2 and b2, if h = 0, a2 = a, b2 = b h> 0, a2 = max (t1, t2), b2 = min (t1, t2) h <0, a2 = min (t1, t2), b2 = max (t1, t2), and the route calculation result of -c / a2 is r1, -c
When the route calculation result of / b2 is r2, r1≈r
26. The figure processing device according to claim 25, wherein if the figure is 2, the figure is determined to be an ellipse.
【請求項27】 前記図形の短軸または長軸のいづれか
一方の長さが所定値以下であれば、前記図形を点と判定
する手段をさらに備えることを特徴とする請求項21に
記載の図形処理装置。
27. The graphic according to claim 21, further comprising means for determining the graphic as a point if the length of either the short axis or the long axis of the graphic is not more than a predetermined value. Processing equipment.
【請求項28】 前記第1の判定手段で前記図形を楕円
と判定したとき、前記図形の短軸と長軸の長さの差が所
定値以下でなければ、前記図形を楕円と判定する第3の
判定手段をさらに備えることを特徴とする請求項21に
記載の図形処理装置。
28. When the figure is determined to be an ellipse by the first determining means, and the difference between the short axis and the long axis of the figure is not less than a predetermined value, the figure is determined to be an ellipse. 22. The graphic processing apparatus according to claim 21, further comprising a determination unit of No. 3.
【請求項29】 前記第2の判定手段で円と判定された
図形を表示する手段をさらに備えることを特徴とする請
求項21に記載の図形処理装置。
29. The graphic processing apparatus according to claim 21, further comprising means for displaying a graphic determined to be a circle by the second determination means.
【請求項30】 前記第3の判定手段で楕円と判定され
た図形を表示する手段をさらに備えることを特徴とする
請求項28に記載の図形処理装置。
30. The graphic processing apparatus according to claim 28, further comprising means for displaying a graphic determined to be an ellipse by the third determining means.
【請求項31】 前記図形は、所定の平面と所定の円筒
面の交線の図形であることを特徴とする請求項21に記
載の図形処理装置。
31. The graphic processing apparatus according to claim 21, wherein the graphic is a graphic of an intersection of a predetermined plane and a predetermined cylindrical surface.
【請求項32】 前記図形は、所定の平面と所定の円錐
面の交線の図形であることを特徴とする請求項21に記
載の図形処理装置。
32. The graphic processing apparatus according to claim 21, wherein the graphic is a graphic of an intersection of a predetermined plane and a predetermined conical surface.
【請求項33】 前記図形は、所定の平面と所定の球面
の交線の図形であることを特徴とする請求項21に記載
の図形処理装置。
33. The graphic processing apparatus according to claim 21, wherein the graphic is a graphic of an intersection of a predetermined plane and a predetermined spherical surface.
【請求項34】 前記第1の判定手段の前に、前記平面
の放線ベクトルと前記円筒面の軸ベクトルとの内積に基
づく相関係数を求め、前記相関係数が所定の範囲値内で
あれば、前記図形を円と判定する第4の判定手段を備
え、 前記第4の判定手段で前記図形が円と判定されたなら
ば、前記第1の判定手段以下の処理を行わないことを特
徴とする請求項28に記載の図形処理装置。
34. Before the first determining means, a correlation coefficient based on an inner product of a radial vector of the plane and an axial vector of the cylindrical surface is obtained, and the correlation coefficient is within a predetermined range value. For example, a fourth determination means for determining the figure as a circle is provided, and if the figure is determined as a circle by the fourth determination means, the processing subsequent to the first determination means is not performed. The graphic processing device according to claim 28.
【請求項35】 前記第1の判定手段の前に、前記平面
の放線ベクトルと前記円筒面の軸ベクトルとの内積に基
づく相関係数を求め、前記相関係数が所定の閾値以下で
あれば、前記図形を直線と判定する第5の判定手段を備
え、 前記第5の判定手段で前記図形が直線と判定されたなら
ば、前記第1の判定手段以下の処理を行わないことを特
徴とする請求項28に記載の図形処理装置。
35. Before the first determining means, a correlation coefficient based on an inner product of a radial vector of the plane and an axial vector of the cylindrical surface is obtained, and if the correlation coefficient is equal to or less than a predetermined threshold value. And a fifth determining means for determining the graphic as a straight line, and if the graphic is determined to be a straight line by the fifth determining means, the processing subsequent to the first determining means is not performed. 29. The graphic processing device according to claim 28.
【請求項36】 前記第5の判定手段で、前記図形を直
線と判定した場合、前記平面と前記円筒面間の距離が所
定の範囲値内であれば、前記平面と前記円筒面は接して
いると判定し、接している稜線を交線とする第6の判定
手段を有することを特徴とする請求項35に記載の図形
処理装置。
36. When the fifth determination means determines that the figure is a straight line and the distance between the plane and the cylindrical surface is within a predetermined range value, the plane and the cylindrical surface are in contact with each other. 36. The graphic processing apparatus according to claim 35, further comprising a sixth determining unit that determines that the ridgelines that are in contact with each other are the intersection lines.
【請求項37】 前記第5の判定手段で、前記図形を直
線と判定した場合、前記平面と前記円筒面間の距離が所
定の閾値以上であれば、前記平面と前記円筒面は交線を
持たないと判定する第7の判定手段を有することを特徴
とする請求項35に記載の図形処理装置。
37. When the figure is determined to be a straight line by the fifth determining means, and the distance between the plane and the cylindrical surface is equal to or greater than a predetermined threshold value, the plane and the cylindrical surface intersect with each other. 36. The graphic processing apparatus according to claim 35, further comprising a seventh judging means for judging not to have.
【請求項38】 前記第5の判定手段で、前記図形を直
線と判定した場合、前記平面と前記円筒面間の距離が所
定の範囲値内になく、かつ、前記平面と前記円筒面間の
距離が所定の閾値以上でなければ、前記平面と前記円筒
面は2本の直線の交線を有すると判定する第8の判定手
段を有することを特徴とする請求項35に記載の図形処
理装置。
38. When the figure is determined to be a straight line by the fifth determining means, the distance between the plane and the cylindrical surface is not within a predetermined range value, and the distance between the plane and the cylindrical surface is between. 36. The graphic processing apparatus according to claim 35, further comprising an eighth determination unit that determines that the flat surface and the cylindrical surface have an intersection line of two straight lines unless the distance is equal to or larger than a predetermined threshold value. .
【請求項39】 前記第8の判定手段で、前記平面と前
記円筒面は2本の直線の交線を有すると判定された場合
で、前記2本の直線間の距離が所定の閾値より小さけれ
ば、前記2本の直線の中心線を唯一の交線とすることを
特徴とする請求項38に記載の図形処理装置。
39. When the eighth determination means determines that the flat surface and the cylindrical surface have an intersecting line of two straight lines, and the distance between the two straight lines is smaller than a predetermined threshold value. 39. The graphic processing apparatus according to claim 38, wherein, for example, the center lines of the two straight lines are the only intersecting lines.
【請求項40】 前記第8の判定手段で、前記平面と前
記円筒面は2本の直線の交線を有すると判定された場合
で、前記2本の直線間の距離が所定の閾値より小さけれ
ば、前記2本の直線のいづれか一方の直線を唯一の交線
とすることを特徴とする請求項38に記載の図形処理装
置。
40. When the eighth determination means determines that the flat surface and the cylindrical surface have an intersecting line of two straight lines, and the distance between the two straight lines is smaller than a predetermined threshold value. 39. The graphic processing apparatus according to claim 38, wherein either one of the two straight lines is the only intersecting line.
JP13911895A 1995-06-06 1995-06-06 Graphic processing method and apparatus Expired - Fee Related JP3774489B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13911895A JP3774489B2 (en) 1995-06-06 1995-06-06 Graphic processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13911895A JP3774489B2 (en) 1995-06-06 1995-06-06 Graphic processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH08329245A true JPH08329245A (en) 1996-12-13
JP3774489B2 JP3774489B2 (en) 2006-05-17

Family

ID=15237924

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13911895A Expired - Fee Related JP3774489B2 (en) 1995-06-06 1995-06-06 Graphic processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3774489B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117291972A (en) * 2023-11-23 2023-12-26 湖南科天健光电技术有限公司 Sub-pixel positioning method and device for circular mark, electronic equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02500418A (en) * 1987-07-20 1990-02-15 ザ、クーパー、カンパニーズ、インコ. Corneal vacuum perforation system
JPH03141474A (en) * 1989-10-26 1991-06-17 Katsumi Mori Detection system for quadratic curve graphic
JPH05134731A (en) * 1991-11-08 1993-06-01 Nippondenso Co Ltd High-speed picking equipment for piled parts
JPH0650695A (en) * 1991-03-20 1994-02-25 Valeo Thermique Moteur Heat exchanger with tube bundle proper for automobile
JPH06187660A (en) * 1992-12-19 1994-07-08 Ricoh Co Ltd Spot checking device for optical pickup
JPH07110866A (en) * 1993-10-12 1995-04-25 Riibuson:Kk Pattern recognition device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02500418A (en) * 1987-07-20 1990-02-15 ザ、クーパー、カンパニーズ、インコ. Corneal vacuum perforation system
JPH03141474A (en) * 1989-10-26 1991-06-17 Katsumi Mori Detection system for quadratic curve graphic
JPH0650695A (en) * 1991-03-20 1994-02-25 Valeo Thermique Moteur Heat exchanger with tube bundle proper for automobile
JPH05134731A (en) * 1991-11-08 1993-06-01 Nippondenso Co Ltd High-speed picking equipment for piled parts
JPH06187660A (en) * 1992-12-19 1994-07-08 Ricoh Co Ltd Spot checking device for optical pickup
JPH07110866A (en) * 1993-10-12 1995-04-25 Riibuson:Kk Pattern recognition device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117291972A (en) * 2023-11-23 2023-12-26 湖南科天健光电技术有限公司 Sub-pixel positioning method and device for circular mark, electronic equipment and medium
CN117291972B (en) * 2023-11-23 2024-02-13 湖南科天健光电技术有限公司 Sub-pixel positioning method and device for circular mark, electronic equipment and medium

Also Published As

Publication number Publication date
JP3774489B2 (en) 2006-05-17

Similar Documents

Publication Publication Date Title
US6504541B1 (en) Warping geometric objects
US6532304B1 (en) Matching geometric objects
US11625518B2 (en) Learning device, inference device, and learned model
CN111461113B (en) Large-angle license plate detection method based on deformed plane object detection network
JPH08329245A (en) Method and device for graphic processing
JP2785776B2 (en) Figure shaping device
US5809170A (en) Method for automatically recognizing line symmetry of a figure
US5790700A (en) Method for automatically recognizing line symmetry of a figure
CN115984709B (en) Content identification method for rapid large-scale remote sensing image
CN114494428B (en) Vehicle pose correction method and device, electronic equipment and computer readable medium
US20170316572A1 (en) User equipment and image processing method and apparatus
US6957176B2 (en) Reduction processing method and computer readable storage medium having program stored thereon for causing computer to execute the method
CN113469159B (en) Obstacle information generation method and device, electronic equipment and computer readable medium
JPH05324921A (en) Method and device for forming curve
JP2937587B2 (en) Intersection calculation method in line drawing processing
JP3727975B2 (en) Graphic processing method and apparatus
JPH06325130A (en) Method for correcting printed wiring pattern corner
JPH04205478A (en) Method and device for detecting bent point
JP3679436B2 (en) Method and apparatus for extracting points inside and outside region in three-dimensional upper region, and method and device for determining arrangement order of points on same curve
JP3382444B2 (en) Character processing apparatus and method
JPH0785289A (en) Method for detecting end point of drawing input device
JP2001022805A (en) Plane judging processing method and three-dimensional processing system including plane judging processing means
CN114723785A (en) Lane line key point tracking method, device, equipment and computer readable medium
JPH10246624A (en) Shape analyzer
JPH1115969A (en) Method and device for recognition and recording medium recording computer program realizing the device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050201

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050404

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050930

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051129

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060203

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060220

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100224

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100224

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110224

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120224

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130224

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140224

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees