https://github.com/esitohi/ImageStretches.jl (not registered yet, but hopefully Soon™)
This may be more complex than what you need for this package, but we're working on a package that will have a library of different stretch functions available. Right now, we currently just have the generalized hyperbolic stretch, but we plan to add more (including one I don't think anyone has implemented yet, based on the logistic/atanh function).
Our goal is to make these stretches composable and allow them to be saved/applied to different data reproducibly, as well as provide some new types of stretch functions (tailored towards astrophotographers) and provide lookup table functionality for fast previews.
https://github.com/esitohi/ImageStretches.jl (not registered yet, but hopefully Soon™)
This may be more complex than what you need for this package, but we're working on a package that will have a library of different stretch functions available. Right now, we currently just have the generalized hyperbolic stretch, but we plan to add more (including one I don't think anyone has implemented yet, based on the logistic/atanh function).
Our goal is to make these stretches composable and allow them to be saved/applied to different data reproducibly, as well as provide some new types of stretch functions (tailored towards astrophotographers) and provide lookup table functionality for fast previews.