ee_extra.Image.basic.minvalue#

ee_extra.Image.basic.minvalue(x, scale=None)[source]#

Get a minimum value.

Returns the minimum value of an ee.Image. The return value will be an approximation if the polygon (x.geometry()) contains too many pixels at the native scale.

Parameters:
  • x (Image) – An ee.Image

  • scale (Optional[float]) – A nominal scale in meters of the projection to work in. Defaults image x$geometry()$projection()$nominalScale().

Return type:

float

Returns:

An float number describing the x (ee.Image) minimum value.

Examples

>>> import ee
>>> import ee_extra
>>> ee.Initialize()
>>> img = ee.Image.random()
>>> minvalue(img)