Low bitrate image retrieval with compressed histogram of gradients descriptors