Re: ImSim: Image Similarity

2011-03-08 Thread Ian Kelly
On Mon, Mar 7, 2011 at 6:30 AM, n00m wrote: > Remind me this piece of humor: > > One man entered a lift cabin at the 1st floor, > lift goes to the3rd floor, opens and ... it's empty! > Physicist, Chemist and Mathematician were asked: > what happened to the man? > > Physicist: he was squashed to th

Re: ImSim: Image Similarity

2011-03-07 Thread n00m
@all and just in case. Also see my TiRG project (since 2011-01-31): http://sourceforge.net/projects/tirg/ It's for detecting and localizing textareas in raster graphics. Among its files there is a python script -- absolutely working. Enjoy to do with it whatever you like -- it's my public domain.

Re: ImSim: Image Similarity

2011-03-07 Thread Mel
n00m wrote: > But funny thing takes place. > At first thought it's a false-positive: some modern South East > Asian town and a lake somewhere in Russia, more than 100 years > ago. Nothing similar in them? > > On both pics we see: > -- a lot of water on foreground; > -- a lot of blue sky at sunny

Re: ImSim: Image Similarity

2011-03-07 Thread n00m
So, my current very strict definition of similarity is: --- 2 pics are similar if my script gives for them value < 20%, otherwise the pics are not similar. --- It is left to study possi

Re: ImSim: Image Similarity

2011-03-07 Thread n00m
On Mar 7, 2:54 pm, Grigory Javadyan wrote: > Just admit that your algorithm doesn't work that well already :-) > Or give a solid formal definition of "similarity" and prove that your > algo works with that definition. > > On Mon, Mar 7, 2011 at 4:22 PM, n00m wrote: > > > In short, > > the notion

Re: ImSim: Image Similarity

2011-03-07 Thread Grigory Javadyan
Just admit that your algorithm doesn't work that well already :-) Or give a solid formal definition of "similarity" and prove that your algo works with that definition. On Mon, Mar 7, 2011 at 4:22 PM, n00m wrote: > > In short, > the notion of similarity can be speculated about just endlessly. > -

Re: ImSim: Image Similarity

2011-03-07 Thread n00m
On Mar 6, 7:54 pm, n00m wrote: > If someone will encounter 2 apparently unrelated pics > but for which ImSim gives value of their mutual diff. > *** less than 20% *** please emailed them to me. Never mind, people. I've found such a pair of images in my .zipped project. It's "sky1.jpg" and "lake1.

Re: ImSim: Image Similarity

2011-03-06 Thread John Bokma
n00m writes: > As for "proper" quoting: I read/post to this group via my web-browser. > And for me everything looks OK. I don't even quite understand what > exactly > do you mean by your remark. I'm not a facebookie/forumish/twitterish > thing. Exactly. It's Usenet, something I've been using for

Re: ImSim: Image Similarity

2011-03-06 Thread n00m
As for "proper" quoting: I read/post to this group via my web-browser. And for me everything looks OK. I don't even quite understand what exactly do you mean by your remark. I'm not a facebookie/forumish/twitterish thing. Btw I don't know what is the twitter. I don't need it, neither to know nor t

Re: ImSim: Image Similarity

2011-03-06 Thread John Bokma
n00m writes: > On Mar 6, 10:17 pm, n00m wrote: >> On Mar 6, 8:55 pm, John Bokma wrote: >> >> >> >> > n00m writes: >> > >http://www.nga.gov/search/index.shtm >> > >http://deyoung.famsf.org/search-collections >> > > etc >> > > Seems they all offer search only by keywords and this kind. >> > > Wh

Re: ImSim: Image Similarity

2011-03-06 Thread n00m
On Mar 6, 10:17 pm, n00m wrote: > On Mar 6, 8:55 pm, John Bokma wrote: > > > > > n00m writes: > > >http://www.nga.gov/search/index.shtm > > >http://deyoung.famsf.org/search-collections > > > etc > > > Seems they all offer search only by keywords and this kind. > > > What about to submit e.g. ros

