05-19-2014 02:58 PM
I know that there are functionalities in the two aforementioned functions that allow for start and end points to be found and output after a straight line is found in an ROI. My problem is that these start and end points are with respect to the ROI, and not the the actual object. What I mean by this is that if I have a needle (whose tip is in the ROI) and try to find the corresponding edge, the edge is easy enough to find. However, the red line that is superimposed on the image, representing the found edge is extended past the tip of the needle, and carried until the boundary of the rectangular ROI I am using. Thus when I return the end point, it gives me the end point along the ROI boundary, not the tip of the needle.
If anyone knows how to obtain the coordinates of the actual needle tip using the edge funtions in the post subject line, that would be very helpful and much appreciated!
05-20-2014 01:35 AM
If the needle is of the same height you can adjust the ROI accordingly. Also by tip do you mean the tip point?