Interesting find Arx1meD. Looking around I found another implementation in Python:
The color transformations there are consistent with what is used in the pdf.
Edit:
I found this page:
Paralenz color correction algorithm and it produces a decent looking result for the example image.
The
GitHub page describes the process:
Quote:
The algorithm
Calculate the average color for image.
Hueshift the colors into the red channel until a minimum red average value of 60.
Create RGB histogram with new red color.
Find low threshold level and high threshold level.
Normalize array so threshold level is equal to 0 and threshold high is equal to 255.
Create color filter matrix based on the new values.
|
Maybe something that can already be done in AviSynth?