eMapR / LT-GEE

Google Earth Engine implementation of the LandTrendr spectral-temporal segmentation algorithm. For documentation see:
https://emapr.github.io/LT-GEE
Apache License 2.0
198 stars 65 forks source link

question in://------ FUNCTION TO REDUCE COLLECTION TO SINGLE IMAGE PER YEAR BY MEDOID ---- #41

Open binghhhh opened 11 months ago

binghhhh commented 11 months ago

var medoidMosaic = function(inCollection, dummyCollection) { var imageCount = inCollection.toList(1).length();
---toList(1),Is this one set up wrong? With the original code, no matter how many images are in the collection, it's only going to return ‘1’.

And your comment after the code says: this is counting the number of images in the collection. ?????