code: protected static void binaryToDef(GrayU8 binary , short[] desc ) {
  		for (int i = 0; i < binary.data.length; i+=16) {
  			int value = 0;
  			for (int j = 0; j < 16; j++) {
  				value |= binary.data[i+j] << j;
  			}
  			desc[i/16] = (short)value;
  		}
  	}
docs: Converts a binary image into the compressed bit format