Bilinear Interpolation Between Four Samples
Bilinear interpolation mixes along one axis on each of two rows, then mixes those intermediate values along the other axis.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace one midpoint
With corner values \(0,4\) on the first row and \(8,12\) on the second, the central position averages all four to six. Along the first edge midpoint it gives two. Linear interpolation supplies each step.
Choose boundary behavior
Outside the known rectangle, the same formula can extrapolate. A resampler may clamp, pad, or reject according to its contract. See crop intervals.[1][2]