I have a binary image with two regions of interest from which I've derived the centroids. I can plot a line between the two centers easily with line([x1 y1] [x2 y2]) but would like to actually draw this line on an existing image, move on and do further analysis with this line included. There has to be an easy way to do this..?
Thanks