next up previous
Next: Arbitrary rotation Up: resize Previous: Reduction

Arbitrary resizing

It is obviously more desirable to arbitrarily resize a given image (enlarge or reduce the image proportionally or non-proportionally). We first consider converting a one-dimensional m-sample input $\{ x_i, (i=0, 1, \cdots, m-1) \}$ into an n-sample output $\{ y_j, (j=0, 1, \cdots, n-1) \}$, where $n$ is the desired size of the output, which may be either smaller or greater than $m$, i.e., the scaling factor $n/m$ can be either greater or smaller than 1 (for either enlargement or reduction). The method is essentially a two-step process of linear interpolation and re-sampling.

interpolate_0d.gif

interpolate_1d.gif

This method of linear interpolation can be generalized from 1-D to 2-D bilinear interpolation for image resizing.

LennaScale.gif


next up previous
Next: Arbitrary rotation Up: resize Previous: Reduction
Ruye Wang 2014-09-12