I would like to create a LabView VI that receives an input image and the RGB-color codes of the powerlines depicted in the image. The output should (eventually) consist of id'd polygonial connections and their coordinates.
Right now i've finished creating a VI that converts the source image to a binary image with the respective line color types extracted into a binary image (see below).
I've been trying to apply some of edge/line finding VIs supplied by LabView Vision, but the results have not been very convincing.
I have considered implementing some sort of vectorization algorithm like 'Straight Line Extraction Using Iterative Total Least Squares Methods' or even some sort of line-walking-and-mapping algorithm, but before I do so I'd like to know if there already is some kind of fitting algorithm out there.
Attached you can find examples for the source and binary images.
Thanks in advance for your input!