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

Feature/histogram slider #41

Merged
merged 2 commits into from
Nov 20, 2024
Merged

Feature/histogram slider #41

merged 2 commits into from
Nov 20, 2024

Conversation

jnation3406
Copy link
Contributor

This adds a histogram and bin middles to the raw-image endpoint output to be used by the frontend. I'm doing my weird scaling in here, basically stretching the space between zmin and zmax greatly in the histogram. I tried a few different things, and that is what looked best on the images I've tested with, but we can edit it later if we come up with a better histogram generation schema. I'm also generating with the sampled 2000 pixels, which is faster than with the image or downscaled image but doesn't seem to lose any fidelity to me in my testing.

Copy link
Contributor

@mgdaily mgdaily left a comment

Choose a reason for hiding this comment

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

Nice! Seems reasonable to me

@LTDakin LTDakin merged commit 14a3562 into main Nov 20, 2024
3 checks passed
@LTDakin LTDakin deleted the feature/histogram_slider branch November 20, 2024 00:45
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.

3 participants