I input 2 images with black background and white object(with light and shading). The result shows wrong color.
input


output

I have tried convert the encoding of images( RGB, BGR, uint8, uint16) and the format(.png, .jpg). But those did not work.
So what do you think may be the reason?
Thanks