How to get the portion inside a rectangle?

1 view (last 30 days)
Ashwathy Dev
Ashwathy Dev on 4 Feb 2015
Answered: Image Analyst on 24 Oct 2015
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
Image Analyst on 24 Oct 2015
subimage = rgbImage(row1:row2, col1:col2, :);

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!