I have calculted the NDVI of specific plot and download it in order to run analysis in QGIS. The image on GEE had only one band: the calculted NDVI, but whenever I open it on QGIS I have 4 bands: NDVI and the RGB bands. I would like to have only one band in the image.
Is there any way to download only one band and not to have the rendered image?
This is an example for how I have download image that has only band 4 and band 8 and QA60, but when I opened it on QGIS I had also the RGB:
This is the code part the export the images:
for (var i in listOfNumbers) {
var image = ee.Image(listOfImages.get(listOfNumbers[i]));
var toexport=image.visualize({}).addBands(image);
// // do what ever you need with image
Map.addLayer(image, {}, i);
Export.image.toDrive({
image: toexport.toFloat(),
description: i,
scale:20,
crs:'EPSG:4326',
//maxPixels:1310361348,
region:geometry.geometry().bounds()
});
}