How to get the portion inside a rectangle?
Show older comments
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?

Answers (1)
Image Analyst
on 24 Oct 2015
subimage = rgbImage(row1:row2, col1:col2, :);
Categories
Find more on Computer Vision Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!