How to get the portion inside a rectangle?
显示 更早的评论
How to get the portion inside the yellow rectangle? The four coordinates of the yellow rectangle is known. I just want the portion inside yellow rectangle. How to get it using matlab?

回答(1 个)
Image Analyst
2015-10-24
subimage = rgbImage(row1:row2, col1:col2, :);
类别
在 帮助中心 和 File Exchange 中查找有关 Computer Vision Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!