"Another, more efficient way to change 0,0,0 to 255,255,255 without altering values like 0,0,255.
All you need is a RasterExpressionEvaluator with an expression set to:
if ((Ai0]+AA1]+AA2])==0, 255, A20]); if ((Ai0]+AA1]+AA2])==0, 255, A21]); if ((Ai0]+AA1]+AA2])==0, 255, A22])"
however, if I insert that expression into RasterExpressionEvaluator I get this error:
"RasterExpressionEvaluator(RasterEvaluationFactory): The INTERPRETATION_LIST clause has 1 entries, whereas the EXPRESSION_LIST clause has 3 entries. These clauses must have an identical number of entries"
Is something wrong with the example, or did I misinterpret how I am supposed to implement it?
Also, is the language being used here TCL? (I could not find any TCL statement on Google that looked similar in style)