Skip to content

Plot histogram with pixel values of an ee.Image using matplotlib #213

Answered by giswqs
ErikSeras asked this question in Q&A
Discussion options

You must be logged in to vote

You can use ee_to_numpy() to extract a small region of pixels as numpy array. For a large image, you can export it to your computer and then use GDAL or other packages to open it as a numpy array.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ErikSeras
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants