The image has the band : ['B1', 'B2', ..., 'B11', 'NDVI', 'NDWI'].
The goal is to select the bands which not start with 'B' using regex
. In another words, ['NDVI', NDWI'].
What I know is that using image.select("B.*")
to select bands start with 'B'. But I do not know to reverse the selection.
Add a comment
|