How to access pixels along a line (Between specified points) ?
Show older comments
I have two pints P1 = (x1,y1) and P2 = (x2, y2). I need to make all the pixels along the line connecting P1 and P2 to zero. I am able to draw a line between those points, but not able to identify all the pixels (Between P1 and P2) which is to be make zero
Answers (0)
Categories
Find more on MATLAB 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!