Home
last modified time | relevance | path

Searched refs:maskMat0 (Results 1 – 1 of 1) sorted by relevance

/external/opencv3/modules/core/test/
Dtest_operations.cpp186 Mat maskMat0(3, 3, CV_16S, Scalar(0)); 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()
208 CHECK_DIFF(maskMat0, (maskMat4 | maskMat4) & (maskMat1 | maskMat1)); in TestMat()
209 CHECK_DIFF(maskMat0, (maskMat4 | maskMat4) & maskMat1); in TestMat()
[all …]