PANDORE Version 6 | GREYC-IMAGE |
pquadrangle2rectangle corrects the part of the image im2_in that is included in the quandrangle represented by the four coins given in the image im1_in.
SUCCESS or FAILURE if the image can be corrected.
Detection of the whiteboard borders:
pshen 1.3 whiteboard.pan a.pan pbinarization 2 255 a.pan bin.pan phoughlines 10 0 360 a.pan lines.pan pgetquadrangle lines.pan a.pan b.pan pquadrangle2rectangle b.pan whiteboard.pan result.pan
Z. Zhang, and L. He, "Whiteboard Scanning and Image Enhancement", Digital Signal Processing, Vol.17, No.2, pages 414-432, 2007.
Author: Régis Clouard