1
1

More than 1 year has passed since last update.

バイリニア補完を分かりやすく説明

Posted at

本来の画素位置からずれた位置の値を求めたい時にその値を補完する.
その補完方法の1つにバイリニア補完がある.

赤い点の位置I(x,y)の値を導きたい時に,近傍4点の値(W,X,Y,Z)の値を使用してちょうどいい感じに求める.以下の式で求めることができる.


I(x,y) = (1-a_y) \times (1-a_x) \times W\\
+ a_y \times (1-a_x) \times X\\
+ (1-a_y) \times a_x \times Y\\
+ a_y \times a_x \times Z

スクリーンショット 2023-05-27 15.21.18.png

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1