I was developing an Image processing library in Javascript and was wondering what is the algorithm for achieving the "cross-process" effect
Sort of like this
I was developing an Image processing library in Javascript and was wondering what is the algorithm for achieving the "cross-process" effect
Sort of like this
Copyright © 2021 Jogjafile Inc.
I based my script on http://photographypla.net/cross-processed-lightroom/
I did the basic channel correction using the a remapping of the colors according to a segmoid (for the red and green channel) and a double exponential for the blue channel. Those function i took from http://www.flong.com/texts/code/shapers_exp/.
The image after the basic correction looks like this:
You can play with this results by the changing the params sFactor1 and sFactor2.
After that i lowered the total contrast and did some local histogram enhancement but i recommend you not to use this part and search for good implementations for highlights shadows and white and black adjustment.
The final result:
The code: