Image descriptor aggregation for efficient retrieval