Post Reply 

Using GIMP to find changes between images

Jul 1, 2011, 20:21
Post: #1
Using GIMP to find changes between images
Hi guys,
I have a bit of a technical question. I have two satellite images that I am comparing to look for changes in topography between the two dates at which the images were taken.
I was going to use the Layers Divide Mode, but the problem is that any brightness changes AND non-changes show up as white (the algorithm gimp uses is 256*Image1/(image2+1) ), so you can see if the pixels of image1 and 2 are the same, it'll give a pixel with value 256, and if image 1 has brighter pixel than image 2, it will give a value greater than 256...which gets converted back to 256.
I've also looked into the Difference and Subtract modes, but they take absolute values or sets anything negative to 0, which skews my results.
Basically, I'm wondering if there is something in gimp which will allow me to compare the two images, kind of like creating a ratio image in ENVI where darker colors stand for darkening over time, whiter colors stand for brightening, and greyish colors show non-changes. I want to divide one pixel value by the other, and use that value to create a new ratio image.
If there is nothing in GIMP, could you suggest another program?
Thanks so much!
Find all posts by this user
Quote this message in a reply
Jul 1, 2011, 22:09
Post: #2
RE: Using GIMP to find changes between images
(Jul 1, 2011 21:11)ofnuts Wrote:  In GIMP I use two layers in difference mode but my use for this is mostly to detect JPEG artifacts. Detecting differences between satellite images is a very different matter: the images have to be registered (they will always have slightly different distortions), compensated for exposure, seasons, light angle... This is indeed work for a full software suite like ENVI.

There is also a GIMP plugin to produce the difference image of two images. It's not meant for satellite photo may it may work in your case: http://gimp-registry.fargonauten.de/node/25020

How will this react with negative values? Because Difference mode in the layers takes the absolute value which messes up my comparisons.
And I am not too worried about exposure, seasons, light angle etc. It's kind of a rough comparison that I'm looking for. If it was possible, I'd love to just literally divide one image by the other (without multiplying by 256), and then having that result be scaled up to 255 colors or whatnot, because multiplying by 256 is what's giving me the problem with wayy too much of a white image because of a larger brightness in one of them.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Wink GIMP dialog boxes take forever to load! LugwigVanBacon 1 44 Aug 20, 2018 20:08
Last Post: paynekj
  free online Gradient Generator for GIMP and inkscape released on github healingdrawing 1 89 Aug 8, 2018 09:00
Last Post: paynekj
  gimp 2.8.6 very slow to open files millsware 14 3,507 Aug 8, 2018 05:46
Last Post: paynekj
  Can't copy python script to Gimp plugin folder Alan Lacey 1 144 Aug 5, 2018 15:54
Last Post: paynekj
  How to add shininess to car textures in Gimp? sprotz 1 126 Aug 3, 2018 12:48
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS