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)
Show older comments
pratik chavda
on 6 Nov 2013
Answered: Image Analyst
on 6 Nov 2013
i extract the ROI as separate image?
0 Comments
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!