Generating Frequency Image for an ImageCollection classified #1996
Answered
by
giswqs
2021113691
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
giswqs
Apr 29, 2024
Replies: 2 comments 1 reply
-
See https://geemap.org/common/#geemap.common.image_histogram |
Beta Was this translation helpful? Give feedback.
1 reply
-
Use the collection.map(lambda img: img.eq(<CLASS-VALUE>)).sum() |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
giswqs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use the
map
function to create a collection of binary images. Then usesum
to get occurrence.