A software code to manipulate apparent contours