This is based off a NASA article, which has an expanded version with more details here:
https://spinoff.nasa.gov/Manipulating_Satellite_Photos_Now_R...
Updated from https://gizmodo.com/this-nasa-color-trick-was-meant-for-mars..., thanks!
Way better, thank you
The 1996 paper mentioned in the NASA article: https://dstretch.com/DecorrelationStretch.pdf