jeudi 4 novembre 2021

How to create images by calculating other images in Google Earth Engine?

I have some categorical images (Max, Min, MinUp, C) in GEE. Each image has integer values in different ranges. For example, C is [0, 35], and Max is [1, 20] etc.

I want to create a Boolean image: pixels that meet any two of the following criteria have a value of 1, while other pixels get 0. What I can think of is that I do 3 overlays of (1,2) (1,3) &(2,3) and take the union. Is there a sophisticated way to create the Boolean map?

  1. Max < 3.

  2. Min < MinUp/3

  3. C < 5

Aucun commentaire:

Enregistrer un commentaire