I have two rasters, and I'm looking to perform a pixel-by-pixel comparison.
If Raster A = Raster B, I want the output to be the value of Raster A (or B).
If they are different I want the output to be NaN, or 0.
Basically I need the opposite of Diff:
If the values on the two inputs are different (EQUAL), the value on the first input is output. If the values on the two inputs are the same (DIFFERENT), the output is 0.
Thanks very much
Solved! Go to Solution.
provides several tools for condition checking. They can be used in combination if needed
You can use the
The examples should help.
You might want to look at the