imcrop

Image Processing

Crop a rectangular region from an image.

Syntax

out = imcrop(img, [x, y, w, h])

Examples

out = imcrop(img, [10, 10, 100, 100])
▶ Run

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.