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

3 次查看(过去 30 天)
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 个评论
Matt J
Matt J 2021-7-30
编辑:Matt J 2021-7-30
If a pixel belongs to an object, its distance to the same object is zero, of course...
Image Analyst
Image Analyst 2021-7-31
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()???

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by