Merge pull request #6433 from schenker:master

This commit is contained in:
Alexander Alekhin 2016-04-19 16:06:35 +00:00
commit 9ebe29a8f1

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