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

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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Image Analyst
Image Analyst am 1 Aug. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by