Remove reflection

asked 2018-12-15 03:17:39 -0600

Gab gravatar image

updated 2018-12-15 05:26:51 -0600

Hi, I have two images representing the same object, but in the first one the light reflection makes the object having a different color with respect to the original one represented in the second image. I'm working in HSV color space and I thought only S-V component would have been changed, but actually also H component one is changed .How can I remove this effect? I tried to equalize the yellow channel and also to perform auto white balance but still nothing. Maybe I have to modify some camera parameter?

image descriptionimage description

edit retag flag offensive close merge delete

Comments

can you please put your images HERE, not on imgur (links are all broken, too) ?

also, please take a look at the faq , we can help you IF you have an opencv related problem, we can't help with arbitrary photography problems.

berak gravatar imageberak ( 2018-12-15 03:35:10 -0600 )edit
1

I don't know if now images are visible. I tried to upload them in the classic way but I'm not sure it's working. Anyway, I'm processing a video with Opencv and therefore I think the post can be related to it.

Gab gravatar imageGab ( 2018-12-15 03:49:00 -0600 )edit

there is no yellow channel.

berak gravatar imageberak ( 2018-12-15 04:32:43 -0600 )edit

I first converted in YUV color space, then equalize yellow channel, finally convert again in BGR (and then to HSV).

Gab gravatar imageGab ( 2018-12-15 05:23:25 -0600 )edit