How to get the portion inside a rectangle?

2 次查看(过去 30 天)
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
Image Analyst 2015-10-24
subimage = rgbImage(row1:row2, col1:col2, :);

类别

Help CenterFile Exchange 中查找有关 Computer Vision Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by