How to find locations of pixels that leads to one pixel to another pixel ?

1 次查看(过去 30 天)
Hi,
I want to get the location of pixels that leads from one pixel to another pixel
Or pixel locations along the path???
  4 个评论
Mohammad Bhat
Mohammad Bhat 2018-8-1
where kl_thin is the binary image. I want to find pixels between two pixels whose coordinates are
p1(r1,c1)...............,p2(r2,c2)
I did this
s = regionprops(kl_thin(c1,r2),'PixelIdxList');
is it correct

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2018-8-1

类别

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