1 | initial version |
just add a border:
Mat src = ...
Mat dst;
copyMakeBorder(src, dst ,0, 20, 50, 0, BORDER_CONSTANT, Scalar::all(255));
2 | No.2 Revision |
just add a border:
Mat src = ...
Mat dst;
copyMakeBorder(src, dst ,0, 20, 10, 50, 0, BORDER_CONSTANT, Scalar::all(255));