I currently have a single image with 3 bands with different turbidity data, all from the same region. The pixel values of the 3 bands do not overlap with each other. I would like to merge these 3 bands into one, while keeping the turbidity data intact.

Just as an example, I made 1 image, with multiple bands from a image collection:

Image1 = Collection1.toBands()

The image made from this collection looks something like this

band1: 0, 0, 0, 2
band2: 0, 0, 2, 0
band3: 2, 0, 0, 0

I would like to transform this into a single image with 1 band, for example:

band1: 2, 0, 2, 2

Is there a way to accomplish this?

1 Answer 1


You are looking to create an image mosaic:

mosaic1 = Collection1.mosaic() 

Tutorial on compositing and mosaicing: https://developers.google.com/earth-engine/guides/ic_composite_mosaic

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.