An ensemble diversity approach to supervised binary hashing