I am trying to reproduce in Python the processing capabilities of the legacy (webGl) version of the sandbox, as they give the desired output. The processing pipeline is composed of a red channel normalisation (R/G) + NDVI preset (in color mode).
I managed to get a 100% identical picture after the R/G step, but the NDVI one is extremely bizarre. I tried applying the general formula and other variants for color/mono but to no avail. I also tried to follow all the steps detailed in the infragram.js from the same site but i only managed to get this:
The legacy sandbox gives me a more detailed, softer output:
Could someone enlighten me about the formula behind that specific version of the sandbox? Thanks.