How to subtract a constant from a 3 channel mat ?
I have a Mat CV_8UC3. I want to let the new value be
Mat = 255 - Mat;
but the results are blue. How do let every element be 255 - element ?