I created a workbench which reads an ECW (which I call current imagery). I then read GeoTIFFs (which I call new imagery), mosaic the rasters together and then write to a new ECW, which becomes the new current imagery ECW.
I've noticed contrast changes in locations which are not being overwritten each time I've added new imagery and recreated the ECW.
What could be happening here?
The below image is a location which hasn't been overwritten by new imagery. I've run the new workbench 4 times now and you can see its getting darker each time.
More notes:
I have done some further analysis.
By using the PointOnRasterValueExtractor I was able to get the RGB band values at a location before the mosaic and after the mosaic.
Before the mosaic: 82,92,82
After the mosaic: 93,100,94
I also used the RasterBandMinMaxExtractor.
Before the mosaic the min max was R: 0,251 - G 0,253 - B 0,251
After the mosaic the min max became R: 0,254 - G 0,253 - B 0,254
I expected the min max to change, I just didn't expect the RGB values of the pixels to change.
Is there anyway to prevent them from changing?
TIA
Best answer by takashi
View original