select roi on the circle
2 次查看(过去 30 天)
显示 更早的评论
Good day,
I hope someone can help me here.
I have a phantom CT image and want to select the objects (Roi). The objects are on a circle. Is there a way to convert this ROI to Cartesian coordinates. many thanks and best regards
回答(2 个)
Latifa Bouguessaa
2022-6-22
1 个评论
Image Analyst
2022-6-23
Why do you need to cut it out (crop it)? That's probably not necessary. If you do you can do this
props = regionprops(mask, 'BoundingBox');
croppedImage = imcrop(grayImage, props.BoundingBox);
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!