cropping image

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.

 采纳的回答

To crop you can use imcrop(), or simply use indexing:
croppedImage = fullImage(row1:row2, col1:col2);

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by