JPS6350722B2 - - Google Patents
Info
- Publication number
- JPS6350722B2 JPS6350722B2 JP56011441A JP1144181A JPS6350722B2 JP S6350722 B2 JPS6350722 B2 JP S6350722B2 JP 56011441 A JP56011441 A JP 56011441A JP 1144181 A JP1144181 A JP 1144181A JP S6350722 B2 JPS6350722 B2 JP S6350722B2
- Authority
- JP
- Japan
- Prior art keywords
- interpolation
- interpolated
- data
- curve
- discrete point
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4007—Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
- G05B19/41—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by interpolation, e.g. the computation of intermediate points between programmed end points to define the path to be followed and the rate of travel along that path
- G05B19/4103—Digital interpolation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Automation & Control Theory (AREA)
- Complex Calculations (AREA)
- Image Processing (AREA)
- Image Generation (AREA)
- Numerical Control (AREA)
Description
【発明の詳細な説明】
本発明は可付番な二次元離散点データの曲線補
間方法に係り、特に前記離散点データに二次元ア
イソパラメトリツク表現の補間曲線をあてはめ、
この補間曲線の補間位置を逐次二分割で与え、補
間端域の補間値を細かく算出して補間曲線の特性
性向を鮮明にする曲線補間方法に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a curve interpolation method for two-dimensional discrete point data that can be numbered, and in particular, to apply an interpolation curve of two-dimensional isoparametric representation to the discrete point data,
The present invention relates to a curve interpolation method in which the interpolation positions of the interpolation curve are sequentially divided into two parts, and the interpolation values of the interpolation edge areas are finely calculated, thereby clarifying the characteristics of the interpolation curve.
離散点データ(以後は観測点と言う)n個の点
列
Pj(j=1、2、3、……、n)
を補間する二次元アイソパラメトリツク表現の補
間公式は
Xj=n+1
〓i=1
aij ti-1 (1−a)
Yj=n+1
〓i=1
bij ti-1 (1−b)
上式でjは補間区間番号、
mは補間曲線の次数、
aijとbijは区間jの補間係数、
tは定義域パラメタで、区間毎に0≦t≦1
と表現される。 The interpolation formula of the two-dimensional isoparametric expression for interpolating n point sequence P j (j = 1, 2, 3, ..., n) of discrete point data (hereinafter referred to as observation points) is X j = n+ 1 〓 i=1 a ij t i-1 (1-a) Y j = n+1 〓 i=1 b ij t i-1 (1-b) In the above formula, j is the interpolation section number and m is the interpolation curve a ij and b ij are interpolation coefficients for interval j, t is a domain parameter, and is expressed as 0≦t≦1 for each interval.
前記(1)式を用いる従来の補間方法は、観測点列
Pjにおいて隣接するPjからPj+1の補間にあたり、
補間区間の定義域パラメタt(以後は補間位置と
言う)に一定増分の補間幅Δtを用い、この整数
倍のt値(0、Δt、2・Δt、3・Δt、……、1
−Δt、1)で補間値を算出していた。 The conventional interpolation method using equation (1) above is based on a sequence of observation points.
For interpolation from adjacent P j to P j+1 at P j ,
A constant increment of interpolation width Δt is used for the domain parameter t of the interpolation interval (hereinafter referred to as interpolation position), and the t value (0, Δt, 2・Δt, 3・Δt, ..., 1
-Δt, 1) to calculate the interpolated value.
一般に、観測点Pjの近傍の補間曲線の曲率は大
きくなる傾向を示し、Δtを一定値とする従来方
式では補間曲線の曲率が小さい補間区間中央位置
の補間密度に較べ、曲率が大きくなる補間区間端
位置の補間密度は相対的に疎となり、従つて円滑
な補間曲線が描けず、補間曲線の特性性向を明ら
かにしがたいと言う欠点があつた。 In general, the curvature of the interpolation curve near observation point P j tends to increase, and in the conventional method in which Δt is a constant value, the curvature of the interpolation curve becomes large compared to the interpolation density at the center of the interpolation section where the curvature is small. The interpolation density at the end positions of the sections is relatively sparse, so a smooth interpolation curve cannot be drawn, and the characteristics of the interpolation curve are difficult to clarify.
また、補間曲線の特性性向を十分明らかにする
目的で、補間幅Δtを十分小さい値にすると、補
間区間中央位置の補間値が必要以上に細かく算出
され、しかも計算時間が増加すると言う欠点があ
つた。 In addition, if the interpolation width Δt is set to a sufficiently small value in order to sufficiently clarify the characteristic tendency of the interpolation curve, the interpolation value at the center position of the interpolation interval will be calculated more precisely than necessary, and the calculation time will increase. Ta.
本発明の目的は、前記欠点を改良し補間曲線の
特性性向を少ない補間回数で明らかにする簡潔な
曲線補間方法を提供することである。 SUMMARY OF THE INVENTION An object of the present invention is to provide a simple curve interpolation method that improves the above drawbacks and reveals the characteristic tendency of an interpolated curve with a small number of interpolations.
この目的を達成する為の本発明の構成は、可付
番(j=1〜n)な二次元離散点データPj:Xj,
Yjをデータスタツクメモリ領域に入力し、入力
された該離散点データPjに基いて該離散点Pjを通
るアイソパラメトリツク表現の多項式による補間
曲線の補間係数aj,bjを算出して係数スタツクメ
モリ領域に貯え、該離散点Pjを付番順(j=1〜
n)に接続する時の該離散点Pj間各区間毎に於け
る前記アイソパラメトリツクに基づく定義域(0
〜1)内で定めた補間位置データtと該補間係数
aj,bjとによつて、該離散点データPj間の該補間
曲線の補間値Xt,Ytを算出する曲線補間方法で
あつて、
該離散点データPjを付番順(j=1〜n)に直
線接続したときの当該離散点データ位置Pjでの両
側の直線が形成する角度αjに応じて前記離散点デ
ータPj間の補間位置データtのデータ点数kjを決
定し、このデータ点数kjに達するまでは繰返し前
記離散点データPj間の補間位置データ(0≦t≦
1)を逐次二分割で出力し、該係数スタツクメモ
リ領域内の該補間係数aj,bjと補間位置データt
とで該補間値を算出する際には、該離散点データ
Pj近傍の補間を該離散点データPj間の中央付近の
補間よりも密に算出したことを特徴とするもので
ある。 The configuration of the present invention to achieve this objective is to use two-dimensional discrete point data Pj: Xj,
Yj is input to the data stack memory area, and based on the input discrete point data Pj, the interpolation coefficients a j and b j of the interpolation curve by the isoparametric expression polynomial passing through the discrete point Pj are calculated. Store the discrete points Pj in the stack memory area, and sort the discrete points Pj in numbered order (j=1~
The domain (0
Interpolation position data t determined in ~1) and the interpolation coefficient
A curve interpolation method for calculating interpolated values Xt, Yt of the interpolation curve between the discrete point data Pj by a j and b j , the discrete point data Pj being arranged in the order of numbering (j=1 to Determine the number of data points k j of the interpolated position data t between the discrete point data Pj according to the angle α j formed by the straight lines on both sides at the discrete point data position Pj when connected in a straight line to The interpolated position data between the discrete point data Pj (0≦t≦
1) is sequentially divided into two parts, and the interpolation coefficients a j , b j and interpolation position data t in the coefficient stack memory area are output.
When calculating the interpolated value with
It is characterized in that the interpolation near Pj is calculated more densely than the interpolation near the center between the discrete point data Pj.
たとえば、n個の観測点Pj(j=1、2、3、
……、n)を付番順に直線接続する。このとき、
観測点Pjを尖点と言い、尖点Pjを挾む角∠Pj-1Pj
Pj+1を尖点角αjと言う。尖点Pjから尖点Pj+1に至
る補間区間は、補間位置データtを中央位置(t
=0.5)を出発点位置として尖点Pj(t=0)と尖
点Pj+1(t=1)に向け別々に進行させ、各々の
t値を二分割した値で反復して補間値を算出す
る。この時、尖点Pj方向(tの二分割減少)と尖
点Pj+1方向(tの二分割増加)への各々の反復回
数、言い換えれば補間位置を与える回数は前記尖
点角αjとαj+1に依存し、尖点角が小さい補間端位
置で多くするように決定する。 For example, n observation points P j (j=1, 2, 3,
..., n) are connected in a straight line in the order of numbering. At this time,
Observation point P j is called a cusp, and the angle between the cusp P j is ∠P j-1 P j
P j+1 is called cusp angle α j . In the interpolation section from cusp P j to cusp P j+1 , interpolation position data t is changed to the center position (t
= 0.5) as the starting point, proceed separately toward the cusp P j (t = 0) and the cusp P j +1 (t = 1), and interpolate by repeating each t value by dividing it into two. Calculate the value. At this time, the number of repetitions in the direction of cusp P j (decrease of t by two) and the direction of cusp P j+1 (increase of t by two), in other words, the number of times of giving an interpolated position is the cusp angle α It depends on j and α j+1 , and it is decided to increase the cusp angle at the interpolation end position where the cusp angle is small.
以下に本発明を図によつて説明する。 The present invention will be explained below using figures.
第1図は、観測点列Pj(j=1、2、3、……、
n−1、n)の一観測データ列をX−Y座標上に
プロツトしたグラフである。図において、観測点
P1からPnを100,101,102,103,
104,105,106で示し、観測点P1から
Pnに至る補間区間を観測点をつなぐ直線400,
401,402,403,404,405,40
6,407で示す。 Figure 1 shows a sequence of observation points P j (j=1, 2, 3, ...,
This is a graph in which one observed data sequence of n-1, n) is plotted on the X-Y coordinates. In the figure, the observation point
From P 1 to Pn 100, 101, 102, 103,
104, 105, 106 from observation point P 1
A straight line 400 connecting the observation points in the interpolation interval leading to Pn,
401, 402, 403, 404, 405, 40
6,407.
第2図は、本発明の一実施例を示し、曲線補間
手順とデータのスタツク状態及び、ユニツト接続
関係を説明するブロツク構成図である。 FIG. 2 is a block configuration diagram showing one embodiment of the present invention and explaining the curve interpolation procedure, data stack state, and unit connection relationship.
図において、ブロツク1は観測点データPj(第
1図の100〜106)を入力しデータスタツク
メモリ領域8aに格納し以下の処理に備える。ブ
ロツク2は入力された観測点データPjでアイソパ
ラメトリツク表現補間曲線の補間区間毎の補間係
数を演算ユニツト7により演算し、係数スタツク
メモリ領域8cに格納する。更に観測点データPj
によつて、ブロツク5では観測点Pj(尖点Pjと言
う)に形成する角度(尖点角と言う;第5図参
照)を演算ユニツト7で演算し、補間区間におけ
る尖点Pjに至る補間位置データの発生回数を尖点
角の大きさにより決定し、発生回数のスタツクメ
モリ領域8bに格納する。 In the figure, block 1 inputs observation point data P j (100 to 106 in FIG. 1) and stores it in the data stack memory area 8a in preparation for the following processing. In block 2, the calculation unit 7 calculates interpolation coefficients for each interpolation section of the isoparametric expression interpolation curve using the input observation point data Pj , and stores them in the coefficient stack memory area 8c. Furthermore, observation point data P j
Accordingly, in block 5, the angle (referred to as cusp angle; see Figure 5) formed at observation point P j (referred to as cusp P j ) is calculated by calculation unit 7, and the angle formed at observation point P j (referred to as cusp P j ) is calculated by calculation unit 7. The number of occurrences of the interpolated position data up to , is determined based on the size of the cusp angle, and is stored in the stack memory area 8b for the number of occurrences.
ブロツク6は補間位置データを出力する発生器
であり、補間区間毎の補間位置データを前記の発
生回数だけ出力する。ブロツク3は補間位置発生
器6からの出力とスタツクメモリ領域8c内の補
間係数により演算ユニツト7で補間値を算出し、
ブロツク4でスタツクメモリ領域8dに出力す
る。 Block 6 is a generator for outputting interpolated position data, and outputs interpolated position data for each interpolation interval the number of times of occurrence. Block 3 calculates an interpolated value in a calculation unit 7 using the output from the interpolation position generator 6 and the interpolation coefficient in the stack memory area 8c.
In block 4, it is output to the stack memory area 8d.
第3図は、第2図におけるスタツクメモリ8の
領域配置例を説明する図である。図において、8
aは観測点データPj(第1図参照)の格納域、8
bは補間区間毎の補間位置データの発生回数の格
納域、8cは補間区間毎の補間係数の格納域、8
dは補間値の格納域である。 FIG. 3 is a diagram illustrating an example of the area arrangement of the stack memory 8 in FIG. 2. In the figure, 8
a is the storage area for observation point data P j (see Figure 1), 8
b is a storage area for the number of occurrences of interpolation position data for each interpolation interval, 8c is a storage area for interpolation coefficients for each interpolation interval, 8
d is a storage area for interpolated values.
第4図は、第2図における補間位置発生器6の
補間位置データを発生する手順を説明するフロー
チヤートである。図において、ブロツク20は補
間演算開始初期条件を準備し、ブロツク21は補
間区間毎の初期条件を準備する。ブロツク22は
補間区間毎の補間終了判断を行い、ブロツク25
は補間区間における二分割減少系列補間位置デー
タ発生回数の終了判断、ブロツク26は二分割増
加系列補間位置データ発生回数の終了判断を行
う。ブロツク23は二分割減少系列の補間位置デ
ータを、ブロツク24は二分割増加系列の補間位
置データを各々発生する。 FIG. 4 is a flowchart illustrating a procedure for generating interpolated position data by the interpolated position generator 6 in FIG. 2. In the figure, block 20 prepares initial conditions for starting interpolation calculations, and block 21 prepares initial conditions for each interpolation section. Block 22 determines the end of interpolation for each interpolation section, and block 25
Block 26 determines the end of the number of occurrences of the two-division decreasing series interpolated position data in the interpolation interval, and block 26 determines the end of the number of occurrences of the two-division increasing series interpolated position data. Block 23 generates interpolated position data for a two-part decreasing series, and block 24 generates interpolated position data for a two-part increasing series.
第5図から第7図は、第1図における観測点デ
ータの観測点103Pjから観測点104Pj+1を第
2図による本発明に適用し、この区間における補
間値を出力するまでの状態と、その結果の補間曲
線を折線表示したグラフである。以下の説明は第
1図から第4図までを参照して行う。 Figures 5 to 7 show the state in which observation points 103P j to 104P j+1 of the observation point data in Figure 1 are applied to the present invention in Figure 2, and the interpolated values in this section are output. This is a graph showing the resulting interpolated curve as a broken line. The following description will be made with reference to FIGS. 1 to 4.
ブロツク5(第2図)は、スタツクメモリ領域
8a(第2図、第3図)から観測点データPj-1,
Pj,Pj+1,Pj+2(第1図)を入力し、尖点103
の尖点角150(第5図)をPj-1,Pj,Pj+1の三
点で演算ユニツト7で演算し、また尖点104の
尖点角151(第5図)をPj,Pj+1,Pj+2の三点
から演算ユニツト7で演算した後に、補間区間4
04(第5図)の補間位置データ発生回数を第8
図(後述する)を示す階段関数で決定し、スタツ
クメモリ領域8bに格納する。例えば、第8図に
よれば尖点角が約82度以上約150度までの減少系
列ならば補間位置データは1/2、1/4、1/8の3個、
また約150度以上180度までの増加系列ならば1/2、
3/4の2個を発生する。 Block 5 (Fig. 2) retrieves observation point data P j-1 ,
Input P j , P j+1 , P j+2 (Fig. 1) and cusp 103
The cusp angle 150 (Fig. 5) of the cusp point 104 is calculated by the calculation unit 7 at the three points P j-1 , P j , P j+1 , and the cusp angle 151 (Fig. 5) of the cusp point 104 is calculated by P After calculating from the three points j , P j+1 , P j+2 in the calculation unit 7, interpolation interval 4
The number of interpolated position data occurrences of 04 (Figure 5) is
It is determined by a step function shown in the figure (described later) and stored in the stack memory area 8b. For example, according to Fig. 8, if the cusp angle is a decreasing series from about 82 degrees to about 150 degrees, the interpolated position data will be three pieces: 1/2, 1/4, and 1/8.
Also, if it is an increasing series from about 150 degrees to 180 degrees, 1/2,
Generates 2 pieces of 3/4.
第6図のグラフ上のプロツト点は、ブロツク3
(第2図)で補間値を算出した一例である。ブロ
ツク3(第2図)はスタツクメモリ8c(第2図、
第3図)からは第j番目の補間区間用の補間係数
を入力し、補間位置データ発生器6(第2図、第
3図)からは補間位置tの二分割減少系列を3個
(1/2、1/4、1/8)と、二分割増加系列を2個(1/
2、3/4)とを入力し、各々のt値におけるXとY
の補間値を補間公式(1−a)と(1−b)によ
つて演算ユニツト7で演算する。 The plot point on the graph in Figure 6 is block 3.
This is an example of calculating the interpolated value in (Fig. 2). Block 3 (Fig. 2) is a stack memory 8c (Fig. 2,
The interpolation coefficient for the j-th interpolation interval is input from the interpolation position data generator 6 (Fig. 3), and the two-division decreasing series of the interpolation position t is inputted from the interpolation position data generator 6 (Fig. 2, Fig. 3). /2, 1/4, 1/8) and two bipartite increasing series (1/
2, 3/4) and enter X and Y at each t value.
The interpolated value of is calculated by the calculation unit 7 using interpolation formulas (1-a) and (1-b).
第6図イは前記t値(1/8、1/4、1/2、3/4)に
おけるXの補間値211,212,213,21
4と観測点103,104のX値をプロツトした
折線表示したグラフ、また第6図ロは同様にYの
補間値311,312,313,314と観測点
103,104のY値をプロツトし折線表示した
グラフである。 Figure 6 A shows the interpolated values 211, 212, 213, 21 of X at the t values (1/8, 1/4, 1/2, 3/4).
4 and the X values of observation points 103 and 104 are plotted as a broken line, and Figure 6B is a graph that similarly plots the interpolated Y values 311, 312, 313, 314 and the Y values of observation points 103 and 104 and is displayed as a broken line. This is the displayed graph.
第7図の折線410は、前記第6図のイとロを
組合せ、X−Y座標にプロツトし、各点を直線で
結んだ直線近似補間曲線である。 A broken line 410 in FIG. 7 is a linear approximation interpolation curve that combines A and B in FIG. 6, plots it on the X-Y coordinates, and connects each point with a straight line.
第8図は、第2図のブロツク5における補間位
置データの発生回数を決定する階段関数である。
図において、関数形は180と尖点角の比を計算し、
それに1.8を加算し、結果の小数値を切り捨てて
整数値を補間回数とし、最大回数を11までに限定
したものである。 FIG. 8 shows a step function that determines the number of occurrences of interpolated position data in block 5 of FIG.
In the figure, the function form calculates the ratio of 180 and the cusp angle,
1.8 is added to it, the decimal value of the result is rounded down, and the integer value is used as the number of interpolations, and the maximum number of times is limited to 11.
例えば、尖点角が120度のときは3個のt値、
つまり二分割減少系列では1/2、1/4、1/8までと
し、二分割増加系列では1/2、3/4、7/8までとな
る。 For example, when the cusp angle is 120 degrees, there are 3 t values,
In other words, in the two-part decreasing series, it is up to 1/2, 1/4, and 1/8, and in the two-part increasing series, it is up to 1/2, 3/4, and 7/8.
以上のように、この一実施例によれば、第1図
において前記尖点103から尖点104に至る補
間区間404の補間個数を補間中央、尖点103
近傍、尖点104近傍の各々に適切に配分できる
ので、僅か数回の補間のみでも補間曲線の特性性
向を十分明らかにする効果がある。 As described above, according to this embodiment, in FIG.
Since it can be appropriately distributed to each of the vicinity and the vicinity of the cusp 104, it is effective to sufficiently clarify the characteristic tendency of the interpolated curve even with only a few interpolations.
ちなみに、同等な補間曲線の特性性向を得る為
の補間回数を従来方式と比較すると本発明の補間
回数:従来の補間回数は1:1、3:3、5:
7、7:15、9:31、……となり、本発明の効果
が明らかになる。 By the way, when comparing the number of interpolations to obtain the same characteristic tendency of the interpolation curve with the conventional method, the number of interpolations of the present invention: the number of interpolations of the conventional method is 1:1, 3:3, 5:
7, 7:15, 9:31, etc., and the effect of the present invention becomes clear.
第9図は、第5図の尖点103から尖点104
に至る補間区間への本発明の応用例を示すグラフ
である。図において第6図と異なるのは、補間値
212の次の補間値211の二分割補間位置(1/
8)を発生するとき同時に3/8を発生し、その位置
の補間値215も演算するところにある。この応
用例は補間区間の距離が長い場合に用い、補間位
置発生器6(第2図)において、二分割減少系列
では
1/2、1/4、(1/8、3/8)、(1/16、3/16)、(1/32、
3/32)、……を、また二分割増加系列では
1/2、3/4、(7/8、5/8)、(15/16、13/16)、(31/3
2、29/32)、……という各々一対の補間位置デー
タを発生し補間する方法であ。るこの応用例によ
れば、前記の単純二分割補間位置データ発生にお
ける補間区間中央域の補間曲線をより一層円滑に
補間できる効果がある。 FIG. 9 shows points from cusp 103 to cusp 104 in FIG.
3 is a graph showing an example of application of the present invention to an interpolation interval leading to . What is different from FIG. 6 in this figure is the two-division interpolation position (1/
8), 3/8 is generated at the same time, and the interpolated value 215 at that position is also calculated. This application example is used when the distance of the interpolation interval is long, and in the interpolation position generator 6 (Fig. 2), in the two-division decreasing series, 1/2, 1/4, (1/8, 3/8), ( 1/16, 3/16), (1/32,
3/32), ..., and in the two-division increasing series, 1/2, 3/4, (7/8, 5/8), (15/16, 13/16), (31/3
2, 29/32), etc., each pair of interpolation position data is generated and interpolated. According to this application example, it is possible to more smoothly interpolate the interpolation curve in the center area of the interpolation section in the simple two-division interpolation position data generation described above.
以上の如く、本発明によれば従来の補間位置の
等分割による補間値算出よりも、補間曲線の特性
性向を同等に表現する細かさならば、補間回数が
著るしく減少し計算所要時間が短縮できる効果が
ある。 As described above, according to the present invention, compared to the conventional calculation of interpolation values by dividing the interpolation position equally, the number of times of interpolation is significantly reduced and the time required for calculation is reduced if the characteristic tendency of the interpolation curve is equally expressed. It has the effect of shortening the time.
第1図は二次元離散点データの一例をX−Y座
標にプロツトしたグラフ、第2図は曲線補間手順
とデータのスタツク状態及びユニツト接続を示す
一例図、第3図は第2図のスタツクメモリの配置
例図、第4図は第2図における補間位置データを
出力する発生器の手順を示すフローチヤート。更
に第5図から第7図は補間手順と状態を説明する
図であり、第9図は応用例における補間値の出力
をプロツトした図である。第8図は補間位置デー
タの発生回数を尖点角から決定する階段関数を示
すグラフである。
図において、100,101,102,10
3,104,105,106は離散(観測)点
列、400,401,402,403,404,
405,406,407は補間区間、2は補間係
数算出ブロツク、3は補間値算出ブロツク、5は
補間位置データ発生回数演算ブロツク、6は補間
位置データ発生器、7は演算ユニツト、8はスタ
ツクメモリ、150と151は尖点角、211,
212,213,214はXの補間値、311,
312,313,314はYの補間値、111,
112,113,114はXとYの補間値をX−
Y座標にプロツトした点、410は補間曲線の折
線近似である。
Figure 1 is a graph plotting an example of two-dimensional discrete point data on X-Y coordinates, Figure 2 is an example diagram showing the curve interpolation procedure, data stack state, and unit connection, and Figure 3 is the stack memory of Figure 2. FIG. 4 is a flowchart showing the procedure of the generator that outputs the interpolated position data in FIG. 2. Furthermore, FIGS. 5 to 7 are diagrams for explaining the interpolation procedure and status, and FIG. 9 is a diagram plotting the output of interpolated values in an applied example. FIG. 8 is a graph showing a step function for determining the number of occurrences of interpolated position data from the cusp angle. In the figure, 100, 101, 102, 10
3,104,105,106 are discrete (observation) point sequences, 400,401,402,403,404,
405, 406, 407 are interpolation intervals, 2 is an interpolation coefficient calculation block, 3 is an interpolation value calculation block, 5 is an interpolation position data generation number calculation block, 6 is an interpolation position data generator, 7 is a calculation unit, 8 is a stack memory, 150 and 151 are cusp angles, 211,
212, 213, 214 are the interpolated values of X, 311,
312, 313, 314 are interpolated values of Y, 111,
112, 113, 114 are the interpolated values of X and Y
The point 410 plotted on the Y coordinate is a broken line approximation of the interpolation curve.
Claims (1)
Pj:Xj,Yjをデータスタツクメモリ領域に入力
し、入力された該離散点データPjに基いて該離散
点Pjを通るアイソパラメトリツク表現の多項式に
よる補間曲線の補間係数aj,bjを算出して係数ス
タツクメモリ領域に貯え、該離散点Pjを付番順
(j=1〜n)に接続する時の該離散点Pj間各区
間毎に於ける前記アイソパラメトリツクに基づく
定義域(0〜1)内で定めた補間位置データtと
該補間係数aj,bjとによつて、該離散点データPj
間の該補間曲線の補間値Xt,Ytを算出する曲線
補間方法であつて、 該離散点データPjを付番順(j=1〜n)に直
線接続したときの当該離散点データ位置Pjでの両
側の直線が形成する角度αjに応じて前記離散点デ
ータPj間の補間位置データtのデータ点数kjを決
定し、このデータ定数kjに達するまでは繰返し前
記離散点データPj間の補間位置データ(0≦t≦
1)を逐次二分割で出力し、該係数スタツクメモ
リ領域内の該補間係数aj,bjと補間位置データt
とで該補間値を算出する際には、該離散点データ
Pj近傍の補間を該離散点データPj間の中央付近の
補間よりも密に算出したことを特徴とする曲線補
間方法。[Claims] 1. Numberable two-dimensional discrete point data (j=1 to n)
Pj: Input Xj, Yj to the data stack memory area, and calculate the interpolation coefficients a j , b j of the interpolation curve using the isoparametric polynomial that passes through the discrete point Pj based on the input discrete point data Pj. It is calculated and stored in the coefficient stack memory area, and the domain (0 The discrete point data Pj is determined by the interpolation position data t and the interpolation coefficients a j and b j determined in ~1).
A curve interpolation method for calculating interpolated values Xt, Yt of the interpolated curve between The number of data points k j of the interpolation position data t between the discrete point data Pj is determined according to the angle α j formed by the straight lines on both sides of Interpolated position data (0≦t≦
1) is sequentially divided into two parts, and the interpolation coefficients a j , b j and interpolation position data t in the coefficient stack memory area are output.
When calculating the interpolated value with
A curve interpolation method characterized in that interpolation near Pj is calculated more densely than interpolation near the center between the discrete point data Pj.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56011441A JPS57125405A (en) | 1981-01-28 | 1981-01-28 | System for interpolating curve |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56011441A JPS57125405A (en) | 1981-01-28 | 1981-01-28 | System for interpolating curve |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57125405A JPS57125405A (en) | 1982-08-04 |
| JPS6350722B2 true JPS6350722B2 (en) | 1988-10-11 |
Family
ID=11778174
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56011441A Granted JPS57125405A (en) | 1981-01-28 | 1981-01-28 | System for interpolating curve |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS57125405A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5998273A (en) * | 1982-11-26 | 1984-06-06 | Nippon Telegr & Teleph Corp <Ntt> | Processing system of graph generation |
| JPS62216003A (en) * | 1986-03-18 | 1987-09-22 | Mitsubishi Electric Corp | Robot control system |
-
1981
- 1981-01-28 JP JP56011441A patent/JPS57125405A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57125405A (en) | 1982-08-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Salomon | Curves and surfaces for computer graphics | |
| US6295072B1 (en) | Method and apparatus for rendering cubic curves | |
| JPS6367680A (en) | Curved line generating method | |
| Morin et al. | On the smooth convergence of subdivision and degree elevation for Bézier curves | |
| JPS6350722B2 (en) | ||
| Berrut et al. | Rational interpolation through the optimal attachment of poles to the interpolating polynomial | |
| JPH0850580A (en) | Repetitive inteprolation device | |
| JP2677273B2 (en) | A polygonal line approximation device for cubic Bezier curves | |
| JPH0313066A (en) | Method and apparatus for color correction | |
| Denysiuk | Fundamental trigonometric interpolation and approximating polynomials and splines | |
| CN102760281A (en) | Image resizing method | |
| Conti et al. | Cubic spline data reduction choosing the knots from a third derivative criterion | |
| JP3608229B2 (en) | Adaptive filter method and apparatus | |
| JP2854035B2 (en) | Curve generator | |
| Dolmas | Time-additive representations of preferences when consumption grows without bound | |
| Conti et al. | A New Family of Interpolatory Non‐Stationary Subdivision Schemes for Curve Design in Geometric Modeling | |
| JP3017322B2 (en) | Shape control method for free-form surfaces | |
| Costantini et al. | A parametric cubic element with tension properties | |
| Denysiuk | Trigonometric splines of several variables | |
| Pena et al. | Efficient polynomial reduction | |
| JPH06180725A (en) | Approximate transformation device from parametric curve to b-spline curve | |
| Eilers | Smoothing and Interpolation | |
| Dougherty et al. | A divide-and-conquer algorithm for grid generation | |
| Kovacevic | A simple algorithm for the construction of Lagrange and Hermite interpolating polynomial in two variables | |
| CN116310155A (en) | A Method for Determining the Minimum and Maximum Buffer Distances of Annotations Based on Two-DOF Space |