1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Check for empty Mat in compare, operator= and RNG::fill, fixed related tests

This commit is contained in:
Maksim Shabunin
2018-07-17 17:50:50 +03:00
parent 1da46fe6fb
commit c473718bc2
5 changed files with 8 additions and 4 deletions
-1
View File
@@ -89,7 +89,6 @@ void CV_GrabcutTest::run( int /* start_from */)
Mat exp_bgdModel, exp_fgdModel;
Mat mask;
mask = Scalar(0);
Mat bgdModel, fgdModel;
grabCut( img, mask, rect, bgdModel, fgdModel, 0, GC_INIT_WITH_RECT );
bgdModel.copyTo(exp_bgdModel);