Showing results for 
Search instead for 
Do you mean 

MosaicPro changes all the zero values in the input data to the value of "1" in the output

by Technical Evangelist on ‎09-30-2019 11:09 PM (29 Views)

Question

Why MosaicPro changes all the zero values in the input data to the value of "1" in the output? It generates incorrect output!

Answer

The change in values in MosaicPro output is by design. We have introduced that feature couple of years ago in order to distinguish valid data value and NoData value for 8 bit data. You might have noticed that for 8 bit data 0 value is replaced by 1 and 255 is replaced by 254.

 

If the user wants to retain those original values in the output file,  there are following two workaround:

 

  1. Batch convert 8 bit data into 16 bit data and then mosaic and output mosaic into 16 bit data and then again convert 16 bit mosaic into 8 bit data.

or

 

  1. Convert the continuous 8 bit data into Thematic data. Then Recode the 0 value into some other value. Then Mosaic all the converted data together. Then Recode the Thematic mosaic output and finally convert the thematic mosaic output into 8 bit continuous data.

 

Contributors