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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user