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

1 vue (au cours des 30 derniers jours)
Theodore Fisher
Theodore Fisher le 30 Juil 2021
Commenté : Image Analyst le 31 Juil 2021
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 commentaires
Matt J
Matt J le 30 Juil 2021
Modifié(e) : Matt J le 30 Juil 2021
If a pixel belongs to an object, its distance to the same object is zero, of course...
Image Analyst
Image Analyst le 31 Juil 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()???

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by