Re: ImSim: Image Similarity

2011-03-06 Thread n00m
On Mar 6, 8:55 pm, John Bokma wrote: > n00m writes: > >http://www.nga.gov/search/index.shtm > >http://deyoung.famsf.org/search-collections > > etc > > Seems they all offer search only by keywords and this kind. > > What about to submit e.g. roses2.jpg (copy) and to find its > > original? Assume w

Re: ImSim: Image Similarity

2011-03-06 Thread John Bokma
n00m writes: > http://www.nga.gov/search/index.shtm > http://deyoung.famsf.org/search-collections > etc > Seems they all offer search only by keywords and this kind. > What about to submit e.g. roses2.jpg (copy) and to find its > original? Assume we don't know its author neither its title Title:

Re: ImSim: Image Similarity

2011-03-06 Thread n00m
Obviously if we'd use it in practice (in a web-museum ?) all pic's matrices should be precalculated only once and stored in a table with fourty fields v00 ... v93 like: --- pic_title v00v01v02... v93 -

Re: ImSim: Image Similarity

2011-03-05 Thread n00m
http://www.nga.gov/search/index.shtm http://deyoung.famsf.org/search-collections etc Seems they all offer search only by keywords and this kind. What about to submit e.g. roses2.jpg (copy) and to find its original? Assume we don't know its author neither its title -- http://mail.python.org/mailman

Re: ImSim: Image Similarity

2011-03-05 Thread n00m
On Mar 6, 6:10 am, Mel wrote: > n00m wrote: > > As for using color info... > > my current strong opinion is: the colors must be forgot for good. > > Paradoxically but "profound" elaboration and detailization can/will > > spoil/undermine the whole thing. Just my current imo. > > Yeah.  I guess incl

Re: ImSim: Image Similarity

2011-03-05 Thread Mel
n00m wrote: > As for using color info... > my current strong opinion is: the colors must be forgot for good. > Paradoxically but "profound" elaboration and detailization can/will > spoil/undermine the whole thing. Just my current imo. Yeah. I guess including color info cubes the complexity of th

Re: ImSim: Image Similarity

2011-03-05 Thread n00m
PS For some reason they don't update the link to the last version. It's _20110306, here: http://sourceforge.net/projects/imsim/files/ I use Python 2.5 & PIL for Python 2.5 -- http://mail.python.org/mailman/listinfo/python-list

Re: ImSim: Image Similarity

2011-03-05 Thread n00m
> > Is it better than this? > - scale each image to 100x100 > - go black&white in such a way that half the pixels are black > - XOR the images and count the mismatches It's *much* better but I'm not *much* about to prove it. > I'm sure there are better, > well-known algorithms. The best well

Re: ImSim: Image Similarity

2011-03-05 Thread Jorgen Grahn
On Sat, 2011-03-05, Grigory Javadyan wrote: > At least you could've tried to make the script more usable by adding > the possibility to supply command line arguments, instead of editing > the source every time you want to compare a couple of images. > > On Sat, Mar 5, 2011 at 11:23 AM, n00m wrote:

Re: ImSim: Image Similarity

2011-03-05 Thread n00m
On Mar 5, 7:10 pm, Mel wrote: > n00m wrote: > > > 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

Re: ImSim: Image Similarity

2011-03-05 Thread Mel
n00m wrote: > > 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. > No

Re: ImSim: Image Similarity

2011-03-05 Thread n00m
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 g

Re: ImSim: Image Similarity

2011-03-05 Thread Grigory Javadyan
At least you could've tried to make the script more usable by adding the possibility to supply command line arguments, instead of editing the source every time you want to compare a couple of images. On Sat, Mar 5, 2011 at 11:23 AM, n00m wrote: > Let me present my newborn project (in Python) ImSi

ImSim: Image Similarity

2011-03-04 Thread n00m
Let me present my newborn project (in Python) ImSim: http://sourceforge.net/projects/imsim/ Its README.txt: - ImSim is a python script for finding the most similar pic(s) to a given one among a set/list/db of your pics. The scrip