Find nearest pixel to same for each pixel list given by regionprops for each object

1 visualización (últimos 30 días)
Hello! I have a pixellist for each object given by regionprops and i want to calculate the nearest point and then distance all to the same binary map/object for each object.
Thanks!
  2 comentarios
Matt J
Matt J el 30 de Jul. de 2021
Editada: Matt J el 30 de Jul. de 2021
If a pixel belongs to an object, its distance to the same object is zero, of course...
Image Analyst
Image Analyst el 31 de Jul. de 2021
I agree with Matt. Please explain what you mean, preferably with a diagram showing the distances and blobs that you're talking about. Perhaps you mean the distance of every blob centroid to every other blob centroid like you'd get with pdist2()???

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Image Segmentation and Analysis 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