Cut images with equal size and position

1 次查看(过去 30 天)
Hello guys, how can i cut some images into same size and i can set (x1,y1) dan (x2,y2) for images cutting.

采纳的回答

KSSV
KSSV 2020-9-9
Yes i can be done....define your (x1,y1) and (x2,y2). Note that they should be positive integers. Let I be your image.
iwant = I(x1:x2,y1:y2,:) ;
Also read about imcrop.
  11 个评论
agung pratama
agung pratama 2020-9-22
Thanks for your answers Mr Roberson and KSSV
Image Analyst
Image Analyst 2020-9-22
If it worked, please accept the answer to give KSSV credit for it.

请先登录,再进行评论。

更多回答(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