Skip to main content

Hello,

 

 

I have one large ECW file (~135gb). It has a white border around the area of interest but my problem is that pixels that appear to be white have value between 250 and 255. I would need to remove them but I am not sure how to do it. I have seen some posts on community but I am not sure if that helps me. (example:

https://knowledge.safe.com/questions/28053/thrim-white-borders-of-a-tiff.html)

 

 

 

Every hint is more than welcome.

 

 

Thank you in advance.

 

Dejan

Hi @maliodpalube,

This article may be of more use to you: https://knowledge.safe.com/content/kbentry/18764/setting-alpha-vs-nodata-color-and-numeric-data.html as it describes a few different methods to remove borders in a raster with examples.

Since you are dealing with a range of values I would first use the RasterCellValueReplacer where you can take the range of values and set them to one single value to be used in the RasterBandNoDataSetter.

You should be cautious when using this method that you do not also set any real pixel values in the imagery to no data.


Reply