Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4497520B2 - Fitting program for free curve - Google Patents
[go: Go Back, main page]

JP4497520B2 - Fitting program for free curve - Google Patents

Fitting program for free curve Download PDF

Info

Publication number
JP4497520B2
JP4497520B2 JP2004067049A JP2004067049A JP4497520B2 JP 4497520 B2 JP4497520 B2 JP 4497520B2 JP 2004067049 A JP2004067049 A JP 2004067049A JP 2004067049 A JP2004067049 A JP 2004067049A JP 4497520 B2 JP4497520 B2 JP 4497520B2
Authority
JP
Japan
Prior art keywords
fourier transform
point sequence
curve
discrete fourier
spline
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004067049A
Other languages
Japanese (ja)
Other versions
JP2005258640A (en
Inventor
宗敏 沼田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lossev Technology Corp
Original Assignee
Lossev Technology Corp
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 Lossev Technology Corp filed Critical Lossev Technology Corp
Priority to JP2004067049A priority Critical patent/JP4497520B2/en
Publication of JP2005258640A publication Critical patent/JP2005258640A/en
Application granted granted Critical
Publication of JP4497520B2 publication Critical patent/JP4497520B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Generation (AREA)

Description

本発明は、CADやCG(コンピュータグラフィックス)のモデリング、また測定データ点列を平滑化する曲線・曲面へのあてはめなど、自由曲線・自由曲面の構築方法に関する。   The present invention relates to a method for constructing a free curve / free curved surface, such as modeling of CAD or CG (computer graphics), and fitting to a curve / curved surface for smoothing a measurement data point sequence.

CADやCGのモデリングでは、自由曲線・自由曲面が使われる。また、近年、測定データを平滑化してなめらかな曲線や曲面を作る場合にも、自由曲線・自由曲面へのあてはめが行われる。これら自由曲線・自由曲面の代表的なものに、B-スプライン曲線・B-スプライン曲面がある。B-スプライン曲線を与えられた点列で平滑化するには、制御点(コントロールポイントともいう)を計算しなければならないが、このため連立1次方程式を解かねばならない。この解き方については、非特許文献1のp142〜145が参考になる。それでは制御点の重みを全て1にしているので、NURBS曲線をB-スプライン曲線と読み替えることができる。   In CAD and CG modeling, free curves and free curved surfaces are used. In addition, in recent years, when smoothing measurement data to create smooth curves and curved surfaces, fitting to free curves and free curved surfaces is also performed. Typical examples of these free curves and free curved surfaces are B-spline curves and B-spline curved surfaces. In order to smooth a B-spline curve with a given sequence of points, control points (also called control points) must be calculated. For this reason, simultaneous linear equations must be solved. Refer to p142 to 145 of Non-Patent Document 1 for how to solve this. Then, since all the control point weights are set to 1, the NURBS curve can be read as a B-spline curve.

また、B-スプライン曲面を与えられた点列で平滑化するには、連立1次方程式を2回にわたって解かなければならない。この解き方については、非特許文献1のp160〜162が参考になる。これも、制御点の重みを全て1にしているので、NURBS曲面をB-スプライン曲面と読み替えることができる。   Also, to smooth a B-spline curved surface with a given point sequence, simultaneous linear equations must be solved twice. For how to solve this problem, p160 to 162 of Non-Patent Document 1 are helpful. In this case, since the weights of the control points are all 1, the NURBS surface can be read as a B-spline surface.

以上のように、B-スプライン曲線においてもB-スプライン曲面においても、図1の(ケースA)のように、連立1次方程式を解く必要があり、プログラムが複雑になるという問題がある。   As described above, both the B-spline curve and the B-spline curved surface have a problem that it is necessary to solve simultaneous linear equations as shown in FIG. 1 (case A), and the program becomes complicated.

また、測定データを内挿してなめらかな曲線や曲面を作る場合には、ノイズがのった測定データそのものを内挿するのは好ましくない。このため、測定データをまず高速フーリエ変換し、空間周波数領域で高周波成分をカットし、この後に高速フーリエ逆変換して、高周波成分の除去された測定データを求める。続いて、これを内挿してB-スプライン曲線やB-スプライン曲面を求めるが、この時には連立1次方程式を解かなければならない。   In addition, when making a smooth curve or curved surface by interpolating measurement data, it is not preferable to interpolate measurement data with noise. For this reason, the measurement data is first subjected to fast Fourier transform, high frequency components are cut in the spatial frequency domain, and then fast Fourier inverse transform is performed to obtain measurement data from which high frequency components have been removed. Subsequently, this is interpolated to obtain a B-spline curve or a B-spline curved surface. At this time, simultaneous linear equations must be solved.

よって、この過程では、図2の(ケースB)のように、高速フーリエ変換、高周波成分カット、高速フーリエ逆変換、連立1次方程式の解の計算という4つのステップが必要になる。このうち、高速フーリエ変換と高速フーリエ逆変換は、プログラムが専用パッケージ化されているため簡単にプログラムを組むことができるし、高周波成分カットもプログラムとしてはとても簡単である。これに対し、連立1次方程式を解くことは、プログラム的には複雑である。   Therefore, in this process, as shown in FIG. 2 (Case B), four steps of fast Fourier transform, high-frequency component cut, fast Fourier inverse transform, and simultaneous linear equation solution calculation are required. Of these, the Fast Fourier Transform and the Fast Fourier Inverse Transformer are easily packaged because the programs are packaged in dedicated packages, and the high-frequency component cut is very simple as a program. On the other hand, solving simultaneous linear equations is complicated programmatically.

結局、(ケースA)、(ケースB)ともに、連立1次方程式を解くことがプログラムを複雑化し、処理を遅くしている。   After all, in both (Case A) and (Case B), solving simultaneous linear equations complicates the program and slows down the processing.

一方、先の特許出願に係る特許文献1では、図3の(ケースC)のように、点列pkを高速フーリエ変換して点列の離散的フーリエ変換P*(u)を計算し、P*(u)に係数関数C(u)を掛けて制御点列qkの離散的フーリエ変換Q*(u)を計算し、Q*(u)を高速フーリエ逆変換して制御点列qkを計算するため、(ケースA,B)のように連立1次方程式を解く必要がない。また、カットオフ周波数εを用いて、これ以上の高周波成分をフーリエ変換面で除去すれば、なめらかな曲線や曲面を構築できる。ところが、この方法では、制御点の数が点列の数と同じである。一般に、データ点列をなめらかな曲線・曲面にあてはめるとデータ量が削減されるが、この方法ではそれに対応できない。
特願2003−324932 三浦曜、望月一正著「CAD・CG技術者のための実践NURBS」工業調査会刊、2001年発行
On the other hand, in Patent Document 1 related to the previous patent application, as shown in FIG. 3 (Case C), the point sequence p k is fast Fourier transformed to calculate the discrete Fourier transform P * (u) of the point sequence, P * (u) is multiplied by the coefficient function C (u) to calculate the discrete Fourier transform Q * (u) of the control point sequence q k , and Q * (u) is inversely transformed by fast Fourier transform to obtain the control point sequence q Since k is calculated, it is not necessary to solve simultaneous linear equations as in (Cases A and B). Also, if a higher frequency component than this is removed by the Fourier transform plane using the cut-off frequency ε, a smooth curve or curved surface can be constructed. However, in this method, the number of control points is the same as the number of point sequences. In general, if a data point sequence is applied to a smooth curve / curved surface, the amount of data is reduced, but this method cannot cope with it.
Japanese Patent Application No. 2003-324932 Yo Miura, Kazumasa Mochizuki, “Practical NURBS for CAD / CG Engineers” published by Industrial Research Council, 2001

したがって、本発明の課題は、連立1次方程式を解くことなく、なめらかな曲線や曲面を構築できる適切な数のデータを求められるようにすることである。   Therefore, an object of the present invention is to obtain an appropriate number of data capable of constructing a smooth curve or curved surface without solving simultaneous linear equations.

B-スプライン曲線・B-スプライン曲面の制御点を連立1次方程式を解かないで求めるには、図4の(ケースA’)に示すように、点列を高速フーリエ変換し、空間周波数領域において係数関数との掛け算を行い、高速フーリエ逆変換することにより、制御点を求める。高速フーリエ変換、高速フーリエ逆変換ともに、プログラムは専用パッケージとなっており、簡単にプログラムを組むことができる。また、高速フーリエ変換と高速フーリエ逆変換は、専用のDSP(Digital Signal Processor)またはDSP内臓CPU(MMX系CPU)を用いた積和演算で処理されるため非常に高速であり、係数関数との掛け算の演算時間も他の演算に比べると無視できるほどに小さいため、結局、連立1次方程式を用いた方法に比べると高速化が可能である。   To obtain control points for B-spline curves and B-spline curved surfaces without solving simultaneous linear equations, as shown in (Case A ') of Fig. 4, the point sequence is subjected to fast Fourier transform in the spatial frequency domain. A control point is obtained by multiplying with a coefficient function and performing inverse fast Fourier transform. Both Fast Fourier Transform and Fast Fourier Inverse Transform are programs in a dedicated package, so you can easily build a program. Fast Fourier transform and fast Fourier inverse transform are very fast because they are processed by product-sum operation using a dedicated DSP (Digital Signal Processor) or DSP built-in CPU (MMX CPU). Since the operation time of multiplication is negligibly short compared to other operations, the speed can be increased compared to the method using simultaneous linear equations.

また、自由曲線・自由曲面の高周波ノイズ除去においては、図5の(ケースB’)に示すように、連立1次方程式を解くステップの代わりに、係数関数との掛け算処理を用いることにより簡単にプログラムを組むことができるのはもちろん、処理時間も大幅に短縮される。   Further, in removing high-frequency noise from a free curve / free-form surface, as shown in (Case B ′) of FIG. 5, instead of the step of solving simultaneous linear equations, a multiplication process with a coefficient function is used. In addition to being able to build a program, the processing time is also greatly reduced.

また、制御点数の削減については、図6の(ケースC’)に示すように、データ削除部において、ケースCのカットオフ周波数εをナイキスト周波数とすれば、高周波成分がカットされるだけでなく、データ数も2ε(ε< 0.5)倍に削減されるので、これを離散的逆フーリエ変換して制御点を求めれば、制御点数が2ε倍に削減される。   Further, regarding the reduction of the number of control points, as shown in FIG. 6 (Case C ′), if the cut-off frequency ε of Case C is set to the Nyquist frequency in the data deletion unit, not only the high frequency component is cut. Since the number of data is also reduced by 2ε (ε <0.5) times, the number of control points can be reduced by 2ε times if a discrete inverse Fourier transform is performed to obtain the control points.

具体的に記載すると、本発明にかかる自由曲線へのあてはめプログラムは、点列pkを平滑化するB-スプライン曲線b(t)に点列pkをあてはめるプログラムにおいて、点列pkを高速フーリエ変換して、点列pkの離散的フーリエ変換P*(u)を計算する過程、ナイキスト周波数εを用いて点列の離散的フーリエ変換P*(u)のデータを2ε倍に削減して低周波成分G*(u’ ; u’ = u/ 2ε)だけを抽出する過程、低周波成分G*(u’)に係数関数C(u’)を掛けて、制御点列qkの離散的フーリエ変換Q*(u’)を計算する過程、および制御点列qkの離散的フーリエ変換Q*(u’)を高速フーリエ逆変換して、制御点列qkを計算する過程を有することを特徴とする。 Fast Specifically described, fitting program to free curve according to the present invention smoothes the point sequence p k B- A program for fitting a point sequence p k to the spline curve b (t), the point sequence p k The process of calculating the discrete Fourier transform P * (u) of the point sequence p k by Fourier transform, reducing the data of the discrete Fourier transform P * (u) of the point sequence by 2ε times using the Nyquist frequency ε. Te low-frequency component G *; process of extracting only the (u 'u' = u / 2ε), multiplied by the low-frequency component G * (u ') to the coefficient function C (u'), the control points q k The process of calculating the discrete Fourier transform Q * (u ') and the process of calculating the control point sequence q k by inverse fast Fourier transform of the discrete Fourier transform Q * (u') of the control point sequence q k It is characterized by having.

点列を平滑化してB-スプライン曲線を構築する際、連立1次方程式を解く代わりに、高速フーリエ変換、係数関数との掛け算、高速フーリエ逆変換を使うことにより、プログラムが簡単になり、また高速フーリエ変換、高速フーリエ逆変換の専用パッケージが使えるので、高速化ができる。さらには、ナイキスト周波数を用いて、制御点数を削減できるため、データの取り扱いが簡単になる。   When building a B-spline curve by smoothing a sequence of points, instead of solving simultaneous linear equations, fast Fourier transform, multiplication with coefficient function, inverse fast Fourier transform is used, and the program is simplified. A dedicated package for Fast Fourier Transform and Inverse Fast Fourier Transform can be used, so speed can be increased. Furthermore, since the number of control points can be reduced using the Nyquist frequency, the handling of data is simplified.

まず、特許文献1(特願2003−324932)で示した上述のケースCの方法について述べる。   First, the case C method described in Patent Document 1 (Japanese Patent Application No. 2003-324932) will be described.

点列pkを通るB-スプライン曲線をパラメータtを用いてp(t) と表現すると、それは次式で与えられる。 When a B-spline curve passing through the point sequence p k is expressed as p (t) using the parameter t, it is given by the following equation.

Figure 0004497520
Figure 0004497520

B-スプライン曲線p(t) は、制御点qkを用いて次式で表現できる。 The B-spline curve p (t) can be expressed by the following equation using the control point q k .

Figure 0004497520
Figure 0004497520

ここに、Nk , M (t) は位数M、次数m = M-1 のB-スプライン基底関数である。また、Nは測定データの数である。 Here, N k, M (t) is a B-spline basis function of order M and order m = M−1. N is the number of measurement data.

さて、B-スプライン曲線 p(t) のフーリエ積分をP(u),点列pkの離散的フーリエ変換をP*(u),制御点qkの離散的フーリエ変換をQ*(u)とする。ただし、uを空間周波数とする。また、点列pkの離散的フーリエ変換P*(u)と制御点qkの離散的フーリエ変換Q*(u)を求めるにあたっては、離散的フーリエ変換の性質から、点列pkと制御点列qkはともに周期性を持ち、N個ごとに繰り返しているものと考える。 Now, the Fourier integral of the B-spline curve p (t) is P (u), the discrete Fourier transform of the point sequence p k is P * (u), and the discrete Fourier transform of the control point q k is Q * (u) And However, u is a spatial frequency. In addition, when obtaining the discrete Fourier transform P * (u) of the point sequence p k and the discrete Fourier transform Q * (u) of the control point q k , the point sequence p k and the control are determined from the properties of the discrete Fourier transform. Both point sequences q k have periodicity and are considered to repeat every N.

式(2)のB-スプライン基底関数N0,M(t)のフーリエ積分は,フーリエ変換の記号をFとして、次式で表される。 The Fourier integral of the B-spline basis function N 0, M (t) in equation (2) is represented by the following equation, where F is the symbol of the Fourier transform.

Figure 0004497520
Figure 0004497520

ここに、sinc(u)は下記の通りである。   Here, sinc (u) is as follows.

Figure 0004497520
Figure 0004497520

式(2)をみると, B-スプライン曲線 p(t) がN0,M (t) とqkのたたみこみの形式になっているので、p(t)のフーリエ積分P(u) は,N0,M (t)のフーリエ積分F[N0,M(t)]とqkの離散的フーリエ変換Q*(u)との積の形になる。よって、式(3)を用いて、次式が得られる。 Looking at equation (2), the B-spline curve p (t) is in the form of convolution of N 0, M (t) and q k , so the Fourier integral P (u) of p (t) is N 0, takes the form of the product of the M Fourier integral F [N 0, M (t )] of the (t) and the discrete Fourier transform of q k Q * (u). Therefore, the following equation is obtained using equation (3).

Figure 0004497520
Figure 0004497520

また、p(t) の離散的フーリエ変換P*(u)は、式(2)およびB-スプライン基底関数Nk , M (t) の周期性、離散的フーリエ変換Q*(u)の周期性を用いて、次式で表される。 Also, the discrete Fourier transform P * (u) of p (t) is the periodicity of Eq. (2) and B-spline basis functions N k, M (t), the period of the discrete Fourier transform Q * (u) It is expressed by the following formula using the property.

Figure 0004497520
Figure 0004497520

ここに、C’ m (u)は、次数mの時の係数関数である。
よって、
Here, C ′ m (u) is a coefficient function when the order is m.
Therefore,

Figure 0004497520
Figure 0004497520

として、新しい係数関数C m (u)を用いて、次式が得られる。 Using the new coefficient function C m (u), the following equation is obtained.

Figure 0004497520
Figure 0004497520

新しい係数関数C m (u) と次数mとの関係を下記表1に示す。 The relationship between the new coefficient function C m (u) and the order m is shown in Table 1 below.

Figure 0004497520
Figure 0004497520

なお、点列pkの離散的フーリエ変換は、高速フーリエ変換を用いて求めることができる。高速フーリエ変換の記号をFFTとすると、次式で表される。 Note that the discrete Fourier transform of the point sequence p k can be obtained using fast Fourier transform. If the fast Fourier transform symbol is FFT, it is expressed by the following equation.

Figure 0004497520
Figure 0004497520

制御点の離散的フーリエ変換Q*(u)を離散的フーリエ逆変換すると、制御点qk が求まる。高速フーリエ逆変換の記号をIFFTとすると、それは次式で表される。 When the discrete Fourier transform Q * (u) of the control point is subjected to discrete Fourier inverse transform, the control point q k is obtained. If the symbol of fast Fourier transform is IFFT, it is expressed by the following equation.

Figure 0004497520
Figure 0004497520

これを式(2)に代入して、B-スプライン曲線p(t)を求めることができる。 By substituting this into equation (2), the B-spline curve p (t) can be obtained.

実際の計算手順(点列pkを内挿するB-スプライン曲線p(t)を構築する方法)を、最もよく使われるm = 3次のB-スプライン曲線の場合でみると図7のようになる。 Figure 7 shows the actual calculation procedure (how to construct a B-spline curve p (t) that interpolates the point sequence p k ) for the most commonly used m = cubic B-spline curve. become.

点列pkを内挿するB-スプライン曲線p(t)の高周波ノイズを除去する方法も、最もよく使われるm = 3次のB-スプライン曲線の場合でみると、図8のようになる。 The method for removing high-frequency noise from the B-spline curve p (t) that interpolates the point sequence p k is as shown in FIG. 8 in the case of the most commonly used m = cubic B-spline curve. .

次に、本発明の手法について述べる。本発明では、N個の点列pkを内挿するB-スプライン曲線p(t)を求めるのではなく、点列pkを平滑化するB-スプライン曲線b(t)を求める。そして、カットオフ周波数ε(ε< 0.5)をナイキスト周波数(最大周波数)として、制御点列q k の数をN’ = 2εNに削減する。 Next, the method of the present invention will be described. In the present invention, B-spline curve p (t) for interpolating N point sequences p k is not obtained, but B-spline curve b (t) for smoothing point sequences p k is obtained . Then, the cutoff frequency ε (ε <0.5) is set as the Nyquist frequency (maximum frequency), and the number of control point sequences q k is reduced to N ′ = 2εN.

本発明の方法では、図9に示すように、pkの離散的フーリエ変換P* (u)の低周波成分P* (u ; |u|≦ε) を新しい変数u’ = u/ 2εを用いて、P* (u ; |u|≦ε) = G* (u’ ; |u’|≦0.5)と置き換える。これより、P* (u)の高周波成分P* (u; |u|>ε) は自動的に無視される。 In the method of the present invention, as shown in FIG. 9, the low-frequency component P * (u; | u | ≦ ε) of the discrete Fourier transform P * (u) of p k is changed to a new variable u ′ = u / 2ε. And replace with P * (u; | u | ≦ ε) = G * (u ′; | u ′ | ≦ 0.5). From this, P frequency components * (u) P * (u ; | u |> ε) are automatically ignored.

そして、B-スプライン曲線の制御点q* k (N’個) の離散的フーリエ変換Q* (u’) を次式で求める。 Then, the discrete Fourier transform Q * (u ′) of the control points q * k (N ′) of the B-spline curve is obtained by the following equation.

Figure 0004497520
Figure 0004497520

上式右辺に2εを掛けるのは、離散的フーリエ変換P* (u)を求めたときはデータ数Nであったのに、q* k を求めるためのQ* (u’)の離散的フーリエ変換はデータ数がN’ に削減されているため、その比率N’/N=2εをゲインとしてかけなければならないからである。そして、制御点q* kは次式で求まる。 Multiplying the right side of the above equation by 2ε is the discrete Fourier transform of Q * (u ') to obtain q * k even though the number of data was N when the discrete Fourier transform P * (u) was obtained This is because the number of data is reduced to N ′ in the conversion, and the ratio N ′ / N = 2ε must be applied as a gain. The control point q * k is obtained by the following equation.

Figure 0004497520
Figure 0004497520

これより、図10に示す平滑化されたB-スプライン曲線b(t)は次式で求めることができる。

Figure 0004497520
Thus, the smoothed B-spline curve b (t) shown in FIG. 10 can be obtained by the following equation.
Figure 0004497520

ここで、図11に、点列 pkを平滑化するB-スプライン曲線b(t)の制御点qkの求め方を具体的手順を示す。なお、m = 3次とする。 Here, FIG. 11 shows a specific procedure for obtaining the control point q k of the B-spline curve b (t) for smoothing the point sequence p k . Note that m = third order.

なお、以上の説明はB-スプライン曲線に関して述べたが、容易にB-スプライン曲面に対しても拡張できる。   Although the above description has been given for the B-spline curve, it can be easily extended to a B-spline curved surface.

なお、図12は元データの一例を示し、図13ないし図15は元データに基づくB-スプライン曲線へのあてはめ例を示す。N=64点の元データは、カットオフ周波数ε(ε< 0.5)の数値に応じ減少していることがわかる。   FIG. 12 shows an example of original data, and FIGS. 13 to 15 show examples of fitting to B-spline curves based on the original data. It can be seen that the original data of N = 64 points decreases according to the numerical value of the cutoff frequency ε (ε <0.5).

CAD、CGのモデリングや測定データの曲面へのあてはめなどにおいて、与えられた点列の高周波ノイズを除去しながら、B-スプライン曲面にあてはめる用途に使うことができる。   In CAD and CG modeling and fitting of measurement data to curved surfaces, it can be used for applications that apply to B-spline curved surfaces while removing high-frequency noise of given point sequences.

従来技術の(ケースA)による自由曲線・自由曲面の構築方法のフローチャート図である。It is a flowchart figure of the construction method of the free curve and free-form surface by (Case A) of a prior art. 従来技術の(ケースB)による自由曲線・自由曲面の高周波ノイズ除去方法のフローチャート図である。It is a flowchart figure of the high frequency noise removal method of the free curve and free-form surface by the prior art (case B). (ケースC)によるB-スプライン曲線の制御点算出のフローチャートである図である。It is a figure which is a flowchart of the control point calculation of the B-spline curve by (Case C). 先行技術の(ケースA’)による自由曲線・自由曲面の構築方法のフローチャート図である。It is a flowchart figure of the construction method of the free curve and free-form surface by the prior art (case A '). 先行技術の(ケースB’)による自由曲線・自由曲面の高周波ノイズ除去方法のフローチャート図である。It is a flowchart figure of the high frequency noise removal method of the free curve and free-form surface by a prior art (case B '). (ケースC’)によるB-スプライン曲線の制御点算出のフローチャートである図である。It is a figure which is a flowchart of the control point calculation of a B-spline curve by (case C '). 点列pkを内挿するB-スプライン曲線p(t)を構築する方法の計算手順の説明図でのデータ流れのフローチャート図である。FIG. 6 is a flowchart of data flow in an explanatory diagram of a calculation procedure of a method for constructing a B-spline curve p (t) for interpolating a point sequence p k . 点列pkを内挿するB-スプライン曲線p(t)の高周波ノイズを除去する方法の計算手順の説明図である。It is explanatory drawing of the calculation procedure of the method of removing the high frequency noise of the B-spline curve p (t) which interpolates the point sequence p k . 本発明による低周波成分G*(u’)の求め方の説明図である。It is explanatory drawing of how to obtain | require the low frequency component G * (u ') by this invention. 本発明による点列を平滑化するB-スプライン曲線の説明図である。It is explanatory drawing of the B-spline curve which smoothes the point sequence by this invention. 本発明による点列pkを内挿するB-スプライン曲線p(t)を構築する方法の計算手順の説明図でのデータ流れのフローチャート図である。It is a flow chart diagram of a data flow in the illustration of the calculation procedure of the method for constructing the interpolation B- spline curve p (t) the sequence p k points according to the present invention. 本発明によるB-スプライン曲線へのあてはめ例のための元データの説明図である。It is explanatory drawing of the original data for the example of fitting to the B-spline curve by this invention. 本発明によるB-スプライン曲線へのあてはめ例の説明図である。It is explanatory drawing of the example applied to the B-spline curve by this invention. 本発明によるB-スプライン曲線へのあてはめ例の説明図である。It is explanatory drawing of the example applied to the B-spline curve by this invention. 本発明によるB-スプライン曲線へのあてはめ例の説明図である。It is explanatory drawing of the example applied to the B-spline curve by this invention.

符号の説明Explanation of symbols

pk 点列
b(t) B-スプライン曲線
P*(u) 点列の離散的フーリエ変換
ε ナイキスト周波数
G*(u’) 低周波成分
C(u’) 係数関数
qk 制御点列
Q*(u’) 制御点の離散的フーリエ変換
p k point sequence
b (t) B-spline curve
Discrete Fourier transform ε the Nyquist frequency of P * (u) point sequence
G * (u ') Low frequency component
C (u ') coefficient function
q k control points
Q * (u ') Discrete Fourier transform of control points

Claims (1)

入力部を有するコンピュータに用いられるプログラムであって、
入力された点列p k に基づいて、点列pkを平滑化するB-スプライン曲線b(t)に点列pkをあてはめる自由曲線へのあてはめプログラムにおいて、
コンピュータに、点列pkを高速フーリエ変換して、点列pkの離散的フーリエ変換P*(u)を計算する過程、ナイキスト周波数εを用いて点列の離散的フーリエ変換P*(u)のデータを2ε倍に削減して低周波成分G*(u’ ; u’ = u/ 2ε)だけを抽出する過程、低周波成分G*(u’)に係数関数C(u’)を掛けて、制御点列qkの離散的フーリエ変換Q*(u’)を計算する過程御点列qkの離散的フーリエ変換Q*(u’)を高速フーリエ逆変換して、制御点列qkを計算する過程とを実行させ、
連立1次方程式を用いずにB-スプライン曲線b(t)の制御点列q k を計算させることを特徴とする自由曲線へのあてはめプログラム
A program used in a computer having an input unit,
Based on the sequence p k point input, to smooth the point sequence p k B- in fitting program to free curve spline curve b (t) fitting a point sequence p k,
A computer, a point sequence p k by fast Fourier transform, a point sequence p and the process of calculating the discrete Fourier transform P * (u) of k, the discrete Fourier transform of the point sequence using the Nyquist frequency epsilon P * ( by reducing the data of u) in 2 [epsilon] times the low-frequency component G * (u ';u' = the steps of extracting u / 2 [epsilon]) by the low-frequency component G * (u ') to the coefficient function C (u' ) and over, 'the process of calculating the) discrete Fourier transform Q * (u of the braking Gotenretsu q k' discrete Fourier transform Q of control points q k * (u) and the inverse fast Fourier transform And executing the process of calculating the control point sequence q k
A program for fitting to a free curve characterized in that the control point sequence q k of the B-spline curve b (t) is calculated without using simultaneous linear equations .
JP2004067049A 2004-03-10 2004-03-10 Fitting program for free curve Expired - Fee Related JP4497520B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004067049A JP4497520B2 (en) 2004-03-10 2004-03-10 Fitting program for free curve

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004067049A JP4497520B2 (en) 2004-03-10 2004-03-10 Fitting program for free curve

Publications (2)

Publication Number Publication Date
JP2005258640A JP2005258640A (en) 2005-09-22
JP4497520B2 true JP4497520B2 (en) 2010-07-07

Family

ID=35084315

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004067049A Expired - Fee Related JP4497520B2 (en) 2004-03-10 2004-03-10 Fitting program for free curve

Country Status (1)

Country Link
JP (1) JP4497520B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020184749A1 (en) * 2019-03-11 2020-09-17 최만림 Apparatus, method, and computer-readable recording medium for measuring size of electrocardiography signal using hilbert transform

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05183810A (en) * 1991-04-09 1993-07-23 Sony Broadcast & Commun Ltd Digital vedio effect device
JP3661187B2 (en) * 2002-03-27 2005-06-15 ソニー株式会社 3D terrain information generation system and method, and computer program

Also Published As

Publication number Publication date
JP2005258640A (en) 2005-09-22

Similar Documents

Publication Publication Date Title
Li et al. Adaptive knot placement in B-spline curve approximation
JP5270006B2 (en) Audio signal loudness determination and correction in the frequency domain
JP5218993B2 (en) Interpolation processing method and interpolation processing apparatus
US10164609B2 (en) Fractional scaling digital signal processing
JP4497520B2 (en) Fitting program for free curve
JP4404339B2 (en) Free curve construction program and free-form surface construction program.
Bi et al. Sampling rate conversion based on DFT and DCT
CN107342750B (en) Fractional delay optimization method suitable for multiple Nyquist zones and implementation structure thereof
JP7461020B2 (en) Audio signal processing device, audio signal processing system, audio signal processing method, and program
CN120954435A (en) Audio processing methods, devices, storage media, electronic devices and vehicles
JP2785784B2 (en) Method and apparatus for generating spline curve and spline surface
KR101892570B1 (en) Processing method of s-parameter for analysis of transient
CN117076860A (en) A smoothing method, device, equipment and medium for impulse response signals
US8606835B2 (en) Efficient kernel calculation for interpolation
CN100423027C (en) Sine function window interpolation method in image resizer
CN101411062A (en) Interpolation function generation circuit
CN116384288A (en) Compressible flow high-resolution numerical simulation method, medium and device
WO2005104365A1 (en) Method and device for designing digital filter, program for designing digital filter, digital filter, method and device for generating numerical sequence of desired frequency characteristics, and program for generating numerical sequence of desired frequency characteristics
Pan et al. Shape control of the curves using rational cubic spline
Khare et al. Window based design of fractional order FIR digital differentiator using type-III discrete cosine transform
JP2900986B2 (en) B-spline curve layering device
KR101653572B1 (en) Apparatus and method for high speed interleaving of signals
KR100790534B1 (en) Signal processing apparatus and method using convolution overlap-hold technique
JPH10308650A (en) Filter design method and digital filter
CN121010662A (en) A method, apparatus, medium, and device for generating rational parametric curves and modifying geometric models.

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070202

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100119

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100315

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: 20100412

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100412

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

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees