select roi on the circle
1 回表示 (過去 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 件)
Image Analyst
2022 年 6 月 21 日
Looks like you could simply create a mask using the code in the FAQ:
0 件のコメント
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!