Conventions:
- T1 = Time 1 (usually the older dataset)
- T2 = Time 2 (you guessed it...the newer data)
- We'll use blue to represent negative numbers and red to represent positive numbers
Change = T2 - T1
This is the most common way to do topographic change detection (hint - use this one if you're unsure). It works out nicely that decreases in elevation (erosion) are calculated as a negative numbers and increases in elevation (deposition) are calculated as positive numbers.
In the ArcGIS Python Console:
In the ArcGIS Python Console:
from arcpy.sa import *
diff = Raster("Time2.tif") - Raster("Time1.tif")
Change = T1 - T2
By switching the times, we also switch the signs. Positive numbers switch to represent decreases in elevation (erosion) and negative numbers represent increases in elevation (deposition). There are probably good reasons to use this type of change calculation, but I can't think of any off the top of my head...I'll do this by accident sometimes and get really confused.
No comments:
Post a Comment