A Computational Geometry Approach to Digital Image Contour Extraction