I have 3 Band RGB ECW Raster files and would like to change all the RGB values within the masked area to 0,0,0.
I am using the SpatialFilter to set the masking area and thought that I could use the RasterExpressionEvaluator(REV) to manipulate the rgb values. However I cannot find an expression which works.
I am using FME 2014 and setting the SpatialFilter to Mask = Filter, ECW File as Candidate with the Filter being "Intersects"and if does not pass, then the REV should work its magic. For each band in the REV (red8,green8,blue8) I set the the expression to
if ((A+A+A)>0, 0, A)
changing the last parameter for each band ...ie A1, A...but this changes the whole image to 0,0,0. This doesn´t seem to be working.