Hexagon Geospatial
MENU

Support ERDAS IMAGINE

Discuss and share topics of interest using ERDAS IMAGINE the world’s leading geospatial data authoring system.
Showing results for 
Search instead for 
Do you mean 
Reply
Occasional Visitor
Posts: 1
Registered: Wednesday

Query by color and reassign color value

I would like to change file format from TIF to ECW having no data values to be 0 (rgb color unsigned 8bit).  I converted output data type from unsigned 16 bit to unsigned 8 bit when I imported the TIF file.  The imported image includes a white background and I would like to convert white background pixel value to 0.  It is necessary since I would like to use for web mapping.

 

 

 

TIF import having white background

Staff
Posts: 448
Registered: ‎02-02-2016

Re: Query by color and reassign color value

You can convert the white pixels to black using a simple spatial model. You need to change the pixels with a value of 255 to 0. Please review the discussion topic linked below to view an example of the spatial model used to perform this task and information about handing NoData in the Spatial Modeler.

 

No data 255 to 0

 

Regards,

 

Stephen Bent

Hexagon Geospatial Support

 

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.