Obtaining a rectangular region after finding Canny lines

asked 2016-08-16 07:33:06 -0500

cventh gravatar image

After detecting Canny lines I have this image:

image description

I would like to obtain a minimum bounding rectangle containing the lines at the center:

image description

edit retag flag offensive close merge delete

Comments

I suggest you to add the original image. Something is telling me that the operation of canny edge detector is actually wrong to begin with.

StevenPuttemans gravatar imageStevenPuttemans ( 2016-08-17 08:55:44 -0500 )edit