Searched refs:maskMat4 (Results 1 – 1 of 1) sorted by relevance
/external/opencv3/modules/core/test/ |
D | test_operations.cpp | 183 Mat maskMat4(3, 3, CV_16S, Scalar(4)); in TestMat() local 188 CHECK_DIFF(maskMat0, maskMat4 & maskMat1); in TestMat() 189 CHECK_DIFF(maskMat0, Scalar(1) & maskMat4); in TestMat() 190 CHECK_DIFF(maskMat0, maskMat4 & Scalar(1)); in TestMat() 193 m = maskMat4.clone(); m &= maskMat1; CHECK_DIFF(maskMat0, m); in TestMat() 194 m = maskMat4.clone(); m &= maskMat1 | maskMat1; CHECK_DIFF(maskMat0, m); in TestMat() 195 m = maskMat4.clone(); m &= (2* maskMat1 - maskMat1); CHECK_DIFF(maskMat0, m); in TestMat() 197 m = maskMat4.clone(); m &= Scalar(1); CHECK_DIFF(maskMat0, m); in TestMat() 198 m = maskMat4.clone(); m |= maskMat1; CHECK_DIFF(maskMat5, m); in TestMat() 199 m = maskMat5.clone(); m ^= maskMat1; CHECK_DIFF(maskMat4, m); in TestMat() [all …]
|