% Crops the Image from a resizable & draggable rectangle
% & displays it (after the figure is closed)
% I is the Image to be cropped, assumed to be in the
% matlab workspace
% I = imread('liftingbody.png');
% [rect_pos] = Crop_it(I);
% RGB = imread('peppers.png');
% [rect_pos] = Crop_it(RGB);
Shripad Kondra (2022). Cropping an Image with resizable and draggable rectangle (https://www.mathworks.com/matlabcentral/fileexchange/21178-cropping-an-image-with-resizable-and-draggable-rectangle), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Cropping an Image with draggable rectangle
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!