select roi on the circle
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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
Respuestas (2)
Image Analyst
el 21 de Jun. de 2022
Looks like you could simply create a mask using the code in the FAQ:
0 comentarios
Latifa Bouguessaa
el 22 de Jun. de 2022
1 comentario
Image Analyst
el 23 de Jun. de 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);
Ver también
Categorías
Más información sobre Read, Write, and Modify Image en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!