finding width of a line in a noisy image? [closed]
Hello
I'm working on a project which needs to find width of a power cable using machine vision. accuracy isn't very important I just need to know width of line in pixel with at most 40 percent error.
I already have found location of the line and by location I mean beginning and ending points of the line but my algorithm isn't very robust if you any suggestion in this part too ,Ill be glad to hear.
here is the image I'm working on:
thank you in advance
Some type of automatic segmentation (pinpointing center colour if manual intervenience is allowed) combined with the HoughLines algorithm will get you quite far already. it is then basically calculating euclidean distances between lines.