1 | initial version |
Its pretty simple actually. Check the example
cv::Vec3b a;
a[0] = a[1] = a[2] = 2;
cout << a << endl;
a = 2 * a;
cout << a << endl;
Output:
[2, 2, 2]
[4, 4, 4]
2 | No.2 Revision |
Its pretty simple actually. Check the example
cv::Vec3b cv::Vec3i a;
a[0] = a[1] = a[2] = 2;
cout << a << endl;
a = 2 * a;
cout << a << endl;
Output:
[2, 2, 2]
[4, 4, 4]