Showing results for 
Search instead for 
Do you mean 

How to change the null (NoData) value for a raster image.

by Technical Evangelist on ‎07-17-2017 10:32 AM - edited on ‎09-19-2019 01:41 PM by Technical Evangelist (4,456 Views)
  1. Start ERDAS IMAGINE and launch the "View/Edit Image Metadata" tool from  Home tab > Metadata dropdown list > "View/Edit Image Metadata" or the "Edit Image Metadata" 
  2. In the Image Metadata dialog go to Edit menu > Set/Clear NoData Value.
  3. Enter the desired NoData (null) value.
  4. Click OK to save the change.


on ‎08-03-2017 06:03 AM


I run into problem with this NODATA Handling while working with file that came from GDAL.

NoData within this float type file was set to -3,402823e+38. This value was also the statistic minimum and so it the image could not stretched correctly to visualize the real values in range -85 .... 140.


BTW IMAGINE registred the NODATA Value but its suggestion was "-3" while using "Set or Clear NoData Value".

A "Clear NoData" was impossible.


Pixel Data request delivered #########.### allways. So more or less a NAN-Value.


Finally I solved this with a small Spatial Model requesting all Values Lesser than -100 and setting them to 255 and define 255 as NoData.

Updating the statistics while ignoring 255 delivered acceptable statistic and possibility to stretch the image in the optimal way.


Best Regards



by Technical Evangelist
on ‎09-28-2017 07:24 AM

Probably also worthwhile reviewing this article and its comments if you want to know about "Setting NoData":