ryanhausen / fitsmap

FitsMap: A Simple, Lightweight Tool For Displaying Interactive Astronomical Image and Catalog Data
MIT License
47 stars 8 forks source link

Adjust image stretch in map #22

Closed ryanhausen closed 1 year ago

ryanhausen commented 3 years ago

Is it possible to change the image stretch interactively in the map?

ryanhausen commented 2 years ago

This might be possible by storing the data using subsampled native range images and then reading,scaling, and turning the data in pngs using this layer:

https://leafletjs.com/reference.html#gridlayer

ryanhausen commented 1 year ago

This would require a major refactor to the image tiling. Its not clear how this should work with both rgb/fits images.