1
votes

I'm looking for a way to adjust an images brightness and contrast over a gradient. The upper left corner has good quality and it drops towards the bottom right corner. I've been trying with opencv in python.

Is there a way to use for instance opencv's cv2.convertScaleAbs, but the pixel transformation is dependent on the gradient image? Using only cv2.convertScaleAbs does improve the image, but the difference in lightning stays visible.

I hope someone here can put me on the right track :)

Thanks!

The image:

The desired result looks somewhat like this:

The gradient I've been trying to use:

Minimize gradient image, and use as filter to input imageNawin K Sharma
Thanks for commenting @NawinKSharma :) , how would I do this?Juliepvr