Did anyone try to use sentinel 2 to retrive the same fields photos in tif extension? or anyone tried to do some cloud removal from the image? we want to try super resoloution and try to do cloud removal to enhance the vegtiation indecies for specific fields?
Hello. I participated in this competition. For cloud removal you have to use QA60 band. In that band, pixels values are: 0: clear, 1024: clouds, and 2048: cirrus.
Regards.
I'm sorry for replying late but would you describe more how you did the cloud removal in more detailed way please?
I do that directly on Google Earth Engine (https://earthengine.google.com/) using the code below.
function maskS2clouds(image) { var qa = image.select('QA60'); // Bits 10 and 11 are clouds and cirrus, respectively. var cloudBitMask = 1 << 10; var cirrusBitMask = 1 << 11; // Both flags should be set to zero, indicating clear conditions. var mask = qa.bitwiseAnd(cloudBitMask).eq(0) .and(qa.bitwiseAnd(cirrusBitMask).eq(0)); return image.updateMask(mask).divide(10000); } var dataset = ee.ImageCollection('COPERNICUS/S2_SR') .filterDate('2020-01-01', '2020-01-30') // Pre-filter to get less cloudy granules. .map(maskS2clouds); Regards.
More information here:
https://developers.google.com/earth-engine/datasets/catalog/COPERNICUS_S2_SR
Thanks so much