A variational framework for shape from contours — Research Report CERMICS-2002-221 b