1 | initial version |
To assign, you can use the index to specify blue, green, or red:
// orange pixels
img.at<Vec3b>(i, j)[0] = 0
img.at<Vec3b>(i, j)[1] = 127
img.at<Vec3b>(i, j)[2] = 255
2 | No.2 Revision |
To assign, you can use the index to specify blue, green, or red:
// orange pixels
img.at<Vec3b>(i, j)[0] = 0
0;
img.at<Vec3b>(i, j)[1] = 127
127;
img.at<Vec3b>(i, j)[2] = 255
255;
3 | No.3 Revision |
To assign, assign a colour, you can use the index to specify blue, green, or red:
// orange pixels
img.at<Vec3b>(i, j)[0] = 0;
img.at<Vec3b>(i, j)[1] = 127;
img.at<Vec3b>(i, j)[2] = 255;
4 | No.4 Revision |
To assign a colour, you can use the index to specify blue, green, or red:
// orange pixels
img.at<Vec3b>(i, j)[0] = 0;
img.at<Vec3b>(i, j)[1] = 127;
img.at<Vec3b>(i, j)[2] = 255;
Why do you use a reference?