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

1 visualizzazione (ultimi 30 giorni)
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 Commenti
Matt J
Matt J il 30 Lug 2021
Modificato: Matt J il 30 Lug 2021
If a pixel belongs to an object, its distance to the same object is zero, of course...
Image Analyst
Image Analyst il 31 Lug 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()???

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by