distance#
- geetools.ee_image.ImageAccessor.distance(other)#
Compute the sum of all spectral distance between two images.
- Parameters:
other (ee.image) – The image to compute the distance to.
- Returns:
and Image with the euclidean distance between the two images for each band.
- Return type:
Examples
import ee, geetools ee.Initialize() image = ee.Image('COPERNICUS/S2_SR/20190828T151811_20190828T151809_T18GYT') other = ee.Image('COPERNICUS/S2_SR/20190828T151811_20190828T151809_T18GYT') image = image.distance(other)