Rotation and translation covariant match kernels for image retrieval