Cut images with equal size and position
2 次查看(过去 30 天)
显示 更早的评论
Hello guys, how can i cut some images into same size and i can set (x1,y1) dan (x2,y2) for images cutting.
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!