Development of shape descriptors based on legendre polynomials and content based retrieval of scoliosis images