cropping image

1 次查看(过去 30 天)
Abdul
Abdul 2012-4-6
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by