OpenCV Tone Curve progrommatically
问题 I want to realize smth like tone curve. I have predefined set of curves that I should apply to the image. For instance: as I understand on this chart we see dependences of current tone value to new, for example: if we get first dot on the left - every r,g and b that = 0 will be converted to 64 or every value more than 224 will be converted to 0 and ect. so I tried to change every pixel of image to new value for test purpose i've simplified curve: and here the code I have: //init original