Bilinear Interpolation Calculator
Result:
About Bilinear Interpolation
Bilinear interpolation is a method for interpolating values between four known points in a 2D grid.
Formula:
f(x,y) = f(Q₁₁)(x₂-x)(y₂-y) + f(Q₁₂)(x₂-x)(y-y₁) +
f(Q₂₁)(x-x₁)(y₂-y) + f(Q₂₂)(x-x₁)(y-y₁)
where:
Q₁₁ = (x₁,y₁), Q₁₂ = (x₁,y₂)
Q₂₁ = (x₂,y₁), Q₂₂ = (x₂,y₂)
f(x,y) = f(Q₁₁)(x₂-x)(y₂-y) + f(Q₁₂)(x₂-x)(y-y₁) +
f(Q₂₁)(x-x₁)(y₂-y) + f(Q₂₂)(x-x₁)(y-y₁)
where:
Q₁₁ = (x₁,y₁), Q₁₂ = (x₁,y₂)
Q₂₁ = (x₂,y₁), Q₂₂ = (x₂,y₂)
Properties:
- Preserves values at known points
- Produces smooth transitions
- Works in rectangular grids
- Linear along grid lines
Applications:
- Image processing
- Terrain mapping
- Temperature mapping
- Data visualization