Philipp Rudiger
Philipp Rudiger
pre-commit.ci autofix
A new issue about any suggestions for improvement would be good. Titles are definitely a good one.
Yes, you should be able to create nice examples at this point. The only problem now are the hover tooltips.
I'm -1 on adding this anywhere. Taking percentiles of RGB values just does not make sense to me.
Will have to look at it.
Yeah, looking at this dataset the values are not R G B values they are raw reflectance values for different spectra from a satellite. Visualizing them using an RGB element...
https://ecampusontario.pressbooks.pub/remotesensing/chapter/chapter-5-visualization-and-manipulation-of-satellite-images/
Based on my reading of that the transformation is quite simple, you divide the red green blue values 2**8 and then cast to uint8.
Alternatively you can also apply histogram equalization.
Hmm, the division thing doesn't work. ```python from datashader.transfer_functions import eq_hist hv.RGB(eq_hist(da.data)[0].transpose([1, 2, 0])).opts(width=600) ``` 