Page 4 of 4

Re: Search similitary of a picture in folder of thousand oth

Posted: Sun Oct 05, 2014 6:34 pm
by wilbert
IdeasVacuum wrote:What I'm trying to do is find greyscale images that are similar to a colour 'master image'.
Try this module
http://www.purebasic.fr/english/viewtop ... 35#p436035

Compute the YIQhash from both images using the ImageHash or FileHash procedure.
To compare, use the HammingDistance(Hash1.q, Hash2.q) procedure and from both hashes, pass only the Y channel YIQhash\Y .
That should give the result you want (a low hamming distance value for similar images).

Re: Search similitary of a picture in folder of thousand oth

Posted: Sun Oct 05, 2014 8:22 pm
by IdeasVacuum
Sounds interesting wilbert - inspired by streaky bacon? :mrgreen:

Re: Search similitary of a picture in folder of thousand oth

Posted: Mon Oct 06, 2014 1:52 am
by IdeasVacuum
Works well - a side benefit is that it also gets tif image similarity correct.