I tried to increase the time window to up to 8 months and set least cloud cover to 15 percent, but I am getting images that are too bright or completely dark, although the area is just 74.5 km2 which is large enough to not be completely dominated by clouds I assume. Is there a work around to get decent images for time series analysis of this specific area.
example image (11 months least CC mosaicking)
example image (3 months least CC mosaicking)
The code used:
/VERSION=3
function setup() {
return {
input: [{
bands: ["B01", "B02", "B03", "B04", "B08", "B05", "B06", "B07", "B8A", "B11", "B12"],
units: "DN"
}],
output: {
bands: 4,
sampleType: "INT16"
}
};
}
function evaluatePixel(sample) {
return [sample.B01,
sample.B02,
sample.B03,
sample.B04,
sample.B05,
sample.B06,
sample.B07,
sample.B08,
sample.B8A,
sample.B1972,
sample.B12];
}
Update: I was able to adjust the histogram to get to near natural colours, but there are still the white patches.
I’ll be happy to know how I can get rid of this effects. Thank you!