CV_8U 159 apps/traincascade/HOGfeatures.cpp CV_Assert( img.type() == CV_8U || img.type() == CV_8UC3 ); CV_8U 165 apps/traincascade/HOGfeatures.cpp Mat qangle(gradSize, CV_8U); CV_8U 1469 apps/traincascade/boost.cpp subsample_mask = cvCreateMat( 1, n, CV_8U ); CV_8U 1184 apps/traincascade/old_ml_boost.cpp CV_CALL( subsample_mask = cvCreateMat( 1, n, CV_8U )); CV_8U 1278 apps/traincascade/old_ml_boost.cpp _mask = cvMat( 1, data->var_count, CV_8U ); CV_8U 1495 apps/traincascade/old_ml_boost.cpp mask = cvCreateMat( 1, data->var_count, CV_8U ); CV_8U 216 apps/traincascade/old_ml_data.cpp var_types = cvCreateMat( 1, cols_count, CV_8U ); CV_8U 248 apps/traincascade/old_ml_data.cpp missing = cvCreateMat( seq->total, cols_count, CV_8U ); CV_8U 194 modules/calib3d/misc/java/test/Calib3dTest.java Mat img = new Mat(size, size, CvType.CV_8U); CV_8U 215 modules/calib3d/misc/java/test/Calib3dTest.java Mat img = new Mat(size, size, CvType.CV_8U); CV_8U 264 modules/calib3d/src/calibinit.cpp if( CV_MAT_DEPTH( img->type ) != CV_8U || CV_MAT_CN( img->type ) == 2 ) CV_8U 1818 modules/calib3d/src/calibinit.cpp case CV_8U: CV_8U 91 modules/calib3d/src/compat_ptsetreg.cpp mask.reset(cvCreateMat( nparams, 1, CV_8U )); CV_8U 549 modules/calib3d/src/five-point.cpp _mask.create(mask1.size(), CV_8U); CV_8U 283 modules/calib3d/src/fundam.cpp tempMask = Mat(npoints, 1, CV_8U); CV_8U 379 modules/calib3d/src/fundam.cpp tempMask = Mat::ones(npoints, 1, CV_8U); CV_8U 764 modules/calib3d/src/fundam.cpp _mask.create(npoints, 1, CV_8U, -1, true); CV_8U 89 modules/calib3d/src/ptsetreg.cpp mask.create(err.size(), CV_8U); CV_8U 91 modules/calib3d/src/ptsetreg.cpp CV_Assert( err.isContinuous() && err.type() == CV_32F && mask.isContinuous() && mask.type() == CV_8U); CV_8U 188 modules/calib3d/src/ptsetreg.cpp _mask.create(count, 1, CV_8U, -1, true); CV_8U 194 modules/calib3d/src/ptsetreg.cpp bestMask.create(count, 1, CV_8U); CV_8U 300 modules/calib3d/src/ptsetreg.cpp _mask.create(count, 1, CV_8U, -1, true); CV_8U 1098 modules/calib3d/src/stereobm.cpp preFilteredImg0.create( left0.size(), CV_8U ); CV_8U 1099 modules/calib3d/src/stereobm.cpp preFilteredImg1.create( left0.size(), CV_8U ); CV_8U 1150 modules/calib3d/src/stereobm.cpp slidingSumBuf.create( 1, bufSize, CV_8U ); CV_8U 388 modules/calib3d/src/stereosgbm.cpp buffer.create(1, (int)totalBufSize, CV_8U); CV_8U 855 modules/calib3d/src/stereosgbm.cpp left.depth() == CV_8U ); CV_8U 984 modules/calib3d/src/stereosgbm.cpp _buf.create(1, (int)bufSize, CV_8U); CV_8U 1353 modules/calib3d/test/test_cameracalibration.cpp Mat temp(imgsize, CV_8U), utemp, map1, map2; CV_8U 99 modules/calib3d/test/test_cameracalibration_badarg.cpp chessBoard = cbg(Mat(imgSize, CV_8U, Scalar(0)), camMat, distCoeffs0, exp_corn); CV_8U 103 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat zeros(1, sizeof(CvMat), CV_8U, Scalar(0)); CV_8U 350 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat zeros(1, sizeof(CvMat), CV_8U, Scalar(0)); CV_8U 379 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat bad_src_cpp1(3, 1, CV_8U); CvMat bad_src_c1 = bad_src_cpp1; CV_8U 380 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat bad_dst_cpp1(3, 1, CV_8U); CvMat bad_dst_c1 = bad_dst_cpp1; CV_8U 381 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat bad_jac_cpp1(3, 1, CV_8U); CvMat bad_jac_c1 = bad_jac_cpp1; CV_8U 56 modules/calib3d/test/test_chesscorners.cpp Mat rgb( gray.size(), CV_8U); CV_8U 104 modules/calib3d/test/test_chesscorners_badarg.cpp Mat bg(800, 600, CV_8U, Scalar(0)); CV_8U 116 modules/core/include/opencv2/core/cvdef.h #define CV_8UC1 CV_MAKETYPE(CV_8U,1) CV_8U 117 modules/core/include/opencv2/core/cvdef.h #define CV_8UC2 CV_MAKETYPE(CV_8U,2) CV_8U 118 modules/core/include/opencv2/core/cvdef.h #define CV_8UC3 CV_MAKETYPE(CV_8U,3) CV_8U 119 modules/core/include/opencv2/core/cvdef.h #define CV_8UC4 CV_MAKETYPE(CV_8U,4) CV_8U 120 modules/core/include/opencv2/core/cvdef.h #define CV_8UC(n) CV_MAKETYPE(CV_8U,(n)) CV_8U 72 modules/core/include/opencv2/core/ippasync.hpp int hppType = depth == CV_8U ? HPP_DATA_TYPE_8U : CV_8U 85 modules/core/include/opencv2/core/ippasync.hpp int cvType = hppType == HPP_DATA_TYPE_8U ? CV_8U : CV_8U 268 modules/core/include/opencv2/core/mat.hpp DEPTH_MASK_8U = 1 << CV_8U, CV_8U 132 modules/core/include/opencv2/core/private.cuda.hpp template<> struct NPPTypeTraits<CV_8U> { typedef Npp8u npp_type; }; CV_8U 225 modules/core/include/opencv2/core/private.hpp return depth == CV_8U ? ipp8u : CV_8U 129 modules/core/include/opencv2/core/traits.hpp depth = CV_8U, CV_8U 144 modules/core/include/opencv2/core/traits.hpp depth = CV_8U, CV_8U 280 modules/core/include/opencv2/core/traits.hpp template<> class TypeDepth<CV_8U> CV_8U 282 modules/core/include/opencv2/core/traits.hpp enum { depth = CV_8U }; CV_8U 501 modules/core/include/opencv2/core/types_c.h ((((CV_8U)+(CV_16U<<4)+(CV_32F<<8)+(CV_64F<<16)+(CV_8S<<20)+ \ CV_8U 7 modules/core/misc/java/src/java/core+CvType.java CV_8U = 0, CV_8S = 1, CV_8U 39 modules/core/misc/java/src/java/core+CvType.java return makeType(CV_8U, ch); CV_8U 80 modules/core/misc/java/src/java/core+CvType.java case CV_8U: CV_8U 100 modules/core/misc/java/src/java/core+CvType.java case CV_8U: CV_8U 997 modules/core/misc/java/src/java/core+Mat.java if (CvType.depth(t) == CvType.CV_8U || CvType.depth(t) == CvType.CV_8S) { CV_8U 1012 modules/core/misc/java/src/java/core+Mat.java if (CvType.depth(t) == CvType.CV_8U || CvType.depth(t) == CvType.CV_8S) { CV_8U 8 modules/core/misc/java/src/java/core+MatOfByte.java private static final int _depth = CvType.CV_8U; CV_8U 471 modules/core/misc/java/test/CoreTest.java Mat gray0 = Mat.zeros(matSize, matSize, CvType.CV_8U); CV_8U 490 modules/core/misc/java/test/CoreTest.java assertMatEqual(new Mat(gray0.size(), CvType.CV_8U) { CV_8U 657 modules/core/misc/java/test/CoreTest.java List<Mat> mats = Arrays.asList(Mat.eye(3, 3, CvType.CV_8U), Mat.zeros(3, 2, CvType.CV_8U)); CV_8U 661 modules/core/misc/java/test/CoreTest.java assertMatEqual(Mat.eye(3, 5, CvType.CV_8U), dst); CV_8U 1058 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(4, 4, CvType.CV_8U) { CV_8U 1066 modules/core/misc/java/test/CoreTest.java Mat mask = new Mat(4, 4, CvType.CV_8U, new Scalar(0)); CV_8U 1093 modules/core/misc/java/test/CoreTest.java assertMatEqual(getMat(CvType.CV_8U, 40), dst.get(0)); CV_8U 1094 modules/core/misc/java/test/CoreTest.java assertMatEqual(getMat(CvType.CV_8U, 40), dst.get(1)); CV_8U 1095 modules/core/misc/java/test/CoreTest.java assertMatEqual(getMat(CvType.CV_8U, 30), dst.get(2)); CV_8U 1096 modules/core/misc/java/test/CoreTest.java assertMatEqual(getMat(CvType.CV_8U, 10), dst.get(3)); CV_8U 1234 modules/core/misc/java/test/CoreTest.java Mat mask = new Mat(1, 5, CvType.CV_8U) { CV_8U 1886 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(4, 4, CvType.CV_8U, new Scalar(10)); CV_8U 1965 modules/core/misc/java/test/CoreTest.java Mat destination = getMat(CvType.CV_8U, 0); CV_8U 1974 modules/core/misc/java/test/CoreTest.java List<Mat> mats = Arrays.asList(Mat.eye(3, 3, CvType.CV_8U), Mat.zeros(2, 3, CvType.CV_8U)); CV_8U 1978 modules/core/misc/java/test/CoreTest.java assertMatEqual(Mat.eye(5, 3, CvType.CV_8U), dst); CV_8U 9 modules/core/misc/java/test/CvTypeTest.java assertEquals(CvType.CV_8UC4, CvType.makeType(CvType.CV_8U, 4)); CV_8U 62 modules/core/misc/java/test/MatTest.java assertEquals(2, new Mat(2, 10, CvType.CV_8U).checkVector(10)); CV_8U 68 modules/core/misc/java/test/MatTest.java assertTrue(0 > new Mat(10, 1, CvType.CV_8U).checkVector(10)); CV_8U 69 modules/core/misc/java/test/MatTest.java assertTrue(0 > new Mat(10, 20, CvType.CV_8U).checkVector(10)); CV_8U 73 modules/core/misc/java/test/MatTest.java assertEquals(2, new Mat(2, 10, CvType.CV_8U).checkVector(10, CvType.CV_8U)); CV_8U 74 modules/core/misc/java/test/MatTest.java assertEquals(2, new Mat(1, 2, CvType.CV_8UC(10)).checkVector(10, CvType.CV_8U)); CV_8U 75 modules/core/misc/java/test/MatTest.java assertEquals(2, new Mat(2, 1, CvType.CV_8UC(10)).checkVector(10, CvType.CV_8U)); CV_8U 76 modules/core/misc/java/test/MatTest.java assertEquals(10, new Mat(1, 10, CvType.CV_8UC2).checkVector(2, CvType.CV_8U)); CV_8U 78 modules/core/misc/java/test/MatTest.java assertTrue(0 > new Mat(2, 10, CvType.CV_8U).checkVector(10, CvType.CV_8S)); CV_8U 88 modules/core/misc/java/test/MatTest.java assertEquals(5, mm.checkVector(10, CvType.CV_8U, true)); CV_8U 89 modules/core/misc/java/test/MatTest.java assertEquals(5, mm.checkVector(10, CvType.CV_8U, false)); CV_8U 90 modules/core/misc/java/test/MatTest.java assertEquals(2, roi.checkVector(10, CvType.CV_8U, false)); CV_8U 91 modules/core/misc/java/test/MatTest.java assertTrue(0 > roi.checkVector(10, CvType.CV_8U, true)); CV_8U 141 modules/core/misc/java/test/MatTest.java gray0_32f.convertTo(dst, CvType.CV_8U, 2.0, 4.0); CV_8U 143 modules/core/misc/java/test/MatTest.java truth = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(4)); CV_8U 153 modules/core/misc/java/test/MatTest.java Mat src = new Mat(4, 4, CvType.CV_8U, new Scalar(5)); CV_8U 158 modules/core/misc/java/test/MatTest.java truth = new Mat(4, 4, CvType.CV_8U) { CV_8U 201 modules/core/misc/java/test/MatTest.java assertEquals(CvType.CV_8U, gray0.depth()); CV_8U 527 modules/core/misc/java/test/MatTest.java dst = new Mat(gray127.rows(), gray127.cols(), CvType.CV_8U, new Scalar(127)); CV_8U 537 modules/core/misc/java/test/MatTest.java Mat gray = new Mat(1, 1, CvType.CV_8U); CV_8U 540 modules/core/misc/java/test/MatTest.java Mat rgb = new Mat(1, 1, CvType.CV_8U); CV_8U 545 modules/core/misc/java/test/MatTest.java Mat m1 = new Mat(gray127.rows(), gray127.cols(), CvType.CV_8U, new Scalar(127)); CV_8U 596 modules/core/misc/java/test/MatTest.java dst = new Mat(new Size(10, 10), CvType.CV_8U); CV_8U 804 modules/core/misc/java/test/MatTest.java Mat src = new Mat(4, 4, CvType.CV_8U, new Scalar(0)); CV_8U 812 modules/core/misc/java/test/MatTest.java Mat src = new Mat(5, 7, CvType.CV_8U, new Scalar(0)); CV_8U 843 modules/core/misc/java/test/MatTest.java Mat vals = new Mat(7, 1, CvType.CV_8U) { CV_8U 861 modules/core/misc/java/test/MatTest.java Mat vals = new Mat(7, 1, CvType.CV_8U) { CV_8U 867 modules/core/misc/java/test/MatTest.java Mat mask = new Mat(2, 1, CvType.CV_8U) { CV_8U 905 modules/core/misc/java/test/MatTest.java assertEquals(matSize * CvType.channels(CvType.CV_8U), gray0.step1()); CV_8U 59 modules/core/perf/cuda/perf_gpumat.cpp Values(CV_8U, CV_16U, CV_32F, CV_64F), CV_8U 91 modules/core/perf/cuda/perf_gpumat.cpp Values(CV_8U, CV_16U, CV_32F, CV_64F), CV_8U 128 modules/core/perf/cuda/perf_gpumat.cpp Values(CV_8U, CV_16U, CV_32F, CV_64F), CV_8U 166 modules/core/perf/cuda/perf_gpumat.cpp Values(CV_8U, CV_16U, CV_32F, CV_64F), CV_8U 167 modules/core/perf/cuda/perf_gpumat.cpp Values(CV_8U, CV_16U, CV_32F, CV_64F))) CV_8U 61 modules/core/perf/opencl/perf_channels.cpp ::testing::Combine(OCL_TEST_SIZES, OCL_PERF_ENUM(CV_8U, CV_32F), Values(2, 3))) CV_8U 89 modules/core/perf/opencl/perf_channels.cpp ::testing::Combine(OCL_TEST_SIZES, OCL_PERF_ENUM(CV_8U, CV_32F), Values(2, 3))) CV_8U 132 modules/core/perf/opencl/perf_channels.cpp OCL_PERF_ENUM(CV_8U, CV_32F))) CV_8U 163 modules/core/perf/opencl/perf_channels.cpp OCL_PERF_ENUM(CV_8U, CV_32F))) CV_8U 185 modules/core/perf/opencl/perf_channels.cpp OCL_PERF_ENUM(CV_8U, CV_32F))) CV_8U 69 modules/core/perf/opencl/perf_matop.cpp const int type = get<1>(params), ddepth = CV_MAT_DEPTH(type) == CV_8U ? CV_32F : CV_8U, CV_8U 16 modules/core/perf/perf_convertTo.cpp testing::Values(CV_8U, CV_8S, CV_16U, CV_16S, CV_32S, CV_32F, CV_64F), CV_8U 17 modules/core/perf/perf_convertTo.cpp testing::Values(CV_8U, CV_8S, CV_16U, CV_16S, CV_32S, CV_32F, CV_64F), CV_8U 16 modules/core/perf/perf_merge.cpp testing::Values(CV_8U, CV_16S, CV_32S, CV_32F, CV_64F), CV_8U 22 modules/core/perf/perf_minmaxloc.cpp if (matType == CV_8U) CV_8U 49 modules/core/perf/perf_norm.cpp Mat mask = Mat::ones(sz, CV_8U); CV_8U 96 modules/core/perf/perf_norm.cpp Mat mask = Mat::ones(sz, CV_8U); CV_8U 146 modules/core/perf/perf_norm.cpp Mat mask = Mat::ones(sz, CV_8U); CV_8U 16 modules/core/perf/perf_split.cpp testing::Values(CV_8U, CV_16S, CV_32F, CV_64F), CV_8U 45 modules/core/perf/perf_stat.cpp Mat mask = Mat::ones(src.size(), CV_8U); CV_8U 78 modules/core/perf/perf_stat.cpp Mat mask = Mat::ones(sz, CV_8U); CV_8U 1589 modules/core/src/arithm.cpp CV_Assert( (mtype == CV_8U || mtype == CV_8S) && _mask.sameSize(*psrc1)); CV_8U 1796 modules/core/src/arithm.cpp minval >= 0 && maxval <= (int)UCHAR_MAX ? CV_8U : CV_8U 1846 modules/core/src/arithm.cpp ocl::convertTypeStr(CV_8U, ddepth, kercn, cvtstr[3]) : "noconvert"); CV_8U 2267 modules/core/src/arithm.cpp src1.depth() == CV_8U && src2.type() == src1.type() && CV_8U 4917 modules/core/src/arithm.cpp ocl::convertTypeStr(depth1, CV_8U, kercn, cvt), CV_8U 4919 modules/core/src/arithm.cpp ocl::typeToStr(depth1), ocl::typeToStr(CV_8U), CV_8U 5976 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && dst.type() == CV_8U ); CV_8U 5986 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && dst.type() == CV_8U ); CV_8U 5996 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && dst.type() == CV_8U ); CV_8U 6006 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && dst.type() == CV_8U ); CV_8U 1547 modules/core/src/array.cpp case CV_8U: CV_8U 1586 modules/core/src/array.cpp case CV_8U: CV_8U 1613 modules/core/src/array.cpp case CV_8U: CV_8U 5512 modules/core/src/convert.cpp ocl::convertTypeStr(wdepth, CV_8U, kercn, cvt[1]), CV_8U 5917 modules/core/src/convert.cpp (depth == CV_8U || depth == CV_8S) ); CV_8U 367 modules/core/src/copy.cpp CV_Assert( mask.depth() == CV_8U && (mcn == 1 || mcn == cn) ); CV_8U 473 modules/core/src/copy.cpp CV_Assert( mask.empty() || (mask.type() == CV_8U && size == mask.size) ); CV_8U 1533 modules/core/src/mathfuncs.cpp template<> struct mat_type_assotiations<CV_8U> CV_8U 1604 modules/core/src/mathfuncs.cpp &checkIntegerRange<CV_8U>, CV_8U 2820 modules/core/src/matmul.cpp if(stype == CV_8U && dtype == CV_32F) CV_8U 2827 modules/core/src/matmul.cpp else if(stype == CV_8U && dtype == CV_64F) CV_8U 1186 modules/core/src/matop.cpp return CV_8U; CV_8U 1396 modules/core/src/matop.cpp Mat temp, &dst = _type == -1 || _type == CV_8U ? m : temp; CV_8U 86 modules/core/src/matrix.cpp Mat src(dims, isz, CV_8U, srcptr, srcstep); CV_8U 87 modules/core/src/matrix.cpp Mat dst(dims, isz, CV_8U, dstptr, dststep); CV_8U 117 modules/core/src/matrix.cpp Mat src(dims, isz, CV_8U, (void*)srcptr, srcstep); CV_8U 118 modules/core/src/matrix.cpp Mat dst(dims, isz, CV_8U, dstptr, dststep); CV_8U 150 modules/core/src/matrix.cpp Mat src(dims, isz, CV_8U, srcptr, srcstep); CV_8U 151 modules/core/src/matrix.cpp Mat dst(dims, isz, CV_8U, dstptr, dststep); CV_8U 1042 modules/core/src/matrix.cpp case CV_8U: CV_8U 1160 modules/core/src/matrix.cpp int t = CV_8U; CV_8U 3409 modules/core/src/matrix.cpp sdepth == CV_8U ? (cv::ReduceFunc)cv::reduceC_<uchar, double, cv::OpAdd<double> > : CV_8U 3665 modules/core/src/matrix.cpp if(sdepth == CV_8U && ddepth == CV_32S) CV_8U 3667 modules/core/src/matrix.cpp else if(sdepth == CV_8U && ddepth == CV_32F) CV_8U 3669 modules/core/src/matrix.cpp else if(sdepth == CV_8U && ddepth == CV_64F) CV_8U 3688 modules/core/src/matrix.cpp if(sdepth == CV_8U && ddepth == CV_8U) CV_8U 3701 modules/core/src/matrix.cpp if(sdepth == CV_8U && ddepth == CV_8U) CV_8U 3717 modules/core/src/matrix.cpp if(sdepth == CV_8U && ddepth == CV_32S) CV_8U 3719 modules/core/src/matrix.cpp else if(sdepth == CV_8U && ddepth == CV_32F) CV_8U 3721 modules/core/src/matrix.cpp else if(sdepth == CV_8U && ddepth == CV_64F) CV_8U 3740 modules/core/src/matrix.cpp if(sdepth == CV_8U && ddepth == CV_8U) CV_8U 3753 modules/core/src/matrix.cpp if(sdepth == CV_8U && ddepth == CV_8U) CV_8U 3791 modules/core/src/matrix.cpp return depth == CV_8U ? (IppSortFunc)ippsSortAscend_8u_I : CV_8U 3798 modules/core/src/matrix.cpp return depth == CV_8U ? (IppSortFunc)ippsSortDescend_8u_I : CV_8U 3810 modules/core/src/matrix.cpp depth == CV_8U || depth == CV_8S ? (IppFlipFunc)ippsFlip_8u_I : CV_8U 3873 modules/core/src/matrix.cpp if (depth == CV_8U) CV_8U 3925 modules/core/src/matrix.cpp return depth == CV_8U ? (IppSortIndexFunc)ippsSortIndexAscend_8u_I : CV_8U 3932 modules/core/src/matrix.cpp return depth == CV_8U ? (IppSortIndexFunc)ippsSortIndexDescend_8u_I : CV_8U 4821 modules/core/src/ocl.cpp Mat src(dims, isz, CV_8U, srcptr, srcstep); CV_8U 4822 modules/core/src/ocl.cpp Mat dst(dims, isz, CV_8U, dstptr, dststep); CV_8U 4933 modules/core/src/ocl.cpp Mat src(dims, isz, CV_8U, (void*)srcptr, srcstep); CV_8U 4934 modules/core/src/ocl.cpp Mat dst(dims, isz, CV_8U, dstptr, dststep); CV_8U 5066 modules/core/src/ocl.cpp Mat m_src(dims, isz, CV_8U, srcptr, srcstep); CV_8U 5074 modules/core/src/ocl.cpp Mat m_dst(dims, isz, CV_8U, dstptr, dststep); CV_8U 5356 modules/core/src/ocl.cpp (ddepth == CV_16U && sdepth == CV_8U)) CV_8U 5458 modules/core/src/ocl.cpp vectorWidths[CV_8U] = vectorWidths[CV_8S] = 4; CV_8U 111 modules/core/src/out.cpp case CV_8U: valueToStr = &FormattedImpl::valueToStr8u; break; CV_8U 3136 modules/core/src/persistence.cpp case CV_8U: CV_8U 3258 modules/core/src/persistence.cpp case CV_8U: CV_8U 3302 modules/core/src/persistence.cpp case CV_8U: CV_8U 546 modules/core/src/rand.cpp a = std::max(a, depth == CV_8U || depth == CV_16U ? 0. : CV_8U 548 modules/core/src/rand.cpp b = std::min(b, depth == CV_8U ? 256. : depth == CV_16U ? 65536. : CV_8U 1093 modules/core/src/stat.cpp depth <= CV_32S && ddepth == CV_32S ? ocl::convertTypeStr(CV_8U, ddepth, convert_cn, cvt[1]) : "noconvert"); CV_8U 1325 modules/core/src/stat.cpp if (depth == CV_8U) CV_8U 1357 modules/core/src/stat.cpp CV_Assert( mask.empty() || mask.type() == CV_8U ); CV_8U 2067 modules/core/src/stat.cpp CV_Assert( (cn == 1 && (!haveMask || _mask.type() == CV_8U)) || CV_8U 2118 modules/core/src/stat.cpp depth <= CV_32S && ddepth == CV_32S ? ocl::convertTypeStr(CV_8U, ddepth, kercn, cvt[1]) : "noconvert"); CV_8U 2191 modules/core/src/stat.cpp CV_Assert( (cn == 1 && (_mask.empty() || _mask.type() == CV_8U)) || CV_8U 2255 modules/core/src/stat.cpp depth == CV_8U ? (ippiMinMaxIndxFuncC1)ippiMinMaxIndx_8u_C1R : CV_8U 2587 modules/core/src/stat.cpp std::max(depth, CV_32S), depth != CV_8U && depth != CV_16U)) CV_8U 2593 modules/core/src/stat.cpp bool unstype = depth == CV_8U || depth == CV_16U; CV_8U 2621 modules/core/src/stat.cpp ((normType == NORM_HAMMING || normType == NORM_HAMMING2) && _src.type() == CV_8U) ); CV_8U 2833 modules/core/src/stat.cpp if( depth == CV_8U ) CV_8U 2850 modules/core/src/stat.cpp CV_Assert( mask.empty() || mask.type() == CV_8U ); CV_8U 3015 modules/core/src/stat.cpp ((normType == NORM_HAMMING || normType == NORM_HAMMING2) && src1.type() == CV_8U) ); CV_8U 3123 modules/core/src/stat.cpp ((normType == NORM_HAMMING || normType == NORM_HAMMING2) && src1.type() == CV_8U) ); CV_8U 3333 modules/core/src/stat.cpp CV_Assert( mask.empty() || mask.type() == CV_8U ); CV_8U 3655 modules/core/src/stat.cpp (type == CV_32F || type == CV_8U)); CV_8U 3662 modules/core/src/stat.cpp CV_Assert( (type == CV_8U && dtype == CV_32S) || dtype == CV_32F); CV_8U 3722 modules/core/src/stat.cpp if( type == CV_8U ) CV_8U 3787 modules/core/src/stat.cpp CV_Assert( _src1.depth() == CV_8U ); CV_8U 672 modules/core/src/umatrix.cpp CV_Assert( mdepth == CV_8U && (mcn == 1 || mcn == cn) ); CV_8U 1580 modules/core/test/ocl/test_arithm.cpp const int dtype = CV_MAKE_TYPE(CV_8U, cn); CV_8U 1812 modules/core/test/ocl/test_arithm.cpp OCL_INSTANTIATE_TEST_CASE_P(Arithm, Lut, Combine(::testing::Values(CV_8U, CV_8S), OCL_ALL_DEPTHS, OCL_ALL_CHANNELS, Bool(), Bool())); CV_8U 1849 modules/core/test/ocl/test_arithm.cpp OCL_INSTANTIATE_TEST_CASE_P(Arithm, Psnr, Combine(::testing::Values((MatDepth)CV_8U), OCL_ALL_CHANNELS, Bool())); CV_8U 1852 modules/core/test/ocl/test_arithm.cpp OCL_INSTANTIATE_TEST_CASE_P(Arithm, ReduceSum, Combine(testing::Values(std::make_pair<MatDepth, MatDepth>(CV_8U, CV_32S), CV_8U 1853 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_8U, CV_32F), CV_8U 1854 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_8U, CV_64F), CV_8U 1863 modules/core/test/ocl/test_arithm.cpp OCL_INSTANTIATE_TEST_CASE_P(Arithm, ReduceAvg, Combine(testing::Values(std::make_pair<MatDepth, MatDepth>(CV_8U, CV_32S), CV_8U 1864 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_8U, CV_32F), CV_8U 1865 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_8U, CV_64F), CV_8U 1874 modules/core/test/ocl/test_arithm.cpp OCL_INSTANTIATE_TEST_CASE_P(Arithm, ReduceMax, Combine(testing::Values(std::make_pair<MatDepth, MatDepth>(CV_8U, CV_8U), CV_8U 1880 modules/core/test/ocl/test_arithm.cpp OCL_INSTANTIATE_TEST_CASE_P(Arithm, ReduceMin, Combine(testing::Values(std::make_pair<MatDepth, MatDepth>(CV_8U, CV_8U), CV_8U 51 modules/core/test/ocl/test_image2d.cpp EXPECT_NO_THROW(isFormatSupported = cv::ocl::Image2D::isFormatSupported(CV_8U, 1, false)); CV_8U 78 modules/core/test/ocl/test_image2d.cpp EXPECT_NO_THROW(isFormatSupported = cv::ocl::Image2D::isFormatSupported(CV_8U, 1, true)); CV_8U 554 modules/core/test/test_arithm.cpp dst.create( src.dims, &src.size[0], CV_8U ); CV_8U 572 modules/core/test/test_arithm.cpp case CV_8U: CV_8U 602 modules/core/test/test_arithm.cpp dst.create( src.dims, &src.size[0], CV_8U ); CV_8U 622 modules/core/test/test_arithm.cpp case CV_8U: CV_8U 1249 modules/core/test/test_arithm.cpp type = CV_8U; CV_8U 1350 modules/core/test/test_arithm.cpp mask = cvtest::randomMat(rng, size, CV_8U, 0, 2, true); CV_8U 1445 modules/core/test/test_arithm.cpp int depth = rng.uniform(CV_8U, CV_64F+1); CV_8U 1457 modules/core/test/test_arithm.cpp Mat mask(dims, sizes, CV_8U); CV_8U 1798 modules/core/test/test_arithm.cpp Mat img(10, 10, CV_8U, Scalar::all(0)); CV_8U 82 modules/core/test/test_concatenation.cpp mat0x5 = Mat::ones(0,5, CV_8U); CV_8U 83 modules/core/test/test_concatenation.cpp mat10x5 = Mat::ones(10,5, CV_8U); CV_8U 84 modules/core/test/test_concatenation.cpp mat20x5 = Mat::ones(20,5, CV_8U); CV_8U 86 modules/core/test/test_concatenation.cpp mat5x0 = Mat::ones(5,0, CV_8U); CV_8U 87 modules/core/test/test_concatenation.cpp mat5x10 = Mat::ones(5,10, CV_8U); CV_8U 88 modules/core/test/test_concatenation.cpp mat5x20 = Mat::ones(5,20, CV_8U); CV_8U 93 modules/core/test/test_countnonzero.cpp case CV_8U: { src.at<uchar>(i, j) = cv::randu<uchar>(); break; } CV_8U 116 modules/core/test/test_countnonzero.cpp case CV_8U: { if (!src.at<uchar>(i, j)) {src.at<uchar>(i, j) = cv::randu<uchar>(); n += (src.at<uchar>(i, j) > 0);} break; } CV_8U 152 modules/core/test/test_countnonzero.cpp if (current_type == CV_8U) result += (src.at<uchar>(i, j) > 0); CV_8U 761 modules/core/test/test_ds.cpp elem_mat = Mat(1, elem_size, CV_8U, elem); CV_8U 842 modules/core/test/test_ds.cpp elem_mat = Mat(1, MAX(count,1) * elem_size, CV_8U, elem); CV_8U 1278 modules/core/test/test_ds.cpp elem_mat = Mat(1, cvset->elem_size, CV_8U, &elem_buf[0]); CV_8U 1508 modules/core/test/test_ds.cpp elem_mat = Mat(1, graph->elem_size, CV_8U, &elem_buf[0]); CV_8U 1618 modules/core/test/test_ds.cpp elem_mat = Mat(1, graph->edges->elem_size, CV_8U, &elem_buf[0]); CV_8U 19 modules/core/test/test_io.cpp if( type == CV_8U ) CV_8U 55 modules/core/test/test_io.cpp if( depth == CV_8U || depth == CV_8S ) CV_8U 102 modules/core/test/test_ippasync.cpp type=CV_MAKE_TYPE(CV_8U, GET_PARAM(0)); CV_8U 173 modules/core/test/test_ippasync.cpp INSTANTIATE_TEST_CASE_P(IppATest, IPPAsync, Combine(Values(CV_8U, CV_16U, CV_16S, CV_32F), CV_8U 91 modules/core/test/test_mat.cpp if( srcType == CV_8U && (dstType == CV_32S || dstType == CV_32F || dstType == CV_64F) ) CV_8U 104 modules/core/test/test_mat.cpp if( srcType == CV_8U && dstType == CV_8U ) CV_8U 113 modules/core/test/test_mat.cpp if( srcType == CV_8U && dstType == CV_8U) CV_8U 971 modules/core/test/test_mat.cpp case CV_8U: CV_8U 1008 modules/core/test/test_mat.cpp curRes = run_case(CV_8U, mvSize, mSize, rng); CV_8U 230 modules/core/test/test_math.cpp case CV_8U: CV_8U 738 modules/core/test/test_math.cpp src_type = src_type == 0 ? CV_8U : src_type == 1 ? CV_16U : src_type == 2 ? CV_16S : CV_8U 876 modules/core/test/test_math.cpp Mat mask = Mat::eye(m.rows, m.cols, CV_8U)*255; CV_8U 16 modules/core/test/test_misc.cpp Mat mat(Size(512, 512), CV_8U); CV_8U 163 modules/core/test/test_operations.cpp Mat resMat(3, 3, CV_8U, Scalar(255)); CV_8U 753 modules/core/test/test_operations.cpp if (Mat1b(1, 1).depth() != CV_8U) throw test_excep(); CV_8U 198 modules/core/test/test_rand.cpp double val = depth == CV_8U ? ((const uchar*)data)[i] : CV_8U 268 modules/core/test/test_rand.cpp double val = depth == CV_8U ? ((const uchar*)data)[i] : CV_8U 316 modules/core/test/test_rand.cpp Mat a(Size(1280, 720), CV_8U, Scalar(20)); CV_8U 262 modules/core/test/test_umat.cpp INSTANTIATE_TEST_CASE_P(UMat, UMatBasicTests, Combine(testing::Values(CV_8U), testing::Values(1, 2), CV_8U 49 modules/cudaarithm/perf/perf_core.cpp #define ARITHM_MAT_DEPTH Values(CV_8U, CV_16U, CV_32F, CV_64F) CV_8U 176 modules/cudaarithm/perf/perf_core.cpp Values(CV_8U, CV_16U, CV_32F), CV_8U 259 modules/cudaarithm/perf/perf_core.cpp cv::Mat lut(1, 256, CV_MAKE_TYPE(CV_8U, src.channels())); CV_8U 290 modules/cudaarithm/perf/perf_core.cpp Values(CV_8U, CV_16U, CV_32F), CV_8U 49 modules/cudaarithm/perf/perf_element_operations.cpp #define ARITHM_MAT_DEPTH Values(CV_8U, CV_16U, CV_32F, CV_64F) CV_8U 474 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16S, CV_32F))) CV_8U 502 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16S, CV_32F))) CV_8U 534 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16S, CV_32F))) CV_8U 566 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16S, CV_32F))) CV_8U 600 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16S, CV_32F), CV_8U 713 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32S))) CV_8U 745 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32S))) CV_8U 781 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32S), CV_8U 821 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32S))) CV_8U 857 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32S), CV_8U 897 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32S))) CV_8U 933 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32S), CV_8U 973 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32S), CV_8U 1007 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32S), CV_8U 1041 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32F))) CV_8U 1077 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32F))) CV_8U 1112 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32F))) CV_8U 1148 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32F))) CV_8U 1185 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32F, CV_64F), CV_8U 1186 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32F, CV_64F), CV_8U 1187 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32F, CV_64F))) CV_8U 1470 modules/cudaarithm/perf/perf_element_operations.cpp Values(CV_8U, CV_16U, CV_32F, CV_64F), CV_8U 56 modules/cudaarithm/perf/perf_reductions.cpp Values(CV_8U, CV_16U, CV_32S, CV_32F), CV_8U 64 modules/cudaarithm/perf/perf_reductions.cpp if (depth == CV_8U) CV_8U 133 modules/cudaarithm/perf/perf_reductions.cpp Values(CV_8U, CV_16U, CV_32F), CV_8U 169 modules/cudaarithm/perf/perf_reductions.cpp Values(CV_8U, CV_16U, CV_32F), CV_8U 201 modules/cudaarithm/perf/perf_reductions.cpp Values<MatDepth>(CV_8U, CV_16U, CV_32F), CV_8U 233 modules/cudaarithm/perf/perf_reductions.cpp Values(CV_8U, CV_16U, CV_32F, CV_64F))) CV_8U 239 modules/cudaarithm/perf/perf_reductions.cpp if (depth == CV_8U) CV_8U 270 modules/cudaarithm/perf/perf_reductions.cpp Values(CV_8U, CV_16U, CV_32F, CV_64F))) CV_8U 276 modules/cudaarithm/perf/perf_reductions.cpp if (depth == CV_8U) CV_8U 309 modules/cudaarithm/perf/perf_reductions.cpp Values(CV_8U, CV_16U, CV_32F, CV_64F))) CV_8U 348 modules/cudaarithm/perf/perf_reductions.cpp Values(CV_8U, CV_16U, CV_16S, CV_32F), CV_8U 390 modules/cudaarithm/perf/perf_reductions.cpp Values(CV_8U, CV_16U, CV_32F, CV_64F), CV_8U 72 modules/cudaarithm/src/core.cpp template<> struct NppTypeTraits<CV_8U> { typedef Npp8u npp_t; }; CV_8U 114 modules/cudaarithm/src/core.cpp {NppMirror<CV_8U, nppiMirror_8u_C1R>::call, 0, NppMirror<CV_8U, nppiMirror_8u_C3R>::call, NppMirror<CV_8U, nppiMirror_8u_C4R>::call}, CV_8U 124 modules/cudaarithm/src/core.cpp CV_Assert(src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32S || src.depth() == CV_32F); CV_8U 294 modules/cudaarithm/src/element_operations.cpp arithm_op(src1, src2, dst, noArray(), 1.0, CV_8U, stream, cmpMat, cmpScalar, cmpop); CV_8U 390 modules/cudaarithm/src/element_operations.cpp {NppShift<CV_8U , 1, nppiRShiftC_8u_C1R >::call, 0, NppShift<CV_8U , 3, nppiRShiftC_8u_C3R >::call, NppShift<CV_8U , 4, nppiRShiftC_8u_C4R>::call }, CV_8U 414 modules/cudaarithm/src/element_operations.cpp {NppShift<CV_8U , 1, nppiLShiftC_8u_C1R>::call , 0, NppShift<CV_8U , 3, nppiLShiftC_8u_C3R>::call , NppShift<CV_8U , 4, nppiLShiftC_8u_C4R>::call }, CV_8U 423 modules/cudaarithm/src/element_operations.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32S ); CV_8U 340 modules/cudaarithm/test/test_core.cpp cv::Mat lut = randomMat(cv::Size(256, 1), CV_MAKE_TYPE(CV_8U, src.channels())); CV_8U 1533 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 0, depth == CV_8U ? 16 : 255); CV_8U 1547 modules/cudaarithm/test/test_element_operations.cpp testing::Values(MatDepth(CV_8U), CV_8U 1617 modules/cudaarithm/test/test_element_operations.cpp testing::Values(MatDepth(CV_8U), CV_8U 1687 modules/cudaarithm/test/test_element_operations.cpp testing::Values(MatDepth(CV_8U), CV_8U 1767 modules/cudaarithm/test/test_element_operations.cpp testing::Values(MatDepth(CV_8U), CV_8U 1906 modules/cudaarithm/test/test_element_operations.cpp dst.create(src.size(), CV_MAKE_TYPE(CV_8U, cn)); CV_8U 1987 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_MAKE_TYPE(CV_8U, src.channels()), useRoi); CV_8U 2001 modules/cudaarithm/test/test_element_operations.cpp TYPES(CV_8U, CV_64F, 1, 4), CV_8U 2073 modules/cudaarithm/test/test_element_operations.cpp TYPES(CV_8U, CV_32S, 1, 4))); CV_8U 2139 modules/cudaarithm/test/test_element_operations.cpp testing::Values(MatDepth(CV_8U), MatDepth(CV_16U), MatDepth(CV_32S)), CV_8U 2214 modules/cudaarithm/test/test_element_operations.cpp testing::Values(MatDepth(CV_8U), CV_8U 2294 modules/cudaarithm/test/test_element_operations.cpp testing::Values(MatDepth(CV_8U), MatDepth(CV_16U), MatDepth(CV_32S)), CV_8U 344 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat buffer(100, 100, CV_8U); CV_8U 348 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::ensureSizeIsEnough(10, 20, CV_8U, buffer); CV_8U 355 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::ensureSizeIsEnough(20, 30, CV_8U, buffer); CV_8U 329 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); CV_8U 341 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); CV_8U 354 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); CV_8U 388 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); CV_8U 401 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); CV_8U 415 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); CV_8U 429 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); CV_8U 441 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); CV_8U 107 modules/cudaarithm/test/test_reductions.cpp testing::Values(MatDepth(CV_8U), CV_8U 365 modules/cudaarithm/test/test_reductions.cpp TYPES(CV_8U, CV_64F, 1, 4), CV_8U 767 modules/cudaarithm/test/test_reductions.cpp cv::Mat srcBase = randomMat(size, CV_8U, 0.0, 1.5); CV_8U 854 modules/cudaarithm/test/test_reductions.cpp dst_depth = depth == CV_8U ? CV_32S : depth < CV_64F ? CV_32F : depth; CV_8U 895 modules/cudaarithm/test/test_reductions.cpp testing::Values(MatDepth(CV_8U), CV_8U 140 modules/cudabgsegm/src/mog.cpp CV_Assert( frame.depth() == CV_8U ); CV_8U 427 modules/cudacodec/src/video_writer.cpp GpuMat temp(1, 1, CV_8U); CV_8U 160 modules/cudafeatures2d/perf/perf_features2d.cpp const int type = normType == cv::NORM_HAMMING ? CV_8U : CV_32F; CV_8U 219 modules/cudafeatures2d/perf/perf_features2d.cpp const int type = normType == cv::NORM_HAMMING ? CV_8U : CV_32F; CV_8U 272 modules/cudafeatures2d/perf/perf_features2d.cpp const int type = normType == cv::NORM_HAMMING ? CV_8U : CV_32F; CV_8U 358 modules/cudafeatures2d/src/orb.cpp virtual int descriptorType() const { return CV_8U; } CV_8U 216 modules/cudafilters/src/filtering.cpp CV_Assert( sdepth == CV_8U || sdepth == CV_16U || sdepth == CV_32F ); CV_8U 477 modules/cudafilters/src/filtering.cpp ksize.width = cvRound(sigma1 * (depth == CV_8U ? 3 : 4)*2 + 1) | 1; CV_8U 479 modules/cudafilters/src/filtering.cpp ksize.height = cvRound(sigma2 * (depth == CV_8U ? 3 : 4)*2 + 1) | 1; CV_8U 558 modules/cudafilters/src/filtering.cpp kernel.convertTo(kernel8U, CV_8U); CV_8U 271 modules/cudafilters/test/test_filters.cpp testing::Values(MatDepth(CV_8U), MatDepth(CV_16U), MatDepth(CV_16S), MatDepth(CV_32F)), CV_8U 343 modules/cudafilters/test/test_filters.cpp testing::Values(MatDepth(CV_8U), MatDepth(CV_16U), MatDepth(CV_16S), MatDepth(CV_32F)), CV_8U 408 modules/cudafilters/test/test_filters.cpp testing::Values(MatDepth(CV_8U), MatDepth(CV_16U), MatDepth(CV_16S), MatDepth(CV_32F)), CV_8U 469 modules/cudafilters/test/test_filters.cpp testing::Values(MatDepth(CV_8U), MatDepth(CV_16U), MatDepth(CV_16S), MatDepth(CV_32F)), CV_8U 520 modules/cudafilters/test/test_filters.cpp cv::Mat kernel = cv::Mat::ones(3, 3, CV_8U); CV_8U 571 modules/cudafilters/test/test_filters.cpp cv::Mat kernel = cv::Mat::ones(3, 3, CV_8U); CV_8U 626 modules/cudafilters/test/test_filters.cpp cv::Mat kernel = cv::Mat::ones(3, 3, CV_8U); CV_8U 56 modules/cudaimgproc/perf/perf_bilateral_filter.cpp Values(CV_8U, CV_32F), CV_8U 54 modules/cudaimgproc/perf/perf_blend.cpp Values(CV_8U, CV_32F), CV_8U 56 modules/cudaimgproc/perf/perf_color.cpp Values(CV_8U, CV_32F), CV_8U 84 modules/cudaimgproc/perf/perf_color.cpp cv::randu(src, 0, depth == CV_8U ? 255.0 : 1.0); CV_8U 107 modules/cudaimgproc/perf/perf_color.cpp Values(CV_8U, CV_16U), CV_8U 54 modules/cudaimgproc/perf/perf_histogram.cpp Values(CV_8U, CV_16U, CV_16S))) CV_8U 92 modules/cudaimgproc/perf/perf_histogram.cpp Values(CV_8U, CV_16U, CV_16S))) CV_8U 69 modules/cudaimgproc/perf/perf_match_template.cpp cv::Mat image(size, CV_MAKE_TYPE(CV_8U, cn)); CV_8U 70 modules/cudaimgproc/perf/perf_match_template.cpp cv::Mat templ(templ_size, CV_MAKE_TYPE(CV_8U, cn)); CV_8U 95 modules/cudaimgproc/src/blend.cpp case CV_8U: CV_8U 91 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 107 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 123 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 139 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 155 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 171 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 184 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 197 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 210 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 223 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 236 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 249 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 262 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 275 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 288 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 301 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 314 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 327 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 340 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 353 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 366 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 379 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 395 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 411 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 424 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 437 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 450 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 463 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 479 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 495 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 511 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 527 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 555 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 584 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 613 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 642 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 671 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 700 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 729 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 758 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 787 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 816 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 845 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 874 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 903 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 932 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 961 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 990 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1019 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1048 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1077 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1106 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1135 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1164 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1193 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1222 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1251 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1280 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1309 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1338 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1367 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1396 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1425 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1454 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1483 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1512 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1541 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1570 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1599 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1628 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1657 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1686 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1715 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1744 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1773 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1802 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); CV_8U 1834 modules/cudaimgproc/src/color.cpp if (src.depth() == CV_8U) CV_8U 2132 modules/cudaimgproc/src/color.cpp CV_Assert( depth == CV_8U ); CV_8U 2162 modules/cudaimgproc/src/color.cpp CV_Assert( depth == CV_8U ); CV_8U 2310 modules/cudaimgproc/src/color.cpp NppAlphaComp<CV_8U, nppiAlphaComp_8u_AC4R>::call, CV_8U 98 modules/cudaimgproc/src/corners.cpp if (sdepth == CV_8U) CV_8U 494 modules/cudaimgproc/src/histogram.cpp NppHistogramEvenC1<CV_8U , nppiHistogramEven_8u_C1R , nppiHistogramEvenGetBufferSize_8u_C1R >::hist, CV_8U 502 modules/cudaimgproc/src/histogram.cpp if (src.depth() == CV_8U && deviceSupports(FEATURE_SET_COMPUTE_30)) CV_8U 518 modules/cudaimgproc/src/histogram.cpp NppHistogramEvenC4<CV_8U , nppiHistogramEven_8u_C4R , nppiHistogramEvenGetBufferSize_8u_C4R >::hist, CV_8U 536 modules/cudaimgproc/src/histogram.cpp NppHistogramRangeC1<CV_8U , nppiHistogramRange_8u_C1R , nppiHistogramRangeGetBufferSize_8u_C1R >::hist, CV_8U 557 modules/cudaimgproc/src/histogram.cpp NppHistogramRangeC4<CV_8U , nppiHistogramRange_8u_C4R , nppiHistogramRangeGetBufferSize_8u_C4R >::hist, CV_8U 151 modules/cudaimgproc/src/match_template.cpp if (depth == CV_8U) return 300; CV_8U 155 modules/cudaimgproc/src/match_template.cpp if (depth == CV_8U) return 300; CV_8U 240 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); CV_8U 244 modules/cudaimgproc/src/match_template.cpp if (templ.size().area() < getTemplateThreshold(TM_CCORR, CV_8U)) CV_8U 283 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); CV_8U 347 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); CV_8U 351 modules/cudaimgproc/src/match_template.cpp if (templ.size().area() < getTemplateThreshold(TM_SQDIFF, CV_8U)) CV_8U 394 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); CV_8U 433 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); CV_8U 512 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); CV_8U 598 modules/cudaimgproc/src/match_template.cpp CV_Assert( sdepth == CV_8U || sdepth == CV_32F ); CV_8U 101 modules/cudaimgproc/test/test_blend.cpp cv::Mat img1 = randomMat(size, type, 0.0, depth == CV_8U ? 255.0 : 1.0); CV_8U 102 modules/cudaimgproc/test/test_blend.cpp cv::Mat img2 = randomMat(size, type, 0.0, depth == CV_8U ? 255.0 : 1.0); CV_8U 110 modules/cudaimgproc/test/test_blend.cpp if (depth == CV_8U) CV_8U 115 modules/cudaimgproc/test/test_blend.cpp EXPECT_MAT_NEAR(result_gold, result, CV_MAT_DEPTH(type) == CV_8U ? 1.0 : 1e-5); CV_8U 239 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 255 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 271 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 288 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 305 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 322 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 339 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 356 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 373 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 390 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 407 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 423 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 439 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 456 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 473 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 490 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 507 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 524 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 541 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 558 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 1628 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-3); CV_8U 1644 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-3); CV_8U 1669 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_8U ? 1 : 1e-3); CV_8U 1685 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-3); CV_8U 1701 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-3); CV_8U 1726 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_8U ? 1 : 1e-3); CV_8U 1743 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-5); CV_8U 1760 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-5); CV_8U 1779 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-5); CV_8U 1796 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-5); CV_8U 1813 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-5); CV_8U 1830 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-5); CV_8U 1846 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-3); CV_8U 1862 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-3); CV_8U 1887 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_8U ? 1 : 1e-3); CV_8U 1903 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-3); CV_8U 1919 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-3); CV_8U 1944 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_8U ? 1 : 1e-3); CV_8U 1961 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-4); CV_8U 1978 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-4); CV_8U 1997 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-4); CV_8U 2014 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-4); CV_8U 2031 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-4); CV_8U 2048 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-4); CV_8U 2055 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) CV_8U 2073 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) CV_8U 2089 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) CV_8U 2112 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) CV_8U 2128 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) CV_8U 2150 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) CV_8U 2166 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) CV_8U 2188 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) CV_8U 2204 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) CV_8U 2226 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) CV_8U 2242 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) CV_8U 2258 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) CV_8U 2274 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) CV_8U 2291 modules/cudaimgproc/test/test_color.cpp testing::Values(MatDepth(CV_8U), MatDepth(CV_16U), MatDepth(CV_32F)), CV_8U 82 modules/cudaimgproc/test/test_match_template.cpp cv::Mat image = randomMat(size, CV_MAKETYPE(CV_8U, cn)); CV_8U 83 modules/cudaimgproc/test/test_match_template.cpp cv::Mat templ = randomMat(templ_size, CV_MAKETYPE(CV_8U, cn)); CV_8U 186 modules/cudalegacy/src/gmg.cpp CV_Assert( frame.depth() == CV_8U || frame.depth() == CV_16U || frame.depth() == CV_32F ); CV_8U 203 modules/cudalegacy/src/gmg.cpp maxVal = frame.depth() == CV_8U ? 255.0 : frame.depth() == CV_16U ? std::numeric_limits<ushort>::max() : 1.0; CV_8U 107 modules/cudalegacy/src/graphcuts.cpp CV_Assert(!mask.empty() && mask.type() == CV_8U); CV_8U 167 modules/cudalegacy/src/graphcuts.cpp labels.create(src_size, CV_8U); CV_8U 176 modules/cudalegacy/src/graphcuts.cpp ensureSizeIsEnough(1, bufsz, CV_8U, buf); CV_8U 239 modules/cudalegacy/src/graphcuts.cpp labels.create(src_size, CV_8U); CV_8U 248 modules/cudalegacy/src/graphcuts.cpp ensureSizeIsEnough(1, bufsz, CV_8U, buf); CV_8U 177 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( image.depth() == CV_8U); CV_8U 529 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( image.depth() == CV_8U); CV_8U 191 modules/cudaoptflow/src/tvl1flow.cpp I0.convertTo(I0s[0], CV_32F, I0.depth() == CV_8U ? 1.0 : 255.0, stream); CV_8U 192 modules/cudaoptflow/src/tvl1flow.cpp I1.convertTo(I1s[0], CV_32F, I1.depth() == CV_8U ? 1.0 : 255.0, stream); CV_8U 197 modules/cudastereo/perf/perf_stereo.cpp Values(CV_8U, CV_16S))) CV_8U 232 modules/cudastereo/perf/perf_stereo.cpp Values(CV_8U, CV_16S))) CV_8U 183 modules/cudastereo/src/disparity_bilateral_filter.cpp CV_Assert( disp.type() == CV_8U || disp.type() == CV_16S ); CV_8U 78 modules/cudastereo/src/util.cpp CV_Assert( disp.type() == CV_8U || disp.type() == CV_16S ); CV_8U 118 modules/cudastereo/src/util.cpp CV_Assert( src.type() == CV_8U || src.type() == CV_16S ); CV_8U 209 modules/cudastereo/test/test_stereo.cpp testing::Values(MatDepth(CV_8U), MatDepth(CV_16S)), CV_8U 96 modules/cudawarping/perf/perf_warping.cpp Values(CV_8U, CV_16U, CV_32F), CV_8U 148 modules/cudawarping/perf/perf_warping.cpp Values(CV_8U, CV_16U, CV_32F), CV_8U 192 modules/cudawarping/perf/perf_warping.cpp Values(CV_8U, CV_16U, CV_32F), CV_8U 235 modules/cudawarping/perf/perf_warping.cpp Values(CV_8U, CV_16U, CV_32F), CV_8U 285 modules/cudawarping/perf/perf_warping.cpp Values(CV_8U, CV_16U, CV_32F), CV_8U 335 modules/cudawarping/perf/perf_warping.cpp Values(CV_8U, CV_16U, CV_32F), CV_8U 369 modules/cudawarping/perf/perf_warping.cpp Values(CV_8U, CV_16U, CV_32F), CV_8U 405 modules/cudawarping/perf/perf_warping.cpp Values(CV_8U, CV_16U, CV_32F), CV_8U 254 modules/cudawarping/src/warp.cpp {NppWarp<CV_8U, nppiWarpAffine_8u_C1R>::call, 0, NppWarp<CV_8U, nppiWarpAffine_8u_C3R>::call, NppWarp<CV_8U, nppiWarpAffine_8u_C4R>::call}, CV_8U 262 modules/cudawarping/src/warp.cpp {NppWarp<CV_8U, nppiWarpAffineBack_8u_C1R>::call, 0, NppWarp<CV_8U, nppiWarpAffineBack_8u_C3R>::call, NppWarp<CV_8U, nppiWarpAffineBack_8u_C4R>::call}, CV_8U 393 modules/cudawarping/src/warp.cpp {NppWarp<CV_8U, nppiWarpPerspective_8u_C1R>::call, 0, NppWarp<CV_8U, nppiWarpPerspective_8u_C3R>::call, NppWarp<CV_8U, nppiWarpPerspective_8u_C4R>::call}, CV_8U 401 modules/cudawarping/src/warp.cpp {NppWarp<CV_8U, nppiWarpPerspectiveBack_8u_C1R>::call, 0, NppWarp<CV_8U, nppiWarpPerspectiveBack_8u_C3R>::call, NppWarp<CV_8U, nppiWarpPerspectiveBack_8u_C4R>::call}, CV_8U 512 modules/cudawarping/src/warp.cpp {NppRotate<CV_8U, nppiRotate_8u_C1R>::call, 0, NppRotate<CV_8U, nppiRotate_8u_C3R>::call, NppRotate<CV_8U, nppiRotate_8u_C4R>::call}, CV_8U 522 modules/cudawarping/src/warp.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); CV_8U 21 modules/features2d/misc/java/test/BRIEFDescriptorExtractorTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 68 modules/features2d/misc/java/test/BRIEFDescriptorExtractorTest.java assertEquals(CvType.CV_8U, extractor.descriptorType()); CV_8U 30 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java return new Mat(5, 2, CvType.CV_8U, new Scalar(0)) { CV_8U 56 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 76 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 111 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); CV_8U 142 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); CV_8U 29 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java return new Mat(4, 4, CvType.CV_8U, new Scalar(0)) { CV_8U 41 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java Mat img = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 64 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java Mat img = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 95 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); CV_8U 126 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); CV_8U 28 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java return new Mat(4, 4, CvType.CV_8U, new Scalar(0)) { CV_8U 40 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java Mat img = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 63 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java Mat img = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 94 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); CV_8U 125 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); CV_8U 29 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java return new Mat(5, 2, CvType.CV_8U, new Scalar(0)) { CV_8U 56 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 76 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 111 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); CV_8U 142 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); CV_8U 29 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java return new Mat(5, 2, CvType.CV_8U, new Scalar(0)) { CV_8U 61 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 81 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 116 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); CV_8U 147 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); CV_8U 23 modules/features2d/misc/java/test/FASTFeatureDetectorTest.java Mat mask = new Mat(100, 100, CvType.CV_8U, new Scalar(255)); CV_8U 30 modules/features2d/misc/java/test/FASTFeatureDetectorTest.java Mat img = new Mat(100, 100, CvType.CV_8U, new Scalar(255)); CV_8U 104 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java return new Mat(5, 2, CvType.CV_8U, new Scalar(0)) { CV_8U 130 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 150 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 184 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); CV_8U 213 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java Mat train = new Mat(1, 1, CvType.CV_8U, new Scalar(123)); CV_8U 26 modules/features2d/misc/java/test/ORBDescriptorExtractorTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 70 modules/features2d/misc/java/test/ORBDescriptorExtractorTest.java assertEquals(CvType.CV_8U, extractor.descriptorType()); CV_8U 23 modules/features2d/misc/java/test/SIFTDescriptorExtractorTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 24 modules/features2d/misc/java/test/STARFeatureDetectorTest.java Mat mask = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 36 modules/features2d/misc/java/test/STARFeatureDetectorTest.java Mat img = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 21 modules/features2d/misc/java/test/SURFDescriptorExtractorTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 28 modules/features2d/misc/java/test/SURFFeatureDetectorTest.java Mat mask = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 35 modules/features2d/misc/java/test/SURFFeatureDetectorTest.java Mat cross = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 39 modules/features2d/perf/perf_batchDistance.cpp generateData(queryDescriptors, trainDescriptors, CV_8U); CV_8U 66 modules/features2d/perf/perf_batchDistance.cpp generateData(queryDescriptors, trainDescriptors, CV_8U); CV_8U 79 modules/features2d/perf/perf_batchDistance.cpp testing::Combine(testing::Values(CV_8U, CV_32F), CV_8U 153 modules/features2d/perf/perf_batchDistance.cpp float step = (sourceType == CV_8U ? 256.f : 1.f) / countFactor; CV_8U 7463 modules/features2d/src/agast.cpp if( _image.type() != CV_8U ) CV_8U 140 modules/features2d/src/akaze.cpp return CV_8U; CV_8U 177 modules/features2d/src/akaze.cpp else if ( img.depth() == CV_8U ) CV_8U 71 modules/features2d/src/brisk.cpp return CV_8U; CV_8U 689 modules/features2d/src/brisk.cpp _descriptors.create((int)ksize, strings_, CV_8U); CV_8U 2084 modules/features2d/src/brisk.cpp img_.create(layer.img().rows / 2, layer.img().cols / 2, CV_8U); CV_8U 2091 modules/features2d/src/brisk.cpp img_.create(2 * (layer.img().rows / 3), 2 * (layer.img().cols / 3), CV_8U); CV_8U 2096 modules/features2d/src/brisk.cpp scores_ = cv::Mat::zeros(img_.rows, img_.cols, CV_8U); CV_8U 147 modules/features2d/src/draw.cpp if( img1.type() == CV_8U ) CV_8U 152 modules/features2d/src/draw.cpp if( img2.type() == CV_8U ) CV_8U 376 modules/features2d/src/fast.cpp if( _image.type() != CV_8U ) CV_8U 160 modules/features2d/src/feature2d.cpp return tp == CV_8U ? NORM_HAMMING : NORM_L2; CV_8U 83 modules/features2d/src/gftt.cpp if( _image.type() != CV_8U ) CV_8U 94 modules/features2d/src/gftt.cpp if( image.type() != CV_8U ) CV_8U 813 modules/features2d/src/matchers.cpp (normType == NORM_L1 && queryDescriptors.type() == CV_8U) ? CV_32S : CV_32F; CV_8U 934 modules/features2d/src/matchers.cpp (normType == NORM_L1 && queryDescriptors.type() == CV_8U) ? CV_32S : CV_32F; CV_8U 1076 modules/features2d/src/matchers.cpp case CV_8U: CV_8U 1115 modules/features2d/src/matchers.cpp case CV_8U: CV_8U 1161 modules/features2d/src/matchers.cpp case CV_8U: CV_8U 1212 modules/features2d/src/matchers.cpp case CV_8U: CV_8U 1033 modules/features2d/src/mser.cpp if( src.type() == CV_8U ) CV_8U 57 modules/features2d/src/orb.cpp Mat(1, (int)(v.size()*sizeof(v[0])), CV_8U, (void*)&v[0]).copyTo(um); CV_8U 721 modules/features2d/src/orb.cpp return CV_8U; CV_8U 1023 modules/features2d/src/orb.cpp imagePyramid.create(bufSize, CV_8U); CV_8U 1025 modules/features2d/src/orb.cpp maskPyramid.create(bufSize, CV_8U); CV_8U 1118 modules/features2d/src/orb.cpp _descriptors.create(nkeypoints, dsize, CV_8U); CV_8U 94 modules/features2d/test/test_agast.cpp Mat kps1(1, (int)(keypoints1.size() * sizeof(KeyPoint)), CV_8U, &keypoints1[0]); CV_8U 95 modules/features2d/test/test_agast.cpp Mat kps2(1, (int)(keypoints2.size() * sizeof(KeyPoint)), CV_8U, &keypoints2[0]); CV_8U 94 modules/features2d/test/test_fast.cpp Mat kps1(1, (int)(keypoints1.size() * sizeof(KeyPoint)), CV_8U, &keypoints1[0]); CV_8U 95 modules/features2d/test/test_fast.cpp Mat kps2(1, (int)(keypoints2.size() * sizeof(KeyPoint)), CV_8U, &keypoints2[0]); CV_8U 94 modules/features2d/test/test_mser.cpp Mat small_image(14, 26, CV_8U, buf); CV_8U 76 modules/flann/include/opencv2/flann.hpp template <> struct CvType<unsigned char> { static int type() { return CV_8U; } }; CV_8U 170 modules/flann/src/miniflann.cpp types.push_back( CV_8U ); CV_8U 734 modules/flann/src/miniflann.cpp featureType = header.data_type == FLANN_UINT8 ? CV_8U : CV_8U 755 modules/flann/src/miniflann.cpp if( !((distType == FLANN_DIST_HAMMING && featureType == CV_8U) || CV_8U 68 modules/highgui/test/test_gui.cpp Mat m(256, 256, CV_8U); CV_8U 96 modules/imgcodecs/src/grfmt_base.cpp return depth == CV_8U; CV_8U 573 modules/imgcodecs/src/grfmt_exr.cpp return CV_MAT_DEPTH(depth) >= CV_8U && CV_MAT_DEPTH(depth) < CV_64F; CV_8U 182 modules/imgcodecs/src/grfmt_gdal.cpp if( gdalType == GDT_Byte && cvDepth == CV_8U ){ CV_8U 196 modules/imgcodecs/src/grfmt_gdal.cpp if( (gdalType == GDT_UInt16 || gdalType == GDT_Int16) && cvDepth == CV_8U ){ CV_8U 228 modules/imgcodecs/src/grfmt_gdal.cpp if( image.depth() == CV_8U ){ image.at<uchar>(row,col) = newValue; } CV_8U 239 modules/imgcodecs/src/grfmt_gdal.cpp if( image.depth() == CV_8U ){ image.at<Vec3b>(row,col) = Vec3b(newValue,newValue,newValue); } CV_8U 250 modules/imgcodecs/src/grfmt_gdal.cpp if( image.depth() == CV_8U ){ image.at<uchar>(row,col) += (newValue/3.0); } CV_8U 256 modules/imgcodecs/src/grfmt_gdal.cpp if( image.depth() == CV_8U ){ image.at<uchar>(row,col) = newValue; } CV_8U 262 modules/imgcodecs/src/grfmt_gdal.cpp if( image.depth() == CV_8U ){ image.at<Vec3b>(row,col)[channel] = newValue; } CV_8U 274 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_8U && channel < 4 ){ image.at<Vec3b>(row,col)[channel] = newValue; } CV_8U 285 modules/imgcodecs/src/grfmt_gdal.cpp if( image.depth() == CV_8U ){ image.at<Vec4b>(row,col)[channel] = newValue; } CV_8U 141 modules/imgcodecs/src/grfmt_jpeg2000.cpp m_type = CV_MAKETYPE(depth <= 8 ? CV_8U : CV_16U, cntcmpts > 1 ? 3 : 1); CV_8U 254 modules/imgcodecs/src/grfmt_jpeg2000.cpp if( img.depth() == CV_8U ) CV_8U 434 modules/imgcodecs/src/grfmt_jpeg2000.cpp return depth == CV_8U || depth == CV_16U; CV_8U 442 modules/imgcodecs/src/grfmt_jpeg2000.cpp depth = depth == CV_8U ? 8 : 16; CV_8U 244 modules/imgcodecs/src/grfmt_png.cpp if( img.depth() == CV_8U && m_bit_depth == 16 ) CV_8U 315 modules/imgcodecs/src/grfmt_png.cpp return depth == CV_8U || depth == CV_16U; CV_8U 351 modules/imgcodecs/src/grfmt_png.cpp if( depth != CV_8U && depth != CV_16U ) CV_8U 411 modules/imgcodecs/src/grfmt_png.cpp png_set_IHDR( png_ptr, info_ptr, width, height, depth == CV_8U ? isBilevel?1:8 : 16, CV_8U 289 modules/imgcodecs/src/grfmt_pxm.cpp if( img.depth() == CV_8U && bit_depth == 16 ) CV_8U 302 modules/imgcodecs/src/grfmt_pxm.cpp if( img.depth() == CV_8U ) { CV_8U 319 modules/imgcodecs/src/grfmt_pxm.cpp if( img.depth() == CV_8U ) CV_8U 324 modules/imgcodecs/src/grfmt_pxm.cpp else if( img.depth() == CV_8U ) CV_8U 366 modules/imgcodecs/src/grfmt_pxm.cpp return depth == CV_8U || depth == CV_16U; CV_8U 163 modules/imgcodecs/src/grfmt_tiff.cpp m_type = CV_MAKETYPE(CV_8U, photometric > 1 ? wanted_channels : 1); CV_8U 207 modules/imgcodecs/src/grfmt_tiff.cpp if( img.depth() != CV_8U && img.depth() != CV_16U && img.depth() != CV_32F && img.depth() != CV_64F ) CV_8U 489 modules/imgcodecs/src/grfmt_tiff.cpp return depth == CV_8U || depth == CV_16U || depth == CV_32F; CV_8U 491 modules/imgcodecs/src/grfmt_tiff.cpp return depth == CV_8U || depth == CV_16U; CV_8U 526 modules/imgcodecs/src/grfmt_tiff.cpp case CV_8U: CV_8U 614 modules/imgcodecs/src/grfmt_tiff.cpp if (depth == CV_8U) CV_8U 623 modules/imgcodecs/src/grfmt_tiff.cpp if (depth == CV_8U) CV_8U 694 modules/imgcodecs/src/grfmt_tiff.cpp if (depth != CV_8U && depth != CV_16U) CV_8U 697 modules/imgcodecs/src/grfmt_tiff.cpp int bytesPerChannel = depth == CV_8U ? 1 : 2; CV_8U 762 modules/imgcodecs/src/grfmt_tiff.cpp if (depth == CV_8U) CV_8U 771 modules/imgcodecs/src/grfmt_tiff.cpp if (depth == CV_8U) CV_8U 119 modules/imgcodecs/src/grfmt_webp.cpp data.create(1, wfile_size, CV_8U); CV_8U 238 modules/imgcodecs/src/grfmt_webp.cpp if(depth != CV_8U) CV_8U 281 modules/imgcodecs/src/loadsave.cpp type = CV_MAKETYPE(CV_8U, CV_MAT_CN(type)); CV_8U 368 modules/imgcodecs/src/loadsave.cpp type = CV_MAKETYPE(CV_8U, CV_MAT_CN(type)); CV_8U 442 modules/imgcodecs/src/loadsave.cpp CV_Assert( encoder->isFormatSupported(CV_8U) ); CV_8U 443 modules/imgcodecs/src/loadsave.cpp image.convertTo( temp, CV_8U ); CV_8U 507 modules/imgcodecs/src/loadsave.cpp type = CV_MAKETYPE(CV_8U, CV_MAT_CN(type)); CV_8U 582 modules/imgcodecs/src/loadsave.cpp CV_Assert( encoder->isFormatSupported(CV_8U) ); CV_8U 584 modules/imgcodecs/src/loadsave.cpp image.convertTo(temp, CV_8U); CV_8U 668 modules/imgcodecs/src/loadsave.cpp cv::Mat buf(1, _buf->rows*_buf->cols*CV_ELEM_SIZE(_buf->type), CV_8U, _buf->data.ptr); CV_8U 676 modules/imgcodecs/src/loadsave.cpp cv::Mat buf(1, _buf->rows*_buf->cols*CV_ELEM_SIZE(_buf->type), CV_8U, _buf->data.ptr); CV_8U 702 modules/imgcodecs/src/loadsave.cpp CvMat* _buf = cvCreateMat(1, (int)buf.size(), CV_8U); CV_8U 613 modules/imgcodecs/src/utils.cpp if( CV_MAT_DEPTH( dst->type ) != CV_8U ) CV_8U 439 modules/imgcodecs/test/test_drawing.cpp Mat gray0(10,10,CV_8U, Scalar(0)); CV_8U 190 modules/imgcodecs/test/test_grfmt.cpp ts->printf(ts->LOG, "image type depth:%d channels:%d ext: %s\n", CV_8U, num_channels, ext_from_int(ext).c_str()); CV_8U 191 modules/imgcodecs/test/test_grfmt.cpp Mat img(img_r * k, img_c * k, CV_MAKETYPE(CV_8U, num_channels), Scalar::all(0)); CV_8U 220 modules/imgcodecs/test/test_grfmt.cpp ts->printf(ts->LOG, "image type depth:%d channels:%d ext: %s\n", CV_8U, num_channels, ".jpg"); CV_8U 221 modules/imgcodecs/test/test_grfmt.cpp Mat img(img_r * k, img_c * k, CV_MAKETYPE(CV_8U, num_channels), Scalar::all(0)); CV_8U 326 modules/imgcodecs/test/test_grfmt.cpp Mat im = Mat::zeros(1000,1000, CV_8U); CV_8U 53 modules/imgproc/misc/java/test/ImgprocTest.java Mat mask = makeMask(getMat(CvType.CV_8U, 1)); CV_8U 78 modules/imgproc/misc/java/test/ImgprocTest.java Mat mask = makeMask(getMat(CvType.CV_8U, 1)); CV_8U 103 modules/imgproc/misc/java/test/ImgprocTest.java Mat mask = makeMask(getMat(CvType.CV_8U, 1)); CV_8U 128 modules/imgproc/misc/java/test/ImgprocTest.java Mat mask = makeMask(getMat(CvType.CV_8U, 1)); CV_8U 140 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = makeMask(getMat(CvType.CV_8U, 50), 20); CV_8U 583 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(128)); CV_8U 688 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_8U) { CV_8U 699 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(3, 3, CvType.CV_8U, new Scalar(8)); CV_8U 704 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_8U) { CV_8U 716 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(3, 3, CvType.CV_8U, new Scalar(8)); CV_8U 818 modules/imgproc/misc/java/test/ImgprocTest.java Mat mask = new Mat(matSize + 2, matSize + 2, CvType.CV_8U, new Scalar(0)); CV_8U 971 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(3, 3, CvType.CV_8U, new Scalar(255)); CV_8U 1051 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(sz, sz, CvType.CV_8U, new Scalar(128)); CV_8U 1061 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(sz, sz, CvType.CV_8U, new Scalar(128)); CV_8U 1079 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(sz, sz, CvType.CV_8U, new Scalar(0)); CV_8U 1108 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(sz, sz, CvType.CV_8U, new Scalar(0)); CV_8U 1334 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.Laplacian(gray0, dst, CvType.CV_8U); CV_8U 1374 modules/imgproc/misc/java/test/ImgprocTest.java Mat image = new Mat(imgprocSz, imgprocSz, CvType.CV_8U); CV_8U 1375 modules/imgproc/misc/java/test/ImgprocTest.java Mat templ = new Mat(imgprocSz, imgprocSz, CvType.CV_8U); CV_8U 1436 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = Mat.eye(imgprocSz, imgprocSz, CvType.CV_8U); CV_8U 1438 modules/imgproc/misc/java/test/ImgprocTest.java Mat kernel = new Mat(imgprocSz, imgprocSz, CvType.CV_8U, new Scalar(0)); CV_8U 1443 modules/imgproc/misc/java/test/ImgprocTest.java truth = Mat.eye(imgprocSz, imgprocSz, CvType.CV_8U); CV_8U 1450 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_8U); CV_8U 1454 modules/imgproc/misc/java/test/ImgprocTest.java Mat kernel = new Mat(imgprocSz, imgprocSz, CvType.CV_8U, new Scalar(1)); CV_8U 1459 modules/imgproc/misc/java/test/ImgprocTest.java truth = new Mat(imgprocSz, imgprocSz, CvType.CV_8U) { CV_8U 1708 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.Sobel(gray255, dst, CvType.CV_8U, 1, 0); CV_8U 1714 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.Sobel(gray255, dst, CvType.CV_8U, 1, 0, 3, 2, 0.001); CV_8U 2068 modules/imgproc/misc/java/test/ImgprocTest.java Mat gray0 = Mat.zeros(matSize, matSize, CvType.CV_8U); CV_8U 2087 modules/imgproc/misc/java/test/ImgprocTest.java assertMatEqual(new Mat(matSize, matSize, CvType.CV_8U) { CV_8U 2159 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(20 + (int) labelSize.height, 20 + (int) labelSize.width, CvType.CV_8U, colorBlack); CV_8U 2173 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(20 + (int) labelSize.height, 20 + (int) labelSize.width, CvType.CV_8U, colorBlack); CV_8U 2188 modules/imgproc/misc/java/test/ImgprocTest.java Mat img = new Mat(20 + (int) labelSize.height, 20 + (int) labelSize.width, CvType.CV_8U, colorBlack); CV_8U 92 modules/imgproc/perf/opencl/perf_filters.cpp ddepth = depth == CV_8U ? CV_32S : CV_32F; CV_8U 35 modules/imgproc/perf/perf_distanceTransform.cpp CV_ENUM(DstType, CV_8U, CV_32F) CV_8U 57 modules/imgproc/perf/perf_distanceTransform.cpp Mat src(srcSize, CV_8U); CV_8U 86 modules/imgproc/perf/perf_distanceTransform.cpp Mat src(srcSize, CV_8U); CV_8U 26 modules/imgproc/perf/perf_floodfill.cpp testing::Values((int)CV_8U, (int)CV_32F, (int)CV_32S) //image depth CV_8U 19 modules/imgproc/perf/perf_histogram.cpp testing::Values(CV_8U, CV_16U, CV_32F) ) CV_8U 108 modules/imgproc/perf/perf_histogram.cpp Mat source(size.height, size.width, CV_8U); CV_8U 47 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size, CV_8U); CV_8U 72 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size.height + 10, size.width + 10, CV_8U); CV_8U 100 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size, CV_8U); CV_8U 125 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size.height + 10, size.width + 10, CV_8U); CV_8U 155 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size, CV_8U); CV_8U 180 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size.height + 10, size.width + 10, CV_8U); CV_8U 208 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size, CV_8U); CV_8U 233 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size.height + 10, size.width + 10, CV_8U); CV_8U 771 modules/imgproc/src/accum.cpp return sdepth == CV_8U && ddepth == CV_32F ? 0 : CV_8U 772 modules/imgproc/src/accum.cpp sdepth == CV_8U && ddepth == CV_64F ? 1 : CV_8U 852 modules/imgproc/src/accum.cpp CV_Assert( _mask.empty() || (_src.sameSize(_mask) && _mask.type() == CV_8U) ); CV_8U 873 modules/imgproc/src/accum.cpp ippFunc = sdepth == CV_8U && ddepth == CV_32F ? (ippiAdd)ippiAdd_8u32f_C1IR : CV_8U 880 modules/imgproc/src/accum.cpp ippFuncMask = sdepth == CV_8U && ddepth == CV_32F ? (ippiAddMask)ippiAdd_8u32f_C1IMR : CV_8U 937 modules/imgproc/src/accum.cpp CV_Assert( _mask.empty() || (_src.sameSize(_mask) && _mask.type() == CV_8U) ); CV_8U 957 modules/imgproc/src/accum.cpp ippFunc = sdepth == CV_8U && ddepth == CV_32F ? (ippiAddSquare)ippiAddSquare_8u32f_C1IR : CV_8U 963 modules/imgproc/src/accum.cpp ippFuncMask = sdepth == CV_8U && ddepth == CV_32F ? (ippiAddSquareMask)ippiAddSquare_8u32f_C1IMR : CV_8U 1022 modules/imgproc/src/accum.cpp CV_Assert( _mask.empty() || (_src1.sameSize(_mask) && _mask.type() == CV_8U) ); CV_8U 1043 modules/imgproc/src/accum.cpp ippFunc = sdepth == CV_8U && ddepth == CV_32F ? (ippiAddProduct)ippiAddProduct_8u32f_C1IR : CV_8U 1049 modules/imgproc/src/accum.cpp ippFuncMask = sdepth == CV_8U && ddepth == CV_32F ? (ippiAddProductMask)ippiAddProduct_8u32f_C1IMR : CV_8U 1109 modules/imgproc/src/accum.cpp CV_Assert( _mask.empty() || (_src.sameSize(_mask) && _mask.type() == CV_8U) ); CV_8U 1131 modules/imgproc/src/accum.cpp ippFunc = sdepth == CV_8U && ddepth == CV_32F ? (ippiAddWeighted)ippiAddWeighted_8u32f_C1IR : CV_8U 1137 modules/imgproc/src/accum.cpp ippFuncMask = sdepth == CV_8U && ddepth == CV_32F ? (ippiAddWeightedMask)ippiAddWeighted_8u32f_C1IMR : CV_8U 127 modules/imgproc/src/blend.cpp CV_Assert(depth == CV_8U || depth == CV_32F); CV_8U 139 modules/imgproc/src/blend.cpp if (depth == CV_8U) CV_8U 587 modules/imgproc/src/canny.cpp CV_Assert( depth == CV_8U ); CV_8U 588 modules/imgproc/src/canny.cpp _dst.create(size, CV_8U); CV_8U 967 modules/imgproc/src/canny.cpp CV_Assert( src.size == dst.size && src.depth() == CV_8U && dst.type() == CV_8U ); CV_8U 6687 modules/imgproc/src/color.cpp if (depth != CV_8U && depth != CV_16U && depth != CV_32F) CV_8U 6715 modules/imgproc/src/color.cpp CV_Assert((dcn == 3 || dcn == 4) && scn == 2 && depth == CV_8U); CV_8U 6727 modules/imgproc/src/color.cpp CV_Assert((scn == 3 || scn == 4) && depth == CV_8U ); CV_8U 6739 modules/imgproc/src/color.cpp CV_Assert(scn == 2 && depth == CV_8U); CV_8U 6748 modules/imgproc/src/color.cpp CV_Assert(scn == 1 && depth == CV_8U); CV_8U 6800 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); CV_8U 6818 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); CV_8U 6838 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); CV_8U 6856 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && depth == CV_8U ); CV_8U 6892 modules/imgproc/src/color.cpp CV_Assert( scn == 2 && depth == CV_8U ); CV_8U 7023 modules/imgproc/src/color.cpp CV_Assert((scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F)); CV_8U 7032 modules/imgproc/src/color.cpp if (is_hsv && depth == CV_8U) CV_8U 7092 modules/imgproc/src/color.cpp CV_Assert(scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F)); CV_8U 7108 modules/imgproc/src/color.cpp CV_Assert(scn == 4 && depth == CV_8U); CV_8U 7118 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F) ); CV_8U 7141 modules/imgproc/src/color.cpp if (depth == CV_8U && lab) CV_8U 7243 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F) ); CV_8U 7337 modules/imgproc/src/color.cpp CV_OCL_RUN( _src.dims() <= 2 && _dst.isUMat() && !(depth == CV_8U && (code == CV_Luv2BGR || code == CV_Luv2RGB)), CV_8U 7343 modules/imgproc/src/color.cpp CV_Assert( depth == CV_8U || depth == CV_16U || depth == CV_32F ); CV_8U 7418 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 7434 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && depth == CV_8U ); CV_8U 7504 modules/imgproc/src/color.cpp CV_Assert( (dcn == 3 || dcn == 4) && scn == 2 && depth == CV_8U ); CV_8U 7612 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 7627 modules/imgproc/src/color.cpp CV_Assert( scn == 2 && depth == CV_8U ); CV_8U 7665 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 7680 modules/imgproc/src/color.cpp CV_Assert( scn == 1 && depth == CV_8U ); CV_8U 7703 modules/imgproc/src/color.cpp if (code == CV_RGB2YUV && scn == 3 && depth == CV_8U) CV_8U 7712 modules/imgproc/src/color.cpp else if (code == CV_BGR2YUV && scn == 3 && depth == CV_8U) CV_8U 7722 modules/imgproc/src/color.cpp else if (code == CV_RGB2YUV && scn == 4 && depth == CV_8U) CV_8U 7732 modules/imgproc/src/color.cpp else if (code == CV_BGR2YUV && scn == 4 && depth == CV_8U) CV_8U 7745 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 7777 modules/imgproc/src/color.cpp if (code == CV_YUV2RGB && dcn == 3 && depth == CV_8U) CV_8U 7786 modules/imgproc/src/color.cpp else if (code == CV_YUV2BGR && dcn == 3 && depth == CV_8U) CV_8U 7796 modules/imgproc/src/color.cpp else if (code == CV_YUV2RGB && dcn == 4 && depth == CV_8U) CV_8U 7806 modules/imgproc/src/color.cpp else if (code == CV_YUV2BGR && dcn == 4 && depth == CV_8U) CV_8U 7819 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 7877 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 7935 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 7946 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F) ); CV_8U 7958 modules/imgproc/src/color.cpp if( depth == CV_8U || depth == CV_16U ) CV_8U 8045 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 8052 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 8064 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F) ); CV_8U 8076 modules/imgproc/src/color.cpp if( depth == CV_8U || depth == CV_16U ) CV_8U 8157 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 8164 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 8175 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F) ); CV_8U 8187 modules/imgproc/src/color.cpp if (code == CV_LBGR2Lab && scn == 3 && depth == CV_8U) CV_8U 8196 modules/imgproc/src/color.cpp else if (code == CV_LBGR2Lab && scn == 4 && depth == CV_8U) CV_8U 8207 modules/imgproc/src/color.cpp if (code == CV_LRGB2Lab && scn == 3 && depth == CV_8U) // slower than OpenCV CV_8U 8217 modules/imgproc/src/color.cpp else if (code == CV_LRGB2Lab && scn == 4 && depth == CV_8U) // slower than OpenCV CV_8U 8272 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 8279 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 8291 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F) ); CV_8U 8303 modules/imgproc/src/color.cpp if( code == CV_Lab2LBGR && dcn == 3 && depth == CV_8U) CV_8U 8312 modules/imgproc/src/color.cpp else if( code == CV_Lab2LBGR && dcn == 4 && depth == CV_8U ) CV_8U 8322 modules/imgproc/src/color.cpp if( code == CV_Lab2LRGB && dcn == 3 && depth == CV_8U ) CV_8U 8332 modules/imgproc/src/color.cpp else if( code == CV_Lab2LRGB && dcn == 4 && depth == CV_8U ) CV_8U 8380 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 8387 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 8413 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); CV_8U 8448 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); CV_8U 8479 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); CV_8U 8506 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && depth == CV_8U ); CV_8U 8538 modules/imgproc/src/color.cpp CV_Assert( scn == 2 && depth == CV_8U ); CV_8U 8570 modules/imgproc/src/color.cpp CV_Assert( scn == 2 && depth == CV_8U ); CV_8U 8583 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 8612 modules/imgproc/src/color.cpp if( depth == CV_8U ) CV_8U 524 modules/imgproc/src/colormap.cpp lut.convertTo(lut8, CV_8U, 255.); CV_8U 349 modules/imgproc/src/connectedcomponents.cpp CV_Assert(iDepth == CV_8U || iDepth == CV_8S); CV_8U 351 modules/imgproc/src/connectedcomponents.cpp if(lDepth == CV_8U){ CV_8U 283 modules/imgproc/src/corner.cpp if( depth == CV_8U ) CV_8U 392 modules/imgproc/src/corner.cpp CV_Assert(depth == CV_8U || depth == CV_32F); CV_8U 458 modules/imgproc/src/corner.cpp if (depth == CV_8U) CV_8U 506 modules/imgproc/src/corner.cpp if( depth == CV_8U ) CV_8U 624 modules/imgproc/src/corner.cpp if (depth == CV_8U) CV_8U 635 modules/imgproc/src/corner.cpp if (depth == CV_8U) CV_8U 690 modules/imgproc/src/corner.cpp if( src.depth() == CV_8U ) CV_8U 1622 modules/imgproc/src/demosaicing.cpp CV_Assert(depth == CV_8U || depth == CV_16U); CV_8U 1635 modules/imgproc/src/demosaicing.cpp if( depth == CV_8U ) CV_8U 1656 modules/imgproc/src/demosaicing.cpp if( depth == CV_8U ) CV_8U 1665 modules/imgproc/src/demosaicing.cpp CV_Assert( depth == CV_8U ); CV_8U 1679 modules/imgproc/src/demosaicing.cpp if (depth == CV_8U) CV_8U 230 modules/imgproc/src/deriv.cpp if ((CV_8U == stype) && (CV_16S == dtype)) CV_8U 426 modules/imgproc/src/deriv.cpp if (src.type() == CV_8U && dst.type() == CV_16S && scale == 1) CV_8U 843 modules/imgproc/src/deriv.cpp if (sdepth == CV_8U && ddepth == CV_16S && !floatScale && !floatDelta) CV_8U 903 modules/imgproc/src/deriv.cpp int wdepth = sdepth == CV_8U && ksize <= 5 ? CV_16S : sdepth <= CV_32F ? CV_32F : CV_64F; CV_8U 851 modules/imgproc/src/distransform.cpp if (distanceType == CV_DIST_L1 && dstType==CV_8U) CV_8U 300 modules/imgproc/src/drawing.cpp if( !((nch == 1 || nch == 3 || nch == 4) && img.depth() == CV_8U) ) CV_8U 1666 modules/imgproc/src/drawing.cpp if( line_type == CV_AA && img.depth() != CV_8U ) CV_8U 1701 modules/imgproc/src/drawing.cpp if( lineType == CV_AA && img.depth() != CV_8U ) CV_8U 1742 modules/imgproc/src/drawing.cpp if( line_type == CV_AA && img.depth() != CV_8U ) CV_8U 1770 modules/imgproc/src/drawing.cpp if( line_type == CV_AA && img.depth() != CV_8U ) CV_8U 1796 modules/imgproc/src/drawing.cpp if( lineType == CV_AA && img.depth() != CV_8U ) CV_8U 1819 modules/imgproc/src/drawing.cpp if( line_type == CV_AA && img.depth() != CV_8U ) CV_8U 1833 modules/imgproc/src/drawing.cpp if( line_type == CV_AA && img.depth() != CV_8U ) CV_8U 1858 modules/imgproc/src/drawing.cpp if( line_type == CV_AA && img.depth() != CV_8U ) CV_8U 2102 modules/imgproc/src/drawing.cpp if( line_type == CV_AA && img.depth() != CV_8U ) CV_8U 2377 modules/imgproc/src/drawing.cpp if( line_type == CV_AA && img.depth() != CV_8U ) CV_8U 2505 modules/imgproc/src/drawing.cpp if( CV_MAT_DEPTH( type ) == CV_8U ) CV_8U 3637 modules/imgproc/src/filter.cpp if( sdepth == CV_8U && ddepth == CV_32S ) CV_8U 3645 modules/imgproc/src/filter.cpp if( sdepth == CV_8U && ddepth == CV_32S ) CV_8U 3648 modules/imgproc/src/filter.cpp if( sdepth == CV_8U && ddepth == CV_32F ) CV_8U 3650 modules/imgproc/src/filter.cpp if( sdepth == CV_8U && ddepth == CV_64F ) CV_8U 3691 modules/imgproc/src/filter.cpp if( ddepth == CV_8U && sdepth == CV_32S ) CV_8U 3694 modules/imgproc/src/filter.cpp if( ddepth == CV_8U && sdepth == CV_32F ) CV_8U 3696 modules/imgproc/src/filter.cpp if( ddepth == CV_8U && sdepth == CV_64F ) CV_8U 3716 modules/imgproc/src/filter.cpp if( ddepth == CV_8U && sdepth == CV_32S ) CV_8U 3731 modules/imgproc/src/filter.cpp if( ddepth == CV_8U && sdepth == CV_32S ) CV_8U 3735 modules/imgproc/src/filter.cpp if( ddepth == CV_8U && sdepth == CV_32F ) CV_8U 3738 modules/imgproc/src/filter.cpp if( ddepth == CV_8U && sdepth == CV_64F ) CV_8U 3802 modules/imgproc/src/filter.cpp if( sdepth == CV_8U && CV_8U 3805 modules/imgproc/src/filter.cpp ddepth == CV_8U) || CV_8U 3812 modules/imgproc/src/filter.cpp bits = ddepth == CV_8U ? 8 : 0; CV_8U 3853 modules/imgproc/src/filter.cpp CV_Assert( ktype == CV_8U || ktype == CV_32S || ktype == CV_32F || ktype == CV_64F ); CV_8U 3863 modules/imgproc/src/filter.cpp if( ktype == CV_8U ) CV_8U 4396 modules/imgproc/src/filter.cpp if( sdepth == CV_8U && ddepth == CV_8U && CV_8U 4475 modules/imgproc/src/filter.cpp if( sdepth == CV_8U && ddepth == CV_8U ) CV_8U 4478 modules/imgproc/src/filter.cpp if( sdepth == CV_8U && ddepth == CV_16U ) CV_8U 4481 modules/imgproc/src/filter.cpp if( sdepth == CV_8U && ddepth == CV_16S ) CV_8U 4484 modules/imgproc/src/filter.cpp if( sdepth == CV_8U && ddepth == CV_32F ) CV_8U 4487 modules/imgproc/src/filter.cpp if( sdepth == CV_8U && ddepth == CV_64F ) CV_8U 4572 modules/imgproc/src/filter.cpp int dft_filter_size = ((src.depth() == CV_8U && (ddepth == CV_8U || ddepth == CV_16S)) || CV_8U 555 modules/imgproc/src/floodfill.cpp CV_Assert( mask.type() == CV_8U ); CV_8U 566 modules/imgproc/src/floodfill.cpp if( depth == CV_8U ) CV_8U 176 modules/imgproc/src/histogram.cpp CV_Assert( depth == CV_8U ); CV_8U 1284 modules/imgproc/src/histogram.cpp if( depth == CV_8U ) CV_8U 1456 modules/imgproc/src/histogram.cpp if( depth == CV_8U ) CV_8U 1563 modules/imgproc/src/histogram.cpp CV_Assert(rsz == dims*2 || (rsz == 0 && images.depth(0) == CV_8U)); CV_8U 1895 modules/imgproc/src/histogram.cpp if( depth == CV_8U ) CV_8U 2058 modules/imgproc/src/histogram.cpp if( depth == CV_8U ) CV_8U 2115 modules/imgproc/src/histogram.cpp if (depth != CV_8U) CV_8U 2251 modules/imgproc/src/histogram.cpp CV_Assert(rsz == dims*2 || (rsz == 2 && _1d) || (rsz == 0 && images.depth(0) == CV_8U)); CV_8U 85 modules/imgproc/src/imgwarp.cpp case CV_8U: CV_8U 99 modules/imgproc/src/imgwarp.cpp case CV_8U: CV_8U 111 modules/imgproc/src/imgwarp.cpp case CV_8U: CV_8U 2945 modules/imgproc/src/imgwarp.cpp if (depth == CV_8U && ((void)0, 0)) CV_8U 3254 modules/imgproc/src/imgwarp.cpp !(interpolation == INTER_LINEAR && is_area_fast && iscale_x == 2 && iscale_y == 2 && depth == CV_8U)) CV_8U 3352 modules/imgproc/src/imgwarp.cpp bool fixpt = depth == CV_8U; CV_8U 4722 modules/imgproc/src/imgwarp.cpp bool fixpt = depth == CV_8U; CV_8U 5613 modules/imgproc/src/imgwarp.cpp if( ( depth == CV_8U || depth == CV_16U || depth == CV_32F ) && CV_8U 6122 modules/imgproc/src/imgwarp.cpp if( (depth == CV_8U || depth == CV_16U || depth == CV_32F) && CV_8U 646 modules/imgproc/src/moments.cpp if( binary || depth == CV_8U ) CV_8U 673 modules/imgproc/src/moments.cpp cv::Mat tmp(tileSize, CV_8U, nzbuf); CV_8U 791 modules/imgproc/src/morph.cpp CV_Assert( _kernel.type() == CV_8U ); CV_8U 859 modules/imgproc/src/morph.cpp if( depth == CV_8U ) CV_8U 877 modules/imgproc/src/morph.cpp if( depth == CV_8U ) CV_8U 906 modules/imgproc/src/morph.cpp if( depth == CV_8U ) CV_8U 924 modules/imgproc/src/morph.cpp if( depth == CV_8U ) CV_8U 954 modules/imgproc/src/morph.cpp if( depth == CV_8U ) CV_8U 967 modules/imgproc/src/morph.cpp if( depth == CV_8U ) CV_8U 1009 modules/imgproc/src/morph.cpp CV_Assert( depth == CV_8U || depth == CV_16U || depth == CV_16S || CV_8U 1012 modules/imgproc/src/morph.cpp borderValue = Scalar::all( depth == CV_8U ? (double)UCHAR_MAX : CV_8U 1017 modules/imgproc/src/morph.cpp borderValue = Scalar::all( depth == CV_8U || depth == CV_16U ? CV_8U 1048 modules/imgproc/src/morph.cpp Mat elem(ksize, CV_8U); CV_8U 1270 modules/imgproc/src/morph.cpp if( !( depth == CV_8U || depth == CV_32F ) || !(cn == 1 || cn == 3 || cn == 4) || CV_8U 1366 modules/imgproc/src/morph.cpp if (depth == CV_8U) CV_8U 1423 modules/imgproc/src/morph.cpp _kernel.getMat().convertTo(kernel8u, CV_8U); CV_8U 1574 modules/imgproc/src/morph.cpp kernel.convertTo(kernel8u, CV_8U); CV_8U 1940 modules/imgproc/src/morph.cpp dst.create(src->nRows, src->nCols, CV_8U); CV_8U 1090 modules/imgproc/src/pyramids.cpp if (depth == CV_8U && float_depth == CV_32F && cn == 1 && ocl::Device::getDefault().isIntel()) CV_8U 1207 modules/imgproc/src/pyramids.cpp IppDataType dataType = depth == CV_8U ? ipp8u : ipp32f; CV_8U 1230 modules/imgproc/src/pyramids.cpp if( depth == CV_8U ) CV_8U 1284 modules/imgproc/src/pyramids.cpp IppDataType dataType = depth == CV_8U ? ipp8u : ipp32f; CV_8U 1307 modules/imgproc/src/pyramids.cpp if( depth == CV_8U ) CV_8U 391 modules/imgproc/src/samplers.cpp srctype == CV_8UC1 && ddepth == CV_8U ? (ippiGetRectSubPixFunc)ippiCopySubpixIntersect_8u_C1R : CV_8U 408 modules/imgproc/src/samplers.cpp if( depth == CV_8U && ddepth == CV_8U ) CV_8U 411 modules/imgproc/src/samplers.cpp else if( depth == CV_8U && ddepth == CV_32F ) CV_8U 450 modules/imgproc/src/samplers.cpp if( src.depth() == CV_8U && dst.depth() == CV_32F ) CV_8U 701 modules/imgproc/src/shapedescr.cpp return m.depth() <= CV_8U ? maskBoundingRect(m) : pointSetBoundingRect(m); CV_8U 1220 modules/imgproc/src/smooth.cpp if( sdepth == CV_8U && ddepth == CV_32S ) CV_8U 1222 modules/imgproc/src/smooth.cpp if( sdepth == CV_8U && ddepth == CV_64F ) CV_8U 1256 modules/imgproc/src/smooth.cpp if( ddepth == CV_8U && sdepth == CV_32S ) CV_8U 1258 modules/imgproc/src/smooth.cpp if( ddepth == CV_8U && sdepth == CV_64F ) CV_8U 1293 modules/imgproc/src/smooth.cpp ksize.width*ksize.height <= (sdepth == CV_8U ? (1<<23) : CV_8U 1468 modules/imgproc/src/smooth.cpp if( sdepth == CV_8U && ddepth == CV_32S ) CV_8U 1470 modules/imgproc/src/smooth.cpp if( sdepth == CV_8U && ddepth == CV_64F ) CV_8U 1512 modules/imgproc/src/smooth.cpp if( sdepth == CV_8U ) CV_8U 1598 modules/imgproc/src/smooth.cpp ksize.width = cvRound(sigma1*(depth == CV_8U ? 3 : 4)*2 + 1)|1; CV_8U 1600 modules/imgproc/src/smooth.cpp ksize.height = cvRound(sigma2*(depth == CV_8U ? 3 : 4)*2 + 1)|1; CV_8U 1662 modules/imgproc/src/smooth.cpp if ((depth == CV_8U || depth == CV_16U || depth == CV_16S || depth == CV_32F) && (cn == 1 || cn == 3) && CV_8U 2588 modules/imgproc/src/smooth.cpp if ( !((depth == CV_8U || depth == CV_16U || depth == CV_16S || depth == CV_32F) && cn <= 4 && (m == 3 || m == 5)) ) CV_8U 2707 modules/imgproc/src/smooth.cpp && src0.depth() > CV_8U CV_8U 2719 modules/imgproc/src/smooth.cpp if( src.depth() == CV_8U ) CV_8U 2737 modules/imgproc/src/smooth.cpp CV_Assert( src.depth() == CV_8U && (cn == 1 || cn == 3 || cn == 4) ); CV_8U 2977 modules/imgproc/src/smooth.cpp if (depth != CV_8U || cn > 4) CV_8U 3034 modules/imgproc/src/smooth.cpp ocl::convertTypeStr(CV_8U, CV_32S, cn, cvt[0]), CV_8U 3037 modules/imgproc/src/smooth.cpp ocl::convertTypeStr(CV_32F, CV_8U, cn, cvt[2]), gauss_color_coeff)); CV_8U 3420 modules/imgproc/src/smooth.cpp if( src.depth() == CV_8U ) CV_8U 432 modules/imgproc/src/sumpixels.cpp sdepth = depth == CV_8U ? CV_32S : CV_64F; CV_8U 462 modules/imgproc/src/sumpixels.cpp if( ( depth == CV_8U ) && ( sdepth == CV_32F || sdepth == CV_32S ) && ( !_tilted.needed() ) && ( !_sqsum.needed() || sqdepth == CV_64F ) && ( cn == 1 ) ) CV_8U 505 modules/imgproc/src/sumpixels.cpp if( depth == CV_8U && sdepth == CV_32S && sqdepth == CV_64F ) CV_8U 507 modules/imgproc/src/sumpixels.cpp else if( depth == CV_8U && sdepth == CV_32S && sqdepth == CV_32F ) CV_8U 509 modules/imgproc/src/sumpixels.cpp else if( depth == CV_8U && sdepth == CV_32S && sqdepth == CV_32S ) CV_8U 511 modules/imgproc/src/sumpixels.cpp else if( depth == CV_8U && sdepth == CV_32F && sqdepth == CV_64F ) CV_8U 513 modules/imgproc/src/sumpixels.cpp else if( depth == CV_8U && sdepth == CV_32F && sqdepth == CV_32F ) CV_8U 515 modules/imgproc/src/sumpixels.cpp else if( depth == CV_8U && sdepth == CV_64F && sqdepth == CV_64F ) CV_8U 300 modules/imgproc/src/templmatch.cpp if(_image.depth() == CV_8U) CV_8U 580 modules/imgproc/src/templmatch.cpp depth==CV_8U ? (ippimatchTemplate)ippiCrossCorrNorm_8u32f_C1R: CV_8U 613 modules/imgproc/src/templmatch.cpp depth==CV_8U ? (ippimatchTemplate)ippiSqrDistanceNorm_8u32f_C1R: CV_8U 822 modules/imgproc/src/templmatch.cpp CV_Assert( (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 ); CV_8U 828 modules/imgproc/src/templmatch.cpp if (depth == CV_8U) CV_8U 835 modules/imgproc/src/templmatch.cpp if (tdepth == CV_8U) CV_8U 842 modules/imgproc/src/templmatch.cpp if (mdepth == CV_8U) CV_8U 910 modules/imgproc/src/templmatch.cpp CV_Assert( (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 ); CV_8U 1114 modules/imgproc/src/thresh.cpp if (srcStripe.depth() == CV_8U) CV_8U 1210 modules/imgproc/src/thresh.cpp if( src.depth() == CV_8U ) CV_8U 1343 modules/imgproc/src/thresh.cpp (src.depth() == dst.depth() || dst.depth() == CV_8U)); CV_8U 225 modules/imgproc/test/ocl/test_accumulate.cpp testing::Values(std::make_pair<MatDepth, MatDepth>(CV_8U, CV_32F), \ CV_8U 228 modules/imgproc/test/ocl/test_accumulate.cpp std::make_pair<MatDepth, MatDepth>(CV_8U, CV_64F), \ CV_8U 124 modules/imgproc/test/ocl/test_blend.cpp OCL_INSTANTIATE_TEST_CASE_P(ImgProc, BlendLinear, Combine(testing::Values(CV_8U, CV_32F), OCL_ALL_CHANNELS, Bool())); CV_8U 124 modules/imgproc/test/ocl/test_boxfilter.cpp int ddepth = depth == CV_8U ? CV_32S : CV_64F; CV_8U 135 modules/imgproc/test/ocl/test_boxfilter.cpp Values(CV_8U, CV_16U, CV_16S, CV_32S, CV_32F), CV_8U 148 modules/imgproc/test/ocl/test_boxfilter.cpp Values(CV_8U, CV_16U, CV_16S, CV_32F, CV_64F), CV_8U 198 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, HSV2RGB) { performTest(3, 3, CVTCODE(HSV2RGB), depth == CV_8U ? 1 : 4e-1); } CV_8U 199 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, HSV2BGR) { performTest(3, 3, CVTCODE(HSV2BGR), depth == CV_8U ? 1 : 4e-1); } CV_8U 200 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, HSV2RGBA) { performTest(3, 4, CVTCODE(HSV2RGB), depth == CV_8U ? 1 : 4e-1); } CV_8U 201 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, HSV2BGRA) { performTest(3, 4, CVTCODE(HSV2BGR), depth == CV_8U ? 1 : 4e-1); } CV_8U 203 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, HSV2RGB_FULL) { performTest(3, 3, CVTCODE(HSV2RGB_FULL), depth == CV_8U ? 1 : 4e-1); } CV_8U 204 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, HSV2BGR_FULL) { performTest(3, 3, CVTCODE(HSV2BGR_FULL), depth == CV_8U ? 1 : 4e-1); } CV_8U 205 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, HSV2RGBA_FULL) { performTest(3, 4, CVTCODE(HSV2BGR_FULL), depth == CV_8U ? 1 : 4e-1); } CV_8U 206 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, HSV2BGRA_FULL) { performTest(3, 4, CVTCODE(HSV2BGR_FULL), depth == CV_8U ? 1 : 4e-1); } CV_8U 211 modules/imgproc/test/ocl/test_color.cpp #define IPP_EPS depth == CV_8U ? 2 : 1e-3 CV_8U 213 modules/imgproc/test/ocl/test_color.cpp #define IPP_EPS depth == CV_8U ? 1 : 1e-3 CV_8U 216 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, RGB2HLS) { performTest(3, 3, CVTCODE(RGB2HLS), depth == CV_8U ? 1 : 1e-3); } CV_8U 217 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, BGR2HLS) { performTest(3, 3, CVTCODE(BGR2HLS), depth == CV_8U ? 1 : 1e-3); } CV_8U 218 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, RGBA2HLS) { performTest(4, 3, CVTCODE(RGB2HLS), depth == CV_8U ? 1 : 1e-3); } CV_8U 219 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, BGRA2HLS) { performTest(4, 3, CVTCODE(BGR2HLS), depth == CV_8U ? 1 : 1e-3); } CV_8U 294 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Lab2BGR) { performTest(3, 3, CVTCODE(Lab2BGR), depth == CV_8U ? 1 : 1e-5); } CV_8U 295 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Lab2RGB) { performTest(3, 3, CVTCODE(Lab2RGB), depth == CV_8U ? 1 : 1e-5); } CV_8U 296 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Lab2LBGR) { performTest(3, 3, CVTCODE(Lab2LBGR), depth == CV_8U ? 1 : 1e-5); } CV_8U 297 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Lab2LRGB) { performTest(3, 3, CVTCODE(Lab2LRGB), depth == CV_8U ? 1 : 1e-5); } CV_8U 298 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Lab2BGRA) { performTest(3, 4, CVTCODE(Lab2BGR), depth == CV_8U ? 1 : 1e-5); } CV_8U 299 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Lab2RGBA) { performTest(3, 4, CVTCODE(Lab2RGB), depth == CV_8U ? 1 : 1e-5); } CV_8U 300 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Lab2LBGRA) { performTest(3, 4, CVTCODE(Lab2LBGR), depth == CV_8U ? 1 : 1e-5); } CV_8U 301 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Lab2LRGBA) { performTest(3, 4, CVTCODE(Lab2LRGB), depth == CV_8U ? 1 : 1e-5); } CV_8U 305 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, BGR2Luv) { performTest(3, 3, CVTCODE(BGR2Luv), depth == CV_8U ? 1 : 1.5e-2); } CV_8U 306 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, RGB2Luv) { performTest(3, 3, CVTCODE(RGB2Luv), depth == CV_8U ? 1 : 1.5e-2); } CV_8U 307 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, LBGR2Luv) { performTest(3, 3, CVTCODE(LBGR2Luv), depth == CV_8U ? 1 : 6e-3); } CV_8U 308 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, LRGB2Luv) { performTest(3, 3, CVTCODE(LRGB2Luv), depth == CV_8U ? 1 : 6e-3); } CV_8U 309 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, BGRA2Luv) { performTest(4, 3, CVTCODE(BGR2Luv), depth == CV_8U ? 1 : 2e-2); } CV_8U 310 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, RGBA2Luv) { performTest(4, 3, CVTCODE(RGB2Luv), depth == CV_8U ? 1 : 2e-2); } CV_8U 311 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, LBGRA2Luv) { performTest(4, 3, CVTCODE(LBGR2Luv), depth == CV_8U ? 1 : 6e-3); } CV_8U 312 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, LRGBA2Luv) { performTest(4, 3, CVTCODE(LRGB2Luv), depth == CV_8U ? 1 : 6e-3); } CV_8U 314 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Luv2BGR) { performTest(3, 3, CVTCODE(Luv2BGR), depth == CV_8U ? 1 : 7e-5); } CV_8U 315 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Luv2RGB) { performTest(3, 3, CVTCODE(Luv2RGB), depth == CV_8U ? 1 : 7e-5); } CV_8U 316 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Luv2LBGR) { performTest(3, 3, CVTCODE(Luv2LBGR), depth == CV_8U ? 1 : 1e-5); } CV_8U 317 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Luv2LRGB) { performTest(3, 3, CVTCODE(Luv2LRGB), depth == CV_8U ? 1 : 1e-5); } CV_8U 318 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Luv2BGRA) { performTest(3, 4, CVTCODE(Luv2BGR), depth == CV_8U ? 1 : 7e-5); } CV_8U 319 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Luv2RGBA) { performTest(3, 4, CVTCODE(Luv2RGB), depth == CV_8U ? 1 : 7e-5); } CV_8U 320 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Luv2LBGRA) { performTest(3, 4, CVTCODE(Luv2LBGR), depth == CV_8U ? 1 : 1e-5); } CV_8U 321 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Luv2LRGBA) { performTest(3, 4, CVTCODE(Luv2LRGB), depth == CV_8U ? 1 : 1e-5); } CV_8U 438 modules/imgproc/test/ocl/test_color.cpp testing::Combine(testing::Values(MatDepth(CV_8U)), Bool())); CV_8U 441 modules/imgproc/test/ocl/test_color.cpp testing::Combine(testing::Values(MatDepth(CV_8U), MatDepth(CV_32F)), Bool())); CV_8U 445 modules/imgproc/test/ocl/test_color.cpp testing::Values(MatDepth(CV_8U), MatDepth(CV_16U), MatDepth(CV_32F)), CV_8U 450 modules/imgproc/test/ocl/test_color.cpp testing::Values(MatDepth(CV_8U)), CV_8U 455 modules/imgproc/test/ocl/test_color.cpp testing::Values(MatDepth(CV_8U)), CV_8U 460 modules/imgproc/test/ocl/test_color.cpp testing::Values(MatDepth(CV_8U)), CV_8U 126 modules/imgproc/test/ocl/test_filter2d.cpp Values(CV_8U, CV_16U, CV_32F), CV_8U 272 modules/imgproc/test/ocl/test_histogram.cpp OCL_INSTANTIATE_TEST_CASE_P(Imgproc, CalcBackProject, Combine(Values((MatDepth)CV_8U), Values(1, 2), Bool())); CV_8U 488 modules/imgproc/test/ocl/test_imgproc.cpp testing::Values((MatDepth)CV_8U, (MatDepth)CV_16S, (MatDepth)CV_32S, (MatDepth)CV_32F), CV_8U 128 modules/imgproc/test/ocl/test_match_template.cpp Values(CV_8U, CV_32F), CV_8U 104 modules/imgproc/test/ocl/test_medianfilter.cpp Values(CV_8U, CV_16U, CV_16S, CV_32F), CV_8U 111 modules/imgproc/test/ocl/test_pyramids.cpp Values(CV_8U, CV_16U, CV_16S, CV_32F, CV_64F), CV_8U 138 modules/imgproc/test/ocl/test_pyramids.cpp Values(CV_8U, CV_16U, CV_16S, CV_32F, CV_64F), CV_8U 124 modules/imgproc/test/ocl/test_sepfilter2D.cpp Values(CV_8U, CV_32F), CV_8U 367 modules/imgproc/test/ocl/test_warp.cpp Values(CV_8U, CV_16U, CV_32F), CV_8U 380 modules/imgproc/test/ocl/test_warp.cpp Values(CV_8U, CV_16U, CV_32F), CV_8U 89 modules/imgproc/test/test_canny.cpp types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_8U; CV_8U 114 modules/imgproc/test/test_color.cpp high = Scalar::all( depth == CV_8U ? 256 : depth == CV_16U ? 65536 : 1. ); CV_8U 129 modules/imgproc/test/test_color.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_16U : CV_32F; CV_8U 134 modules/imgproc/test/test_color.cpp depth = depth == 0 ? CV_8U : allow_16u ? CV_16U : CV_32F; CV_8U 137 modules/imgproc/test/test_color.cpp depth = CV_8U; CV_8U 188 modules/imgproc/test/test_color.cpp if( depth == CV_8U && hue_range ) CV_8U 224 modules/imgproc/test/test_color.cpp case CV_8U: CV_8U 319 modules/imgproc/test/test_color.cpp case CV_8U: CV_8U 465 modules/imgproc/test/test_color.cpp return depth == CV_8U ? 2 : depth == CV_16U ? 16 : 1e-5; CV_8U 472 modules/imgproc/test/test_color.cpp double scale = depth == CV_8U ? 255 : depth == CV_16U ? 65535 : 1; CV_8U 486 modules/imgproc/test/test_color.cpp float scale = depth == CV_8U ? (1.f/255) : depth == CV_16U ? 1.f/65535 : 1.f; CV_8U 525 modules/imgproc/test/test_color.cpp return depth == CV_8U ? 2 : depth == CV_16U ? 32 : 1e-3; CV_8U 532 modules/imgproc/test/test_color.cpp double scale = depth == CV_8U ? 255 : depth == CV_16U ? 65535 : 1; CV_8U 533 modules/imgproc/test/test_color.cpp double bias = depth == CV_8U ? 128 : depth == CV_16U ? 32768 : 0.5; CV_8U 560 modules/imgproc/test/test_color.cpp double bias = depth == CV_8U ? 128 : depth == CV_16U ? 32768 : 0.5; CV_8U 561 modules/imgproc/test/test_color.cpp double scale = depth == CV_8U ? 1./255 : depth == CV_16U ? 1./65535 : 1; CV_8U 632 modules/imgproc/test/test_color.cpp return depth == CV_8U ? (j == 0 ? 4 : 16) : depth == CV_16U ? 32 : 1e-3; CV_8U 639 modules/imgproc/test/test_color.cpp float h_scale = depth == CV_8U ? hue_range*30.f/180 : 60.f; CV_8U 640 modules/imgproc/test/test_color.cpp float scale = depth == CV_8U ? 255.f : depth == CV_16U ? 65535.f : 1.f; CV_8U 678 modules/imgproc/test/test_color.cpp float h_scale = depth == CV_8U ? 180/(hue_range*30.f) : 1.f/60; CV_8U 679 modules/imgproc/test/test_color.cpp float scale = depth == CV_8U ? 1.f/255 : depth == CV_16U ? 1.f/65535 : 1; CV_8U 757 modules/imgproc/test/test_color.cpp return depth == CV_8U ? (j == 0 ? 4 : 16) : depth == CV_16U ? 32 : 1e-4; CV_8U 764 modules/imgproc/test/test_color.cpp float h_scale = depth == CV_8U ? 30.f : 60.f; CV_8U 765 modules/imgproc/test/test_color.cpp float scale = depth == CV_8U ? 255.f : depth == CV_16U ? 65535.f : 1.f; CV_8U 805 modules/imgproc/test/test_color.cpp float h_scale = depth == CV_8U ? 1.f/30 : 1.f/60; CV_8U 806 modules/imgproc/test/test_color.cpp float scale = depth == CV_8U ? 1.f/255 : depth == CV_16U ? 1.f/65535 : 1; CV_8U 922 modules/imgproc/test/test_color.cpp return depth == CV_8U ? (j == 0 ? 2 : 8) : depth == CV_16U ? (j == 0 ? 64 : 128) : 1e-1; CV_8U 929 modules/imgproc/test/test_color.cpp double scale = depth == CV_8U ? 255 : depth == CV_16U ? 65535 : 1; CV_8U 954 modules/imgproc/test/test_color.cpp double scale = depth == CV_8U ? 1./255 : depth == CV_16U ? 1./65535 : 1; CV_8U 1009 modules/imgproc/test/test_color.cpp return depth == CV_8U ? 16 : depth == CV_16U ? 32 : 1e-3; CV_8U 1020 modules/imgproc/test/test_color.cpp float Lscale = depth == CV_8U ? 255.f/100.f : depth == CV_16U ? 65535.f/100.f : 1.f; CV_8U 1021 modules/imgproc/test/test_color.cpp float ab_bias = depth == CV_8U ? 128.f : depth == CV_16U ? 32768.f : 0.f; CV_8U 1065 modules/imgproc/test/test_color.cpp float Lscale = depth == CV_8U ? 100.f/255.f : depth == CV_16U ? 100.f/65535.f : 1.f; CV_8U 1066 modules/imgproc/test/test_color.cpp float ab_bias = depth == CV_8U ? 128.f : depth == CV_16U ? 32768.f : 0.f; CV_8U 1150 modules/imgproc/test/test_color.cpp return depth == CV_8U ? 48 : depth == CV_16U ? 32 : 5e-2; CV_8U 1157 modules/imgproc/test/test_color.cpp float Lscale = depth == CV_8U ? 255.f/100.f : depth == CV_16U ? 65535.f/100.f : 1.f; CV_8U 1169 modules/imgproc/test/test_color.cpp if( depth == CV_8U ) CV_8U 1211 modules/imgproc/test/test_color.cpp float Lscale = depth == CV_8U ? 100.f/255.f : depth == CV_16U ? 100.f/65535.f : 1.f; CV_8U 1222 modules/imgproc/test/test_color.cpp if( depth == CV_8U ) CV_8U 1296 modules/imgproc/test/test_color.cpp types[INPUT][0] = types[OUTPUT][1] = types[REF_OUTPUT][1] = CV_MAKETYPE(CV_8U,cn); CV_8U 1297 modules/imgproc/test/test_color.cpp types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(CV_8U,2); CV_8U 1355 modules/imgproc/test/test_color.cpp case CV_8U: CV_8U 1441 modules/imgproc/test/test_color.cpp case CV_8U: CV_8U 1667 modules/imgproc/test/test_color.cpp if( depth == CV_8U ) CV_8U 1821 modules/imgproc/test/test_color.cpp calculateBayerPattern<uchar, CV_8U>(src, bayer, pattern[i]); CV_8U 2117 modules/imgproc/test/test_color.cpp calculateBayerPattern<uchar, CV_8U>(src, bayer, types[i]); CV_8U 2150 modules/imgproc/test/test_color.cpp CV_Assert(raw.depth() == CV_8U); CV_8U 469 modules/imgproc/test/test_contours.cpp Mat img(w, w, CV_8U); CV_8U 120 modules/imgproc/test/test_distancetransform.cpp if( i == INPUT && CV_MAT_DEPTH(type) == CV_8U ) CV_8U 199 modules/imgproc/test/test_filter.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_16U : depth == 2 ? CV_16S : CV_32F; CV_8U 260 modules/imgproc/test/test_filter.cpp _ielement.convertTo(_element, CV_8U); CV_8U 409 modules/imgproc/test/test_filter.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_16U : CV_32F; CV_8U 462 modules/imgproc/test/test_filter.cpp depth = depth == 0 ? CV_8U : CV_32F; CV_8U 464 modules/imgproc/test/test_filter.cpp types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth==CV_8U?CV_16S:CV_32F,1); CV_8U 643 modules/imgproc/test/test_filter.cpp depth = depth == 0 ? CV_8U : CV_32F; CV_8U 688 modules/imgproc/test/test_filter.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_16U : depth == 2 ? CV_16S : CV_32F; CV_8U 694 modules/imgproc/test/test_filter.cpp types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth==CV_8U?CV_16S:CV_32F,1); CV_8U 867 modules/imgproc/test/test_filter.cpp int depth = CV_8U; CV_8U 1058 modules/imgproc/test/test_filter.cpp const int depthes[] = {CV_8U, CV_16S, CV_16U, CV_32F}; CV_8U 1271 modules/imgproc/test/test_filter.cpp depth = depth == 0 ? CV_8U : CV_32F; CV_8U 1278 modules/imgproc/test/test_filter.cpp if( depth == CV_8U ) CV_8U 1612 modules/imgproc/test/test_filter.cpp depth = depth == 0 ? CV_8U : CV_32F; CV_8U 1615 modules/imgproc/test/test_filter.cpp sum_depth = depth == CV_8U && b ? CV_32S : b ? CV_32F : CV_64F; CV_8U 1799 modules/imgproc/test/test_filter.cpp {CV_8U, CV_8U}, CV_8U 1800 modules/imgproc/test/test_filter.cpp {CV_8U, CV_16U}, CV_8U 1801 modules/imgproc/test/test_filter.cpp {CV_8U, CV_16S}, CV_8U 1802 modules/imgproc/test/test_filter.cpp {CV_8U, CV_32F}, CV_8U 1803 modules/imgproc/test/test_filter.cpp {CV_8U, CV_64F}, CV_8U 101 modules/imgproc/test/test_floodfill.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_32S : CV_32F; CV_8U 170 modules/imgproc/test/test_floodfill.cpp tmp.create(arr.size(), CV_MAKETYPE(CV_8U, arr.channels())); CV_8U 259 modules/imgproc/test/test_floodfill.cpp if( CV_MAT_DEPTH(_img->type) == CV_8U || CV_MAT_DEPTH(_img->type) == CV_32S ) CV_8U 159 modules/imgproc/test/test_histograms.cpp img_type = cvtest::randInt(rng) % 2 ? CV_32F : CV_8U; CV_8U 387 modules/imgproc/test/test_histograms.cpp bit_mask = cvCreateMat( 1, (total_size + 7)/8, CV_8U ); CV_8U 1185 modules/imgproc/test/test_histograms.cpp img_type == CV_8U ? IPL_DEPTH_8U : IPL_DEPTH_32F, nch ); CV_8U 1227 modules/imgproc/test/test_histograms.cpp CvMat images[CV_MAX_DIM], mask = cvMat(1,1,CV_8U); CV_8U 1396 modules/imgproc/test/test_histograms.cpp img_type == CV_8U ? IPL_DEPTH_8U : IPL_DEPTH_32F, nch ); CV_8U 1428 modules/imgproc/test/test_histograms.cpp if( img_type == CV_8U ) CV_8U 1538 modules/imgproc/test/test_histograms.cpp double threshold = a.depth() == CV_8U ? 2 : FLT_EPSILON; CV_8U 1628 modules/imgproc/test/test_histograms.cpp img_type == CV_8U ? IPL_DEPTH_8U : IPL_DEPTH_32F, nch ); CV_8U 1656 modules/imgproc/test/test_histograms.cpp if( img_type == CV_8U ) CV_8U 105 modules/imgproc/test/test_imgwarp.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_16U : CV_32F; CV_8U 270 modules/imgproc/test/test_imgwarp.cpp return depth == CV_8U ? 16 : depth == CV_16U ? 1024 : 1e-1; CV_8U 400 modules/imgproc/test/test_imgwarp.cpp case CV_8U: CV_8U 502 modules/imgproc/test/test_imgwarp.cpp return depth == CV_8U ? 16 : depth == CV_16U ? 1024 : 5e-2; CV_8U 562 modules/imgproc/test/test_imgwarp.cpp Mat mask( dst.size(), CV_8U ); CV_8U 613 modules/imgproc/test/test_imgwarp.cpp return depth == CV_8U ? 16 : depth == CV_16U ? 1024 : 5e-2; CV_8U 688 modules/imgproc/test/test_imgwarp.cpp Mat mask( dst.size(), CV_8U ); CV_8U 747 modules/imgproc/test/test_imgwarp.cpp return depth == CV_8U ? 16 : depth == CV_16U ? 1024 : 5e-2; CV_8U 785 modules/imgproc/test/test_imgwarp.cpp Mat mask( dst.size(), CV_8U ); CV_8U 837 modules/imgproc/test/test_imgwarp.cpp type = CV_MAKETYPE( CV_8U, CV_MAT_CN(type) ); CV_8U 880 modules/imgproc/test/test_imgwarp.cpp return depth == CV_8U ? 16 : depth == CV_16U ? 1024 : 5e-2; CV_8U 960 modules/imgproc/test/test_imgwarp.cpp Mat mask( dst.size(), CV_8U ); CV_8U 1171 modules/imgproc/test/test_imgwarp.cpp dst_depth = src_depth = src_depth == 0 ? CV_8U : CV_32F; CV_8U 1278 modules/imgproc/test/test_imgwarp.cpp dst_depth = src_depth = src_depth == 0 ? CV_8U : CV_32F; CV_8U 1618 modules/imgproc/test/test_imgwarp.cpp if (depth == CV_8U) CV_8U 1675 modules/imgproc/test/test_imgwarp.cpp src.create(N, N, CV_8U); CV_8U 115 modules/imgproc/test/test_moments.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_16U : depth == 2 ? CV_16S : CV_32F; CV_8U 128 modules/imgproc/test/test_moments.cpp depth = CV_8U; CV_8U 222 modules/imgproc/test/test_moments.cpp if( depth == CV_8U ) CV_8U 268 modules/imgproc/test/test_moments.cpp if( depth == CV_8U ) CV_8U 110 modules/imgproc/test/test_templmatch.cpp depth = depth == 0 ? CV_8U : CV_32F; CV_8U 128 modules/imgproc/test/test_templmatch.cpp if( test_mat[INPUT][1].depth() == CV_8U || CV_8U 199 modules/imgproc/test/test_templmatch.cpp if( depth == CV_8U ) CV_8U 80 modules/imgproc/test/test_thresh.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_16S : CV_32F; CV_8U 85 modules/imgproc/test/test_thresh.cpp if( depth == CV_8U ) CV_8U 131 modules/imgproc/test/test_thresh.cpp if( depth == CV_8U ) CV_8U 147 modules/imgproc/test/test_thresh.cpp assert( depth == CV_8U || depth == CV_16S || depth == CV_32F ); CV_8U 154 modules/imgproc/test/test_thresh.cpp if( depth == CV_8U ) CV_8U 180 modules/imgproc/test/test_thresh.cpp if( depth == CV_8U ) CV_8U 206 modules/imgproc/test/test_thresh.cpp if( depth == CV_8U ) CV_8U 241 modules/imgproc/test/test_thresh.cpp if( depth == CV_8U ) CV_8U 276 modules/imgproc/test/test_thresh.cpp if( depth == CV_8U ) CV_8U 116 modules/imgproc/test/test_watershed.cpp markers.convertTo(markers8U, CV_8U, 1, 1); CV_8U 104 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray0 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(0)); CV_8U 105 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray1 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(1)); CV_8U 106 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray2 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(2)); CV_8U 107 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray3 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(3)); CV_8U 108 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray9 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(9)); CV_8U 109 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray127 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(127)); CV_8U 110 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray128 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(128)); CV_8U 111 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java gray255 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 113 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java grayRnd = new Mat(matSize, matSize, CvType.CV_8U); CV_8U 1780 modules/java/generator/src/cpp/Mat.cpp case CV_8U: PUT_ITEM(uchar, row, c); break; CV_8U 1794 modules/java/generator/src/cpp/Mat.cpp case CV_8U: PUT_ITEM(uchar, r, c); break; CV_8U 1862 modules/java/generator/src/cpp/Mat.cpp if(me->depth() != CV_8U && me->depth() != CV_8S) return 0; // incompatible type CV_8U 2005 modules/java/generator/src/cpp/Mat.cpp if(me->depth() != CV_8U && me->depth() != CV_8S) return 0; // incompatible type CV_8U 2147 modules/java/generator/src/cpp/Mat.cpp case CV_8U: for(i=0; i<me->channels(); i++) buff[i] = *((unsigned char*) me->ptr(row, col) + i); break; CV_8U 66 modules/java/generator/src/java/android+Utils.java Mat encoded = new Mat(1, os.size(), CvType.CV_8U); CV_8U 134 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray0 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(0)); CV_8U 135 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray1 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(1)); CV_8U 136 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray2 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(2)); CV_8U 137 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray3 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(3)); CV_8U 138 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray9 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(9)); CV_8U 139 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray127 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(127)); CV_8U 140 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray128 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(128)); CV_8U 141 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java gray255 = new Mat(matSize, matSize, CvType.CV_8U, new Scalar(255)); CV_8U 143 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java grayRnd = new Mat(matSize, matSize, CvType.CV_8U); CV_8U 257 modules/ml/src/data.cpp sampleIdx.checkVector(1, CV_8U, true) == nsamples ); CV_8U 258 modules/ml/src/data.cpp if( sampleIdx.type() == CV_8U ) CV_8U 275 modules/ml/src/data.cpp varIdx.checkVector(1, CV_8U, true) == ninputvars ); CV_8U 276 modules/ml/src/data.cpp if( varIdx.type() == CV_8U ) CV_8U 305 modules/ml/src/data.cpp CV_Assert( varType.checkVector(1, CV_8U, true) == nvars && CV_8U 310 modules/ml/src/data.cpp varType.create(1, nvars, CV_8U); CV_8U 330 modules/ml/src/data.cpp Mat non_missing(layout == ROW_SAMPLE ? Size(1, nsamples) : Size(nsamples, 1), CV_8U, (uchar*)buf); CV_8U 334 modules/ml/src/data.cpp CV_Assert( missing.size() == samples.size() && missing.type() == CV_8U ); CV_8U 764 modules/ml/src/data.cpp Mat mask(1, nsamples, CV_8U); CV_8U 274 modules/ml/src/gbt.cpp case CV_8U: CV_8U 522 modules/ml/src/lr.cpp this->labels_o = Mat(0,1, CV_8U); CV_8U 523 modules/ml/src/lr.cpp this->labels_n = Mat(0,1, CV_8U); CV_8U 56 modules/objdetect/src/cascadedetect.cpp Mat(1, (int)(v.size()*sizeof(v[0])), CV_8U, (void*)&v[0]).copyTo(um); CV_8U 496 modules/objdetect/src/cascadedetect.cpp urbuf.create(sz0, CV_8U); CV_8U 511 modules/objdetect/src/cascadedetect.cpp rbuf.create(sz0, CV_8U); CV_8U 516 modules/objdetect/src/cascadedetect.cpp Mat dst(s.szi.height - 1, s.szi.width - 1, CV_8U, rbuf.ptr()); CV_8U 1320 modules/objdetect/src/cascadedetect.cpp CV_Assert( scaleFactor > 1 && _image.depth() == CV_8U ); CV_8U 1364 modules/objdetect/src/cascadedetect.cpp CV_Assert( scaleFactor > 1 && image.depth() == CV_8U ); CV_8U 1525 modules/objdetect/src/haar.cpp if( CV_MAT_DEPTH(img->type) != CV_8U ) CV_8U 228 modules/objdetect/src/hog.cpp CV_Assert( img.type() == CV_8U || img.type() == CV_8UC3 ); CV_8U 1341 modules/objdetect/src/hog.cpp UMat labels(1, wins_per_img.area(), CV_8U); CV_8U 1743 modules/objdetect/src/hog.cpp UMat labels(1, wins_per_img.area(), CV_8U); CV_8U 1188 modules/objdetect/test/test_cascadeandhog.cpp CV_Assert( img.type() == CV_8U || img.type() == CV_8UC3 ); CV_8U 1386 modules/objdetect/test/test_cascadeandhog.cpp Mat img(height, width, CV_8U); CV_8U 19 modules/photo/misc/java/test/PhotoTest.java assertMatEqual(getMat(CvType.CV_8U, 255), dst); CV_8U 65 modules/photo/perf/perf_cuda.cpp Values<MatDepth>(CV_8U), CV_8U 109 modules/photo/perf/perf_cuda.cpp Values<MatDepth>(CV_8U), CV_8U 153 modules/photo/perf/perf_cuda.cpp Values<MatDepth>(CV_8U), CV_8U 206 modules/photo/src/align.cpp _tb.create(img.size(), CV_8U); CV_8U 207 modules/photo/src/align.cpp _eb.create(img.size(), CV_8U); CV_8U 72 modules/photo/src/calibrate.cpp CV_Assert(images[0].depth() == CV_8U); CV_8U 192 modules/photo/src/calibrate.cpp CV_Assert(images[0].depth() == CV_8U); CV_8U 163 modules/photo/src/denoise_tvl1.cpp result.create(X.rows,X.cols,CV_8U); CV_8U 164 modules/photo/src/denoise_tvl1.cpp X.convertTo(result, CV_8U, 255); CV_8U 135 modules/photo/src/denoising.cpp case CV_8U: CV_8U 147 modules/photo/src/denoising.cpp case CV_8U: CV_8U 252 modules/photo/src/denoising.cpp case CV_8U: CV_8U 337 modules/photo/src/denoising.cpp case CV_8U: CV_8U 351 modules/photo/src/denoising.cpp case CV_8U: CV_8U 90 modules/photo/src/denoising.cuda.cpp CV_Assert(src.type() == CV_8U || src.type() == CV_8UC2 || src.type() == CV_8UC3); CV_8U 123 modules/photo/src/denoising.cuda.cpp CV_Assert(src.depth() == CV_8U && src.channels() < 4); CV_8U 159 modules/photo/src/denoising.cuda.cpp GpuMat l = pool.getBuffer(src.size(), CV_8U); CV_8U 91 modules/photo/src/fast_nlmeans_denoising_opencl.hpp if (cn < 1 || cn > 4 || ((normType != NORM_L2 || depth != CV_8U) && CV_8U 92 modules/photo/src/fast_nlmeans_denoising_opencl.hpp (normType != NORM_L1 || (depth != CV_8U && depth != CV_16U)))) CV_8U 112 modules/photo/src/fast_nlmeans_denoising_opencl.hpp depth == CV_8U ? ocl::typeToStr(CV_32SC(hn)) : CV_8U 114 modules/photo/src/fast_nlmeans_denoising_opencl.hpp depth == CV_8U ? ocl::convertTypeStr(CV_32S, CV_32S, hn, buf[0]) : CV_8U 116 modules/photo/src/fast_nlmeans_denoising_opencl.hpp depth == CV_8U ? ocl::typeToStr(CV_32SC(cn)) : CV_8U 118 modules/photo/src/fast_nlmeans_denoising_opencl.hpp depth == CV_8U ? ocl::convertTypeStr(depth, CV_32S, cn, buf[1]) : CV_8U 123 modules/photo/src/fast_nlmeans_denoising_opencl.hpp (depth == CV_8U ? sizeof(uchar) : sizeof(ushort)) * (cn == 3 ? 4 : cn), CV_8U 132 modules/photo/src/fast_nlmeans_denoising_opencl.hpp if ((depth == CV_8U && CV_8U 197 modules/photo/src/fast_nlmeans_denoising_opencl.hpp UMat l(src.size(), CV_8U); CV_8U 202 modules/photo/src/fast_nlmeans_denoising_opencl.hpp l_ab_denoised[0].create(src.size(), CV_8U); CV_8U 67 modules/photo/src/merge.cpp CV_Assert(images[0].depth() == CV_8U); CV_8U 307 modules/photo/src/merge.cpp CV_Assert(images[0].depth() == CV_8U); CV_8U 46 modules/photo/test/test_denoise_tvl1.cpp cv::Mat noise(img.size(), img.type()), mask(img.size(), CV_8U); CV_8U 170 modules/python/src2/cv2.cpp int typenum = depth == CV_8U ? NPY_UBYTE : depth == CV_8S ? NPY_BYTE : CV_8U 270 modules/python/src2/cv2.cpp int type = typenum == NPY_UBYTE ? CV_8U : CV_8U 1330 modules/python/src2/cv2.cpp PUBLISH(CV_8U); CV_8U 405 modules/shape/src/sc_dis.cpp cv::Mat mask(disMatrix.rows, disMatrix.cols, CV_8U); CV_8U 147 modules/stitching/include/opencv2/stitching.hpp CV_Assert(mask.type() == CV_8U && mask.cols == mask.rows); CV_8U 120 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp CV_Assert(mask.type() == CV_8U && mask.size() == Size(3, 3)); CV_8U 140 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp setRefinementMask(Mat::ones(3, 3, CV_8U)); CV_8U 74 modules/stitching/src/blenders.cpp dst_mask_.create(dst_roi.size(), CV_8U); CV_8U 88 modules/stitching/src/blenders.cpp CV_Assert(mask.type() == CV_8U); CV_8U 135 modules/stitching/src/blenders.cpp CV_Assert(mask.type() == CV_8U); CV_8U 283 modules/stitching/src/blenders.cpp CV_Assert(mask.type() == CV_8U); CV_8U 543 modules/stitching/src/blenders.cpp CV_Assert(mask.type() == CV_8U); CV_8U 561 modules/stitching/src/blenders.cpp if(img.depth() == CV_8U) CV_8U 148 modules/stitching/src/matchers.cpp CV_Assert(features2.descriptors.depth() == CV_8U || features2.descriptors.depth() == CV_32F); CV_8U 169 modules/stitching/src/matchers.cpp if (features2.descriptors.depth() == CV_8U) CV_8U 473 modules/stitching/src/matchers.cpp CV_Assert(image.depth() == CV_8U); CV_8U 532 modules/stitching/src/matchers.cpp CV_Assert(mask.empty() || (mask.type() == CV_8U && mask.cols == num_images && mask.rows)); CV_8U 535 modules/stitching/src/matchers.cpp mask_ = Mat::ones(num_images, num_images, CV_8U); CV_8U 672 modules/stitching/src/matchers.cpp CV_Assert(mask.empty() || (mask.type() == CV_8U && mask.cols == num_images && mask.rows)); CV_8U 675 modules/stitching/src/matchers.cpp mask_ = Mat::ones(num_images, num_images, CV_8U); CV_8U 114 modules/stitching/src/seam_finders.cpp Mat submask1(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U); CV_8U 115 modules/stitching/src/seam_finders.cpp Mat submask2(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U); CV_8U 224 modules/stitching/src/seam_finders.cpp mask1_ = Mat::zeros(unionSize_, CV_8U); CV_8U 225 modules/stitching/src/seam_finders.cpp mask2_ = Mat::zeros(unionSize_, CV_8U); CV_8U 235 modules/stitching/src/seam_finders.cpp contour1mask_ = Mat::zeros(unionSize_, CV_8U); CV_8U 236 modules/stitching/src/seam_finders.cpp contour2mask_ = Mat::zeros(unionSize_, CV_8U); CV_8U 825 modules/stitching/src/seam_finders.cpp Mat_<uchar> control = Mat::zeros(roi.size(), CV_8U); CV_8U 826 modules/stitching/src/seam_finders.cpp Mat_<uchar> reachable = Mat::zeros(roi.size(), CV_8U); CV_8U 1229 modules/stitching/src/seam_finders.cpp Mat submask1(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U); CV_8U 1230 modules/stitching/src/seam_finders.cpp Mat submask2(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U); CV_8U 1372 modules/stitching/src/seam_finders.cpp Mat submask1(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U); CV_8U 1373 modules/stitching/src/seam_finders.cpp Mat submask2(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U); CV_8U 167 modules/stitching/src/stitcher.cpp masks[i].create(seam_est_imgs_[i].size(), CV_8U); CV_8U 295 modules/stitching/src/stitcher.cpp mask.create(img_size, CV_8U); CV_8U 355 modules/stitching/src/stitcher.cpp result.convertTo(pano, CV_8U); CV_8U 57 modules/stitching/test/test_blenders.cpp Mat mask1(image1s.size(), CV_8U); CV_8U 61 modules/stitching/test/test_blenders.cpp Mat mask2(image2s.size(), CV_8U); CV_8U 73 modules/stitching/test/test_blenders.cpp Mat result; result_s.convertTo(result, CV_8U); CV_8U 948 modules/superres/src/btv_l1.cpp curOutput.convertTo(_output, CV_8U); CV_8U 978 modules/superres/src/btv_l1.cpp curOutput.convertTo(_output, CV_8U); CV_8U 981 modules/superres/src/btv_l1.cpp curOutput.convertTo(finalOutput_, CV_8U); CV_8U 515 modules/superres/src/btv_l1_cuda.cpp curOutput.convertTo(_output.getGpuMatRef(), CV_8U); CV_8U 518 modules/superres/src/btv_l1_cuda.cpp curOutput.convertTo(finalOutput_, CV_8U); CV_8U 204 modules/superres/src/input_array_utility.cpp CV_Assert( depth == CV_8U || depth == CV_32F ); CV_8U 220 modules/ts/include/opencv2/ts/cuda_test.hpp #define ALL_DEPTH testing::Values(MatDepth(CV_8U), MatDepth(CV_8S), MatDepth(CV_16U), MatDepth(CV_16S), MatDepth(CV_32S), MatDepth(CV_32F), MatDepth(CV_64F)) CV_8U 222 modules/ts/include/opencv2/ts/cuda_test.hpp #define DEPTH_PAIRS testing::Values(std::make_pair(MatDepth(CV_8U), MatDepth(CV_8U)), \ CV_8U 223 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_8U), MatDepth(CV_16U)), \ CV_8U 224 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_8U), MatDepth(CV_16S)), \ CV_8U 225 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_8U), MatDepth(CV_32S)), \ CV_8U 226 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_8U), MatDepth(CV_32F)), \ CV_8U 227 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_8U), MatDepth(CV_64F)), \ CV_8U 356 modules/ts/include/opencv2/ts/ocl_test.hpp #define OCL_ALL_DEPTHS Values(CV_8U, CV_8S, CV_16U, CV_16S, CV_32S, CV_32F, CV_64F) CV_8U 155 modules/ts/include/opencv2/ts/ts_perf.hpp CV_ENUM(MatDepth, CV_8U, CV_8S, CV_16U, CV_16S, CV_32S, CV_32F, CV_64F, CV_USRTYPE1) CV_8U 386 modules/ts/src/cuda_test.cpp static vector<MatType> v = types(CV_8U, CV_64F, 1, 4); CV_8U 67 modules/ts/src/ocl_perf.cpp if (dst.depth() == CV_8U) CV_8U 589 modules/ts/src/ts.cpp CV_Assert(!img.empty() && img.depth() == CV_8U && ch <= 4); CV_8U 611 modules/ts/src/ts.cpp CV_Assert(!img.empty() && img.depth() == CV_8U && ch <= 4); CV_8U 81 modules/ts/src/ts_func.cpp depth = rng.uniform(CV_8U, CV_64F+1); CV_8U 91 modules/ts/src/ts_func.cpp double val = depth == CV_8U ? 0 : depth == CV_8S ? SCHAR_MIN : depth == CV_16U ? 0 : CV_8U 101 modules/ts/src/ts_func.cpp double val = depth == CV_8U ? UCHAR_MAX : depth == CV_8S ? SCHAR_MAX : depth == CV_16U ? USHRT_MAX : CV_8U 253 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 311 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 355 modules/ts/src/ts_func.cpp CV_Assert( src.size == mask.size && mask.type() == CV_8U ); CV_8U 416 modules/ts/src/ts_func.cpp CV_Assert( dst.size == mask.size && mask.type() == CV_8U ); CV_8U 565 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 645 modules/ts/src/ts_func.cpp kernel = Mat::ones(3, 3, CV_8U); CV_8U 648 modules/ts/src/ts_func.cpp CV_Assert( kernel.type() == CV_8U ); CV_8U 670 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 702 modules/ts/src/ts_func.cpp kernel = Mat::ones(3, 3, CV_8U); CV_8U 705 modules/ts/src/ts_func.cpp CV_Assert( kernel.type() == CV_8U ); CV_8U 727 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 804 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 1063 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 1253 modules/ts/src/ts_func.cpp CV_Assert( src.depth() == CV_8U ); CV_8U 1271 modules/ts/src/ts_func.cpp CV_Assert( mask.empty() || (src.size == mask.size && mask.type() == CV_8U) ); CV_8U 1290 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 1334 modules/ts/src/ts_func.cpp CV_Assert( temp.depth() == CV_8U ); CV_8U 1353 modules/ts/src/ts_func.cpp CV_Assert( mask.empty() || (src1.size == mask.size && mask.type() == CV_8U) ); CV_8U 1372 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 1404 modules/ts/src/ts_func.cpp CV_Assert( _src1.depth() == CV_8U ); CV_8U 1437 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 1636 modules/ts/src/ts_func.cpp dst.create( src1.dims, &src1.size[0], CV_8U ); CV_8U 1653 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 1683 modules/ts/src/ts_func.cpp dst.create( src.dims, &src.size[0], CV_8U ); CV_8U 1700 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 1832 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 1921 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 1998 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 2340 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 2397 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 2465 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 2537 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 2603 modules/ts/src/ts_func.cpp CV_Assert(mask.empty() || (mask.type() == CV_8U && mask.size == src.size)); CV_8U 2622 modules/ts/src/ts_func.cpp case CV_8U: CV_8U 2856 modules/ts/src/ts_func.cpp if(depth == CV_8U) CV_8U 94 modules/ts/src/ts_perf.cpp cv::Mat mr = cv::Mat(m.rows, (int)(m.cols * m.elemSize()), CV_8U, m.ptr(), m.step[0]); CV_8U 304 modules/ts/src/ts_perf.cpp case CV_8U: return *(m.ptr<unsigned char>(y, x) + cn); CV_8U 1021 modules/ts/src/ts_perf.cpp if (depth == CV_8U) CV_8U 1893 modules/ts/src/ts_perf.cpp case CV_8U: *os << "8U"; break; CV_8U 139 modules/video/src/bgfg_KNN.cpp bgmodel.create( 1,(nN * 3) * (nchannels+1)* size,CV_8U); CV_8U 142 modules/video/src/bgfg_KNN.cpp aModelIndexShort.create(1,size,CV_8U); CV_8U 143 modules/video/src/bgfg_KNN.cpp aModelIndexMid.create(1,size,CV_8U); CV_8U 144 modules/video/src/bgfg_KNN.cpp aModelIndexLong.create(1,size,CV_8U); CV_8U 146 modules/video/src/bgfg_KNN.cpp nNextShortUpdate.create(1,size,CV_8U); CV_8U 147 modules/video/src/bgfg_KNN.cpp nNextMidUpdate.create(1,size,CV_8U); CV_8U 148 modules/video/src/bgfg_KNN.cpp nNextLongUpdate.create(1,size,CV_8U); CV_8U 568 modules/video/src/bgfg_KNN.cpp _fgmask.create( image.size(), CV_8U ); CV_8U 228 modules/video/src/bgfg_gaussmix2.cpp bgmodelUsedModes.create(frameSize,CV_8U); CV_8U 758 modules/video/src/bgfg_gaussmix2.cpp _fgmask.create(_image.size(), CV_8U); CV_8U 838 modules/video/src/bgfg_gaussmix2.cpp _fgmask.create( image.size(), CV_8U ); CV_8U 869 modules/video/src/bgfg_gaussmix2.cpp Mat meanBackground(frameSize, CV_MAKETYPE(CV_8U, nchannels), Scalar::all(0)); CV_8U 281 modules/video/src/compat_video.cpp st = cv::Mat(count, 1, CV_8U, (void*)status); CV_8U 401 modules/video/src/ecc.cpp Mat imageMask = Mat(hs, ws, CV_8U); //to store the final mask CV_8U 407 modules/video/src/ecc.cpp preMask = Mat::ones(hd, wd, CV_8U); CV_8U 57 modules/video/src/lkpyramid.cpp CV_Assert(depth == CV_8U); CV_8U 748 modules/video/src/lkpyramid.cpp CV_Assert(img.depth() == CV_8U && winSize.width > 2 && winSize.height > 2 ); CV_8U 1129 modules/video/src/lkpyramid.cpp _status.create((int)npoints, 1, CV_8U, -1, true); CV_8U 1383 modules/video/src/lkpyramid.cpp else if( A.depth() == CV_8U ) CV_8U 395 modules/video/src/tvl1flow.cpp I0.convertTo(dm.I0s[0], dm.I0s[0].depth(), I0.depth() == CV_8U ? 1.0 : 255.0); CV_8U 396 modules/video/src/tvl1flow.cpp I1.convertTo(dm.I1s[0], dm.I1s[0].depth(), I1.depth() == CV_8U ? 1.0 : 255.0); CV_8U 519 modules/video/src/tvl1flow.cpp double alpha = I0.depth() == CV_8U ? 1.0 : 255.0; CV_8U 522 modules/video/src/tvl1flow.cpp I1.convertTo(dum.I1s[0], CV_32F, I1.depth() == CV_8U ? 1.0 : 255.0); CV_8U 79 modules/video/test/test_accum.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_32F : CV_64F; CV_8U 143 modules/video/test/test_camshift.cpp if( img_type == CV_8U ) CV_8U 174 modules/video/test/test_camshift.cpp img_type = cvtest::randInt(rng) % 2 ? CV_32F : CV_8U; CV_8U 175 modules/video/test/test_camshift.cpp img_type = CV_8U; CV_8U 58 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp CV_Assert(mask.type() == CV_8U); CV_8U 65 modules/videostab/src/global_motion.cpp CV_Assert(points0.type() == CV_32FC2 && points1.type() == CV_32FC2 && mask.type() == CV_8U); CV_8U 128 modules/videostab/src/inpainting.cpp CV_Assert(mask.size() == frame.size() && mask.type() == CV_8U); CV_8U 203 modules/videostab/src/inpainting.cpp CV_Assert(mask0.type() == CV_8U && mask0.size() == frame0.size()); CV_8U 480 modules/videostab/src/inpainting.cpp CV_Assert(mask0.type() == CV_8U); CV_8U 481 modules/videostab/src/inpainting.cpp CV_Assert(mask1.type() == CV_8U && mask1.size() == mask0.size()); CV_8U 486 modules/videostab/src/inpainting.cpp flowMask.create(mask0.size(), CV_8U); CV_8U 511 modules/videostab/src/inpainting.cpp CV_Assert(flowMask.type() == CV_8U); CV_8U 515 modules/videostab/src/inpainting.cpp CV_Assert(mask1.type() == CV_8U && mask1.size() == flowMask.size()); CV_8U 517 modules/videostab/src/inpainting.cpp CV_Assert(mask0.type() == CV_8U && mask0.size() == flowMask.size()); CV_8U 58 modules/videostab/src/outlier_rejection.cpp mask.create(1, npoints, CV_8U); CV_8U 81 modules/videostab/src/outlier_rejection.cpp mask.create(1, npoints, CV_8U); CV_8U 269 modules/videostab/src/stabilizer.cpp frameMask_.create(frameSize_, CV_8U); CV_8U 410 modules/videostab/src/stabilizer.cpp frameMask_.create(frameSize_, CV_8U); CV_8U 595 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); CV_8U 628 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); CV_8U 672 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); CV_8U 702 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); CV_8U 717 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); CV_8U 841 modules/viz/src/shapes.cpp CV_Assert(!_image.empty() && _image.depth() == CV_8U); CV_8U 875 modules/viz/src/shapes.cpp CV_Assert(!_image.empty() && _image.depth() == CV_8U); CV_8U 106 modules/viz/src/vtk/vtkCloudMatSink.cpp buffer.convertTo(colors, CV_8U, vtktype == VTK_FLOAT || VTK_FLOAT == VTK_DOUBLE ? 255.0 : 1.0); CV_8U 94 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_colors.depth() == CV_8U && _colors.channels() <= 4 && _colors.channels() != 2); CV_8U 81 modules/viz/src/vtk/vtkImageMatSource.cpp CV_Assert(_image.depth() == CV_8U && (_image.channels() == 1 || _image.channels() == 3 || _image.channels() == 4)); CV_8U 272 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Imgproc.Sobel(grayInnerWindow, mIntermediateMat, CvType.CV_8U, 1, 1); CV_8U 42 samples/cpp/demhist.cpp image.convertTo(dst, CV_8U, a, b); CV_8U 46 samples/cpp/demhist.cpp Mat histImage = Mat::ones(200, 320, CV_8U)*255; CV_8U 56 samples/cpp/distrans.cpp dist32s.convertTo(dist8u1, CV_8U, 1, 0); CV_8U 60 samples/cpp/distrans.cpp dist32s.convertTo(dist8u2, CV_8U); CV_8U 85 samples/cpp/image.cpp Mat noise(img.size(), CV_8U); // another Mat constructor; allocates a matrix of the specified size and type CV_8U 63 samples/cpp/inpaint.cpp inpaintMask = Mat::zeros(img.size(), CV_8U); CV_8U 100 samples/cpp/letter_recog.cpp Mat sample_idx = Mat::zeros( 1, data.rows, CV_8U ); CV_8U 105 samples/cpp/letter_recog.cpp Mat var_type( nvars + 1, 1, CV_8U ); CV_8U 276 samples/cpp/letter_recog.cpp Mat var_type( 1, var_count + 2, CV_8U ); CV_8U 179 samples/cpp/select3dobj.cpp Mat selectedObjMask = Mat::zeros(frame.size(), CV_8U); CV_8U 52 samples/cpp/squares.cpp Mat pyr, timg, gray0(image.size(), CV_8U), gray; CV_8U 277 samples/cpp/stereo_match.cpp disp.convertTo(disp8, CV_8U, 255/(numberOfDisparities*16.)); CV_8U 279 samples/cpp/stereo_match.cpp disp.convertTo(disp8, CV_8U); CV_8U 533 samples/cpp/stitching_detailed.cpp Mat_<uchar> refine_mask = Mat::zeros(3, 3, CV_8U); CV_8U 586 samples/cpp/stitching_detailed.cpp masks[i].create(images[i].size(), CV_8U); CV_8U 779 samples/cpp/stitching_detailed.cpp mask.create(img_size, CV_8U); CV_8U 107 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp dist.convertTo(dist_8u, CV_8U); CV_8U 112 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp Mat lookUpTable(1, 256, CV_8U); CV_8U 95 samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.cpp Mat noisyI(I.size(), CV_8U); // Create a matrix of the specified size and type CV_8U 109 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp result.create( image.rows, image.cols, CV_8U); CV_8U 64 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp CV_Assert(myImage.depth() == CV_8U); // accept only uchar images CV_8U 202 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8U, 0, 256); CV_8U 772 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8U, 0, 100); CV_8U 181 samples/gpu/stereo_match.cpp Mat disp(left.size(), CV_8U); CV_8U 182 samples/gpu/stereo_match.cpp cuda::GpuMat d_disp(left.size(), CV_8U); CV_8U 38 samples/tapi/squares.cpp UMat pyr, timg, gray0(image.size(), CV_8U), gray; CV_8U 1341 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::Sobel(InputGreyScale, OutputGreyScale, CV_8U, 1, 1);