Direct numerical identification of boundary values in the Laplace equation