How to take circular ROI
1 次查看(过去 30 天)
显示 更早的评论
Hi, I am trying to get a circular ROI within the image. For rectangular ROI we can use imrect and get the position/coordinate, so is there a similar function to take circular ROI ?. I tried with imellipse but the coordinate that the function return I am not able to crop using imcrop. I am attaching an image here with desire ROI please let me know your suggestions. Thank you,
0 个评论
回答(2 个)
Image Analyst
2016-11-11
编辑:Image Analyst
2016-11-11
Simply threshold
Mask = grayImage > someThresholdValue;
Tim Jackman
2018-9-21
Starting in 18b, you can use drawcircle to create a circular ROI:
https://www.mathworks.com/help/images/ref/drawcircle.html
For more information about the new suite of ROI tools, please take a look at the following link:
https://www.mathworks.com/help/images/roi-based-processing.html
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!