Esempio n. 1
0
 /// <inheritdoc />
 public float Similarity(ImageAverageHash otherHash)
 {
     return(HammingWeight.CalculateSimilarity(InternalValue, otherHash.InternalValue));
 }
Esempio n. 2
0
 /// <inheritdoc />
 public float Similarity(ImageDifferenceHash64 otherHash)
 {
     return(HammingWeight.CalculateSimilarity(InternalValue, otherHash.InternalValue));
 }