private static void getChannelEncoding(byte[] pixel1, byte[] pixel2, int[] channels) {
		for (int c=0; c<3; ++c) {
			channels[c] = 0;
			for (int b=0; b<8; ++b) {
				byte p1 = (byte) ((pixel1[c] >> b)&0x01);
				byte p2 = (byte) ((pixel2[c] >> b)&0x01);
				
				if (p1 != p2) channels[c]++;
			}
		}
	}