I\'m trying to set a new color value to some pixel into a cv::Mat image my code is below:
Mat image = img; for(int y=0;y
just use a reference:
Vec3b & color = image.at(y,x); color[2] = 13;