Skip to main content
Question

White border removal in ecw

  • September 20, 2018
  • 1 reply
  • 71 views

Forum|alt.badge.img

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
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

Forum|alt.badge.img+2

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.