![0000 Screenshot.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196254/0000%20Screenshot.png)
How to detect the circular object in the middle of this image?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Rafi Ahmed
el 23 de Nov. de 2018
Editada: Rafi Ahmed
el 5 de Dic. de 2018
I have a binary image. I want to keep the circular object in the middle of the image and remove all other components. How can I do that?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196246/image.jpeg)
0 comentarios
Respuesta aceptada
Image Analyst
el 23 de Nov. de 2018
Simply mask the image. See attached m-file.
![0000 Screenshot.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196254/0000%20Screenshot.png)
3 comentarios
Image Analyst
el 23 de Nov. de 2018
I suggest using normxcorr2() to find the pattern. I attach an example.
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!