i extract the ROI as separate image? in other words, i want to extract the polygon selection as separate image?? My Roi is in the link and highlighed and i want that ROI as separate image

7 views (last 30 days)
i extract the ROI as separate image?

Accepted Answer

Image Analyst
Image Analyst on 6 Nov 2013
You have to get the bounding box from your polygon using max() and min(). Then simply use imcrop() to get a cropped image, followed by imwrite() if you want to save it to disk.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!