best strategy to match color between two pictures
I am trying to match the color of two images to show them with a uniform dominant. This has to be done for black and white and color pictures. In the case of black and white, I am trying to alter the grayscale image of the child to give it the same dominant as the picture of the soldier. I would like also to have a strategy that might work in color too, but I am targeting black and white first. Color needs to be done too, but it might become easier after a little tinkering with black and white.
what havve you tried, so far ?
I have tried a few different algorithms, like the one described here, but it works fine with the sample images, while it does havoc on faces. I think working in a YUV color space might be promising, but still have not tried code for this approach
More precisely, I might try histogram matching in luminance channel to match contrast. Maybe it should work for color too.
btw, forget anything with IplImage* in it. and your blogpost runs a shitty video, without asking.
you can try the code in this post