AnsweredAssumed Answered

Raster Calculator help

Question asked by BTLeslie on Sep 24, 2014
Latest reply on Sep 25, 2014 by xander_bakker

Is it me or is the Raster Calculator help rather vague?  I'm looking at the Conditional oporators and I can't see anywhere that tells me what they do and what syntax they want.

 

Anyway what I'm trying to do is take my 3 band colour tiff and say

 

     if the colour is white make the value 1 and make everything else 0

 

so I've guessed that Con means Conditional and have written this in the raster calculator:

 

     Con(("mytif.tif.Band1"==255) & ("mytif.tif.Band2"==255) & ("mytif.tif.Band3"==255), 1, 0)

 

can anyone help?

Outcomes