Skip to content
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

Complex sine example #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OverLordGoldDragon
Copy link

No description provided.

@OverLordGoldDragon
Copy link
Author

I really like the uniformity with const, but it doesn't handle amplitude modulation well. Comparison vs CEC_C1, which I think handles it better with appropriately chosen alpha, below.

My current heuristic is alpha = abs(x)**(2/3), though effectiveness varies with phase - higher frequencies are handled better since more "alpha-resistant" colors occupy greater portion of image.

cmap_vs

@OverLordGoldDragon
Copy link
Author

OverLordGoldDragon commented Oct 21, 2023

Here's an approach (comparison included) that I think handles amplitude pretty well, though not so much phase. Python version

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.

None yet

1 participant