I am using below code to adjust image brightness using OpenCv but the Image gets all white or all black. here is my code used in a seek bar progress change. if I slide seek