pub fn dist(&self, other: &ImageHash) -> uint {
        assert!(self.bitv.len() == other.bitv.len(), 
                "ImageHashes must be the same length for proper comparison!");

        self.bitv.iter().zip(other.bitv.iter())
            .filter(|&(left, right)| left != right).count()
    }
/// Calculate the Hamming distance between this and `other`.
/// Equivalent to counting the 1-bits of the XOR of the two `Bitv`.
/// 
/// Essential to determining the perceived difference between `self` and `other`.
Calculate the Hamming distance between this and `other`.
Equivalent to counting the 1-bits of the XOR of the two `Bitv`.

Essential to determining the perceived difference between `self` and `other`.
Calculate the Hamming distance between this and ` other ` . Equivalent to counting the 1 - bits of the XOR of the two ` Bitv ` . Essential to determining the perceived difference between ` self ` and ` other ` .
pub fn dist(&self, other: &ImageHash) -> uint {
        assert!(self.bitv.len() == other.bitv.len(), 
                "ImageHashes must be the same length for proper comparison!");
        self.bitv.iter().zip(other.bitv.iter())
            .filter(|&(left, right)| left != right).count()
    }
pub fn dist ( & self , other : & ImageHash ) -> uint { assert ! ( self bitv len ( ) other bitv len ( ) " " ) ; self . bitv . iter ( ) . zip ( other . bitv . iter ( ) ) . filter ( | & ( left , right ) | left != right ) . count ( ) }
Calculate the Hamming distance between this and `other`.
Calculate the Hamming distance between this and ` other ` .
&self
other
&ImageHash
&self
other
&ImageHash