Is there such thing as a 'soft checksum' tool?
modulok at gmail.com
Mon Sep 7 11:16:04 UTC 2009
>> Modulok <modulok at gmail.com> writes:
>> > I'm not even sure such a tool exists, but it's worth asking:
>> > I'm looking for a pseudo-checksum tool for use with catalogging
>> > images. For example, a strict checksum algorithm, like the sha
>> > family, will produce a dramatically different checksum for two
>> > files which differ by only a single bit. I'm looking for
>> > something where two images images, which are similar, get a
>> > proportionally similar checksum. When I speak of similarities
>> > I'm referring to their image patterns. i.e two images of
>> > differing sizes, which are otherwise identical, would produce
>> > very similar checksums. So the closer the checksums are, the
>> > more similar two given images are.
>> > Does anyone know of anything like this?
> See if this ...
> ... fits.
> - parv
*laughs* It makes me feel pretty good after reading how Mr.Schwartz
went about it. Before I got any replies I started to think about how
I'd do it and began to sketch out an algorithm on the kitchen floor.
(Largest black-board in my house.) The general approach was pretty
much the same; Recursive bucketing of pixels and generating averaged
values down to a user-defined finite limit.
Thanks to all who have replied thus far!
More information about the freebsd-questions