How to easy to get the length of the edge???

asked 2013-10-10 05:00:39 -0500

wuling gravatar image

Hi all: When I use sobel or robert filter and threshold to get the edge. How to easy to get the length of the edge ? How many lines are in the image? Thanks

edit retag flag offensive close merge delete

Comments

2

edge filters don't give you any of that information. you need to do a second step, and apply findContours or Hough* on the binary img

berak gravatar imageberak ( 2013-10-10 05:46:53 -0500 )edit