I am using Sentinel-2 images for a given region. I have all the separate bands and a merged RGB file, which comes standard with a download from ESA's API.
Now I'm running some code where I separate data into two folders. This means tiny cutouts of the satellite image, which are distributed into either folder 1 or folder 2.
Now I can construct a histogram of f.x. Sentinel-2 Band 04(Red Channel), where two curves illustrate the mean values of the small images in folder 1 and 2. This is presented as such:
I've done this across all single channel bands (Except 02, which for some yet unknown reason wont work)
So here is my question! Why does the single channel 04 band look so different, in comparison to the merged second picture, where the bands are separated in the code. FYI: Band 3 is also off.
Side info: The data I'm using is from 2016, which is before ESA included a standard merge. So the merged RGB file I'm using have been created through the Gdal script of merging exactly channel 4,3,2 together, which looks like this:
gdalbuildvrt -separate stack.vrt B04.jp2 BO3.jp2 BO2.jp2 gdal_translate stack.vrt merged.tif