Open Amoko opened 5 years ago
As per the paper based on which this code is implemented (An image signature for any kind of image, Wong et al):
Relative to L1 norm(Hamming distance), L2 norm gives greater emphasis to larger differences. This is appropriate because a difference of 1 at a coordinate may be due to roundoff, but a difference of 2 is meaningful.
As per the paper based on which this code is implemented (An image signature for any kind of image, Wong et al):
Relative to L1 norm(Hamming distance), L2 norm gives greater emphasis to larger differences. This is appropriate because a difference of 1 at a coordinate may be due to roundoff, but a difference of 2 is meaningful.
I got it! thx bro.
the code in function ''normalized_distance(_a, _b)'':