/*Author: Afag Rizayeva Date:11-January-2022 Purpose: 1. Merge the separate exported texture layers into one for each of the chosen second-order texture metrics: Angular Second Moment Entropy Homogeneity Usage: Convert the code naming in the code to your corresponding Corona image by pressing Ctrl+F twice and entering "10111040" without quotes in the first line and "your Corona image code" in the second line Create a geometry corresponding to your region Then run the code and excuate "RUN" in the Tasks tab to export the results into GLCM folder in your assets Based on the following code, you should have 6 total processes to execute (two per each second-order texture metric) Parameters: assetId: the directory where you store your separate texture layers exported earlier to be merged by this code geometry: */ // Import two Corona images and build the image geometry var image2 = ee.Image('users/rizayeva/corona_2_5m/DS1011-1040DA_2_5m_JPEG_1band_EPSG32638'); var image3 = ee.Image('users/rizayeva/corona_2_5m/DS1011-1040DF_2_5m_JPEG_1band_EPSG32638'); var geometry10111040 = image2.addBands(image3).geometry(); Map.addLayer(image2, {min: 0, max: 200}, 'DS1011-1040DA', false); Map.addLayer(image3, {min: 0, max: 200}, 'DS1011-1040DF', false); Map.addLayer(geometry10111040, {}, 'geometry10111040', false); // Angular Second Moment for backward-facing camera var imageVisParam = {bands: ['ds10111040da_asm'], min: 0.015071922070983398, max: 0.06105865647962591, gamma: [1]}; var assetId='users/rizayeva/GLCM_ASM_DA_10111040'; // Make a list that contains all the imagery in the asset directory var assetList = ee.List(ee.data.getList({'id':assetId})); // print(assetList); var n=assetList.size().getInfo(); // Generate an imagery collection that contains all the land cover maps on the list var listocollection = function(assetList,size){ var col=ee.ImageCollection([]); for (var i=0; i