finding width of a line in a noisy image?

asked 2013-07-26 08:16:38 -0500

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:

image description

thank you in advance

edit retag flag offensive close merge delete

Comments

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.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-07-28 17:04:11 -0500 )edit