Hi,
I am trying to extract the outline of a hanging drop
I want to extract the data to an array containing the outline's (x,y) pixel-coordinates, ordered so as to follow the curve.
I have converted a greyscale image of a hanging drop to a binary image of its contour (See attached Image)
After the image processing, I tried using "IMAQ Extract Curves.vi" and "IMAQ GetPointsOnContour.vi" but they don't consistently result in one single curve.
In some cases, I get several incomplete and overlapping sections of the curve - even though to the eye, the curve is almost identical to examples which work.
Is there a way to extract the coordinates of a curve as a single ordered data set?
Unless there happens to be a better Curve Detection function, I was thinking of listing all the black pixels in an image (how???) and then sorting them so that they are arranged in the proper order to follow the drop.
I've attached some of the sample contours and drops that I'm using.
Thank you very much for your help!