A simple calculation algorithm of the two image similarity based on hamming distance。