Created
August 17, 2016 14:43
-
-
Save azvoleff/af0a103d65ce7bccd700c3815f6920e9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var square = ee.Kernel.square({radius: 70, units:'meters'}); | |
| var img2 = LS217072.addBands(LS217072.select(['B2','B3','B4']) | |
| .multiply(255).byte().entropy(square)); | |
| var addpixid = function(image){ | |
| var ID = image.select(['B1'],['ID']).add(image.select('B4')) | |
| .add(image.select('B2')).add(image.select('B3')); | |
| return image.addBands(ID); | |
| }; | |
| img2=addpixid(img2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment