Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Swapping hue components? Seems like a strange way to adapt a light condition, I don't know if it goes that easy. Imho you need to get the correct light direction and light parameters, i.e. you need to model the light (e.g. via a Phong-model) and get all parameters for it from your source image - this is an optimization problem. Then you need to adapt these light parameters to your destination image, i.e. unlight it and relight it with your estimated parameters.