Re: comparing images...

From: Justin Rogers (Justin_at_games4dotnet.com)
Date: 03/15/04


Date: Sun, 14 Mar 2004 16:14:27 -0800

You have the files. Comparing the files is probably a more appropriate
task, since you can work on the files at the byte level. If you are looking
to see if a file is changed because the user is allowed to perform some edit
then I would suggest a CRC check of some sort. When you load the file, do
the CRC, and later when you need to find out if something has changed,
recompute the CRC and compare.

Depending on your application these processes are going to have to happen
at varying levels. You mention comparing within a 70% match range. That
is more difficult because you have to define what a 70% match range is
depending on your application.

If you need a CRC class, or think that it might help you in some way, you can
traverse the blog link and I think it is posted under the Algorithms category.

-- 
Justin Rogers
DigiTec Web Consultants, LLC.
Blog: http://weblogs.asp.net/justin_rogers
"Franz" <master at franzwong.com> wrote in message
news:OIe6RbfCEHA.2824@TK2MSFTNGP12.phx.gbl...
> "David" <david@rrtt.net> ¦b¶l¥ó
> news:%23%23qACQfCEHA.684@tk2msftngp13.phx.gbl ¤¤¼¶¼g...
> > Hello...
> > i've two, 100% identical images in two fales, in fact the only thing what
> > differs is their name...
> > i've loaded them to two diffrent pictureboxes (C#)...
> > is there a way of compering between those two pictureboxes "Image"
> property,
> > if the picture is same? or any other way to "compare" it, even with the
> 70%
> > of accuracy???
> >
> >
>
> How about comparing the size and each pixel?
> Although it is time consuming, it is a way to do your task.
>
>


Relevant Pages

  • Re: duplicate files -- JUST SPAM
    ... It can find duplicate files based on same: ... name, size, CRC and/or comparing byte-by-byte ... It can also generate reports to: ...
    (microsoft.public.windows.server.general)
  • Re: Strategy to recover from checksum errors?
    ... >It is relatively easy to find out a sram area having been currupted by ... >calculating and comparing its crc checksum. ...
    (comp.arch.embedded)
  • CCITT-CRC16 in kernel
    ... Hello CRC Wizards, ... I've grepped through some drivers that use ... then comparing it to the CRC. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)