Localizing Contour Points for Indexing an X-Ray Image Retrieval System