color_transfer
color_transfer copied to clipboard
Enhancement of Reinhard Method
I have identified a simple enhancement of the basic Reinhard method which for some input image pairs can produce images of far better quality.
https://github.com/TJCoding/Enhanced-Image-Colour-Transfer
The implementation is in C++ only for the moment, but an executable is provided for those who wish to try out the new method. Also a web app is now available which permits a comparison of various processing methods. https://www.dustfreesolutions.com/CT/CT.html
I have an adaption of your code which implements the enhanced method in Python. How would you like me to deal with this? I could take a branch and issue a pull request or I could simply post it in my repository in a directory 'Python implementation of Enhanced-Image-Colour-Transfer' and fully credit you for your contribution. Although I have used your code as a template, there is quite a wide divergence from the original so a merge might not be so simple. The choice is yours.
The images below show target image, source image, output image from current processing, output image from enhanced processing.