image thumbnail

Cropping an Image with resizable and draggable rectangle

version 1.0.0.0 (2.42 KB) by Shripad Kondra
Crops the Image from a resizable and draggable rectangle & displays it (after the figure is closed)

2.2K Downloads

Updated 22 Aug 2008

View License

% 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
%
% EXAMPLES
%
% I = imread('liftingbody.png');
% [rect_pos] = Crop_it(I);
%
% RGB = imread('peppers.png');
% [rect_pos] = Crop_it(RGB);

Cite As

Shripad Kondra (2021). 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
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

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!