geetools.bitreader.BitReader.encodeBand#

geetools.bitreader.BitReader.encodeBand(category, mask, name=None)#

Make an image in which all pixels have the value for the given.

category.

Parameters:
  • category (str) – the category to encode

  • mask (ee.Image) – the mask that indicates which pixels encode

  • name (str) – name of the resulting band. If None it’ll be the same as ‘mask’

Returns:

A one band image

Return type:

ee.Image