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

Analysis Histogram editing/download #112

Open
6 tasks
LTDakin opened this issue Nov 4, 2024 · 2 comments
Open
6 tasks

Analysis Histogram editing/download #112

LTDakin opened this issue Nov 4, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@LTDakin
Copy link
Contributor

LTDakin commented Nov 4, 2024

Allow for edits to the histogram in the analysis page that are available to be downloaded. Images edited in this way will not be stored.

  • add histogram slider to the analysis view
  • get the slider to begin live changes on a temp img
  • once the image is able to be changed with the slider, replace it in the leaflet map, and make sure that leaflet is happy with an imageOverlay that could be being set 100s of times
  • disconnect fetching source catalog from loading a new image, only on first load if there's an image, don't want it to get a source catalog each time the image is updated since it will just be color corrections, base-name check maybe?
  • histogram flag is set that lets the download menu know that instead of using the normal jpeg download, it needs to generate a new jpeg with zmin/zmax values
  • make sure that TIF works and is passed the new zmin/zmax values if they exist
@LTDakin LTDakin added the enhancement New feature or request label Nov 4, 2024
@LTDakin LTDakin changed the title Analysis Histogram editing Feature: Analysis Histogram editing Nov 4, 2024
@LTDakin LTDakin self-assigned this Jan 6, 2025
@jnation3406
Copy link
Contributor

In order to not store an output image with this histogram, we might want to just add a new dropdown item to the list of download as [fits, jpeg, scaled jpeg] where choosing scaled jpeg would open up the histogram edits on that image for you to select and then when you click okay it would send those the to backend generate the jpeg, and send a link to the frontend for you to download just the jpeg.

@LTDakin
Copy link
Contributor Author

LTDakin commented Jan 14, 2025

I'm thinking of changing the behavior of the download menu when a scaling is done. Currently the TIF is generated on the fly. If the user scales an image we could do the same for the jpeg as well. This way the user doesn't have to know the difference between the two options and just downloads their jpeg.

@LTDakin LTDakin changed the title Feature: Analysis Histogram editing Analysis Histogram editing/download Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants