title: get pixels of a line -:- MATLAB
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4153473/detect-if-a-pixel-in-rgb-image-belong-to-a-line-between-two-other-pixels-matlab">detect if a pixel in RGB image belong to a line between two other pixels (MATLAB)</a>  </p>
  </blockquote>
  
  
  
  <p>I want to detect two pixel in an image and get all pixel of plotted line between them
  .</p>
  
  <p>I do not want to plot the line, I just want to get all pixels positions [as (x,y) in the image] of virtually line between the two pixels
  . </p>
  
  <p>which function in MATLAB could help me in this code, and how can I use it ?
  .</p>
  
  <p>thanks !</p>