Commit 3a3e481c4496a4ec9b5264ccc2c1b5d036c8e087

Authored by Simon Gascoin
1 parent 0f20e65a
Exists in master

remove useless cubic resampling to image1

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
displacementPatagonia.js
... ... @@ -13,7 +13,7 @@ var ndsi = ee.Image('COPERNICUS/S2/20160819T142752_20160819T205746_T18GWP')
13 13 var mask = ndsi.gt(0.4).and(image2.select('B4').gt(2000));
14 14  
15 15 // mask out water and rock.
16   -var image1Orig = image1.updateMask(mask).resample('bicubic');
  16 +var image1Orig = image1.updateMask(mask);
17 17 var image2Orig = image2.updateMask(mask);
18 18  
19 19 // Determine the displacement by matching only the red bands.
... ...