Visualizing image contours