1500 POINTS! How would you use Windows APIs to compare 2 images and get the rectangular regions where they differ?
Posted on 2003-11-02
I want to use Windows APIs to compare 2 images and get the rectangular regions where they are different.
This will be an application that captures images from a camera (high def cameras - not the cheesy web cams that constantly vary light intensity so *every* capture is different) and compares it with the image taken before. If the images differ, I would like to copy the rectangular regions of the images that differ and only send the differences so as to conserve bandwidth.
I'm not sure how to make the rectangular regions as small as possible, but this is also needed. Perhaps only contiguous pixels that have changed should be mapped as a changed rectangular region. (?)
It would be most helpful to see a demo in VB of the effect I'm after.
1500 points to the first person to demo this! I'll send you a couple more 500 point links upon successful completion of this demo.