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
- last edited on
07-23-2026
03:20 PM
by
Content Cleaner
Why dont you try IMAQ LOCAL Threshold function.
10-22-2012
07:47 AM
- last edited on
07-23-2026
03:21 PM
by
Content Cleaner
Thanks, I'll give that a try.
Incidentally, I found information on how the niblack algorithm works here: https://www.ni.com/docs/en-US/bundle/ni-vision/page/thresholding.html