A Method of Content-Based Retrieval for a Spinal X-Ray Image Database