GraphicLibrary
0.5.0
|
補間関数基底クラス [詳解]
公開メンバ関数 | |
virtual void | operator() (double t, std::vector< double > *phai) const =0 |
補間関数の値を計算する [詳解] | |
virtual int | size () const =0 |
ゼロ以外の値を持つピクセル幅を返す [詳解] | |
補間関数基底クラス
任意の補間関数を使い、位置 t を原点にゼロ以外の値を持つ点の値を計算する。 計算する値は、t - M から t + N ( M, N は整数 ) までの位置であり、M, N は補間関数の種類により異なる。
|
pure virtual |
補間関数の値を計算する
phai | 求める値を保持する配列への参照 |
t | 変数 t |
InterpolationKernel_Mitchell, InterpolationKernel_Lanczos, InterpolationKernel_Bicubicで実装されています。
|
pure virtual |
ゼロ以外の値を持つピクセル幅を返す
実際には中心からの距離(半分の値)を返す
InterpolationKernel_Mitchell, InterpolationKernel_Lanczos, InterpolationKernel_Bicubicで実装されています。