cropping image

6 views (last 30 days)
Abdul
Abdul on 6 Apr 2012
how to crop image according to value x(column) and y(row)? i want to crop image and group it according to same row or same column.

Accepted Answer

Image Analyst
Image Analyst on 6 Apr 2012
To crop you can use imcrop(), or simply use indexing:
croppedImage = fullImage(row1:row2, col1:col2);

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!