Home > Software engineering >  How to change the value of one RGB channel in Python with cv2?
How to change the value of one RGB channel in Python with cv2?

Time:09-22

So I am trying to change the values of one RGB channel in cv2 by splitting it by pixel and then adding or substracting a value. This would make a pixel "greener" or "reder" in theory. But instead it is not working. Do you know what is the problem? enter image description here

No Overflow Protection

enter image description here

  • Related