imresize

Image Processing

Resize an image by a scale factor or to target [height, width] using bilinear interpolation.

Syntax

out = imresize(img, scale)
out = imresize(img, [H, W])

Examples

small = imresize(img, 0.5)
▶ Run
fixed = imresize(img, [128, 128])
▶ Run

See Also

Try SimLab — Free MATLAB® Alternative

466 functions. Runs in your browser. No install.

Open SimLab

Stay Updated

Get notified about new simulations and tools. We send 1-2 emails per month.