Bilinear Interpolation (BI) Algorithm
Four gain values are determined in the horizontal and vertical patterns depending on the two angles and .
The gain values are weighted with their angle distances:
Figure 1. Angles and gains used for the bilinear
interpolation.

