Hello folks,
I've been working recently on some advanced techniques for doing
color transfer between two images.
And today, I've make a working version of the filter available in the G'MIC plug-in for GIMP.
This filter is able to estimate a non-trivial color transformation so that the colors of your input image looks like the color of a
reference image that you put as the bottom layer.
So, it avoids manually tweaking the color curves to make an image looks like another one.
Here is how the filter looks like, after a filter update :
Attachment:
gmic_transfer0.png [ 361.5 KiB | Viewed 13166 times ]
Here, I have two layers, the bottom is the reference image, i.e. the image of the leaf you see as a thumbnail at the bottom-left on the preview.
The top layer is the image of the purple flower. The filter automatically find the color transformation to make it look as the white flower on the right.
Here are two examples I've done to illustrate what this filter is capable of :
Attachment:
gmic_transfer1.jpg [ 122.53 KiB | Viewed 13166 times ]
Attachment:
gmic_transfer2.jpg [ 125.62 KiB | Viewed 13166 times ]
And I've recorder a quick video to show how this works for real
Note that the algorithm used is definitely not trivial, and this is still an experimental work, which means that the filter can be unstable and eat a big amount of RAM.
You are warned
But so far, it appears to work quite well. Please, if you want to test, post your results here.
I'm interested by any feedback about this particular filter.