select roi on the circle
Afficher commentaires plus anciens
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
1 commentaire
Sulaymon Eshkabilov
le 21 Juin 2022
Réponses (2)
Image Analyst
le 21 Juin 2022
0 votes
Looks like you could simply create a mask using the code in the FAQ:
Latifa Bouguessaa
le 22 Juin 2022
0 votes
1 commentaire
Image Analyst
le 23 Juin 2022
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);
Catégories
En savoir plus sur Neuroimaging dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!