PANDORE Version 6 GREYC-IMAGE

pgetquadrangle



Selection of the best quadrangle in a set of lines.



Synopsis

pgetquadrangle [-m mask] [rg1_in|-] [rg2_in|-]

Description

pgetquadrangle detects the best quadrangle in a set of lines given in the image im_lines. The best quandrangle is the on the fits the following constraints:

Inputs

Result

FAILURE is no quandrangle exist.

Examples

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 result.pan

See also

Reconstruction

C++ prototype

Errc PGetQuadrangle( const Img2duc &im1_in, const Img2duc &im2_in, Img2duc &im_out );

Reference

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