geetools.algorithms.euclideanDistance#

geetools.algorithms.euclideanDistance(image1, image2, bands=None, discard_zeros=False, name='distance')#

Compute the Euclidean distance between two images. The image’s bands.

is the dimension of the arrays.

Parameters:
  • image1 (ee.Image)

  • image2 (ee.Image)

  • bands (list) – the bands that want to be computed

  • discard_zeros (bool) – pixel values equal to zero will not count in the distance computation

  • name (str) – the name of the resulting band

Returns:

a distance image

Return type:

ee.Image