Learn Before
Concept

Bilinear Interpolation Upsampling

Bilinear interpolation is a commonly used upsampling technique in image processing to scale up an image. To calculate a pixel at coordinate (x,y)(x, y) in the upsampled output image, the technique maps (x,y)(x, y) to a corresponding real-valued coordinate (x,y)(x', y') on the original input image based on the ratio of the input size to the output size. It then identifies the four pixels closest to (x,y)(x', y') on the input image and calculates the final output pixel value based on these four pixels and their relative distances from (x,y)(x', y'). In deep learning, this technique is frequently used to initialize transposed convolutional layers.

0

1

Updated 2026-05-21

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L