This commit is contained in:
Thomas Schenker 2016-04-19 15:09:27 +02:00
parent 289b6ff2a5
commit 76ced14b3b

View File

@ -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" );
}
}