Skip to content

revive ee.Image.histogramMatch #451

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

revive ee.Image.histogramMatch #451

wants to merge 3 commits into from

Conversation

fitoprincipe
Copy link
Member

@fitoprincipe fitoprincipe commented Apr 20, 2025

Easter egg 🥚

The title is self-exlenatory.

I created this PR in pytest-gee to be able to show the limit between the "adjusted" image and the "target" image.

@fitoprincipe fitoprincipe requested a review from 12rambau April 20, 2025 19:21
@@ -1246,17 +1246,34 @@ def tasseledCap(self) -> ee.Image:
def matchHistogram(
self,
target: ee.Image,
bands: dict[str, str],
bands: Dict[str, str],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the Python version on your end is too old, the dict version should be working on all the Python version after 3.10 (included)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants