Has anyone used the NI Vision tools to detect and locate the horizon on an image? I have some video taken from a remote control plane, and I want to locate the horizon and then rotate the image so that it is always level and stable. Any ideas?
I was able to successfully detect the horizon using the Vision Find Edge VI setup for scanning for Top to Bottom and triggering on the first edge. Tuning the other Find Edge parameters allowed me to detect the horizon very reliably.