ArcMap Raster Calculator SetNull does not change value

by Zman3   Last Updated July 12, 2019 03:22 AM - source

I am having issues with the "SetNull" function within the Raster Calculator in ArcMap. I have a landsat 8 image that I separated the bands into their own raster (only working with 6 of them), bands 2-7. I needed to separate the bands beucase each band has a different "NoData" value. I.e. Band 1 "NoData" = 10, Band 2 "NoData" = 5, so on and so forth. I was able to perform the following on all the bands except for band 2:

Raster Calculator SetNull("Band1" == 10, "Band1")

Band 2 would run, but the "NoData" pixels would stay at their same value (would not change). The only value that is changing is the stretch value. See images below. The red dot was painted on to show which pixel I am picking.

I've tried a couple different operations with band 2 such as trying to multiple by 0.5. the pixel value will change then, but setting it to Null does not work. Any suggestions?

enter image description here

enter image description here

enter image description here



Related Questions



Setting RGB TIFF zero values to "NoData"

Updated July 11, 2019 01:22 AM

How to enforce float values for NDVI in ArcGIS?

Updated April 03, 2018 05:22 AM

How to compute NDSI in ArcGIS for Desktop?

Updated June 18, 2015 23:09 PM