Visual shape similarity and retrieval of figurative images