Conference paperLost in binarization: Query-adaptive ranking for similar image search with compact codes