Techniques for Extracting Contours and Merging Maps