Skip to main content

Hi,

I'm trying to convert the background values (No Data) of an ECW to another colour. I know the values of the background pixels can vary due to the ECW's lossy compression. Is there a way I can specify a mask and replace the band values of pixels in the mask?

I tried using the clip function but all it does is split the raster image into two (one inside and one outside of the mask)

Thanks.

Hi @wkng, the RasterCellValueReplacer or RaterExpressionEvaluator might help you.


If you have a vector mask then set the color of the vector feature with the FeatureColorSetter, and then drop it onto the raster using the VectorOnRasterOverlayer transformer


Reply