Quantification of two Gestalt Laws using curve resconstruction