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

1 view (last 30 days)
Hi,
I want to get the location of pixels that leads from one pixel to another pixel
Or pixel locations along the path???
  4 Comments
Mohammad Bhat
Mohammad Bhat on 1 Aug 2018
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
jonas
jonas on 1 Aug 2018
I don't know. You need to provide some data if you want detailed help.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 1 Aug 2018

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!