10-19-2012 01:55 PM
Hello,
I want to track a dark line as it meanders through an image. I'm thinking to use a 3X3 grid, find the darkest pixel, center the grid on that, and loop around. (Obviously, a bit more complex than that.)
Rather than re-invent the wheel, I wondered if there is any existing code or maybe an example, that I could build on.
Many thanks,
Another
10-19-2012 09:24 PM
Why dont you try IMAQ LOCAL Threshold function.
10-22-2012 07:47 AM
Thanks, I'll give that a try.
Incidentally, I found information on how the niblack algorithm works here: http://zone.ni.com/reference/en-XX/help/372916J-01/nivisionconcepts/thresholding/