Digitization of noisy relief contours