rectangle detection and extraction

1 view (last 30 days)
Emilie
Emilie on 31 May 2013
Hello,
I have got this image example: http://tinypic.com/view.php?pic=ac535x&s=5
I would like to automatically extract the upper card. I tried edge detection, dilation/erosion and then fill holes. It didn't work as the edges resulted in only few points of the rectangle. I don't think this method was good, as some frames in the card were considered as edges.
Your help will be welcome. Thank you.
  5 Comments
Emilie
Emilie on 3 Jun 2013
Sorry, I mean difficulties in getting the right side!
Emilie
Emilie on 4 Jun 2013
Here are image results (<http://tinypic.com/view.php?pic=352r8go&s=5> http://tinypic.com/view.php?pic=o0w3et&s=5)
while trying to find corners in order to crop the top card and using regionprops(BoundingBox). As you can the the right side isn't correct. I also tried canny edge detection and Hough to draw the lines but my results are bad too!. Any help, please. Thanks.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!