This code is made using python and modules like numpy and opencv-python pip install opencv-python pip install pillow
here the image is is converted into numpy array and treated according to the demands this code does is reduces contrast and adds brightess speaking in terms
This is a 3-Channel LUT Table. a sample base lut is specified there int(i * 0.8)(reduces contrast) + 20( adds brightness)