This executable will show you the differences between a new and an old raster. It assumes that the input formats are uint16_t, and output is int32_t to allow positive or negative values.
Build with:
./build.sh
Execute with:
./diffRaster old.tif new.tif
Output will be called diff.tif where positive values represent new appearances and negative values represent new disappearances.
Optionally, add "-merge" to the end of the parameters list to change to merge mode and combine the values from the two input rasters and output merge.tif:
./diffRaster old.tif new.tif -merge
Copyright 2014 Google Inc. All rights reserved.