GraphicLibrary  0.5.0
GInterpolation_Bilinear クラス

線形補間法 (Bilinear Interpolation) によるサンプル補間 [詳解]

GInterpolation_Bilinear の継承関係図
GInterpolation_IF

公開メンバ関数

virtual bool operator() (const DrawingArea_IF &draw, Coord< double > p, RGB *rgb) const
 線形補間法によるサンプル補間処理 [詳解]
 
- 基底クラス GInterpolation_IF に属する継承公開メンバ関数
virtual ~GInterpolation_IF ()
 仮想デストラクタ (何もしない)
 

詳解

線形補間法 (Bilinear Interpolation) によるサンプル補間

関数詳解

◆ operator()()

virtual bool GInterpolation_Bilinear::operator() ( const DrawingArea_IF draw,
Coord< double >  p,
RGB rgb 
) const
virtual

線形補間法によるサンプル補間処理

描画領域 draw、補間結果へのポインタ rgb が未定義の場合は assert を実行する

引数
draw描画領域
p補間対象のピクセル座標
rgb補間した RGB 成分を返す変数へのポインタ
戻り値
座標 p を含むピクセルに対する draw のメンバ関数 DrawingArea_IF::point の返り値をそのまま返す ( 通常、RGB 成分が取得できたら true を返す )

GInterpolation_IFを実装しています。


このクラス詳解は次のファイルから抽出されました: