ImSim: Image Similarity

n00m n00m at narod.ru
Sat Mar 5 11:46:03 EST 2011


I uploaded a new version of the subject with a
VERY MINOR correction in it. Namely, in line #55:

    print '%12s %7.2f' % (db[k][1], db[k][0] / 3600.0,)

instead of

    print '%12s %7.2f' % (db[k][1], db[k][0] * 0.001,)

I.e. I normalized it to base = 100.
Now the values of similarity can't be greater than 100
and can be treated as some "regular" percents (%%).

Also, due to this change, the *empirical* threshold of
"system alarmity" moved down from "number 70" to "20%".

  bears2.jpg
--------------------
  bears2.jpg    0.00
  bears3.jpg   15.37
  bears1.jpg   19.13
    sky1.jpg   23.29
    sky2.jpg   23.45
     ff1.jpg   25.37
   lake1.jpg   26.43
  water1.jpg   26.93
     ff2.jpg   28.43
  roses1.jpg   31.95
  roses2.jpg   36.12

Done!




More information about the Python-list mailing list