The surface-shape operator and its application to image retrieval