pull/6433/head
Thomas Schenker 9 years ago
parent 289b6ff2a5
commit 76ced14b3b
  1. 2
      modules/imgproc/src/grabcut.cpp

@ -333,7 +333,7 @@ static void checkMask( const Mat& img, const Mat& mask )
{
uchar val = mask.at<uchar>(y,x);
if( val!=GC_BGD && val!=GC_FGD && val!=GC_PR_BGD && val!=GC_PR_FGD )
CV_Error( CV_StsBadArg, "mask element value must be equel"
CV_Error( CV_StsBadArg, "mask element value must be equal "
"GC_BGD or GC_FGD or GC_PR_BGD or GC_PR_FGD" );
}
}

Loading…
Cancel
Save