Skip to content

Commit 67d9609

Browse files
authored
Fixed buildbot errors
1 parent 4bb01cc commit 67d9609

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/ximgproc/src/globalmatting.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,12 +521,12 @@ void GlobalMatting::globalMatting(cv::InputArray _image, cv::InputArray _trimap,
521521
if (image.empty())
522522
CV_Error(CV_StsBadArg, "image is empty");
523523

524-
CV_CheckTypeEQ(image,CV_8UC3,"image mush have CV_8UC3 type");
524+
CV_CheckTypeEQ(image.type(),CV_8UC3,"image mush have CV_8UC3 type");
525525

526526
if (trimap.empty())
527527
CV_Error(CV_StsBadArg, "trimap is empty");
528528

529-
CV_CheckTypeEQ(trimap,CV_8UC1,"trimap mush have CV_8UC1 type");
529+
CV_CheckTypeEQ(trimap.type(),CV_8UC1,"trimap mush have CV_8UC1 type");
530530

531531
if (image.size() != trimap.size())
532532
CV_Error(CV_StsBadArg, "image and trimap mush have same size");

0 commit comments

Comments
 (0)