Image division for segmentation

1 visualización (últimos 30 días)
Pablo Márquez
Pablo Márquez el 28 de Jun. de 2023
Editada: Pablo Márquez el 29 de Jun. de 2023
Hello, I have a binarized image and I need to divide it into parts for segmentation. How could I do that? Thanks
  4 comentarios
Pablo Márquez
Pablo Márquez el 29 de Jun. de 2023
Editada: Pablo Márquez el 29 de Jun. de 2023
Of course, DGM, I'm sorry. What I have is the following image, that is a serrated chip formation obtained from a machining process:
You can see the original image on the left, and the binarized one on the right. What I need to do is to separate each single tooth getting a black space betwen them, like this:
I've got the pixel coordinates of the peaks and the valleys of the white area, so I think I could draw a black line from each peak to each valley, but I don't know how.
Thanks mate.
Pablo Márquez
Pablo Márquez el 29 de Jun. de 2023
Thanks Saha, I'll try with the "greythresh" method.

Iniciar sesión para comentar.

Respuestas (1)

Keerthi Reddy
Keerthi Reddy el 28 de Jun. de 2023
Hi Pablo, in MATLAB, you can use the regionprops function to divide a binarized image into parts for segmentation.
I hope this helps,
Thanks.
  1 comentario
Pablo Márquez
Pablo Márquez el 29 de Jun. de 2023
I'll try with regionprops, I've just seen the command. I think this can be the solution.
Thank you Keerthi.

Iniciar sesión para comentar.

Categorías

Más información sobre Get Started with MATLAB 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!

Translated by