Image Manipulation Detection (PLEASE READ!!)
Hello everybody,
I have a problem, and if anyone can shed any light on a solution I would be eternally thankful. Here is the situation: I have two images, the first is a original, unmodified image. The second image is a copy of the first that has had a series of image operations preformed on it. I need to be able to detect and repeat those operations by comparing the original and modified image. The operations preformed can include: brightening, blurring, sharpening, and RGB color changes.
Is this possible? If anyone can give me any insight into the logic for a solution for this situation, I would be very grateful and willing to part with all my duke dollars (25, I抣l get them to you somehow).
Thanks in advance,
Bill
[764 byte] By [
gamblw] at [2007-9-27 14:45:40]

Scratch the part about detecting RGB changes. Pretend I just said brighten, blur, and sharpen operations. Thanks,Bill
Why did you exclude the rgb changes ?, if you need the changes pixel by pixel there is no problem. just convert the images to an int arrary using PixelGrabber (each pixel is an int) and compare the 2 arrays.
PixelGrabber pg;
int[] ipg = new int[width*height];
pg = new PixelGrabber(image,0,0,width,height,ipg,0,width);
Noah
Hi Noah,
First off, thanks for your reply. I scratched the RGB stuff because I realized that any changes that I detect would always be RGB, so I didn't want to state the obvious.
I am not able to compare on a pixel-by-pixel basis because there is a slight chance they may not be aligned correctly after I get them back. At this point I don't see any other way to correctly detect the changes other than method you stated. So, do you, or anybody for that matter, know of a way to align images that are off center that also have different (but close) pixel values? I can see some sort of algorithm that compares pixel groups between the two images, but I don't see this being very reliable (such as in a dark image) and I really wouldn't know where to start with it. Any leads you can feed me at all would be appreciated.
Thanks,
Bill