depth 3973 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t depth, depth 4001 3rdparty/include/opencl/1.2/CL/cl.hpp desc.image_depth = depth; depth 4025 3rdparty/include/opencl/1.2/CL/cl.hpp context(), flags, &format, width, height, depth, row_pitch, depth 99 3rdparty/libjasper/jas_image.c height, uint_fast16_t depth, bool sgnd, uint_fast32_t inmem); depth 300 3rdparty/libjasper/jas_image.c height, uint_fast16_t depth, bool sgnd, uint_fast32_t inmem) depth 316 3rdparty/libjasper/jas_image.c cmpt->prec_ = depth; depth 319 3rdparty/libjasper/jas_image.c cmpt->cps_ = (depth + 7) / 8; depth 616 3rdparty/libpng/png.h png_byte depth; /* depth of palette samples */ depth 1458 3rdparty/libpng/pngrutil.c new_palette.depth = *entry_start++; depth 1459 3rdparty/libpng/pngrutil.c entry_size = (new_palette.depth == 8 ? 6 : 10); depth 1501 3rdparty/libpng/pngrutil.c if (new_palette.depth == 8) depth 1525 3rdparty/libpng/pngrutil.c if (new_palette.depth == 8) depth 2967 3rdparty/libpng/pngrutil.c # define MASK(pass,depth,display,png)\ depth 2968 3rdparty/libpng/pngrutil.c ((display)?display_mask[png][DEPTH_INDEX(depth)][pass>>1]:\ depth 2969 3rdparty/libpng/pngrutil.c row_mask[png][DEPTH_INDEX(depth)][pass]) depth 2975 3rdparty/libpng/pngrutil.c # define MASK(pass,depth,display,png)\ depth 2976 3rdparty/libpng/pngrutil.c ((display)?B_MASK(pass,depth,png):S_MASK(pass,depth,png)) depth 1015 3rdparty/libpng/pngset.c to->depth = from->depth; depth 1184 3rdparty/libpng/pngwutil.c png_size_t entry_size = (spalette->depth == 8 ? 6 : 10); depth 1203 3rdparty/libpng/pngwutil.c png_write_chunk_data(png_ptr, &spalette->depth, (png_size_t)1); depth 1209 3rdparty/libpng/pngwutil.c if (spalette->depth == 8) depth 1233 3rdparty/libpng/pngwutil.c if (spalette->depth == 8) depth 418 3rdparty/libwebp/enc/vp8l.c const int depth = code->code_lengths[code_index]; depth 420 3rdparty/libwebp/enc/vp8l.c VP8LWriteBits(bw, depth, symbol); depth 161 3rdparty/openexr/Imath/ImathFrustum.h long DepthToZ(T depth, long zmin, long zmax) const; depth 556 3rdparty/openexr/Imath/ImathFrustum.h long Frustum<T>::DepthToZ(T depth,long zmin,long zmax) const depth 563 3rdparty/openexr/Imath/ImathFrustum.h T farPlusNear = 2*depth + _farPlane + _nearPlane; depth 581 3rdparty/openexr/Imath/ImathFrustum.h if (abs(depth) < 1 && depth 582 3rdparty/openexr/Imath/ImathFrustum.h abs(farTimesNear) > limits<T>::max() * abs(depth)) depth 589 3rdparty/openexr/Imath/ImathFrustum.h T farPlusNear = farTimesNear/depth + _farPlane + _nearPlane; depth 213 3rdparty/zlib/deflate.h uch depth[2*L_CODES+1]; depth 443 3rdparty/zlib/trees.c #define smaller(tree, n, m, depth) \ depth 445 3rdparty/zlib/trees.c (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m])) depth 463 3rdparty/zlib/trees.c smaller(tree, s->heap[j+1], s->heap[j], s->depth)) { depth 467 3rdparty/zlib/trees.c if (smaller(tree, v, s->heap[j], s->depth)) break; depth 637 3rdparty/zlib/trees.c s->depth[n] = 0; depth 651 3rdparty/zlib/trees.c s->depth[node] = 0; depth 675 3rdparty/zlib/trees.c s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ? depth 676 3rdparty/zlib/trees.c s->depth[n] : s->depth[m]) + 1); depth 613 apps/createsamples/utility.cpp && data->src->depth == IPL_DEPTH_8U ) depth 1017 apps/createsamples/utility.cpp if( img != NULL && img->depth == IPL_DEPTH_8U && img->nChannels == 1 && depth 218 apps/traincascade/HOGfeatures.cpp integral(grad, norm, grad.depth()); depth 1144 apps/traincascade/boost.cpp splitInputData = node->depth + 1 < data->params.max_depth && depth 609 apps/traincascade/old_ml.hpp int depth; depth 1037 apps/traincascade/old_ml_tree.cpp node->depth = parent ? parent->depth + 1 : 0; depth 1691 apps/traincascade/old_ml_tree.cpp node->depth >= data->params.max_depth ) depth 3062 apps/traincascade/old_ml_tree.cpp split_input_data = node->depth + 1 < data->params.max_depth && depth 3828 apps/traincascade/old_ml_tree.cpp cvWriteInt( fs, "depth", node->depth ); depth 4023 apps/traincascade/old_ml_tree.cpp int i, depth; depth 4029 apps/traincascade/old_ml_tree.cpp depth = cvReadIntByName( fs, fnode, "depth", -1 ); depth 4030 apps/traincascade/old_ml_tree.cpp if( depth != node->depth ) depth 253 modules/calib3d/src/calibration.cpp int depth, elem_size; depth 265 modules/calib3d/src/calibration.cpp depth = CV_MAT_DEPTH(src->type); depth 266 modules/calib3d/src/calibration.cpp elem_size = CV_ELEM_SIZE(depth); depth 268 modules/calib3d/src/calibration.cpp if( depth != CV_32F && depth != CV_64F ) depth 298 modules/calib3d/src/calibration.cpp if( depth == CV_32F ) depth 488 modules/calib3d/src/calibration.cpp if( depth == CV_32F ) depth 504 modules/calib3d/src/calibration.cpp if( depth == CV_32F ) depth 3055 modules/calib3d/src/calibration.cpp _dst.create(3, v2m ? 3 : 1, src.depth()); depth 3060 modules/calib3d/src/calibration.cpp _jacobian.create(v2m ? Size(9, 3) : Size(3, 9), src.depth()); depth 3163 modules/calib3d/src/calibration.cpp int npoints = opoints.checkVector(3), depth = opoints.depth(); depth 3164 modules/calib3d/src/calibration.cpp CV_Assert(npoints >= 0 && (depth == CV_32F || depth == CV_64F)); depth 3169 modules/calib3d/src/calibration.cpp _ipoints.create(npoints, 1, CV_MAKETYPE(depth, 2), -1, true); depth 113 modules/calib3d/src/checkchessboard.cpp if(src->depth != 8) depth 31 modules/calib3d/src/dls.cpp if (opoints.depth() == ipoints.depth()) depth 33 modules/calib3d/src/dls.cpp if (opoints.depth() == CV_32F) depth 38 modules/calib3d/src/dls.cpp else if (opoints.depth() == CV_32F) depth 116 modules/calib3d/src/dls.cpp cv::Mat V_kB = cv::Mat(1, 1, z.depth(), V_kA.at<double>(0)); // 1x1 depth 10 modules/calib3d/src/epnp.cpp if (cameraMatrix.depth() == CV_32F) depth 20 modules/calib3d/src/epnp.cpp if (opoints.depth() == ipoints.depth()) depth 22 modules/calib3d/src/epnp.cpp if (opoints.depth() == CV_32F) depth 27 modules/calib3d/src/epnp.cpp else if (opoints.depth() == CV_32F) depth 73 modules/calib3d/src/fisheye.cpp imagePoints.create(objectPoints.size(), CV_MAKETYPE(objectPoints.depth(), 2)); depth 76 modules/calib3d/src/fisheye.cpp CV_Assert(_rvec.total() * _rvec.channels() == 3 && (_rvec.depth() == CV_32F || _rvec.depth() == CV_64F)); depth 77 modules/calib3d/src/fisheye.cpp CV_Assert(_tvec.total() * _tvec.channels() == 3 && (_tvec.depth() == CV_32F || _tvec.depth() == CV_64F)); depth 80 modules/calib3d/src/fisheye.cpp Vec3d om = _rvec.depth() == CV_32F ? (Vec3d)*_rvec.getMat().ptr<Vec3f>() : *_rvec.getMat().ptr<Vec3d>(); depth 81 modules/calib3d/src/fisheye.cpp Vec3d T = _tvec.depth() == CV_32F ? (Vec3d)*_tvec.getMat().ptr<Vec3f>() : *_tvec.getMat().ptr<Vec3d>(); depth 86 modules/calib3d/src/fisheye.cpp if (_K.depth() == CV_32F) depth 100 modules/calib3d/src/fisheye.cpp Vec4d k = _D.depth() == CV_32F ? (Vec4d)*_D.getMat().ptr<Vec4f>(): *_D.getMat().ptr<Vec4d>(); depth 122 modules/calib3d/src/fisheye.cpp Vec3d Xi = objectPoints.depth() == CV_32F ? (Vec3d)Xf[i] : Xd[i]; depth 145 modules/calib3d/src/fisheye.cpp if (objectPoints.depth() == CV_32F) depth 260 modules/calib3d/src/fisheye.cpp if (K.depth() == CV_32F) depth 273 modules/calib3d/src/fisheye.cpp Vec4d k = D.depth() == CV_32F ? (Vec4d)*D.getMat().ptr<Vec4f>(): *D.getMat().ptr<Vec4d>(); depth 282 modules/calib3d/src/fisheye.cpp Vec2d x = undistorted.depth() == CV_32F ? (Vec2d)Xf[i] : Xd[i]; depth 302 modules/calib3d/src/fisheye.cpp if (undistorted.depth() == CV_32F) depth 320 modules/calib3d/src/fisheye.cpp CV_Assert(D.total() == 4 && K.size() == Size(3, 3) && (K.depth() == CV_32F || K.depth() == CV_64F)); depth 323 modules/calib3d/src/fisheye.cpp if (K.depth() == CV_32F) depth 336 modules/calib3d/src/fisheye.cpp Vec4d k = D.depth() == CV_32F ? (Vec4d)*D.getMat().ptr<Vec4f>(): *D.getMat().ptr<Vec4d>(); depth 362 modules/calib3d/src/fisheye.cpp int sdepth = distorted.depth(); depth 408 modules/calib3d/src/fisheye.cpp CV_Assert((K.depth() == CV_32F || K.depth() == CV_64F) && (D.depth() == CV_32F || D.depth() == CV_64F)); depth 409 modules/calib3d/src/fisheye.cpp CV_Assert((P.depth() == CV_32F || P.depth() == CV_64F) && (R.depth() == CV_32F || R.depth() == CV_64F)); depth 415 modules/calib3d/src/fisheye.cpp if (K.depth() == CV_32F) depth 430 modules/calib3d/src/fisheye.cpp k = D.depth() == CV_32F ? (Vec4d)*D.getMat().ptr<Vec4f>(): *D.getMat().ptr<Vec4d>(); depth 514 modules/calib3d/src/fisheye.cpp CV_Assert( K.size() == Size(3, 3) && (K.depth() == CV_32F || K.depth() == CV_64F)); depth 515 modules/calib3d/src/fisheye.cpp CV_Assert((D.empty() || D.total() == 4) && (D.depth() == CV_32F || D.depth() == CV_64F || D.empty())); depth 545 modules/calib3d/src/fisheye.cpp double aspect_ratio = (K.depth() == CV_32F) ? K.getMat().at<float >(0,0)/K.getMat().at<float> (1,1) depth 612 modules/calib3d/src/fisheye.cpp CV_Assert((_R.size() == Size(3, 3) || _R.total() * _R.channels() == 3) && (_R.depth() == CV_32F || _R.depth() == CV_64F)); depth 613 modules/calib3d/src/fisheye.cpp CV_Assert(_tvec.total() * _tvec.channels() == 3 && (_tvec.depth() == CV_32F || _tvec.depth() == CV_64F)); depth 684 modules/calib3d/src/fisheye.cpp 0, 0, -1./tnew[0], (cc_new[0].x - cc_new[1].x)/tnew[0]), false).convertTo(Q, Q.empty() ? CV_64F : Q.depth()); depth 1621 modules/calib3d/src/fisheye.cpp CV_Assert(m.depth() == CV_64F && m.getMat().rows == 1); depth 816 modules/calib3d/src/fundam.cpp int depth = points.depth(); depth 817 modules/calib3d/src/fundam.cpp CV_Assert( depth == CV_32F || depth == CV_32S || depth == CV_64F ); depth 824 modules/calib3d/src/fundam.cpp int ltype = CV_MAKETYPE(MAX(depth, CV_32F), 3); depth 835 modules/calib3d/src/fundam.cpp if( depth == CV_32S || depth == CV_32F ) depth 842 modules/calib3d/src/fundam.cpp Point2f pt = depth == CV_32F ? ptsf[i] : Point2f((float)ptsi[i].x, (float)ptsi[i].y); depth 875 modules/calib3d/src/fundam.cpp int i, npoints = src.checkVector(3), depth = src.depth(), cn = 3; depth 882 modules/calib3d/src/fundam.cpp CV_Assert( npoints >= 0 && (depth == CV_32S || depth == CV_32F || depth == CV_64F)); depth 884 modules/calib3d/src/fundam.cpp int dtype = CV_MAKETYPE(depth <= CV_32F ? CV_32F : CV_64F, cn-1); depth 895 modules/calib3d/src/fundam.cpp if( depth == CV_32S ) depth 918 modules/calib3d/src/fundam.cpp else if( depth == CV_32F ) depth 941 modules/calib3d/src/fundam.cpp else if( depth == CV_64F ) depth 974 modules/calib3d/src/fundam.cpp int i, npoints = src.checkVector(2), depth = src.depth(), cn = 2; depth 981 modules/calib3d/src/fundam.cpp CV_Assert( npoints >= 0 && (depth == CV_32S || depth == CV_32F || depth == CV_64F)); depth 983 modules/calib3d/src/fundam.cpp int dtype = CV_MAKETYPE(depth <= CV_32F ? CV_32F : CV_64F, cn+1); depth 994 modules/calib3d/src/fundam.cpp if( depth == CV_32S ) depth 1011 modules/calib3d/src/fundam.cpp else if( depth == CV_32F ) depth 1028 modules/calib3d/src/fundam.cpp else if( depth == CV_64F ) depth 456 modules/calib3d/src/homography_decomp.cpp int depth = CV_64F; //double precision matrices used in CameraMotion struct depth 459 modules/calib3d/src/homography_decomp.cpp _rotations.create(nsols, 1, depth); depth 466 modules/calib3d/src/homography_decomp.cpp _translations.create(nsols, 1, depth); depth 473 modules/calib3d/src/homography_decomp.cpp _normals.create(nsols, 1, depth); depth 18 modules/calib3d/src/p3p.cpp if (cameraMatrix.depth() == CV_32F) depth 38 modules/calib3d/src/p3p.cpp if (opoints.depth() == ipoints.depth()) depth 40 modules/calib3d/src/p3p.cpp if (opoints.depth() == CV_32F) depth 45 modules/calib3d/src/p3p.cpp else if (opoints.depth() == CV_32F) depth 118 modules/calib3d/src/ptsetreg.cpp ms1.create(modelPoints, 1, CV_MAKETYPE(m1.depth(), d1)); depth 119 modules/calib3d/src/ptsetreg.cpp ms2.create(modelPoints, 1, CV_MAKETYPE(m2.depth(), d2)); depth 342 modules/calib3d/src/ptsetreg.cpp if( err.depth() != CV_32F ) depth 220 modules/calib3d/src/solvepnp.cpp if( opoints0.depth() == CV_64F || !opoints0.isContinuous() ) depth 224 modules/calib3d/src/solvepnp.cpp if( ipoints0.depth() == CV_64F || !ipoints0.isContinuous() ) depth 233 modules/calib3d/src/solvepnp.cpp CV_Assert(opoints.depth() == CV_32F || opoints.depth() == CV_64F); depth 236 modules/calib3d/src/solvepnp.cpp CV_Assert(ipoints.depth() == CV_32F || ipoints.depth() == CV_64F); depth 855 modules/calib3d/src/stereosgbm.cpp left.depth() == CV_8U ); depth 57 modules/calib3d/src/upnp.cpp if (cameraMatrix.depth() == CV_32F) depth 67 modules/calib3d/src/upnp.cpp if (opoints.depth() == ipoints.depth()) depth 69 modules/calib3d/src/upnp.cpp if (opoints.depth() == CV_32F) depth 74 modules/calib3d/src/upnp.cpp else if (opoints.depth() == CV_32F) depth 100 modules/calib3d/test/test_cameracalibration.cpp int depth = cvtest::randInt(rng) % 2 == 0 ? CV_32F : CV_64F; depth 104 modules/calib3d/test/test_cameracalibration.cpp types[INPUT][0] = CV_MAKETYPE(depth, 1); depth 109 modules/calib3d/test/test_cameracalibration.cpp types[INPUT][0] = CV_MAKETYPE(depth, 3); depth 117 modules/calib3d/test/test_cameracalibration.cpp types[OUTPUT][0] = CV_MAKETYPE(depth, 1); depth 119 modules/calib3d/test/test_cameracalibration.cpp types[OUTPUT][1] = CV_MAKETYPE(depth, 1); depth 76 modules/calib3d/test/test_fisheye.cpp undist2.create(distorted0.size(), CV_MAKETYPE(distorted0.depth(), 3)); depth 50 modules/calib3d/test/test_fundam.cpp int depth; depth 56 modules/calib3d/test/test_fundam.cpp depth = CV_MAT_DEPTH(src->type); depth 330 modules/calib3d/test/test_fundam.cpp if( depth == CV_32F ) depth 366 modules/calib3d/test/test_fundam.cpp if( src.depth() != CV_64F ) depth 369 modules/calib3d/test/test_fundam.cpp if( dst.depth() != CV_64F ) depth 463 modules/calib3d/test/test_fundam.cpp dst.convertTo(_dst, _dst.depth()); depth 569 modules/calib3d/test/test_fundam.cpp int depth = cvtest::randInt(rng) % 2 == 0 ? CV_32F : CV_64F; depth 573 modules/calib3d/test/test_fundam.cpp types[INPUT][0] = CV_MAKETYPE(depth, 1); depth 578 modules/calib3d/test/test_fundam.cpp types[INPUT][0] = CV_MAKETYPE(depth, 3); depth 586 modules/calib3d/test/test_fundam.cpp types[OUTPUT][0] = CV_MAKETYPE(depth, 1); depth 588 modules/calib3d/test/test_fundam.cpp types[OUTPUT][1] = CV_MAKETYPE(depth, 1); depth 156 modules/core/include/opencv2/core/affine.hpp depth = DataType<channel_type>::depth, depth 159 modules/core/include/opencv2/core/affine.hpp type = CV_MAKETYPE(depth, channels) depth 97 modules/core/include/opencv2/core/core_c.h CVAPI(IplImage*) cvCreateImageHeader( CvSize size, int depth, int channels ); depth 109 modules/core/include/opencv2/core/core_c.h CVAPI(IplImage*) cvInitImageHeader( IplImage* image, CvSize size, int depth, depth 125 modules/core/include/opencv2/core/core_c.h CVAPI(IplImage*) cvCreateImage( CvSize size, int depth, int channels ); depth 2832 modules/core/include/opencv2/core/core_c.h int depth() const; depth 2970 modules/core/include/opencv2/core/core_c.h template<typename _Tp> inline int Seq<_Tp>::depth() const depth 263 modules/core/include/opencv2/core/cuda.hpp int depth() const; depth 408 modules/core/include/opencv2/core/cuda.hpp int depth() const; depth 113 modules/core/include/opencv2/core/cvdef.h #define CV_MAKETYPE(depth,cn) (CV_MAT_DEPTH(depth) + (((cn)-1) << CV_CN_SHIFT)) depth 66 modules/core/include/opencv2/core/cvstd.inl.hpp depth = DataType<channel_type>::depth, depth 69 modules/core/include/opencv2/core/cvstd.inl.hpp type = CV_MAKETYPE(depth, channels) }; depth 228 modules/core/include/opencv2/core/cvstd.inl.hpp if(Vec<_Tp, n>::depth < CV_32F) depth 71 modules/core/include/opencv2/core/ippasync.hpp int depth = CV_MAT_DEPTH(cvType); depth 72 modules/core/include/opencv2/core/ippasync.hpp int hppType = depth == CV_8U ? HPP_DATA_TYPE_8U : depth 73 modules/core/include/opencv2/core/ippasync.hpp depth == CV_16U ? HPP_DATA_TYPE_16U : depth 74 modules/core/include/opencv2/core/ippasync.hpp depth == CV_16S ? HPP_DATA_TYPE_16S : depth 75 modules/core/include/opencv2/core/ippasync.hpp depth == CV_32S ? HPP_DATA_TYPE_32S : depth 76 modules/core/include/opencv2/core/ippasync.hpp depth == CV_32F ? HPP_DATA_TYPE_32F : depth 77 modules/core/include/opencv2/core/ippasync.hpp depth == CV_64F ? HPP_DATA_TYPE_64F : -1; depth 211 modules/core/include/opencv2/core/mat.hpp int depth(int i=-1) const; depth 1595 modules/core/include/opencv2/core/mat.hpp int depth() const; depth 1625 modules/core/include/opencv2/core/mat.hpp int checkVector(int elemChannels, int depth=-1, bool requireContinuous=true) const; depth 2028 modules/core/include/opencv2/core/mat.hpp int depth() const; depth 2265 modules/core/include/opencv2/core/mat.hpp int depth() const; depth 2276 modules/core/include/opencv2/core/mat.hpp int checkVector(int elemChannels, int depth=-1, bool requireContinuous=true) const; depth 2509 modules/core/include/opencv2/core/mat.hpp int depth() const; depth 2708 modules/core/include/opencv2/core/mat.hpp int depth() const; depth 894 modules/core/include/opencv2/core/mat.inl.hpp CV_ELEM_SIZE1(DataType<_Tp>::depth) == elemSize1()); depth 903 modules/core/include/opencv2/core/mat.inl.hpp CV_ELEM_SIZE1(DataType<_Tp>::depth) == elemSize1()); depth 912 modules/core/include/opencv2/core/mat.inl.hpp CV_ELEM_SIZE1(DataType<_Tp>::depth) == elemSize1()); depth 921 modules/core/include/opencv2/core/mat.inl.hpp CV_ELEM_SIZE1(DataType<_Tp>::depth) == elemSize1()); depth 1326 modules/core/include/opencv2/core/mat.inl.hpp if( DataType<_Tp>::depth == m.depth() ) depth 1428 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( Mat::depth() == DataType<_Tp>::depth ); depth 1429 modules/core/include/opencv2/core/mat.inl.hpp return DataType<_Tp>::depth; depth 2050 modules/core/include/opencv2/core/mat.inl.hpp return DataType<_Tp>::depth; depth 89 modules/core/include/opencv2/core/matx.hpp enum { depth = DataType<_Tp>::depth, depth 93 modules/core/include/opencv2/core/matx.hpp type = CV_MAKETYPE(depth, channels), depth 240 modules/core/include/opencv2/core/matx.hpp depth = DataType<channel_type>::depth, depth 243 modules/core/include/opencv2/core/matx.hpp type = CV_MAKETYPE(depth, channels) depth 306 modules/core/include/opencv2/core/matx.hpp type = CV_MAKETYPE(depth, channels) depth 398 modules/core/include/opencv2/core/matx.hpp depth = DataType<channel_type>::depth, depth 401 modules/core/include/opencv2/core/matx.hpp type = CV_MAKETYPE(depth, channels) depth 664 modules/core/include/opencv2/core/ocl.hpp static bool isFormatSupported(int depth, int cn, bool norm); depth 263 modules/core/include/opencv2/core/opengl.hpp int depth() const; depth 223 modules/core/include/opencv2/core/private.hpp static inline IppDataType ippiGetDataType(int depth) depth 225 modules/core/include/opencv2/core/private.hpp return depth == CV_8U ? ipp8u : depth 226 modules/core/include/opencv2/core/private.hpp depth == CV_8S ? ipp8s : depth 227 modules/core/include/opencv2/core/private.hpp depth == CV_16U ? ipp16u : depth 228 modules/core/include/opencv2/core/private.hpp depth == CV_16S ? ipp16s : depth 229 modules/core/include/opencv2/core/private.hpp depth == CV_32S ? ipp32s : depth 230 modules/core/include/opencv2/core/private.hpp depth == CV_32F ? ipp32f : depth 231 modules/core/include/opencv2/core/private.hpp depth == CV_64F ? ipp64f : (IppDataType)-1; depth 117 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) depth 132 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) depth 147 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) depth 162 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) depth 177 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) depth 192 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) depth 207 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) depth 222 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) depth 237 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) depth 252 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) depth 267 modules/core/include/opencv2/core/traits.hpp value = DataType<_Tp>::depth, depth 100 modules/core/include/opencv2/core/types.hpp depth = DataType<channel_type>::depth, depth 103 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) }; depth 191 modules/core/include/opencv2/core/types.hpp depth = DataType<channel_type>::depth, depth 194 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) depth 258 modules/core/include/opencv2/core/types.hpp depth = DataType<channel_type>::depth, depth 261 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) depth 318 modules/core/include/opencv2/core/types.hpp depth = DataType<channel_type>::depth, depth 321 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) depth 419 modules/core/include/opencv2/core/types.hpp depth = DataType<channel_type>::depth, depth 422 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) depth 495 modules/core/include/opencv2/core/types.hpp depth = DataType<channel_type>::depth, depth 498 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) depth 551 modules/core/include/opencv2/core/types.hpp depth = DataType<channel_type>::depth, depth 554 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) depth 607 modules/core/include/opencv2/core/types.hpp depth = DataType<channel_type>::depth, depth 610 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) depth 710 modules/core/include/opencv2/core/types.hpp depth = DataType<channel_type>::depth, depth 713 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) depth 753 modules/core/include/opencv2/core/types.hpp depth = DataType<channel_type>::depth, depth 756 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) depth 875 modules/core/include/opencv2/core/types.hpp depth = DataType<channel_type>::depth, depth 878 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) depth 306 modules/core/include/opencv2/core/types_c.h int depth; /**< Pixel depth in bits: IPL_DEPTH_8U, IPL_DEPTH_8S, IPL_DEPTH_16S, depth 500 modules/core/include/opencv2/core/types_c.h #define IPL2CV_DEPTH(depth) \ depth 502 modules/core/include/opencv2/core/types_c.h (CV_16S<<24)+(CV_32S<<28)) >> ((((depth) & 0xF0) >> 2) + \ depth 503 modules/core/include/opencv2/core/types_c.h (((depth) & IPL_DEPTH_SIGN) ? 20 : 0))) & 15) depth 603 modules/core/include/opencv2/core/types_c.h int depth = CV_MAT_DEPTH(type); depth 604 modules/core/include/opencv2/core/types_c.h return CV_ELEM_SIZE1(depth)*8 | (depth == CV_8S || depth == CV_16S || depth 605 modules/core/include/opencv2/core/types_c.h depth == CV_32S ? IPL_DEPTH_SIGN : 0); depth 239 modules/core/include/opencv2/core/wimage.hpp assert(!img || img->depth == Depth()); depth 243 modules/core/include/opencv2/core/wimage.hpp assert(!image || image->depth == Depth()); depth 286 modules/core/include/opencv2/core/wimage.hpp assert(!image || image->depth == WImage<T>::Depth()); depth 26 modules/core/misc/java/src/java/core+CvType.java public static final int makeType(int depth, int channels) { depth 31 modules/core/misc/java/src/java/core+CvType.java if (depth < 0 || depth >= CV_DEPTH_MAX) { depth 35 modules/core/misc/java/src/java/core+CvType.java return (depth & (CV_DEPTH_MAX - 1)) + ((channels - 1) << CV_CN_SHIFT); depth 75 modules/core/misc/java/src/java/core+CvType.java return depth(type) < CV_32F; depth 79 modules/core/misc/java/src/java/core+CvType.java switch (depth(type)) { depth 99 modules/core/misc/java/src/java/core+CvType.java switch (depth(type)) { depth 170 modules/core/misc/java/src/java/core+Mat.java public int checkVector(int elemChannels, int depth, boolean requireContinuous) depth 173 modules/core/misc/java/src/java/core+Mat.java int retVal = n_checkVector(nativeObj, elemChannels, depth, requireContinuous); depth 179 modules/core/misc/java/src/java/core+Mat.java public int checkVector(int elemChannels, int depth) depth 182 modules/core/misc/java/src/java/core+Mat.java int retVal = n_checkVector(nativeObj, elemChannels, depth); depth 952 modules/core/misc/java/src/java/core+Mat.java if (CvType.depth(t) == CvType.CV_32F) { depth 967 modules/core/misc/java/src/java/core+Mat.java if (CvType.depth(t) == CvType.CV_32S) { depth 982 modules/core/misc/java/src/java/core+Mat.java if (CvType.depth(t) == CvType.CV_16U || CvType.depth(t) == CvType.CV_16S) { depth 997 modules/core/misc/java/src/java/core+Mat.java if (CvType.depth(t) == CvType.CV_8U || CvType.depth(t) == CvType.CV_8S) { depth 1012 modules/core/misc/java/src/java/core+Mat.java if (CvType.depth(t) == CvType.CV_8U || CvType.depth(t) == CvType.CV_8S) { depth 1027 modules/core/misc/java/src/java/core+Mat.java if (CvType.depth(t) == CvType.CV_16U || CvType.depth(t) == CvType.CV_16S) { depth 1042 modules/core/misc/java/src/java/core+Mat.java if (CvType.depth(t) == CvType.CV_32S) { depth 1057 modules/core/misc/java/src/java/core+Mat.java if (CvType.depth(t) == CvType.CV_32F) { depth 1072 modules/core/misc/java/src/java/core+Mat.java if (CvType.depth(t) == CvType.CV_64F) { depth 1131 modules/core/misc/java/src/java/core+Mat.java private static native int n_checkVector(long nativeObj, int elemChannels, int depth, boolean requireContinuous); depth 1133 modules/core/misc/java/src/java/core+Mat.java private static native int n_checkVector(long nativeObj, int elemChannels, int depth); depth 41 modules/core/misc/java/test/CoreTest.java assertEquals(CvType.CV_32F, dst.depth()); depth 54 modules/core/misc/java/test/CoreTest.java assertEquals(CvType.CV_32F, dst.depth()); depth 45 modules/core/misc/java/test/CvTypeTest.java assertEquals(CvType.CV_64F, CvType.depth(CvType.CV_64FC3)); depth 201 modules/core/misc/java/test/MatTest.java assertEquals(CvType.CV_8U, gray0.depth()); depth 202 modules/core/misc/java/test/MatTest.java assertEquals(CvType.CV_32F, gray0_32f.depth()); depth 63 modules/core/perf/cuda/perf_gpumat.cpp const int depth = GET_PARAM(1); depth 66 modules/core/perf/cuda/perf_gpumat.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 95 modules/core/perf/cuda/perf_gpumat.cpp const int depth = GET_PARAM(1); depth 98 modules/core/perf/cuda/perf_gpumat.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 132 modules/core/perf/cuda/perf_gpumat.cpp const int depth = GET_PARAM(1); depth 135 modules/core/perf/cuda/perf_gpumat.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 65 modules/core/perf/opencl/perf_arithm.cpp int dstType = CV_MAKETYPE(lut.depth(), src.channels()); depth 404 modules/core/perf/opencl/perf_arithm.cpp const int type = get<1>(params), depth = CV_MAT_DEPTH(type); depth 415 modules/core/perf/opencl/perf_arithm.cpp if (depth >= CV_32F) depth 628 modules/core/perf/opencl/perf_arithm.cpp const int type = get<1>(params), depth = CV_MAT_DEPTH(type); depth 638 modules/core/perf/opencl/perf_arithm.cpp if (depth >= CV_32F) depth 65 modules/core/perf/opencl/perf_channels.cpp const int depth = get<1>(params), cn = get<2>(params), dtype = CV_MAKE_TYPE(depth, cn); depth 73 modules/core/perf/opencl/perf_channels.cpp i->create(srcSize, CV_MAKE_TYPE(depth, 1)); depth 93 modules/core/perf/opencl/perf_channels.cpp const int depth = get<1>(params), cn = get<2>(params), type = CV_MAKE_TYPE(depth, cn); depth 100 modules/core/perf/opencl/perf_channels.cpp std::vector<UMat> dst(cn, UMat(srcSize, CV_MAKE_TYPE(depth, 1))); depth 136 modules/core/perf/opencl/perf_channels.cpp const int depth = get<1>(params), type = CV_MAKE_TYPE(depth, 2), n = 2; depth 167 modules/core/perf/opencl/perf_channels.cpp const int depth = get<1>(params), type = CV_MAKE_TYPE(depth, 3); depth 171 modules/core/perf/opencl/perf_channels.cpp UMat src(srcSize, depth), dst(srcSize, type, Scalar::all(17)); depth 189 modules/core/perf/opencl/perf_channels.cpp const int depth = get<1>(params), type = CV_MAKE_TYPE(depth, 3); depth 193 modules/core/perf/opencl/perf_channels.cpp UMat src(srcSize, type), dst(srcSize, depth); depth 27 modules/core/perf/perf_cvround.cpp int type = get<1>(GetParam()), depth = CV_MAT_DEPTH(type); depth 33 modules/core/perf/perf_cvround.cpp if (depth == CV_32F) depth 38 modules/core/perf/perf_cvround.cpp else if (depth == CV_64F) depth 22 modules/core/perf/perf_split.cpp int depth = get<1>(GetParam()); depth 25 modules/core/perf/perf_split.cpp Mat m(sz, CV_MAKETYPE(depth, channels)); depth 1412 modules/core/src/arithm.cpp getConvertFunc(sc.depth(), buftype)(sc.ptr(), 1, 0, 1, scbuf, 1, Size(std::min(cn, scn), 1), 0); depth 2267 modules/core/src/arithm.cpp src1.depth() == CV_8U && src2.type() == src1.type() && depth 2275 modules/core/src/arithm.cpp dtype = _dst.depth(); depth 2279 modules/core/src/arithm.cpp dtype = src1.depth(); depth 2285 modules/core/src/arithm.cpp if (!_dst.fixedType() || dtype == _dst.depth()) depth 4861 modules/core/src/arithm.cpp static BinaryFunc getCmpFunc(int depth) depth 4872 modules/core/src/arithm.cpp return cmpTab[depth]; depth 4875 modules/core/src/arithm.cpp static double getMinVal(int depth) depth 4878 modules/core/src/arithm.cpp return tab[depth]; depth 4881 modules/core/src/arithm.cpp static double getMaxVal(int depth) depth 4884 modules/core/src/arithm.cpp return tab[depth]; depth 5023 modules/core/src/arithm.cpp getCmpFunc(src1.depth())(src1.ptr(), src1.step, src2.ptr(), src2.step, dst.ptr(), dst.step, sz, &op); depth 5027 modules/core/src/arithm.cpp int cn = src1.channels(), depth1 = src1.depth(), depth2 = src2.depth(); depth 5547 modules/core/src/arithm.cpp static InRangeFunc getInRangeFunc(int depth) depth 5556 modules/core/src/arithm.cpp return inRangeTab[depth]; depth 5711 modules/core/src/arithm.cpp int cn = src.channels(), depth = src.depth(); depth 5718 modules/core/src/arithm.cpp InRangeFunc func = getInRangeFunc(depth); depth 5737 modules/core/src/arithm.cpp int scdepth = lb.depth(); depth 5739 modules/core/src/arithm.cpp if( scdepth != depth && depth < CV_32S ) depth 5747 modules/core/src/arithm.cpp int minval = cvRound(getMinVal(depth)), maxval = cvRound(getMaxVal(depth)); depth 841 modules/core/src/array.cpp int depth = img->depth; depth 844 modules/core/src/array.cpp if( img->depth == IPL_DEPTH_32F || img->depth == IPL_DEPTH_64F ) depth 846 modules/core/src/array.cpp img->width *= img->depth == IPL_DEPTH_32F ? sizeof(float) : sizeof(double); depth 847 modules/core/src/array.cpp img->depth = IPL_DEPTH_8U; depth 853 modules/core/src/array.cpp img->depth = depth; depth 929 modules/core/src/array.cpp pix_size = ((img->depth & 255) >> 3)*img->nChannels; depth 1093 modules/core/src/array.cpp type = CV_MAKETYPE( IPL2CV_DEPTH(img->depth), img->nChannels ); depth 1464 modules/core/src/array.cpp int depth = type & CV_MAT_DEPTH_MASK; depth 1470 modules/core/src/array.cpp switch( depth ) depth 1520 modules/core/src/array.cpp int offset = CV_ELEM_SIZE1(depth)*12; depth 1775 modules/core/src/array.cpp int pix_size = (img->depth & 255) >> 3; depth 1813 modules/core/src/array.cpp int type = IPL2CV_DEPTH(img->depth); depth 2404 modules/core/src/array.cpp int depth, order; depth 2409 modules/core/src/array.cpp depth = IPL2CV_DEPTH( img->depth ); depth 2410 modules/core/src/array.cpp if( depth < 0 ) depth 2419 modules/core/src/array.cpp int type = depth; depth 2434 modules/core/src/array.cpp int type = CV_MAKETYPE( depth, img->nChannels ); depth 2450 modules/core/src/array.cpp int type = CV_MAKETYPE( depth, img->nChannels ); depth 2807 modules/core/src/array.cpp int depth = cvIplDepth(mat->type); depth 2810 modules/core/src/array.cpp depth, CV_MAT_CN(mat->type) ); depth 2873 modules/core/src/array.cpp cvCreateImageHeader( CvSize size, int depth, int channels ) depth 2880 modules/core/src/array.cpp cvInitImageHeader( img, size, depth, channels, IPL_ORIGIN_TL, depth 2889 modules/core/src/array.cpp img = CvIPL.createHeader( channels, 0, depth, (char*)colorModel, (char*)channelSeq, depth 2901 modules/core/src/array.cpp cvCreateImage( CvSize size, int depth, int channels ) depth 2903 modules/core/src/array.cpp IplImage *img = cvCreateImageHeader( size, depth, channels ); depth 2913 modules/core/src/array.cpp cvInitImageHeader( IplImage * image, CvSize size, int depth, depth 2931 modules/core/src/array.cpp if( (depth != (int)IPL_DEPTH_1U && depth != (int)IPL_DEPTH_8U && depth 2932 modules/core/src/array.cpp depth != (int)IPL_DEPTH_8S && depth != (int)IPL_DEPTH_16U && depth 2933 modules/core/src/array.cpp depth != (int)IPL_DEPTH_16S && depth != (int)IPL_DEPTH_32S && depth 2934 modules/core/src/array.cpp depth != (int)IPL_DEPTH_32F && depth != (int)IPL_DEPTH_64F) || depth 2955 modules/core/src/array.cpp image->depth = depth; depth 2958 modules/core/src/array.cpp (image->depth & ~IPL_DEPTH_SIGN) + 7)/8)+ align - 1) & (~(align - 1)); depth 798 modules/core/src/convert.cpp static SplitFunc getSplitFunc(int depth) depth 806 modules/core/src/convert.cpp return splitTab[depth]; depth 809 modules/core/src/convert.cpp static MergeFunc getMergeFunc(int depth) depth 817 modules/core/src/convert.cpp return mergeTab[depth]; depth 824 modules/core/src/convert.cpp int k, depth = src.depth(), cn = src.channels(); depth 831 modules/core/src/convert.cpp SplitFunc func = getSplitFunc(depth); depth 843 modules/core/src/convert.cpp mv[k].create(src.dims, src.size, depth); depth 873 modules/core/src/convert.cpp int type = _m.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), depth 887 modules/core/src/convert.cpp ocl::memopTypeToStr(depth), cn, dstargs.c_str(), depth 893 modules/core/src/convert.cpp _mv.create(cn, 1, depth); depth 895 modules/core/src/convert.cpp _mv.create(size, depth, i); depth 925 modules/core/src/convert.cpp CV_Assert( !_mv.fixedType() || _mv.empty() || _mv.type() == m.depth() ); depth 928 modules/core/src/convert.cpp int depth = m.depth(), cn = m.channels(); depth 929 modules/core/src/convert.cpp _mv.create(cn, 1, depth); depth 931 modules/core/src/convert.cpp _mv.create(size, depth, i); depth 943 modules/core/src/convert.cpp int depth = mv[0].depth(); depth 950 modules/core/src/convert.cpp CV_Assert(mv[i].size == mv[0].size && mv[i].depth() == depth); depth 956 modules/core/src/convert.cpp _dst.create(mv[0].dims, mv[0].size, CV_MAKETYPE(depth, cn)); depth 995 modules/core/src/convert.cpp MergeFunc func = getMergeFunc(depth); depth 1024 modules/core/src/convert.cpp int type = src[0].type(), depth = CV_MAT_DEPTH(type), depth 1035 modules/core/src/convert.cpp CV_Assert(size == src[i].size() && depth == idepth); depth 1058 modules/core/src/convert.cpp dcn, ocl::memopTypeToStr(depth), srcargs.c_str(), depth 1063 modules/core/src/convert.cpp _dst.create(size, CV_MAKE_TYPE(depth, dcn)); depth 1160 modules/core/src/convert.cpp static MixChannelsFunc getMixchFunc(int depth) depth 1169 modules/core/src/convert.cpp return mixchTab[depth]; depth 1181 modules/core/src/convert.cpp int depth = dst[0].depth(); depth 1205 modules/core/src/convert.cpp CV_Assert(j < nsrcs && src[j].depth() == depth); depth 1218 modules/core/src/convert.cpp CV_Assert(i1 >= 0 && j < ndsts && dst[j].depth() == depth); depth 1225 modules/core/src/convert.cpp MixChannelsFunc func = getMixchFunc(depth); depth 1290 modules/core/src/convert.cpp int depth = src[0].depth(), esz = CV_ELEM_SIZE(depth), depth 1294 modules/core/src/convert.cpp CV_Assert(src[i].size() == size && src[i].depth() == depth); depth 1296 modules/core/src/convert.cpp CV_Assert(dst[i].size() == size && dst[i].depth() == depth); depth 1327 modules/core/src/convert.cpp ocl::memopTypeToStr(depth), declsrc.c_str(), decldst.c_str(), depth 1409 modules/core/src/convert.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 1416 modules/core/src/convert.cpp _dst.create(src.dims, &src.size[0], depth); depth 1423 modules/core/src/convert.cpp _dst.create(src.dims, &src.size[0], depth); depth 5372 modules/core/src/convert.cpp static BinaryFunc getCvtScaleAbsFunc(int depth) depth 5381 modules/core/src/convert.cpp return cvtScaleAbsTab[depth]; depth 5484 modules/core/src/convert.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 5486 modules/core/src/convert.cpp if (!doubleSupport && depth == CV_64F) depth 5504 modules/core/src/convert.cpp int wdepth = std::max(depth, CV_32F); depth 5509 modules/core/src/convert.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), depth 5511 modules/core/src/convert.cpp ocl::convertTypeStr(depth, wdepth, kercn, cvt[0]), depth 5548 modules/core/src/convert.cpp BinaryFunc func = getCvtScaleAbsFunc(src.depth()); depth 5577 modules/core/src/convert.cpp int sdepth = depth(), ddepth = CV_MAT_DEPTH(_type); depth 5682 modules/core/src/convert.cpp int lcn = _lut.channels(), dcn = _src.channels(), ddepth = _lut.depth(); depth 5691 modules/core/src/convert.cpp ocl::typeToStr(src.depth()), ocl::memopTypeToStr(ddepth))); depth 5727 modules/core/src/convert.cpp size_t elemSize1 = CV_ELEM_SIZE1(dst.depth()); depth 5878 modules/core/src/convert.cpp func = lutTab[lut.depth()]; depth 5912 modules/core/src/convert.cpp int cn = _src.channels(), depth = _src.depth(); depth 5917 modules/core/src/convert.cpp (depth == CV_8U || depth == CV_8S) ); depth 5923 modules/core/src/convert.cpp _dst.create(src.dims, src.size, CV_MAKETYPE(_lut.depth(), cn)); depth 5933 modules/core/src/convert.cpp size_t elemSize1 = CV_ELEM_SIZE1(dst.depth()); depth 5967 modules/core/src/convert.cpp LUTFunc func = lutTab[lut.depth()]; depth 6093 modules/core/src/convert.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 6095 modules/core/src/convert.cpp rtype = _dst.fixedType() ? _dst.depth() : depth; depth 6130 modules/core/src/convert.cpp CV_Assert( dvec[j].depth() == src.depth() ); depth 6166 modules/core/src/convert.cpp svec[j].depth() == dst.depth() && depth 6221 modules/core/src/convert.cpp CV_Assert( dst.size() == src.size() && dst.type() == CV_MAKETYPE(lut.depth(), src.channels()) ); depth 367 modules/core/src/copy.cpp CV_Assert( mask.depth() == CV_8U && (mcn == 1 || mcn == cn) ); depth 478 modules/core/src/copy.cpp int cn = channels(), depth0 = depth(); depth 679 modules/core/src/copy.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), depth 683 modules/core/src/copy.cpp if (!doubleSupport && depth == CV_64F) depth 702 modules/core/src/copy.cpp kercn != cn ? ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)) : ocl::vecopTypeToStr(CV_MAKE_TYPE(depth, kercn)), depth 703 modules/core/src/copy.cpp kercn != cn ? ocl::typeToStr(depth) : ocl::vecopTypeToStr(depth), cn, pxPerWIy, kercn)); depth 848 modules/core/src/copy.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), depth 854 modules/core/src/copy.cpp ocl::memopTypeToStr(CV_MAKE_TYPE(depth, kercn)), depth 1087 modules/core/src/copy.cpp int type = _src.type(), cn = CV_MAT_CN(type), depth = CV_MAT_DEPTH(type), depth 1099 modules/core/src/copy.cpp int sctype = CV_MAKETYPE(depth, scalarcn); depth 1102 modules/core/src/copy.cpp ocl::memopTypeToStr(depth), cn, depth 1314 modules/core/src/copy.cpp scalarToRawData(value, buf, CV_MAKETYPE(src.depth(), cn1), cn); depth 1361 modules/core/src/copy.cpp CV_Assert( src.depth() == dst.depth() && src.size == dst.size ); depth 2033 modules/core/src/dxt.cpp Ptr<OCL_FftPlan> getFftPlan(int dft_size, int depth) depth 2035 modules/core/src/dxt.cpp int key = (dft_size << 16) | (depth & 0xFFFF); depth 2043 modules/core/src/dxt.cpp Ptr<OCL_FftPlan> newPlan = Ptr<OCL_FftPlan>(new OCL_FftPlan(dft_size, depth)); depth 2064 modules/core/src/dxt.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type); depth 2065 modules/core/src/dxt.cpp Ptr<OCL_FftPlan> plan = OCL_FftPlanCache::getInstance().getFftPlan(_src.cols(), depth); depth 2071 modules/core/src/dxt.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type); depth 2072 modules/core/src/dxt.cpp Ptr<OCL_FftPlan> plan = OCL_FftPlanCache::getInstance().getFftPlan(_src.rows(), depth); depth 2078 modules/core/src/dxt.cpp int type = _src.type(), cn = CV_MAT_CN(type), depth = CV_MAT_DEPTH(type); depth 2082 modules/core/src/dxt.cpp if ( !((cn == 1 || cn == 2) && (depth == CV_32F || (depth == CV_64F && doubleSupport))) ) depth 2123 modules/core/src/dxt.cpp _dst.create(src.size(), CV_MAKETYPE(depth, 2)); depth 2131 modules/core/src/dxt.cpp _dst.create(src.size(), CV_MAKETYPE(depth, 1)); depth 2136 modules/core/src/dxt.cpp _dst.create(src.size(), CV_MAKETYPE(depth, 1)); depth 2137 modules/core/src/dxt.cpp output.create(src.size(), CV_MAKETYPE(depth, 2)); depth 2363 modules/core/src/dxt.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 2367 modules/core/src/dxt.cpp if ( (!doubleSupport && depth == CV_64F) || depth 2387 modules/core/src/dxt.cpp _dst.create(ssize.height, ssize.width, CV_MAKE_TYPE(depth, 2)); depth 2401 modules/core/src/dxt.cpp depth == CV_64F, inplace, flags, fftType); depth 2497 modules/core/src/dxt.cpp int type = src.type(), depth = src.depth(); depth 2509 modules/core/src/dxt.cpp _dst.create( src.size(), CV_MAKETYPE(depth, 2) ); depth 2511 modules/core/src/dxt.cpp _dst.create( src.size(), depth ); depth 2520 modules/core/src/dxt.cpp if ((src.depth() == CV_32F) && (src.total()>(int)(1<<6)) && nonzero_rows == 0) depth 2623 modules/core/src/dxt.cpp if( depth == CV_32F ) depth 2636 modules/core/src/dxt.cpp if( depth == CV_32F ) depth 2718 modules/core/src/dxt.cpp dft_func = dft_tbl[(!real_transform ? 0 : !inv ? 1 : 2) + (depth == CV_64F)*3]; depth 2775 modules/core/src/dxt.cpp dft_func = dft_tbl[(depth == CV_64F)*3]; depth 2954 modules/core/src/dxt.cpp int depth = srcA.depth(), cn = srcA.channels(), type = srcA.type(); depth 2974 modules/core/src/dxt.cpp if( depth == CV_32F ) depth 3460 modules/core/src/dxt.cpp int type = src.type(), depth = src.depth(); depth 3494 modules/core/src/dxt.cpp DCTFunc dct_func = dct_tbl[(int)inv + (depth == CV_64F)*2]; depth 879 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_ClearDepth(GLdouble depth) depth 882 modules/core/src/gl_core_3_1.cpp ClearDepth(depth); depth 1181 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_TexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) depth 1184 modules/core/src/gl_core_3_1.cpp TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); depth 1207 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) depth 1210 modules/core/src/gl_core_3_1.cpp CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data); depth 1225 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) depth 1228 modules/core/src/gl_core_3_1.cpp CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); depth 2291 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_ClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) depth 2294 modules/core/src/gl_core_3_1.cpp ClearBufferfi(buffer, drawbuffer, depth, stencil); depth 1086 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *ClearDepth)(GLdouble depth); depth 1138 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *TexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); depth 1144 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CompressedTexImage3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); depth 1147 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CompressedTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); depth 1338 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *ClearBufferfi)(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); depth 227 modules/core/src/kmeans.cpp int type = data0.depth(); depth 66 modules/core/src/mathfuncs.cpp int type = _src1.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 72 modules/core/src/mathfuncs.cpp if (!double_support && depth == CV_64F) depth 78 modules/core/src/mathfuncs.cpp oclop2str[oclop], ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), rowsPerWI, depth 172 modules/core/src/mathfuncs.cpp int type = src1.type(), depth = src1.depth(), cn = src1.channels(); depth 173 modules/core/src/mathfuncs.cpp CV_Assert( src1.size() == src2.size() && type == src2.type() && (depth == CV_32F || depth == CV_64F)); depth 189 modules/core/src/mathfuncs.cpp if( depth == CV_32F ) depth 207 modules/core/src/mathfuncs.cpp int type = src1.type(), depth = src1.depth(), cn = src1.channels(); depth 208 modules/core/src/mathfuncs.cpp CV_Assert( src1.size() == src2.size() && type == src2.type() && (depth == CV_32F || depth == CV_64F)); depth 225 modules/core/src/mathfuncs.cpp if( depth == CV_64F ) depth 238 modules/core/src/mathfuncs.cpp if( depth == CV_32F ) depth 303 modules/core/src/mathfuncs.cpp int type = _src1.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), depth 308 modules/core/src/mathfuncs.cpp (depth == CV_32F || depth == CV_64F) && type == _src2.type()) || depth 309 modules/core/src/mathfuncs.cpp (depth == CV_64F && !doubleSupport) ) depth 314 modules/core/src/mathfuncs.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, 1)), depth 315 modules/core/src/mathfuncs.cpp depth, rowsPerWI, angleInDegrees ? "AD" : "AR", depth 346 modules/core/src/mathfuncs.cpp int type = X.type(), depth = X.depth(), cn = X.channels(); depth 347 modules/core/src/mathfuncs.cpp CV_Assert( X.size == Y.size && type == Y.type() && (depth == CV_32F || depth == CV_64F)); depth 360 modules/core/src/mathfuncs.cpp if( depth == CV_64F ) depth 372 modules/core/src/mathfuncs.cpp if( depth == CV_32F ) depth 589 modules/core/src/mathfuncs.cpp int type = _angle.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), depth 593 modules/core/src/mathfuncs.cpp if ( !doubleSupport && depth == CV_64F ) depth 598 modules/core/src/mathfuncs.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, 1)), rowsPerWI, depth 599 modules/core/src/mathfuncs.cpp depth, angleInDegrees ? "AD" : "AR", depth 624 modules/core/src/mathfuncs.cpp int type = src2.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 625 modules/core/src/mathfuncs.cpp CV_Assert((depth == CV_32F || depth == CV_64F) && (src1.empty() || src1.type() == type)); depth 644 modules/core/src/mathfuncs.cpp depth == CV_32F ? (ippsPolarToCart)ippsPolarToCart_32f : depth 645 modules/core/src/mathfuncs.cpp depth == CV_64F ? (ippsPolarToCart)ippsPolarToCart_64f : 0; depth 667 modules/core/src/mathfuncs.cpp if( depth == CV_64F ) depth 679 modules/core/src/mathfuncs.cpp if( depth == CV_32F ) depth 789 modules/core/src/mathfuncs.cpp int type = _src.type(), depth = _src.depth(), cn = _src.channels(); depth 790 modules/core/src/mathfuncs.cpp CV_Assert( depth == CV_32F || depth == CV_64F ); depth 806 modules/core/src/mathfuncs.cpp if( depth == CV_32F ) depth 856 modules/core/src/mathfuncs.cpp int type = _src.type(), depth = _src.depth(), cn = _src.channels(); depth 857 modules/core/src/mathfuncs.cpp CV_Assert( depth == CV_32F || depth == CV_64F ); depth 873 modules/core/src/mathfuncs.cpp if( depth == CV_32F ) depth 1294 modules/core/src/mathfuncs.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), depth 1313 modules/core/src/mathfuncs.cpp if( depth == CV_32F || depth == CV_64F ) depth 1320 modules/core/src/mathfuncs.cpp if (depth == CV_64F && !doubleSupport) depth 1328 modules/core/src/mathfuncs.cpp ocl::typeToStr(depth), depth, rowsPerWI, op, depth 1346 modules/core/src/mathfuncs.cpp if (depth == CV_32F) depth 1365 modules/core/src/mathfuncs.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), depth 1370 modules/core/src/mathfuncs.cpp if( is_ipower && !(ocl::Device::getDefault().isIntel() && useOpenCL && depth != CV_64F)) depth 1387 modules/core/src/mathfuncs.cpp CV_Assert( depth == CV_32F || depth == CV_64F ); depth 1402 modules/core/src/mathfuncs.cpp IPowFunc func = ipowTab[depth]; depth 1411 modules/core/src/mathfuncs.cpp (depth == CV_32F ? (MathFunc)InvSqrt_32f : (MathFunc)InvSqrt_64f) : depth 1412 modules/core/src/mathfuncs.cpp (depth == CV_32F ? (MathFunc)Sqrt_32f : (MathFunc)Sqrt_64f); depth 1447 modules/core/src/mathfuncs.cpp IppStatus status = depth == CV_32F ? depth 1462 modules/core/src/mathfuncs.cpp if( depth == CV_32F ) depth 1568 modules/core/src/mathfuncs.cpp template<int depth> depth 1571 modules/core/src/mathfuncs.cpp typedef mat_type_assotiations<depth> type_ass; depth 1632 modules/core/src/mathfuncs.cpp int depth = src.depth(); depth 1636 modules/core/src/mathfuncs.cpp if (depth < CV_32F) depth 1642 modules/core/src/mathfuncs.cpp (check_range_functions[depth])(src, badPt, minVali, maxVali, badValue); depth 1649 modules/core/src/mathfuncs.cpp if( depth == CV_32F ) depth 1745 modules/core/src/mathfuncs.cpp CV_Assert( _a.depth() == CV_32F ); depth 794 modules/core/src/matmul.cpp int depth = matA.depth(), cn = matA.channels(); depth 795 modules/core/src/matmul.cpp int type = CV_MAKETYPE(depth, cn); depth 802 modules/core/src/matmul.cpp if (!doubleSupport && depth == CV_64F) depth 841 modules/core/src/matmul.cpp ocl::typeToStr(type), ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), depth 851 modules/core/src/matmul.cpp if (depth == CV_64F) depth 1917 modules/core/src/matmul.cpp static TransformFunc getTransformFunc(int depth) depth 1926 modules/core/src/matmul.cpp return transformTab[depth]; depth 1929 modules/core/src/matmul.cpp static TransformFunc getDiagTransformFunc(int depth) depth 1938 modules/core/src/matmul.cpp return diagTransformTab[depth]; depth 1946 modules/core/src/matmul.cpp int depth = src.depth(), scn = src.channels(), dcn = m.rows; depth 1950 modules/core/src/matmul.cpp _dst.create( src.size(), CV_MAKETYPE(depth, dcn) ); depth 1953 modules/core/src/matmul.cpp int mtype = depth == CV_32S || depth == CV_64F ? CV_64F : CV_32F; depth 2002 modules/core/src/matmul.cpp TransformFunc func = isDiag ? getDiagTransformFunc(depth): getTransformFunc(depth); depth 2124 modules/core/src/matmul.cpp int depth = src.depth(), scn = src.channels(), dcn = m.rows-1; depth 2126 modules/core/src/matmul.cpp CV_Assert( depth == CV_32F || depth == CV_64F ); depth 2128 modules/core/src/matmul.cpp _dst.create( src.size(), CV_MAKETYPE(depth, dcn) ); depth 2145 modules/core/src/matmul.cpp TransformFunc func = depth == CV_32F ? depth 2273 modules/core/src/matmul.cpp int depth = CV_MAT_DEPTH(type); depth 2274 modules/core/src/matmul.cpp if ( (!doubleSupport && depth == CV_64F) || size != _src2.size() ) depth 2278 modules/core/src/matmul.cpp int cn = CV_MAT_CN(type), wdepth = std::max(depth, CV_32F); depth 2287 modules/core/src/matmul.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), depth 2289 modules/core/src/matmul.cpp ocl::convertTypeStr(depth, wdepth, kercn, cvt[0]), depth 2290 modules/core/src/matmul.cpp ocl::convertTypeStr(wdepth, depth, kercn, cvt[1]), depth 2317 modules/core/src/matmul.cpp int type = _src1.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 2323 modules/core/src/matmul.cpp if( depth < CV_32F ) depth 2325 modules/core/src/matmul.cpp addWeighted(_src1, alpha, _src2, 1, 0, _dst, depth); depth 2336 modules/core/src/matmul.cpp void* palpha = depth == CV_32F ? (void*)&falpha : (void*)α depth 2338 modules/core/src/matmul.cpp ScaleAddFunc func = depth == CV_32F ? (ScaleAddFunc)scaleAdd_32f : (ScaleAddFunc)scaleAdd_64f; depth 2367 modules/core/src/matmul.cpp ctype = std::max(std::max(CV_MAT_DEPTH(ctype >= 0 ? ctype : type), _mean.depth()), CV_32F); depth 2412 modules/core/src/matmul.cpp ctype = std::max(std::max(CV_MAT_DEPTH(ctype >= 0 ? ctype : type), _mean.depth()), CV_32F); depth 2462 modules/core/src/matmul.cpp ctype = std::max(std::max(CV_MAT_DEPTH(ctype >= 0 ? ctype : type), mean.depth()), CV_32F); depth 2490 modules/core/src/matmul.cpp int type = v1.type(), depth = v1.depth(); depth 2506 modules/core/src/matmul.cpp if( depth == CV_32F ) depth 2537 modules/core/src/matmul.cpp else if( depth == CV_64F ) depth 2782 modules/core/src/matmul.cpp dtype = std::max(std::max(CV_MAT_DEPTH(dtype >= 0 ? dtype : stype), delta.depth()), CV_32F); depth 3226 modules/core/src/matmul.cpp static DotProdFunc getDotProdFunc(int depth) depth 3236 modules/core/src/matmul.cpp return dotProdTab[depth]; depth 3243 modules/core/src/matmul.cpp DotProdFunc func = getDotProdFunc(depth()); depth 3303 modules/core/src/matmul.cpp CV_Assert( dst.depth() == src.depth() && dst.channels() == m.rows ); depth 621 modules/core/src/matrix.cpp int imgdepth = IPL2CV_DEPTH(img->depth); depth 928 modules/core/src/matrix.cpp _ch.create(mat.dims, mat.size, mat.depth()); depth 948 modules/core/src/matrix.cpp CV_Assert(ch.size == mat.size && ch.depth() == mat.depth() && 0 <= coi && coi < mat.channels()); depth 1026 modules/core/src/matrix.cpp return (depth() == _depth || _depth <= 0) && depth 1038 modules/core/src/matrix.cpp int i, depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 1040 modules/core/src/matrix.cpp switch(depth) depth 2812 modules/core/src/matrix.cpp int type = _m.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), kercn = cn, rowsPerWI = 1; depth 2813 modules/core/src/matrix.cpp int sctype = CV_MAKE_TYPE(depth, cn == 3 ? 4 : cn); depth 2827 modules/core/src/matrix.cpp ocl::memopTypeToStr(CV_MAKE_TYPE(depth, kercn)), depth 2828 modules/core/src/matrix.cpp ocl::memopTypeToStr(depth), cn, depth 3041 modules/core/src/matrix.cpp int type = _src.type(), cn = CV_MAT_CN(type), depth = CV_MAT_DEPTH(type), depth 3066 modules/core/src/matrix.cpp ocl::memopTypeToStr(type), ocl::memopTypeToStr(depth), depth 3384 modules/core/src/matrix.cpp sdepth = CV_MAT_DEPTH(stype), ddepth = dstmat.depth(); depth 3788 modules/core/src/matrix.cpp static IppSortFunc getSortFunc(int depth, bool sortDescending) depth 3791 modules/core/src/matrix.cpp return depth == CV_8U ? (IppSortFunc)ippsSortAscend_8u_I : depth 3798 modules/core/src/matrix.cpp return depth == CV_8U ? (IppSortFunc)ippsSortDescend_8u_I : depth 3806 modules/core/src/matrix.cpp static IppFlipFunc getFlipFunc(int depth) depth 3810 modules/core/src/matrix.cpp depth == CV_8U || depth == CV_8S ? (IppFlipFunc)ippsFlip_8u_I : depth 3811 modules/core/src/matrix.cpp depth == CV_16U || depth == CV_16S ? (IppFlipFunc)ippsFlip_16u_I : depth 3812 modules/core/src/matrix.cpp depth == CV_32S || depth == CV_32F ? (IppFlipFunc)ippsFlip_32f_I : depth 3813 modules/core/src/matrix.cpp depth == CV_64F ? (IppFlipFunc)ippsFlip_64f_I : 0; depth 3839 modules/core/src/matrix.cpp int depth = src.depth(); depth 3844 modules/core/src/matrix.cpp ippSortFunc = getSortFunc(depth, sortDescending); depth 3845 modules/core/src/matrix.cpp ippFlipFunc = getFlipFunc(depth); depth 3873 modules/core/src/matrix.cpp if (depth == CV_8U) depth 3922 modules/core/src/matrix.cpp static IppSortIndexFunc getSortIndexFunc(int depth, bool sortDescending) depth 3925 modules/core/src/matrix.cpp return depth == CV_8U ? (IppSortIndexFunc)ippsSortIndexAscend_8u_I : depth 3926 modules/core/src/matrix.cpp depth == CV_16U ? (IppSortIndexFunc)ippsSortIndexAscend_16u_I : depth 3927 modules/core/src/matrix.cpp depth == CV_16S ? (IppSortIndexFunc)ippsSortIndexAscend_16s_I : depth 3928 modules/core/src/matrix.cpp depth == CV_32S ? (IppSortIndexFunc)ippsSortIndexAscend_32s_I : depth 3929 modules/core/src/matrix.cpp depth == CV_32F ? (IppSortIndexFunc)ippsSortIndexAscend_32f_I : depth 3930 modules/core/src/matrix.cpp depth == CV_64F ? (IppSortIndexFunc)ippsSortIndexAscend_64f_I : 0; depth 3932 modules/core/src/matrix.cpp return depth == CV_8U ? (IppSortIndexFunc)ippsSortIndexDescend_8u_I : depth 3933 modules/core/src/matrix.cpp depth == CV_16U ? (IppSortIndexFunc)ippsSortIndexDescend_16u_I : depth 3934 modules/core/src/matrix.cpp depth == CV_16S ? (IppSortIndexFunc)ippsSortIndexDescend_16s_I : depth 3935 modules/core/src/matrix.cpp depth == CV_32S ? (IppSortIndexFunc)ippsSortIndexDescend_32s_I : depth 3936 modules/core/src/matrix.cpp depth == CV_32F ? (IppSortIndexFunc)ippsSortIndexDescend_32f_I : depth 3937 modules/core/src/matrix.cpp depth == CV_64F ? (IppSortIndexFunc)ippsSortIndexDescend_64f_I : 0; depth 3966 modules/core/src/matrix.cpp int depth = src.depth(); depth 3971 modules/core/src/matrix.cpp ippFunc = getSortIndexFunc(depth, sortDescending); depth 3972 modules/core/src/matrix.cpp ippFlipFunc = getFlipFunc(depth); depth 4047 modules/core/src/matrix.cpp SortFunc func = tab[src.depth()]; depth 4062 modules/core/src/matrix.cpp SortFunc func = tab[src.depth()]; depth 4236 modules/core/src/matrix.cpp CV_Assert( centers.depth() == data.depth() ); depth 5310 modules/core/src/ocl.cpp int cn = CV_MAT_CN(type), depth = CV_MAT_DEPTH(type); depth 5311 modules/core/src/ocl.cpp return cn > 16 ? "?" : tab[depth*16 + cn-1]; depth 5327 modules/core/src/ocl.cpp int cn = CV_MAT_CN(type), depth = CV_MAT_DEPTH(type); depth 5328 modules/core/src/ocl.cpp return cn > 16 ? "?" : tab[depth*16 + cn-1]; depth 5344 modules/core/src/ocl.cpp int cn = CV_MAT_CN(type), depth = CV_MAT_DEPTH(type); depth 5345 modules/core/src/ocl.cpp return cn > 16 ? "?" : tab[depth*16 + cn-1]; depth 5371 modules/core/src/ocl.cpp int width = k.cols - 1, depth = k.depth(); depth 5377 modules/core/src/ocl.cpp if (depth <= CV_8S) depth 5383 modules/core/src/ocl.cpp else if (depth == CV_32F) depth 5404 modules/core/src/ocl.cpp int depth = kernel.depth(); depth 5406 modules/core/src/ocl.cpp ddepth = depth; depth 5408 modules/core/src/ocl.cpp if (ddepth != depth) depth 5515 modules/core/src/ocl.cpp int type = _m.type(), depth = CV_MAT_DEPTH(type); depth 5519 modules/core/src/ocl.cpp name.c_str(), ocl::typeToStr(CV_MAKE_TYPE(depth, 1)), depth 5523 modules/core/src/ocl.cpp name.c_str(), (int)depth depth 5543 modules/core/src/ocl.cpp static cl_image_format getImageFormat(int depth, int cn, bool norm) depth 5552 modules/core/src/ocl.cpp int channelType = norm ? channelTypesNorm[depth] : channelTypes[depth]; depth 5593 modules/core/src/ocl.cpp int err, depth = src.depth(), cn = src.channels(); depth 5595 modules/core/src/ocl.cpp cl_image_format format = getImageFormat(depth, cn, norm); depth 5704 modules/core/src/ocl.cpp bool Image2D::isFormatSupported(int depth, int cn, bool norm) depth 5706 modules/core/src/ocl.cpp cl_image_format format = Impl::getImageFormat(depth, cn, norm); depth 995 modules/core/src/opengl.cpp const int depth = CV_MAT_DEPTH(atype); depth 998 modules/core/src/opengl.cpp CV_Assert( depth <= CV_32F ); depth 1016 modules/core/src/opengl.cpp impl_.reset(new Impl(internalFormats[cn], asize.width, asize.height, srcFormats[cn], gl_types[depth], 0, autoRelease)); depth 1030 modules/core/src/opengl.cpp impl_.reset(new Impl(internalFormats[cn], asize.width, asize.height, srcFormats[cn], gl_types[depth], 0, autoRelease)); depth 1042 modules/core/src/opengl.cpp impl_.reset(new Impl(internalFormats[cn], asize.width, asize.height, srcFormats[cn], gl_types[depth], mat.data, autoRelease)); depth 1107 modules/core/src/opengl.cpp const int depth = CV_MAT_DEPTH(atype); depth 1110 modules/core/src/opengl.cpp CV_Assert( depth <= CV_32F ); depth 1130 modules/core/src/opengl.cpp impl_->copyFrom(asize.width, asize.height, srcFormats[cn], gl_types[depth], 0); depth 1144 modules/core/src/opengl.cpp impl_->copyFrom(asize.width, asize.height, srcFormats[cn], gl_types[depth], 0); depth 1156 modules/core/src/opengl.cpp impl_->copyFrom(asize.width, asize.height, srcFormats[cn], gl_types[depth], mat.data); depth 1241 modules/core/src/opengl.cpp const int depth = vertex.depth(); depth 1244 modules/core/src/opengl.cpp CV_Assert( depth == CV_16S || depth == CV_32S || depth == CV_32F || depth == CV_64F ); depth 1280 modules/core/src/opengl.cpp const int depth = normal.depth(); depth 1283 modules/core/src/opengl.cpp CV_Assert( depth == CV_8S || depth == CV_16S || depth == CV_32S || depth == CV_32F || depth == CV_64F ); depth 1299 modules/core/src/opengl.cpp const int depth = texCoord.depth(); depth 1302 modules/core/src/opengl.cpp CV_Assert( depth == CV_16S || depth == CV_32S || depth == CV_32F || depth == CV_64F ); depth 1352 modules/core/src/opengl.cpp gl::TexCoordPointer(texCoord_.channels(), gl_types[texCoord_.depth()], 0, 0); depth 1368 modules/core/src/opengl.cpp gl::NormalPointer(gl_types[normal_.depth()], 0, 0); depth 1386 modules/core/src/opengl.cpp gl::ColorPointer(cn, gl_types[color_.depth()], 0, 0); depth 1402 modules/core/src/opengl.cpp gl::VertexPointer(vertex_.channels(), gl_types[vertex_.depth()], 0, 0); depth 1527 modules/core/src/opengl.cpp const int depth = buf.depth(); depth 1530 modules/core/src/opengl.cpp CV_Assert( depth <= CV_32S ); depth 1533 modules/core/src/opengl.cpp if (depth < CV_16U) depth 1535 modules/core/src/opengl.cpp else if (depth < CV_32S) depth 1553 modules/core/src/opengl.cpp const int depth = mat.depth(); depth 1556 modules/core/src/opengl.cpp CV_Assert( depth <= CV_32S ); depth 1560 modules/core/src/opengl.cpp if (depth < CV_16U) depth 1562 modules/core/src/opengl.cpp else if (depth < CV_32S) depth 109 modules/core/src/out.cpp switch(mtx.depth()) depth 290 modules/core/src/out.cpp mtx.rows == 1 || !multiline, false, mtx.depth() == CV_64F ? prec64f : prec32f ); depth 302 modules/core/src/out.cpp mtx.rows == 1 || !multiline, true, mtx.depth() == CV_64F ? prec64f : prec32f ); depth 316 modules/core/src/out.cpp mtx.rows == 1 || !multiline, false, mtx.depth() == CV_64F ? prec64f : prec32f ); depth 334 modules/core/src/out.cpp cv::format("], dtype='%s')", numpyTypes[mtx.depth()]), mtx, &*braces, depth 335 modules/core/src/out.cpp mtx.rows == 1 || !multiline, false, mtx.depth() == CV_64F ? prec64f : prec32f ); depth 348 modules/core/src/out.cpp mtx.rows == 1 || !multiline, false, mtx.depth() == CV_64F ? prec64f : prec32f ); depth 360 modules/core/src/out.cpp mtx.rows == 1 || !multiline, false, mtx.depth() == CV_64F ? prec64f : prec32f ); depth 97 modules/core/src/pca.cpp int ctype = std::max(CV_32F, data.depth()); depth 234 modules/core/src/pca.cpp int ctype = std::max(CV_32F, data.depth()); depth 3868 modules/core/src/persistence.cpp int y, depth; depth 3894 modules/core/src/persistence.cpp depth = IPL2CV_DEPTH(image->depth); depth 3895 modules/core/src/persistence.cpp sprintf( dt_buf, "%d%c", image->nChannels, icvTypeSymbol[depth] ); depth 3900 modules/core/src/persistence.cpp if( size.width*image->nChannels*CV_ELEM_SIZE(depth) == image->widthStep ) depth 3924 modules/core/src/persistence.cpp int y, width, height, elem_type, coi, depth; depth 3948 modules/core/src/persistence.cpp depth = cvIplDepth(elem_type); depth 3949 modules/core/src/persistence.cpp image = cvCreateImage( cvSize(width,height), depth, CV_MAT_CN(elem_type) ); depth 485 modules/core/src/rand.cpp int depth = mat.depth(), cn = mat.channels(); depth 537 modules/core/src/rand.cpp if( depth <= CV_32S ) depth 546 modules/core/src/rand.cpp a = std::max(a, depth == CV_8U || depth == CV_16U ? 0. : depth 547 modules/core/src/rand.cpp depth == CV_8S ? -128. : depth == CV_16S ? -32768. : (double)INT_MIN); depth 548 modules/core/src/rand.cpp b = std::min(b, depth == CV_8U ? 256. : depth == CV_16U ? 65536. : depth 549 modules/core/src/rand.cpp depth == CV_8S ? 128. : depth == CV_16S ? 32768. : (double)INT_MAX); depth 583 modules/core/src/rand.cpp func = randTab[fast_int_mode][depth]; depth 587 modules/core/src/rand.cpp double scale = depth == CV_64F ? depth 596 modules/core/src/rand.cpp if( depth == CV_32F ) depth 615 modules/core/src/rand.cpp func = randTab[0][depth]; depth 624 modules/core/src/rand.cpp int ptype = depth == CV_64F ? CV_64F : CV_32F; depth 654 modules/core/src/rand.cpp scaleFunc = randnScaleTab[depth]; depth 480 modules/core/src/stat.cpp static SumFunc getSumFunc(int depth) depth 491 modules/core/src/stat.cpp return sumTab[depth]; depth 726 modules/core/src/stat.cpp static CountNonZeroFunc getCountNonZeroTab(int depth) depth 736 modules/core/src/stat.cpp return countNonZeroTab[depth]; depth 1018 modules/core/src/stat.cpp static SumSqrFunc getSumSqrTab(int depth) depth 1026 modules/core/src/stat.cpp return sumSqrTab[depth]; depth 1057 modules/core/src/stat.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), depth 1063 modules/core/src/stat.cpp if ( (!doubleSupport && depth == CV_64F) || cn > 4 ) depth 1069 modules/core/src/stat.cpp int ddepth = std::max(sum_op == OCL_OP_SUM_SQR ? CV_32F : CV_32S, depth), depth 1082 modules/core/src/stat.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, mcn)), ocl::typeToStr(depth), depth 1085 modules/core/src/stat.cpp ocl::convertTypeStr(depth, ddepth, mcn, cvt[0]), depth 1093 modules/core/src/stat.cpp depth <= CV_32S && ddepth == CV_32S ? ocl::convertTypeStr(CV_8U, ddepth, convert_cn, cvt[1]) : "noconvert"); depth 1153 modules/core/src/stat.cpp int k, cn = src.channels(), depth = src.depth(); depth 1201 modules/core/src/stat.cpp SumFunc func = getSumFunc(depth); depth 1214 modules/core/src/stat.cpp bool blockSum = depth < CV_32S; depth 1218 modules/core/src/stat.cpp intSumBlockSize = depth <= CV_8S ? (1 << 23) : (1 << 15); depth 1256 modules/core/src/stat.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), kercn = ocl::predictOptimalVectorWidth(_src); depth 1259 modules/core/src/stat.cpp if (depth == CV_64F && !doubleSupport) depth 1273 modules/core/src/stat.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), depth 1274 modules/core/src/stat.cpp ocl::typeToStr(depth), (int)wgs, kercn, depth 1324 modules/core/src/stat.cpp int depth = CV_MAT_DEPTH(type); depth 1325 modules/core/src/stat.cpp if (depth == CV_8U) depth 1327 modules/core/src/stat.cpp else if (depth == CV_32F) depth 1340 modules/core/src/stat.cpp CountNonZeroFunc func = getCountNonZeroTab(src.depth()); depth 1359 modules/core/src/stat.cpp int k, cn = src.channels(), depth = src.depth(); depth 1449 modules/core/src/stat.cpp SumFunc func = getSumFunc(depth); depth 1461 modules/core/src/stat.cpp bool blockSum = depth <= CV_16S; depth 1466 modules/core/src/stat.cpp intSumBlockSize = depth <= CV_8S ? (1 << 23) : (1 << 15); depth 1512 modules/core/src/stat.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 1525 modules/core/src/stat.cpp int ddepth = std::max(CV_32S, depth), sqddepth = std::max(CV_32F, depth), depth 1535 modules/core/src/stat.cpp if ( (!doubleSupport && depth == CV_64F) || cn > 4 ) depth 1542 modules/core/src/stat.cpp ocl::typeToStr(type), ocl::typeToStr(depth), depth 1545 modules/core/src/stat.cpp ocl::convertTypeStr(depth, sqddepth, cn, cvt[0]), depth 1548 modules/core/src/stat.cpp ocl::convertTypeStr(depth, ddepth, cn, cvt[1]), depth 1629 modules/core/src/stat.cpp int k, cn = src.channels(), depth = src.depth(); depth 1744 modules/core/src/stat.cpp SumSqrFunc func = getSumSqrTab(depth); depth 1756 modules/core/src/stat.cpp bool blockSum = depth <= CV_16S, blockSqSum = depth <= CV_8S; depth 1918 modules/core/src/stat.cpp static MinMaxIdxFunc getMinmaxTab(int depth) depth 1929 modules/core/src/stat.cpp return minmaxTab[depth]; depth 2060 modules/core/src/stat.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), depth 2071 modules/core/src/stat.cpp ddepth = depth; depth 2075 modules/core/src/stat.cpp if (depth == CV_32S) depth 2078 modules/core/src/stat.cpp if ((depth == CV_64F || ddepth == CV_64F) && !doubleSupport) depth 2106 modules/core/src/stat.cpp depth, ocl::typeToStr(depth), haveMask ? " -D HAVE_MASK" : "", (int)wgs, depth 2107 modules/core/src/stat.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), wgs2_aligned, depth 2114 modules/core/src/stat.cpp ocl::convertTypeStr(depth, ddepth, kercn, cvt[0]), depth 2118 modules/core/src/stat.cpp depth <= CV_32S && ddepth == CV_32S ? ocl::convertTypeStr(CV_8U, ddepth, kercn, cvt[1]) : "noconvert"); depth 2190 modules/core/src/stat.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 2255 modules/core/src/stat.cpp depth == CV_8U ? (ippiMinMaxIndxFuncC1)ippiMinMaxIndx_8u_C1R : depth 2256 modules/core/src/stat.cpp depth == CV_8S ? (ippiMinMaxIndxFuncC1)ippiMinMaxIndx_8s_C1R : depth 2257 modules/core/src/stat.cpp depth == CV_16U ? (ippiMinMaxIndxFuncC1)ippiMinMaxIndx_16u_C1R : depth 2259 modules/core/src/stat.cpp depth == CV_32F ? (ippiMinMaxIndxFuncC1)ippiMinMaxIndx_32f_C1R : depth 2294 modules/core/src/stat.cpp MinMaxIdxFunc func = getMinmaxTab(depth); depth 2309 modules/core/src/stat.cpp if( depth == CV_32F ) depth 2311 modules/core/src/stat.cpp else if( depth == CV_64F ) depth 2319 modules/core/src/stat.cpp else if( depth == CV_32F ) depth 2321 modules/core/src/stat.cpp else if( depth <= CV_32S ) depth 2515 modules/core/src/stat.cpp static NormFunc getNormFunc(int normType, int depth) depth 2533 modules/core/src/stat.cpp return normTab[normType][depth]; depth 2536 modules/core/src/stat.cpp static NormDiffFunc getNormDiffFunc(int normType, int depth) depth 2560 modules/core/src/stat.cpp return normDiffTab[normType][depth]; depth 2574 modules/core/src/stat.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 2579 modules/core/src/stat.cpp (!doubleSupport && depth == CV_64F)) depth 2587 modules/core/src/stat.cpp std::max(depth, CV_32S), depth != CV_8U && depth != CV_16U)) depth 2593 modules/core/src/stat.cpp bool unstype = depth == CV_8U || depth == CV_16U; depth 2631 modules/core/src/stat.cpp int depth = src.depth(), cn = src.channels(); depth 2804 modules/core/src/stat.cpp if( depth == CV_32F ) depth 2833 modules/core/src/stat.cpp if( depth == CV_8U ) depth 2876 modules/core/src/stat.cpp NormFunc func = getNormFunc(normType >> 1, depth); depth 2891 modules/core/src/stat.cpp bool blockSum = (normType == NORM_L1 && depth <= CV_16S) || depth 2892 modules/core/src/stat.cpp ((normType == NORM_L2 || normType == NORM_L2SQR) && depth <= CV_8S); depth 2899 modules/core/src/stat.cpp intSumBlockSize = (normType == NORM_L1 && depth <= CV_8S ? (1 << 23) : (1 << 15))/cn; depth 2926 modules/core/src/stat.cpp if( depth == CV_64F ) depth 2928 modules/core/src/stat.cpp else if( depth == CV_32F ) depth 2951 modules/core/src/stat.cpp int type = _src1.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 2964 modules/core/src/stat.cpp if (!ocl_minMaxIdx(_src1, NULL, &sc1[0], NULL, NULL, _mask, std::max(CV_32S, depth), depth 3118 modules/core/src/stat.cpp int depth = src1.depth(), cn = src1.channels(); depth 3300 modules/core/src/stat.cpp if( src1.depth() == CV_32F ) depth 3360 modules/core/src/stat.cpp NormDiffFunc func = getNormDiffFunc(normType >> 1, depth); depth 3376 modules/core/src/stat.cpp bool blockSum = (normType == NORM_L1 && depth <= CV_16S) || depth 3377 modules/core/src/stat.cpp ((normType == NORM_L2 || normType == NORM_L2SQR) && depth <= CV_8S); depth 3384 modules/core/src/stat.cpp intSumBlockSize = normType == NORM_L1 && depth <= CV_8S ? (1 << 23) : (1 << 15); depth 3412 modules/core/src/stat.cpp if( depth == CV_64F ) depth 3414 modules/core/src/stat.cpp else if( depth == CV_32F ) depth 3787 modules/core/src/stat.cpp CV_Assert( _src1.depth() == CV_8U ); depth 549 modules/core/src/umatrix.cpp return (depth() == _depth || _depth <= 0) && depth 686 modules/core/src/umatrix.cpp ocl::memopTypeToStr(depth()), cn, mcn, depth 859 modules/core/src/umatrix.cpp int type = src1.type(), depth = CV_MAT_DEPTH(type), depth 863 modules/core/src/umatrix.cpp if ( !doubleSupport && depth == CV_64F ) depth 868 modules/core/src/umatrix.cpp int ddepth = std::max(CV_32F, depth); depth 879 modules/core/src/umatrix.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), ocl::typeToStr(depth), depth 881 modules/core/src/umatrix.cpp ddepth, ocl::convertTypeStr(depth, ddepth, kercn, cvt), depth 118 modules/core/test/ocl/test_arithm.cpp int depth; depth 132 modules/core/test/ocl/test_arithm.cpp depth = GET_PARAM(0); depth 139 modules/core/test/ocl/test_arithm.cpp const int type = CV_MAKE_TYPE(depth, cn); depth 321 modules/core/test/ocl/test_arithm.cpp Near(udst1_roi.depth() >= CV_32F ? 1e-3 : 1); depth 335 modules/core/test/ocl/test_arithm.cpp Near(udst1_roi.depth() >= CV_32F ? 2e-1 : 1); depth 337 modules/core/test/ocl/test_arithm.cpp Near(udst1_roi.depth() >= CV_32F ? 1e-3 : 1); depth 351 modules/core/test/ocl/test_arithm.cpp if (udst1_roi.depth() >= CV_32F) depth 384 modules/core/test/ocl/test_arithm.cpp Near(udst1_roi.depth() >= CV_32F ? 1e-3 : 1); depth 397 modules/core/test/ocl/test_arithm.cpp Near(udst1_roi.depth() >= CV_32F ? 1e-3 : 1); depth 410 modules/core/test/ocl/test_arithm.cpp Near(udst1_roi.depth() >= CV_32F ? 4e-3 : 1); depth 423 modules/core/test/ocl/test_arithm.cpp Near(udst1_roi.depth() >= CV_32F ? 4e-3 : 1); depth 436 modules/core/test/ocl/test_arithm.cpp Near(udst1_roi.depth() >= CV_32F ? 1e-3 : 1); depth 585 modules/core/test/ocl/test_arithm.cpp const int type = CV_MAKE_TYPE(depth, cn); depth 902 modules/core/test/ocl/test_arithm.cpp const int type = CV_MAKE_TYPE(depth, cn); depth 1107 modules/core/test/ocl/test_arithm.cpp Near(depth == CV_64F ? 1e-5 : 1e-2); depth 1480 modules/core/test/ocl/test_arithm.cpp int depth; depth 1492 modules/core/test/ocl/test_arithm.cpp depth = GET_PARAM(0); depth 1500 modules/core/test/ocl/test_arithm.cpp const int type = CV_MAKE_TYPE(depth, cn); depth 1562 modules/core/test/ocl/test_arithm.cpp int depth; depth 1572 modules/core/test/ocl/test_arithm.cpp depth = GET_PARAM(0); depth 1579 modules/core/test/ocl/test_arithm.cpp const int stype = CV_MAKE_TYPE(depth, cn); depth 1630 modules/core/test/ocl/test_arithm.cpp Near(depth <= CV_32S ? 1 : 1e-3); depth 59 modules/core/test/ocl/test_channels.cpp int depth, nsrc; depth 73 modules/core/test/ocl/test_channels.cpp depth = GET_PARAM(0); depth 82 modules/core/test/ocl/test_channels.cpp return CV_MAKE_TYPE(depth, randomInt(1, 3)); depth 122 modules/core/test/ocl/test_channels.cpp randomSubMat(dst, dst_roi, roiSize, dstBorder, CV_MAKE_TYPE(depth, dcn), 5, 16); depth 150 modules/core/test/ocl/test_channels.cpp int depth, cn; depth 164 modules/core/test/ocl/test_channels.cpp depth = GET_PARAM(0); depth 175 modules/core/test/ocl/test_channels.cpp randomSubMat(src, src_roi, roiSize, srcBorder, CV_MAKE_TYPE(depth, cn), 5, 16); depth 179 modules/core/test/ocl/test_channels.cpp randomSubMat(dst1, dst1_roi, roiSize, dst1Border, depth, 2, 11); depth 182 modules/core/test/ocl/test_channels.cpp randomSubMat(dst2, dst2_roi, roiSize, dst2Border, depth, -1540, 1740); depth 185 modules/core/test/ocl/test_channels.cpp randomSubMat(dst3, dst3_roi, roiSize, dst3Border, depth, -1540, 1740); depth 188 modules/core/test/ocl/test_channels.cpp randomSubMat(dst4, dst4_roi, roiSize, dst4Border, depth, -1540, 1740); depth 232 modules/core/test/ocl/test_channels.cpp int depth; depth 250 modules/core/test/ocl/test_channels.cpp depth = GET_PARAM(0); depth 258 modules/core/test/ocl/test_channels.cpp return CV_MAKE_TYPE(depth, cn); depth 371 modules/core/test/ocl/test_channels.cpp int depth, cn, coi; depth 379 modules/core/test/ocl/test_channels.cpp depth = GET_PARAM(0); depth 390 modules/core/test/ocl/test_channels.cpp randomSubMat(src, src_roi, roiSize, srcBorder, depth, 2, 11); depth 393 modules/core/test/ocl/test_channels.cpp randomSubMat(dst, dst_roi, roiSize, dstBorder, CV_MAKE_TYPE(depth, cn), 5, 16); depth 417 modules/core/test/ocl/test_channels.cpp int depth, cn, coi; depth 425 modules/core/test/ocl/test_channels.cpp depth = GET_PARAM(0); depth 436 modules/core/test/ocl/test_channels.cpp randomSubMat(src, src_roi, roiSize, srcBorder, CV_MAKE_TYPE(depth, cn), 2, 11); depth 439 modules/core/test/ocl/test_channels.cpp randomSubMat(dst, dst_roi, roiSize, dstBorder, depth, 5, 16); depth 68 modules/core/test/ocl/test_dft.cpp int dft_flags, depth, cn, dft_type; depth 79 modules/core/test/ocl/test_dft.cpp depth = GET_PARAM(2); depth 102 modules/core/test/ocl/test_dft.cpp src = randomMat(dft_size, CV_MAKE_TYPE(depth, cn), 0.0, 100.0); depth 108 modules/core/test/ocl/test_matrix_operation.cpp int depth, cn; depth 118 modules/core/test/ocl/test_matrix_operation.cpp depth = GET_PARAM(0); depth 126 modules/core/test/ocl/test_matrix_operation.cpp const int type = CV_MAKE_TYPE(depth, cn); depth 25 modules/core/test/test_arithm.cpp virtual void getValueRange(int depth, double& minval, double& maxval) depth 27 modules/core/test/test_arithm.cpp minval = depth < CV_32S ? cvtest::getMinVal(depth) : depth == CV_32S ? -1000000 : -1000.; depth 28 modules/core/test/test_arithm.cpp maxval = depth < CV_32S ? cvtest::getMaxVal(depth) : depth == CV_32S ? 1000000 : 1000.; depth 42 modules/core/test/test_arithm.cpp virtual double getMaxErr(int depth) { return depth < CV_32F ? 1 : depth == CV_32F ? 1e-5 : 1e-12; } depth 43 modules/core/test/test_arithm.cpp virtual void generateScalars(int depth, RNG& rng) depth 69 modules/core/test/test_arithm.cpp if( depth == CV_32F ) depth 174 modules/core/test/test_arithm.cpp double getMaxErr(int depth) depth 176 modules/core/test/test_arithm.cpp return depth <= CV_32S ? 2 : depth < CV_64F ? 1e-4 : 1e-12; depth 188 modules/core/test/test_arithm.cpp double getMaxErr(int depth) depth 190 modules/core/test/test_arithm.cpp return depth <= CV_32S ? 2 : depth < CV_64F ? 1e-5 : 1e-10; depth 197 modules/core/test/test_arithm.cpp void getValueRange(int depth, double& minval, double& maxval) depth 199 modules/core/test/test_arithm.cpp minval = depth < CV_32S ? cvtest::getMinVal(depth) : depth == CV_32S ? -1000000 : -1000.; depth 200 modules/core/test/test_arithm.cpp maxval = depth < CV_32S ? cvtest::getMaxVal(depth) : depth == CV_32S ? 1000000 : 1000.; depth 212 modules/core/test/test_arithm.cpp double getMaxErr(int depth) depth 214 modules/core/test/test_arithm.cpp return depth <= CV_32S ? 2 : depth < CV_64F ? 1e-5 : 1e-12; depth 229 modules/core/test/test_arithm.cpp double getMaxErr(int depth) depth 231 modules/core/test/test_arithm.cpp return depth <= CV_32S ? 2 : depth < CV_64F ? 1e-5 : 1e-12; depth 246 modules/core/test/test_arithm.cpp double getMaxErr(int depth) depth 248 modules/core/test/test_arithm.cpp return depth <= CV_32S ? 2 : depth < CV_64F ? 1e-5 : 1e-12; depth 412 modules/core/test/test_arithm.cpp void generateScalars(int depth, RNG& rng) depth 414 modules/core/test/test_arithm.cpp BaseElemWiseOp::generateScalars(depth, rng); depth 440 modules/core/test/test_arithm.cpp void generateScalars(int depth, RNG& rng) depth 442 modules/core/test/test_arithm.cpp BaseElemWiseOp::generateScalars(depth, rng); depth 444 modules/core/test/test_arithm.cpp if( depth < CV_32F ) depth 561 modules/core/test/test_arithm.cpp int depth = src.depth(), cn = src.channels(); depth 570 modules/core/test/test_arithm.cpp switch( depth ) depth 609 modules/core/test/test_arithm.cpp int depth = src.depth(), cn = src.channels(); depth 611 modules/core/test/test_arithm.cpp int wtype = CV_MAKETYPE(depth <= CV_32S ? CV_32S : depth, cn); depth 620 modules/core/test/test_arithm.cpp switch( depth ) depth 665 modules/core/test/test_arithm.cpp void generateScalars(int depth, RNG& rng) depth 667 modules/core/test/test_arithm.cpp BaseElemWiseOp::generateScalars(depth, rng); depth 669 modules/core/test/test_arithm.cpp BaseElemWiseOp::generateScalars(depth, rng); depth 727 modules/core/test/test_arithm.cpp void generateScalars(int depth, RNG& rng) depth 730 modules/core/test/test_arithm.cpp BaseElemWiseOp::generateScalars(depth, rng); depth 756 modules/core/test/test_arithm.cpp void generateScalars(int depth, RNG& rng) depth 759 modules/core/test/test_arithm.cpp BaseElemWiseOp::generateScalars(depth, rng); depth 904 modules/core/test/test_arithm.cpp int depth = src.depth(); depth 911 modules/core/test/test_arithm.cpp if( depth == CV_32F ) depth 916 modules/core/test/test_arithm.cpp else if( depth == CV_64F ) depth 933 modules/core/test/test_arithm.cpp int depth = src.depth(); depth 940 modules/core/test/test_arithm.cpp if( depth == CV_32F ) depth 945 modules/core/test/test_arithm.cpp else if( depth == CV_64F ) depth 960 modules/core/test/test_arithm.cpp void getValueRange(int depth, double& minval, double& maxval) depth 962 modules/core/test/test_arithm.cpp maxval = depth == CV_32F ? 50 : 100; depth 973 modules/core/test/test_arithm.cpp double getMaxErr(int depth) depth 975 modules/core/test/test_arithm.cpp return depth == CV_32F ? 1e-5 : 1e-12; depth 987 modules/core/test/test_arithm.cpp void getValueRange(int depth, double& minval, double& maxval) depth 989 modules/core/test/test_arithm.cpp maxval = depth == CV_32F ? 50 : 100; depth 1004 modules/core/test/test_arithm.cpp double getMaxErr(int depth) depth 1006 modules/core/test/test_arithm.cpp return depth == CV_32F ? 1e-5 : 1e-12; depth 1023 modules/core/test/test_arithm.cpp int depth = mx.depth(); depth 1028 modules/core/test/test_arithm.cpp if( depth == CV_32F ) depth 1082 modules/core/test/test_arithm.cpp dst.create(src[0].dims, src[0].size, CV_MAKETYPE(src[0].depth(), 4)); depth 1091 modules/core/test/test_arithm.cpp dst.create(src[0].dims, src[0].size, CV_MAKETYPE(src[0].depth(), 4)); depth 1339 modules/core/test/test_arithm.cpp int depth = CV_MAT_DEPTH(type); depth 1343 modules/core/test/test_arithm.cpp op->getValueRange(depth, minval, maxval); depth 1358 modules/core/test/test_arithm.cpp op->generateScalars(depth, rng); depth 1363 modules/core/test/test_arithm.cpp double maxErr = op->getMaxErr(depth); depth 1445 modules/core/test/test_arithm.cpp int depth = rng.uniform(CV_8U, CV_64F+1); depth 1447 modules/core/test/test_arithm.cpp int type = CV_MAKETYPE(depth, cn); depth 1449 modules/core/test/test_arithm.cpp int depth1 = op <= 1 ? CV_64F : depth; depth 1502 modules/core/test/test_arithm.cpp d.convertTo(d1, depth); depth 1615 modules/core/test/test_arithm.cpp dst_depth = fixed_dst.depth(); depth 1620 modules/core/test/test_arithm.cpp ASSERT_EQ(dst_depth > 0 ? dst_depth : src1.depth(), dst.depth()); depth 1641 modules/core/test/test_arithm.cpp dst_depth = fixed_dst.depth(); depth 1646 modules/core/test/test_arithm.cpp ASSERT_EQ(dst_depth > 0 ? dst_depth : src1.depth(), dst.depth()); depth 1659 modules/core/test/test_arithm.cpp ASSERT_EQ(src1.depth(), dst.depth()); depth 1678 modules/core/test/test_arithm.cpp dst_depth = fixed_dst.depth(); depth 1683 modules/core/test/test_arithm.cpp ASSERT_EQ(dst_depth > 0 ? dst_depth : src.depth(), dst.depth()); depth 1703 modules/core/test/test_arithm.cpp dst_depth = fixed_dst.depth(); depth 1708 modules/core/test/test_arithm.cpp ASSERT_EQ(dst_depth > 0 ? dst_depth : src.depth(), dst.depth()); depth 1727 modules/core/test/test_arithm.cpp dst_depth = fixed_dst.depth(); depth 1732 modules/core/test/test_arithm.cpp ASSERT_EQ(dst_depth > 0 ? dst_depth : src.depth(), dst.depth()); depth 1752 modules/core/test/test_arithm.cpp dst_depth = fixed_dst.depth(); depth 1757 modules/core/test/test_arithm.cpp ASSERT_EQ(dst_depth > 0 ? dst_depth : src.depth(), dst.depth()); depth 1779 modules/core/test/test_arithm.cpp dst_depth = fixed_dst.depth(); depth 1785 modules/core/test/test_arithm.cpp ASSERT_EQ(dst_depth > 0 ? dst_depth : src1.depth(), dst.depth()); depth 287 modules/core/test/test_dxt.cpp if( _dst.depth() == CV_32F ) depth 428 modules/core/test/test_dxt.cpp int i, j, depth = src1.depth(), cols = src1.cols*2; depth 435 modules/core/test/test_dxt.cpp if( depth == CV_32F ) depth 539 modules/core/test/test_dxt.cpp int depth = cvtest::randInt(rng)%2 + CV_32F; depth 548 modules/core/test/test_dxt.cpp types[OUTPUT][0] = CV_MAKETYPE(depth, cn); depth 587 modules/core/test/test_dxt.cpp types[OUTPUT][0] = depth + 8; depth 595 modules/core/test/test_dxt.cpp types[TEMP][0] = depth + 8; // CV_??FC2 depth 603 modules/core/test/test_dxt.cpp types[OUTPUT][0] = depth; depth 612 modules/core/test/test_dxt.cpp types[OUTPUT][0] = depth + 8; depth 616 modules/core/test/test_dxt.cpp types[INPUT][0] = depth; depth 622 modules/core/test/test_dxt.cpp types[TEMP][1] = depth; depth 848 modules/core/test/test_dxt.cpp int depth = rng.uniform(0, 2) + CV_32F; depth 849 modules/core/test/test_dxt.cpp Mat src8u(m, n, depth), src(m, n, depth), dst(m, n, CV_MAKETYPE(depth, 2)); depth 850 modules/core/test/test_dxt.cpp Mat z = Mat::zeros(m, n, depth), dstz; depth 58 modules/core/test/test_hal_core.cpp int depth = hcase % 2 == 0 ? CV_32F : CV_64F; depth 59 modules/core/test/test_hal_core.cpp double eps = depth == CV_32F ? 1e-5 : 1e-10; depth 63 modules/core/test/test_hal_core.cpp Mat src(1, n, depth), dst(1, n, depth), dst0(1, n, depth); depth 74 modules/core/test/test_hal_core.cpp if( depth == CV_32F ) depth 80 modules/core/test/test_hal_core.cpp if( depth == CV_32F ) depth 86 modules/core/test/test_hal_core.cpp if( depth == CV_32F ) depth 120 modules/core/test/test_hal_core.cpp n, (depth == CV_32F ? "f32" : "f64"), min_hal_t*1e6/freq, min_ocv_t*1e6/freq); depth 134 modules/core/test/test_hal_core.cpp int depth = hcase % 2 == 0 ? CV_32F : CV_64F; depth 138 modules/core/test/test_hal_core.cpp double eps = depth == CV_32F ? 1e-5 : 1e-10; depth 143 modules/core/test/test_hal_core.cpp Mat a0(size, size, depth), a(size, size, depth), b(size, 1, depth), x(size, 1, depth), x0(size, 1, depth); depth 161 modules/core/test/test_hal_core.cpp if( depth == CV_32F ) depth 167 modules/core/test/test_hal_core.cpp if( depth == CV_32F ) depth 192 modules/core/test/test_hal_core.cpp (depth == CV_32F ? "f32" : "f64"), depth 42 modules/core/test/test_io.cpp int depth = CV_MAT_DEPTH(m1->type); depth 55 modules/core/test/test_io.cpp if( depth == CV_8U || depth == CV_8S ) depth 60 modules/core/test/test_io.cpp else if( depth == CV_16U || depth == CV_16S ) depth 65 modules/core/test/test_io.cpp else if( depth == CV_32S ) depth 70 modules/core/test/test_io.cpp else if( depth == CV_32F ) depth 114 modules/core/test/test_io.cpp int depth = cvtest::randInt(rng) % (CV_64F+1); depth 116 modules/core/test/test_io.cpp Mat test_mat(cvtest::randInt(rng)%30+1, cvtest::randInt(rng)%30+1, CV_MAKETYPE(depth, cn)); depth 118 modules/core/test/test_io.cpp rng0.fill(test_mat, CV_RAND_UNI, Scalar::all(ranges[depth][0]), Scalar::all(ranges[depth][1])); depth 119 modules/core/test/test_io.cpp if( depth >= CV_32F ) depth 145 modules/core/test/test_io.cpp depth = cvtest::randInt(rng) % (CV_64F+1); depth 152 modules/core/test/test_io.cpp MatND test_mat_nd(3, sz, CV_MAKETYPE(depth, cn)); depth 154 modules/core/test/test_io.cpp rng0.fill(test_mat_nd, CV_RAND_UNI, Scalar::all(ranges[depth][0]), Scalar::all(ranges[depth][1])); depth 155 modules/core/test/test_io.cpp if( depth >= CV_32F ) depth 18 modules/core/test/test_ippasync.cpp int depth; depth 30 modules/core/test/test_ippasync.cpp depth = GET_PARAM(0); depth 744 modules/core/test/test_mat.cpp int depth = (unsigned)rng % 2 == 0 ? CV_32F : CV_64F; depth 759 modules/core/test/test_mat.cpp SparseMat M( dims, size, depth ); depth 768 modules/core/test/test_mat.cpp if( depth == CV_32F ) depth 775 modules/core/test/test_mat.cpp if( depth == CV_32F ) depth 823 modules/core/test/test_mat.cpp double eps = depth == CV_32F ? FLT_EPSILON*100 : DBL_EPSILON*1000; depth 968 modules/core/test/test_mat.cpp int depth = m.depth(); depth 969 modules/core/test/test_mat.cpp switch (depth) depth 993 modules/core/test/test_mat.cpp virtual int run_case(int depth, size_t channels, const Size& size, RNG& rng) = 0; depth 1040 modules/core/test/test_mat.cpp virtual int run_case(int depth, size_t matCount, const Size& size, RNG& rng) depth 1048 modules/core/test/test_mat.cpp Mat m(size, CV_MAKETYPE(depth, rng.uniform(1,maxMatChannels))); depth 1059 modules/core/test/test_mat.cpp commonLog << "Depth " << depth << " :"; depth 1060 modules/core/test/test_mat.cpp if(dst.depth() != depth) depth 1063 modules/core/test/test_mat.cpp commonLog.str().c_str(), dst.depth(), depth); depth 1098 modules/core/test/test_mat.cpp virtual int run_case(int depth, size_t channels, const Size& size, RNG& rng) depth 1100 modules/core/test/test_mat.cpp Mat src(size, CV_MAKETYPE(depth, (int)channels)); depth 1108 modules/core/test/test_mat.cpp commonLog << "Depth " << depth << " :"; depth 1123 modules/core/test/test_mat.cpp if(dst[i].depth() != depth) depth 1126 modules/core/test/test_mat.cpp commonLog.str().c_str(), i, dst[i].depth(), depth); depth 47 modules/core/test/test_math.cpp return test_mat[i][j].depth() == CV_32F ? FLT_EPSILON*128 : DBL_EPSILON*1024; depth 56 modules/core/test/test_math.cpp int depth = cvtest::randInt(rng)%2 + CV_32F; depth 57 modules/core/test/test_math.cpp int cn = cvtest::randInt(rng) % 4 + 1, type = CV_MAKETYPE(depth, cn); depth 101 modules/core/test/test_math.cpp int depth = cvtest::randInt(rng) % (CV_64F+1); depth 105 modules/core/test/test_math.cpp depth += depth == CV_8S; depth 107 modules/core/test/test_math.cpp if( depth < CV_32F || cvtest::randInt(rng)%8 == 0 ) depth 119 modules/core/test/test_math.cpp int type = CV_MAKETYPE(depth, cn); depth 129 modules/core/test/test_math.cpp int depth = test_mat[i][j].depth(); depth 130 modules/core/test/test_math.cpp if( depth < CV_32F ) depth 157 modules/core/test/test_math.cpp if( fabs(power-1./3) <= DBL_EPSILON && test_mat[INPUT][0].depth() == CV_32F ) depth 218 modules/core/test/test_math.cpp int depth = a.depth(); depth 228 modules/core/test/test_math.cpp switch( depth ) depth 396 modules/core/test/test_math.cpp int depth = cvtest::randInt(rng) % (allow_int ? CV_64F+1 : 2); depth 401 modules/core/test/test_math.cpp depth += depth == CV_8S; depth 403 modules/core/test/test_math.cpp depth += CV_32F; depth 411 modules/core/test/test_math.cpp int type = !flag ? CV_MAKETYPE(depth, cn) : CV_64FC1; depth 425 modules/core/test/test_math.cpp int input_depth = test_mat[INPUT][0].depth(); depth 521 modules/core/test/test_math.cpp int depth = cvtest::randInt(rng) % 2 + CV_32F; depth 522 modules/core/test/test_math.cpp int cn = cvtest::randInt(rng) & 1 ? 3 : 1, type = CV_MAKETYPE(depth, cn); depth 832 modules/core/test/test_math.cpp int depth, dst_cn, mat_cols, mattype; depth 836 modules/core/test/test_math.cpp depth = CV_MAT_DEPTH(types[INPUT][0]); depth 838 modules/core/test/test_math.cpp types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, dst_cn); depth 840 modules/core/test/test_math.cpp mattype = depth < CV_32S ? CV_32F : depth == CV_64F ? CV_64F : bits & 1 ? CV_32F : CV_64F; depth 887 modules/core/test/test_math.cpp int depth = test_mat[INPUT][0].depth(); depth 888 modules/core/test/test_math.cpp return depth <= CV_8S ? 1 : depth <= CV_32S ? 9 : Base::get_success_error_level( test_case_idx, i, j ); depth 930 modules/core/test/test_math.cpp int depth, cn, mattype; depth 934 modules/core/test/test_math.cpp depth = CV_MAT_DEPTH(types[INPUT][0]); depth 935 modules/core/test/test_math.cpp types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, cn); depth 937 modules/core/test/test_math.cpp mattype = depth == CV_64F ? CV_64F : bits & 1 ? CV_32F : CV_64F; depth 945 modules/core/test/test_math.cpp int depth = test_mat[INPUT][0].depth(); depth 946 modules/core/test/test_math.cpp return depth == CV_32F ? 1e-4 : depth == CV_64F ? 1e-8 : depth 961 modules/core/test/test_math.cpp int cn, depth, mat_depth; depth 969 modules/core/test/test_math.cpp depth = CV_MAT_DEPTH(a->type); depth 997 modules/core/test/test_math.cpp switch( depth ) depth 1041 modules/core/test/test_math.cpp switch( depth ) depth 1621 modules/core/test/test_math.cpp double threshold = (input.depth() == CV_32F ? FLT_EPSILON : DBL_EPSILON)*1000; depth 1936 modules/core/test/test_math.cpp int depth = input.depth(); depth 1939 modules/core/test/test_math.cpp double prev = 0, threshold = depth == CV_32F ? FLT_EPSILON : DBL_EPSILON; depth 1964 modules/core/test/test_math.cpp aii = depth == CV_32F ? w->at<float>(i,i) : w->at<double>(i,i); depth 1968 modules/core/test/test_math.cpp normval = aii = depth == CV_32F ? w->at<float>(i) : w->at<double>(i); depth 1985 modules/core/test/test_math.cpp double val = depth == CV_32F ? w->at<float>(i) : w->at<double>(i); depth 115 modules/core/test/test_operations.cpp CV_Assert(m.cols == sz.width && m.rows == sz.height && m.depth() == DataType<_Tp>::depth && depth 665 modules/core/test/test_operations.cpp if (Mat_<Point2f>(1, 1).depth() != CV_32F) throw test_excep(); depth 666 modules/core/test/test_operations.cpp if (Mat_<float>(1, 1).depth() != CV_32F) throw test_excep(); depth 667 modules/core/test/test_operations.cpp if (Mat_<int>(1, 1).depth() != CV_32S) throw test_excep(); depth 668 modules/core/test/test_operations.cpp if (Mat_<double>(1, 1).depth() != CV_64F) throw test_excep(); depth 669 modules/core/test/test_operations.cpp if (Mat_<Point3d>(1, 1).depth() != CV_64F) throw test_excep(); depth 670 modules/core/test/test_operations.cpp if (Mat_<signed char>(1, 1).depth() != CV_8S) throw test_excep(); depth 671 modules/core/test/test_operations.cpp if (Mat_<unsigned short>(1, 1).depth() != CV_16U) throw test_excep(); depth 748 modules/core/test/test_operations.cpp if (Mat1f(1, 1).depth() != CV_32F) throw test_excep(); depth 749 modules/core/test/test_operations.cpp if (Mat3f(1, 1).depth() != CV_32F) throw test_excep(); depth 751 modules/core/test/test_operations.cpp if (Mat1i(1, 1).depth() != CV_32S) throw test_excep(); depth 752 modules/core/test/test_operations.cpp if (Mat1d(1, 1).depth() != CV_64F) throw test_excep(); depth 753 modules/core/test/test_operations.cpp if (Mat1b(1, 1).depth() != CV_8U) throw test_excep(); depth 755 modules/core/test/test_operations.cpp if (Mat1w(1, 1).depth() != CV_16U) throw test_excep(); depth 756 modules/core/test/test_operations.cpp if (Mat1s(1, 1).depth() != CV_16S) throw test_excep(); depth 840 modules/core/test/test_operations.cpp if (mat.depth() != CV_32F) throw test_excep(); depth 106 modules/core/test/test_rand.cpp int depth = cvtest::randInt(rng) % (CV_64F+1); depth 108 modules/core/test/test_rand.cpp int type = CV_MAKETYPE(depth, cn); depth 114 modules/core/test/test_rand.cpp if (depth == CV_64F) depth 123 modules/core/test/test_rand.cpp bool fast_algo = dist_type == CV_RAND_UNI && depth < CV_32F; depth 130 modules/core/test/test_rand.cpp a = (int)(cvtest::randInt(rng) % (_ranges[depth][1] - depth 131 modules/core/test/test_rand.cpp _ranges[depth][0])) + _ranges[depth][0]; depth 134 modules/core/test/test_rand.cpp b = (int)(cvtest::randInt(rng) % (_ranges[depth][1] - depth 135 modules/core/test/test_rand.cpp _ranges[depth][0])) + _ranges[depth][0]; depth 148 modules/core/test/test_rand.cpp int vrange = _ranges[depth][1] - _ranges[depth][0]; depth 154 modules/core/test/test_rand.cpp (_ranges[depth][0] + _ranges[depth][1])/2; depth 198 modules/core/test/test_rand.cpp double val = depth == CV_8U ? ((const uchar*)data)[i] : depth 199 modules/core/test/test_rand.cpp depth == CV_8S ? ((const schar*)data)[i] : depth 200 modules/core/test/test_rand.cpp depth == CV_16U ? ((const ushort*)data)[i] : depth 201 modules/core/test/test_rand.cpp depth == CV_16S ? ((const short*)data)[i] : depth 202 modules/core/test/test_rand.cpp depth == CV_32S ? ((const int*)data)[i] : depth 203 modules/core/test/test_rand.cpp depth == CV_32F ? ((const float*)data)[i] : depth 213 modules/core/test/test_rand.cpp if( (minVal <= val && val < maxVal) || (depth >= CV_32F && val == maxVal) ) depth 268 modules/core/test/test_rand.cpp double val = depth == CV_8U ? ((const uchar*)data)[i] : depth 269 modules/core/test/test_rand.cpp depth == CV_8S ? ((const schar*)data)[i] : depth 270 modules/core/test/test_rand.cpp depth == CV_16U ? ((const ushort*)data)[i] : depth 271 modules/core/test/test_rand.cpp depth == CV_16S ? ((const short*)data)[i] : depth 272 modules/core/test/test_rand.cpp depth == CV_32S ? ((const int*)data)[i] : depth 273 modules/core/test/test_rand.cpp depth == CV_32F ? ((const float*)data)[i] : ((const double*)data)[i]; depth 297 modules/core/test/test_rand.cpp ts->printf( cvtest::TS::LOG, "depth = %d, N0 = %d\n", depth, N0); depth 62 modules/core/test/test_umat.cpp int depth; depth 71 modules/core/test/test_umat.cpp depth = GET_PARAM(0); depth 75 modules/core/test/test_umat.cpp type = CV_MAKE_TYPE(depth, cn); depth 147 modules/core/test/test_umat.cpp ASSERT_EQ(ua.depth(), depth); depth 272 modules/core/test/test_umat.cpp int depth; depth 279 modules/core/test/test_umat.cpp depth = GET_PARAM(0); depth 283 modules/core/test/test_umat.cpp type = CV_MAKE_TYPE(depth, cn); depth 360 modules/core/test/test_umat.cpp int depth; depth 366 modules/core/test/test_umat.cpp depth = GET_PARAM(0); depth 369 modules/core/test/test_umat.cpp type = CV_MAKE_TYPE(depth, cn); depth 435 modules/core/test/test_umat.cpp int depth; depth 442 modules/core/test/test_umat.cpp depth = GET_PARAM(0); depth 446 modules/core/test/test_umat.cpp type = CV_MAKE_TYPE(depth, cn); depth 484 modules/core/test/test_umat.cpp int depth; depth 491 modules/core/test/test_umat.cpp depth = GET_PARAM(0); depth 495 modules/core/test/test_umat.cpp type = CV_MAKE_TYPE(depth, cn); depth 250 modules/cudaarithm/perf/perf_arithm.cpp TEST_CYCLE() cv::filter2D(image, dst, image.depth(), templ); depth 60 modules/cudaarithm/perf/perf_core.cpp const int depth = GET_PARAM(1); depth 66 modules/cudaarithm/perf/perf_core.cpp src[i].create(size, depth); depth 101 modules/cudaarithm/perf/perf_core.cpp const int depth = GET_PARAM(1); depth 104 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, CV_MAKE_TYPE(depth, channels)); depth 181 modules/cudaarithm/perf/perf_core.cpp const int depth = GET_PARAM(1); depth 185 modules/cudaarithm/perf/perf_core.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 295 modules/cudaarithm/perf/perf_core.cpp const int depth = GET_PARAM(1); depth 299 modules/cudaarithm/perf/perf_core.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 59 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 61 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); depth 64 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); depth 95 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 97 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 130 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 132 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); depth 135 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); depth 166 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 168 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 201 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 203 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); depth 206 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); depth 237 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 239 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 272 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 274 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); depth 277 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); depth 308 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 310 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 343 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 345 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 378 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 380 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); depth 383 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); depth 414 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 416 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 449 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 451 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 477 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 479 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 505 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 507 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 537 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 539 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 569 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 571 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 604 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 607 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 642 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 645 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); depth 648 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); depth 680 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 683 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 716 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 718 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 748 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 750 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); depth 753 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); depth 785 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 788 modules/cudaarithm/perf/perf_element_operations.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 824 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 826 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); depth 829 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); depth 861 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 864 modules/cudaarithm/perf/perf_element_operations.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 900 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 902 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); depth 905 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); depth 937 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 940 modules/cudaarithm/perf/perf_element_operations.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 977 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 980 modules/cudaarithm/perf/perf_element_operations.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 1011 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 1014 modules/cudaarithm/perf/perf_element_operations.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 1044 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 1046 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); depth 1049 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); depth 1080 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 1082 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 1115 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 1117 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); depth 1120 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); depth 1151 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 1153 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 1474 modules/cudaarithm/perf/perf_element_operations.cpp const int depth = GET_PARAM(1); depth 1477 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); depth 60 modules/cudaarithm/perf/perf_reductions.cpp const int depth = GET_PARAM(1); depth 63 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, depth); depth 64 modules/cudaarithm/perf/perf_reductions.cpp if (depth == CV_8U) depth 137 modules/cudaarithm/perf/perf_reductions.cpp const int depth = GET_PARAM(1); depth 140 modules/cudaarithm/perf/perf_reductions.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 173 modules/cudaarithm/perf/perf_reductions.cpp const int depth = GET_PARAM(1); depth 176 modules/cudaarithm/perf/perf_reductions.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 205 modules/cudaarithm/perf/perf_reductions.cpp const int depth = GET_PARAM(1); depth 208 modules/cudaarithm/perf/perf_reductions.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 236 modules/cudaarithm/perf/perf_reductions.cpp const int depth = GET_PARAM(1); depth 238 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, depth); depth 239 modules/cudaarithm/perf/perf_reductions.cpp if (depth == CV_8U) depth 273 modules/cudaarithm/perf/perf_reductions.cpp const int depth = GET_PARAM(1); depth 275 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, depth); depth 276 modules/cudaarithm/perf/perf_reductions.cpp if (depth == CV_8U) depth 312 modules/cudaarithm/perf/perf_reductions.cpp const int depth = GET_PARAM(1); depth 314 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, depth); depth 354 modules/cudaarithm/perf/perf_reductions.cpp const int depth = GET_PARAM(1); depth 359 modules/cudaarithm/perf/perf_reductions.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 179 modules/cudaarithm/src/arithm.cpp if (src1.depth() == CV_64F) depth 124 modules/cudaarithm/src/core.cpp CV_Assert(src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32S || src.depth() == CV_32F); depth 130 modules/cudaarithm/src/core.cpp funcs[src.depth()][src.channels() - 1](src, dst, flipCode, StreamAccessor::getStream(stream)); depth 131 modules/cudaarithm/src/element_operations.cpp const int sdepth = src1.empty() ? src2.depth() : src1.depth(); depth 399 modules/cudaarithm/src/element_operations.cpp CV_Assert( src.depth() < CV_32F ); depth 404 modules/cudaarithm/src/element_operations.cpp funcs[src.depth()][src.channels() - 1](src, val, dst, StreamAccessor::getStream(stream)); depth 423 modules/cudaarithm/src/element_operations.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32S ); depth 428 modules/cudaarithm/src/element_operations.cpp funcs[src.depth()][src.channels() - 1](src, val, dst, StreamAccessor::getStream(stream)); depth 220 modules/cudaarithm/test/test_arithm.cpp ASSERT_EQ(CV_32F, d_b.depth()); depth 282 modules/cudaarithm/test/test_arithm.cpp ASSERT_EQ(CV_32F, d_c.depth()); depth 56 modules/cudaarithm/test/test_core.cpp int depth; depth 64 modules/cudaarithm/test/test_core.cpp depth = GET_PARAM(2); depth 77 modules/cudaarithm/test/test_core.cpp src.push_back(cv::Mat(size, depth, cv::Scalar::all(i))); depth 83 modules/cudaarithm/test/test_core.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 121 modules/cudaarithm/test/test_core.cpp int depth; depth 131 modules/cudaarithm/test/test_core.cpp depth = GET_PARAM(2); depth 137 modules/cudaarithm/test/test_core.cpp type = CV_MAKE_TYPE(depth, channels); depth 145 modules/cudaarithm/test/test_core.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 328 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(size, CV_MAKE_TYPE(lut.depth(), src.channels())); depth 344 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(size, CV_MAKE_TYPE(lut.depth(), src.channels()), useRoi); depth 56 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; depth 67 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 73 modules/cudaarithm/test/test_element_operations.cpp stype = CV_MAKE_TYPE(depth.first, channels); depth 74 modules/cudaarithm/test/test_element_operations.cpp dtype = CV_MAKE_TYPE(depth.second, channels); depth 83 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 88 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); depth 99 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, cv::cuda::GpuMat(), depth.second); depth 102 modules/cudaarithm/test/test_element_operations.cpp cv::add(mat1, mat2, dst_gold, cv::noArray(), depth.second); depth 104 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); depth 119 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; depth 129 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 134 modules/cudaarithm/test/test_element_operations.cpp stype = CV_MAKE_TYPE(depth.first, 1); depth 135 modules/cudaarithm/test/test_element_operations.cpp dtype = CV_MAKE_TYPE(depth.second, 1); depth 145 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 150 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); depth 161 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, loadMat(mask, useRoi), depth.second); depth 164 modules/cudaarithm/test/test_element_operations.cpp cv::add(mat1, mat2, dst_gold, mask, depth.second); depth 166 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); depth 183 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; depth 190 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 199 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); depth 202 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 207 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(loadMat(mat), val, dst, cv::cuda::GpuMat(), depth.second); depth 216 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); depth 218 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(loadMat(mat, useRoi), val, dst, cv::cuda::GpuMat(), depth.second); depth 220 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); depth 221 modules/cudaarithm/test/test_element_operations.cpp cv::add(mat, val, dst_gold, cv::noArray(), depth.second); depth 223 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); depth 229 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); depth 233 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 238 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(loadMat(mat), val, dst, cv::cuda::GpuMat(), depth.second); depth 247 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); depth 249 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(loadMat(mat, useRoi), val, dst, loadMat(mask, useRoi), depth.second); depth 251 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); depth 252 modules/cudaarithm/test/test_element_operations.cpp cv::add(mat, val, dst_gold, mask, depth.second); depth 254 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); depth 271 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; depth 278 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 287 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); depth 290 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 295 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(val, loadMat(mat), dst, cv::cuda::GpuMat(), depth.second); depth 304 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); depth 306 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(val, loadMat(mat, useRoi), dst, cv::cuda::GpuMat(), depth.second); depth 308 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); depth 309 modules/cudaarithm/test/test_element_operations.cpp cv::add(val, mat, dst_gold, cv::noArray(), depth.second); depth 311 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); depth 317 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); depth 321 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 326 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(val, loadMat(mat), dst, cv::cuda::GpuMat(), depth.second); depth 335 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); depth 337 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::add(val, loadMat(mat, useRoi), dst, loadMat(mask, useRoi), depth.second); depth 339 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); depth 340 modules/cudaarithm/test/test_element_operations.cpp cv::add(val, mat, dst_gold, mask, depth.second); depth 342 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); depth 359 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; depth 370 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 376 modules/cudaarithm/test/test_element_operations.cpp stype = CV_MAKE_TYPE(depth.first, channels); depth 377 modules/cudaarithm/test/test_element_operations.cpp dtype = CV_MAKE_TYPE(depth.second, channels); depth 386 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 391 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); depth 402 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, cv::cuda::GpuMat(), depth.second); depth 405 modules/cudaarithm/test/test_element_operations.cpp cv::subtract(mat1, mat2, dst_gold, cv::noArray(), depth.second); depth 407 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); depth 422 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; depth 432 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 437 modules/cudaarithm/test/test_element_operations.cpp stype = CV_MAKE_TYPE(depth.first, 1); depth 438 modules/cudaarithm/test/test_element_operations.cpp dtype = CV_MAKE_TYPE(depth.second, 1); depth 448 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 453 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); depth 464 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, loadMat(mask, useRoi), depth.second); depth 467 modules/cudaarithm/test/test_element_operations.cpp cv::subtract(mat1, mat2, dst_gold, mask, depth.second); depth 469 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); depth 486 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; depth 493 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 502 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); depth 505 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 510 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(loadMat(mat), val, dst, cv::cuda::GpuMat(), depth.second); depth 519 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); depth 521 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(loadMat(mat, useRoi), val, dst, cv::cuda::GpuMat(), depth.second); depth 523 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); depth 524 modules/cudaarithm/test/test_element_operations.cpp cv::subtract(mat, val, dst_gold, cv::noArray(), depth.second); depth 526 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); depth 532 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); depth 536 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 541 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(loadMat(mat), val, dst, cv::cuda::GpuMat(), depth.second); depth 550 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); depth 552 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(loadMat(mat, useRoi), val, dst, loadMat(mask, useRoi), depth.second); depth 554 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); depth 555 modules/cudaarithm/test/test_element_operations.cpp cv::subtract(mat, val, dst_gold, mask, depth.second); depth 557 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); depth 574 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; depth 581 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 590 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); depth 593 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 598 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(val, loadMat(mat), dst, cv::cuda::GpuMat(), depth.second); depth 607 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); depth 609 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(val, loadMat(mat, useRoi), dst, cv::cuda::GpuMat(), depth.second); depth 611 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); depth 612 modules/cudaarithm/test/test_element_operations.cpp cv::subtract(val, mat, dst_gold, cv::noArray(), depth.second); depth 614 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); depth 620 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); depth 624 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 629 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(val, loadMat(mat), dst, cv::cuda::GpuMat(), depth.second); depth 638 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); depth 640 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::subtract(val, loadMat(mat, useRoi), dst, loadMat(mask, useRoi), depth.second); depth 642 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); depth 643 modules/cudaarithm/test/test_element_operations.cpp cv::subtract(val, mat, dst_gold, mask, depth.second); depth 645 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); depth 662 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; depth 673 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 679 modules/cudaarithm/test/test_element_operations.cpp stype = CV_MAKE_TYPE(depth.first, channels); depth 680 modules/cudaarithm/test/test_element_operations.cpp dtype = CV_MAKE_TYPE(depth.second, channels); depth 689 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 694 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat1), loadMat(mat2), dst, 1, depth.second); depth 704 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, 1, depth.second); depth 707 modules/cudaarithm/test/test_element_operations.cpp cv::multiply(mat1, mat2, dst_gold, 1, depth.second); depth 709 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-2 : 0.0); depth 719 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 724 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat1), loadMat(mat2), dst, scale, depth.second); depth 734 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, scale, depth.second); depth 737 modules/cudaarithm/test/test_element_operations.cpp cv::multiply(mat1, mat2, dst_gold, scale, depth.second); depth 855 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; depth 862 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 871 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); depth 874 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 879 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat), val, dst, 1, depth.second); depth 888 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); depth 889 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat, useRoi), val, dst, 1, depth.second); depth 892 modules/cudaarithm/test/test_element_operations.cpp cv::multiply(mat, val, dst_gold, 1, depth.second); depth 901 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); depth 905 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 910 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat), val, dst, scale, depth.second); depth 919 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); depth 920 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(loadMat(mat, useRoi), val, dst, scale, depth.second); depth 923 modules/cudaarithm/test/test_element_operations.cpp cv::multiply(mat, val, dst_gold, scale, depth.second); depth 942 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; depth 949 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 958 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); depth 961 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 966 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(val, loadMat(mat), dst, 1, depth.second); depth 975 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); depth 976 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(val, loadMat(mat, useRoi), dst, 1, depth.second); depth 979 modules/cudaarithm/test/test_element_operations.cpp cv::multiply(val, mat, dst_gold, 1, depth.second); depth 988 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); depth 992 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 997 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(val, loadMat(mat), dst, scale, depth.second); depth 1006 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); depth 1007 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::multiply(val, loadMat(mat, useRoi), dst, scale, depth.second); depth 1010 modules/cudaarithm/test/test_element_operations.cpp cv::multiply(val, mat, dst_gold, scale, depth.second); depth 1029 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; depth 1040 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 1046 modules/cudaarithm/test/test_element_operations.cpp stype = CV_MAKE_TYPE(depth.first, channels); depth 1047 modules/cudaarithm/test/test_element_operations.cpp dtype = CV_MAKE_TYPE(depth.second, channels); depth 1056 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 1061 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat1), loadMat(mat2), dst, 1, depth.second); depth 1071 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, 1, depth.second); depth 1074 modules/cudaarithm/test/test_element_operations.cpp cv::divide(mat1, mat2, dst_gold, 1, depth.second); depth 1076 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); depth 1086 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 1091 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat1), loadMat(mat2), dst, scale, depth.second); depth 1101 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, scale, depth.second); depth 1104 modules/cudaarithm/test/test_element_operations.cpp cv::divide(mat1, mat2, dst_gold, scale, depth.second); depth 1106 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-2 : 1.0); depth 1222 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; depth 1229 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 1238 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); depth 1241 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 1246 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat), val, dst, 1, depth.second); depth 1255 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); depth 1256 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat, useRoi), val, dst, 1, depth.second); depth 1259 modules/cudaarithm/test/test_element_operations.cpp cv::divide(mat, val, dst_gold, 1, depth.second); depth 1261 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); depth 1267 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); depth 1271 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 1276 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat), val, dst, scale, depth.second); depth 1285 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); depth 1286 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(loadMat(mat, useRoi), val, dst, scale, depth.second); depth 1289 modules/cudaarithm/test/test_element_operations.cpp cv::divide(mat, val, dst_gold, scale, depth.second); depth 1291 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-2 : 1.0); depth 1308 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; depth 1315 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 1325 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first, 1.0, 255.0); depth 1327 modules/cudaarithm/test/test_element_operations.cpp if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 1332 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(scale, loadMat(mat), dst, 1.0, depth.second); depth 1341 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); depth 1342 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::divide(scale, loadMat(mat, useRoi), dst, 1.0, depth.second); depth 1345 modules/cudaarithm/test/test_element_operations.cpp cv::divide(scale, mat, dst_gold, depth.second); depth 1347 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); depth 1364 modules/cudaarithm/test/test_element_operations.cpp int depth; depth 1371 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 1380 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src1 = randomMat(size, depth); depth 1381 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src2 = randomMat(size, depth); depth 1383 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 1397 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); depth 1409 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); depth 1412 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 1426 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); depth 1432 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth <= CV_32F ? 1.0 : 1e-5); depth 1438 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); depth 1441 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 1455 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); depth 1461 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth <= CV_32F ? 1.0 : 1e-5); depth 1478 modules/cudaarithm/test/test_element_operations.cpp int depth; depth 1485 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 1494 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); depth 1496 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); depth 1517 modules/cudaarithm/test/test_element_operations.cpp int depth; depth 1524 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 1533 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 0, depth == CV_8U ? 16 : 255); depth 1535 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); depth 1579 modules/cudaarithm/test/test_element_operations.cpp funcs[src.depth()](src, dst); depth 1587 modules/cudaarithm/test/test_element_operations.cpp int depth; depth 1594 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 1603 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); depth 1605 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); depth 1611 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth < CV_32F ? 1.0 : 1e-5); depth 1649 modules/cudaarithm/test/test_element_operations.cpp funcs[src.depth()](src, dst); depth 1657 modules/cudaarithm/test/test_element_operations.cpp int depth; depth 1664 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 1673 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 1.0, 255.0); depth 1675 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); depth 1681 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth < CV_32F ? 1.0 : 1e-6); depth 1729 modules/cudaarithm/test/test_element_operations.cpp funcs[src.depth()](src, dst); depth 1737 modules/cudaarithm/test/test_element_operations.cpp int depth; depth 1744 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 1753 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 0.0, 10.0); depth 1755 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); depth 1761 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth < CV_32F ? 1.0 : 1e-2); depth 1780 modules/cudaarithm/test/test_element_operations.cpp int depth; depth 1787 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 1796 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 0.0, 10.0); depth 1799 modules/cudaarithm/test/test_element_operations.cpp if (src.depth() < CV_32F) depth 1802 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 1816 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); depth 1822 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth < CV_32F ? 0.0 : 1e-1); depth 1842 modules/cudaarithm/test/test_element_operations.cpp int depth; depth 1850 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 1860 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src1 = randomMat(size, depth); depth 1861 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src2 = randomMat(size, depth); depth 1863 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 1936 modules/cudaarithm/test/test_element_operations.cpp funcs[src.depth()][cmpop](src, sc, dst); depth 1965 modules/cudaarithm/test/test_element_operations.cpp if (src.depth() < CV_32F) depth 1973 modules/cudaarithm/test/test_element_operations.cpp if (src.depth() == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 2082 modules/cudaarithm/test/test_element_operations.cpp int depth; depth 2092 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 2097 modules/cudaarithm/test/test_element_operations.cpp src = randomMat(size, CV_MAKE_TYPE(depth, channels)); depth 2172 modules/cudaarithm/test/test_element_operations.cpp funcs[src.depth()](src, val, dst); depth 2180 modules/cudaarithm/test/test_element_operations.cpp int depth; depth 2188 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 2198 modules/cudaarithm/test/test_element_operations.cpp int type = CV_MAKE_TYPE(depth, channels); depth 2252 modules/cudaarithm/test/test_element_operations.cpp funcs[src.depth()](src, val, dst); depth 2260 modules/cudaarithm/test/test_element_operations.cpp int depth; depth 2268 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 2278 modules/cudaarithm/test/test_element_operations.cpp int type = CV_MAKE_TYPE(depth, channels); depth 2305 modules/cudaarithm/test/test_element_operations.cpp int depth; depth 2312 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 2321 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src1 = randomMat(size, depth); depth 2322 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src2 = randomMat(size, depth); depth 2324 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 2338 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); depth 2349 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); depth 2352 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 2366 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); depth 2371 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth < CV_32F ? 1.0 : 1e-5); depth 2388 modules/cudaarithm/test/test_element_operations.cpp int depth; depth 2395 modules/cudaarithm/test/test_element_operations.cpp depth = GET_PARAM(2); depth 2404 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src1 = randomMat(size, depth); depth 2405 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src2 = randomMat(size, depth); depth 2407 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 2421 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); depth 2432 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); depth 2435 modules/cudaarithm/test/test_element_operations.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 2449 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); depth 2454 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth < CV_32F ? 1.0 : 1e-5); depth 294 modules/cudaarithm/test/test_opengl.cpp int depth; depth 303 modules/cudaarithm/test/test_opengl.cpp depth = CV_MAT_DEPTH(type); depth 329 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); depth 334 modules/cudaarithm/test/test_opengl.cpp tex.copyTo(texData, depth); depth 341 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); depth 347 modules/cudaarithm/test/test_opengl.cpp tex.copyTo(texData, depth); depth 354 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); depth 360 modules/cudaarithm/test/test_opengl.cpp tex.copyTo(texData, depth); depth 388 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); depth 394 modules/cudaarithm/test/test_opengl.cpp tex.copyTo(texData, depth); depth 401 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); depth 408 modules/cudaarithm/test/test_opengl.cpp tex.copyTo(texData, depth); depth 415 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); depth 422 modules/cudaarithm/test/test_opengl.cpp tex.copyTo(texData, depth); depth 429 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); depth 434 modules/cudaarithm/test/test_opengl.cpp tex.copyTo(dst, depth); depth 441 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); depth 446 modules/cudaarithm/test/test_opengl.cpp tex.copyTo(dst, depth, true); depth 56 modules/cudaarithm/test/test_reductions.cpp int depth; depth 64 modules/cudaarithm/test/test_reductions.cpp depth = GET_PARAM(2); depth 74 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); depth 81 modules/cudaarithm/test/test_reductions.cpp EXPECT_NEAR(val_gold, val, depth < CV_32F ? 0.0 : 1.0); depth 86 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); depth 101 modules/cudaarithm/test/test_reductions.cpp EXPECT_NEAR(val_gold, val, depth < CV_32F ? 0.0 : 1.0); depth 215 modules/cudaarithm/test/test_reductions.cpp return funcs[src.depth()](src); depth 255 modules/cudaarithm/test/test_reductions.cpp return funcs[src.depth()](src); depth 375 modules/cudaarithm/test/test_reductions.cpp int depth; depth 382 modules/cudaarithm/test/test_reductions.cpp depth = GET_PARAM(2); depth 391 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); depth 393 modules/cudaarithm/test/test_reductions.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 420 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); depth 442 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); depth 445 modules/cudaarithm/test/test_reductions.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 472 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); depth 474 modules/cudaarithm/test/test_reductions.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 533 modules/cudaarithm/test/test_reductions.cpp funcs[src.depth()](src, loc_gold, loc); depth 541 modules/cudaarithm/test/test_reductions.cpp int depth; depth 548 modules/cudaarithm/test/test_reductions.cpp depth = GET_PARAM(2); depth 557 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); depth 559 modules/cudaarithm/test/test_reductions.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 592 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(cv::Size(size.width, 1), depth); depth 611 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(cv::Size(1, size.height), depth); depth 630 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); depth 665 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); depth 668 modules/cudaarithm/test/test_reductions.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 701 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); depth 703 modules/cudaarithm/test/test_reductions.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 753 modules/cudaarithm/test/test_reductions.cpp int depth; depth 762 modules/cudaarithm/test/test_reductions.cpp depth = GET_PARAM(2); depth 768 modules/cudaarithm/test/test_reductions.cpp srcBase.convertTo(src, depth); depth 774 modules/cudaarithm/test/test_reductions.cpp if (depth == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) depth 829 modules/cudaarithm/test/test_reductions.cpp int depth; depth 842 modules/cudaarithm/test/test_reductions.cpp depth = GET_PARAM(2); depth 849 modules/cudaarithm/test/test_reductions.cpp type = CV_MAKE_TYPE(depth, channels); depth 852 modules/cudaarithm/test/test_reductions.cpp dst_depth = depth; depth 854 modules/cudaarithm/test/test_reductions.cpp dst_depth = depth == CV_8U ? CV_32S : depth < CV_64F ? CV_32F : depth; depth 856 modules/cudaarithm/test/test_reductions.cpp dst_depth = depth < CV_32F ? CV_32F : depth; depth 140 modules/cudabgsegm/src/mog.cpp CV_Assert( frame.depth() == CV_8U ); depth 331 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); depth 360 modules/cudafeatures2d/src/brute_force_matcher.cpp const caller_t func = callers[query.depth()]; depth 392 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); depth 422 modules/cudafeatures2d/src/brute_force_matcher.cpp const caller_t func = callers[query.depth()]; depth 534 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); depth 591 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); depth 620 modules/cudafeatures2d/src/brute_force_matcher.cpp const caller_t func = callers[query.depth()]; depth 676 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); depth 706 modules/cudafeatures2d/src/brute_force_matcher.cpp const caller_t func = callers[query.depth()]; depth 860 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); depth 889 modules/cudafeatures2d/src/brute_force_matcher.cpp const caller_t func = callers[query.depth()]; depth 928 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); depth 958 modules/cudafeatures2d/src/brute_force_matcher.cpp const caller_t func = callers[query.depth()]; depth 470 modules/cudafilters/src/filtering.cpp const int depth = CV_MAT_DEPTH(srcType); depth 477 modules/cudafilters/src/filtering.cpp ksize.width = cvRound(sigma1 * (depth == CV_8U ? 3 : 4)*2 + 1) | 1; depth 479 modules/cudafilters/src/filtering.cpp ksize.height = cvRound(sigma2 * (depth == CV_8U ? 3 : 4)*2 + 1) | 1; depth 208 modules/cudafilters/test/test_filters.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() < CV_32F ? 0.0 : 1e-3); depth 225 modules/cudafilters/test/test_filters.cpp int depth; depth 238 modules/cudafilters/test/test_filters.cpp depth = GET_PARAM(2); depth 247 modules/cudafilters/test/test_filters.cpp type = CV_MAKE_TYPE(depth, cn); depth 265 modules/cudafilters/test/test_filters.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() < CV_32F ? 1.0 : 1e-2); depth 294 modules/cudafilters/test/test_filters.cpp int depth; depth 308 modules/cudafilters/test/test_filters.cpp depth = GET_PARAM(2); depth 318 modules/cudafilters/test/test_filters.cpp type = CV_MAKE_TYPE(depth, cn); depth 337 modules/cudafilters/test/test_filters.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() < CV_32F ? 0.0 : 0.1); depth 361 modules/cudafilters/test/test_filters.cpp int depth; depth 374 modules/cudafilters/test/test_filters.cpp depth = GET_PARAM(2); depth 383 modules/cudafilters/test/test_filters.cpp type = CV_MAKE_TYPE(depth, cn); depth 402 modules/cudafilters/test/test_filters.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() < CV_32F ? 0.0 : 0.1); depth 425 modules/cudafilters/test/test_filters.cpp int depth; depth 437 modules/cudafilters/test/test_filters.cpp depth = GET_PARAM(2); depth 445 modules/cudafilters/test/test_filters.cpp type = CV_MAKE_TYPE(depth, cn); depth 463 modules/cudafilters/test/test_filters.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() < CV_32F ? 4.0 : 1e-4); depth 63 modules/cudaimgproc/perf/perf_bilateral_filter.cpp const int depth = GET_PARAM(1); depth 71 modules/cudaimgproc/perf/perf_bilateral_filter.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 58 modules/cudaimgproc/perf/perf_blend.cpp const int depth = GET_PARAM(1); depth 61 modules/cudaimgproc/perf/perf_blend.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 80 modules/cudaimgproc/perf/perf_color.cpp const int depth = GET_PARAM(1); depth 83 modules/cudaimgproc/perf/perf_color.cpp cv::Mat src(size, CV_MAKETYPE(depth, info.scn)); depth 84 modules/cudaimgproc/perf/perf_color.cpp cv::randu(src, 0, depth == CV_8U ? 255.0 : 1.0); depth 119 modules/cudaimgproc/perf/perf_color.cpp const int depth = GET_PARAM(1); depth 122 modules/cudaimgproc/perf/perf_color.cpp cv::Mat src(size, CV_MAKETYPE(depth, info.scn)); depth 57 modules/cudaimgproc/perf/perf_histogram.cpp const int depth = GET_PARAM(1); depth 59 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, depth); depth 95 modules/cudaimgproc/perf/perf_histogram.cpp const int depth = GET_PARAM(1); depth 97 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, CV_MAKE_TYPE(depth, 4)); depth 87 modules/cudaimgproc/src/bilateral_filter.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); depth 90 modules/cudaimgproc/src/bilateral_filter.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; depth 87 modules/cudaimgproc/src/blend.cpp const int depth = img1.depth(); depth 90 modules/cudaimgproc/src/blend.cpp _result.create(size, CV_MAKE_TYPE(depth, cn)); depth 93 modules/cudaimgproc/src/blend.cpp switch (depth) depth 91 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 94 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 3)); depth 97 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); depth 107 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 110 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 4)); depth 113 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); depth 123 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 126 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 4)); depth 129 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); depth 139 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 142 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 3)); depth 145 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); depth 155 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 158 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 3)); depth 161 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); depth 171 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 174 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 4)); depth 177 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); depth 184 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 197 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 210 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 223 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 236 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 249 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 262 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 275 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 288 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 301 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 314 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 327 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 340 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 353 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 366 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 379 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 395 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 398 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 3)); depth 401 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); depth 411 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 414 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKETYPE(src.depth(), 4)); depth 417 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); depth 424 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 437 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 450 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 463 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); depth 479 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 482 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 1)); depth 485 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); depth 495 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 498 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 1)); depth 501 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); depth 511 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 514 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 1)); depth 517 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); depth 527 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 530 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 1)); depth 533 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); depth 555 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 559 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 562 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 584 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 588 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 591 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 613 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 617 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 620 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 642 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 646 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 649 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 671 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 675 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 678 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 700 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 704 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 707 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 729 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 733 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 736 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 758 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 762 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 765 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 787 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 791 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 794 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 816 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 820 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 823 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 845 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 849 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 852 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 874 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 878 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 881 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 903 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 907 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 910 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 932 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 936 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 939 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 961 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 965 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 968 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 990 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 994 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 997 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 1019 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1023 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1026 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 1048 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1052 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1055 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 1077 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1081 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1084 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 1106 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1110 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1113 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 1135 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1139 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1142 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 1164 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1168 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1171 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 1193 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1197 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1200 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 1222 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1226 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1229 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 1251 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1255 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1258 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 1280 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1284 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1287 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 1309 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1313 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1316 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 1338 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1342 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1345 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); depth 1367 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1371 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1374 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); depth 1396 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1400 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1403 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); depth 1425 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1429 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1432 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); depth 1454 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1458 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1461 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); depth 1483 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1487 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1490 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); depth 1512 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1516 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1519 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); depth 1541 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1545 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1548 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); depth 1570 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1574 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1577 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); depth 1599 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1603 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1606 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); depth 1628 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1632 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1635 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); depth 1657 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1661 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1664 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); depth 1686 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1690 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1693 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); depth 1715 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1719 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1722 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); depth 1744 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1748 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1751 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); depth 1773 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1777 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1780 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); depth 1802 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); depth 1806 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1809 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); depth 1834 modules/cudaimgproc/src/color.cpp if (src.depth() == CV_8U) depth 1862 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); depth 1865 modules/cudaimgproc/src/color.cpp funcs[src.depth()][dcn - 1](src, dst, blue_last, start_with_green, StreamAccessor::getStream(stream)); depth 1899 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 1)); depth 1902 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, blue_last, start_with_green, StreamAccessor::getStream(stream)); depth 2130 modules/cudaimgproc/src/color.cpp const int depth = _src.depth(); depth 2132 modules/cudaimgproc/src/color.cpp CV_Assert( depth == CV_8U ); depth 2136 modules/cudaimgproc/src/color.cpp _dst.create(_src.size(), CV_MAKE_TYPE(depth, dcn)); depth 2160 modules/cudaimgproc/src/color.cpp const int depth = _src.depth(); depth 2162 modules/cudaimgproc/src/color.cpp CV_Assert( depth == CV_8U ); depth 2164 modules/cudaimgproc/src/color.cpp _dst.create(_src.size(), CV_MAKE_TYPE(depth, 1)); depth 2327 modules/cudaimgproc/src/color.cpp const func_t func = funcs[img1.depth()]; depth 320 modules/cudaimgproc/src/generalized_hough.cpp const func_t func = funcs[dx.depth()]; depth 502 modules/cudaimgproc/src/histogram.cpp if (src.depth() == CV_8U && deviceSupports(FEATURE_SET_COMPUTE_30)) depth 510 modules/cudaimgproc/src/histogram.cpp hist_callers[src.depth()](src, hist, histSize, lowerLevel, upperLevel, stream); depth 528 modules/cudaimgproc/src/histogram.cpp hist_callers[src.depth()](src, hist, histSize, lowerLevel, upperLevel, stream); depth 549 modules/cudaimgproc/src/histogram.cpp hist_callers[src.depth()](src, hist, levels, stream); depth 569 modules/cudaimgproc/src/histogram.cpp hist_callers[src.depth()](src, hist, levels, stream); depth 145 modules/cudaimgproc/src/match_template.cpp int getTemplateThreshold(int method, int depth) depth 150 modules/cudaimgproc/src/match_template.cpp if (depth == CV_32F) return 250; depth 151 modules/cudaimgproc/src/match_template.cpp if (depth == CV_8U) return 300; depth 155 modules/cudaimgproc/src/match_template.cpp if (depth == CV_8U) return 300; depth 190 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_32F ); depth 240 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); depth 283 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); depth 313 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_32F ); depth 347 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); depth 394 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); depth 433 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); depth 512 modules/cudaimgproc/src/match_template.cpp CV_Assert( image.depth() == CV_8U ); depth 87 modules/cudaimgproc/test/test_bilateral_filter.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-3 : 1.0); depth 99 modules/cudaimgproc/test/test_blend.cpp int depth = CV_MAT_DEPTH(type); depth 101 modules/cudaimgproc/test/test_blend.cpp cv::Mat img1 = randomMat(size, type, 0.0, depth == CV_8U ? 255.0 : 1.0); depth 102 modules/cudaimgproc/test/test_blend.cpp cv::Mat img2 = randomMat(size, type, 0.0, depth == CV_8U ? 255.0 : 1.0); depth 110 modules/cudaimgproc/test/test_blend.cpp if (depth == CV_8U) depth 56 modules/cudaimgproc/test/test_color.cpp int depth; depth 65 modules/cudaimgproc/test/test_color.cpp depth = GET_PARAM(2); depth 70 modules/cudaimgproc/test/test_color.cpp img = randomMat(size, CV_MAKE_TYPE(depth, 3), 0.0, depth == CV_32F ? 1.0 : 255.0); depth 239 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 255 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 271 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 288 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 305 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 322 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 339 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 356 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 373 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 390 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 407 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 423 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 439 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 456 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 473 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 490 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 507 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 524 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 541 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 558 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 680 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); depth 699 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); depth 718 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 731 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 752 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_32F ? 1e-2 : 1); depth 774 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_32F ? 1e-2 : 1); depth 815 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); depth 834 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); depth 845 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 856 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 861 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 872 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 877 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 896 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_32F ? 1e-2 : 1); depth 901 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 921 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_32F ? 1e-2 : 1); depth 926 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 937 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 942 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 953 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 958 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 977 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_32F ? 1e-2 : 1); depth 982 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1002 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_32F ? 1e-2 : 1); depth 1007 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1019 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1024 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1036 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1041 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1052 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); depth 1058 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1063 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1074 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); depth 1080 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1085 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1097 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1102 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1114 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1119 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1130 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); depth 1136 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1141 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1152 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); depth 1159 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1164 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1175 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1180 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1191 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1196 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1215 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_32F ? 1e-2 : 1); depth 1220 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1240 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_32F ? 1e-2 : 1); depth 1245 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1256 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1261 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1272 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1277 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1296 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_32F ? 1e-2 : 1); depth 1301 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1321 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_32F ? 1e-2 : 1); depth 1326 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1338 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1343 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1355 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1360 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1371 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); depth 1377 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1382 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1393 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); depth 1399 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1404 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1416 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1421 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1433 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1438 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1449 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); depth 1455 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1460 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1471 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); depth 1477 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_32F ? 1e-2 : 1); depth 1530 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); depth 1549 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); depth 1617 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1628 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-3); depth 1633 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1644 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-3); depth 1649 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1669 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_8U ? 1 : 1e-3); depth 1674 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1685 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-3); depth 1690 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1701 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-3); depth 1706 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1726 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_8U ? 1 : 1e-3); depth 1731 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1743 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-5); depth 1748 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1760 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-5); depth 1765 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1779 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-5); depth 1784 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1796 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-5); depth 1801 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1813 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-5); depth 1818 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1830 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-5); depth 1835 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1846 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-3); depth 1851 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1862 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-3); depth 1867 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1887 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_8U ? 1 : 1e-3); depth 1892 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1903 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-3); depth 1908 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1919 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-3); depth 1924 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1944 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, h_dst, depth == CV_8U ? 1 : 1e-3); depth 1949 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1961 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-4); depth 1966 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1978 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-4); depth 1983 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 1997 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-4); depth 2002 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 2014 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-4); depth 2019 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 2031 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-4); depth 2036 modules/cudaimgproc/test/test_color.cpp if (depth == CV_16U) depth 2048 modules/cudaimgproc/test/test_color.cpp EXPECT_MAT_NEAR(dst_gold, dst, depth == CV_8U ? 1 : 1e-4); depth 2055 modules/cudaimgproc/test/test_color.cpp if (depth != CV_8U) depth 2058 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, CV_MAKE_TYPE(depth, 4)); depth 2073 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) depth 2076 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); depth 2089 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) depth 2092 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); depth 2112 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) depth 2115 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); depth 2128 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) depth 2131 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); depth 2150 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) depth 2153 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); depth 2166 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) depth 2169 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); depth 2188 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) depth 2191 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); depth 2204 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) depth 2207 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); depth 2226 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) depth 2229 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); depth 2242 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) depth 2245 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); depth 2258 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) depth 2261 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); depth 2274 modules/cudaimgproc/test/test_color.cpp if ((depth != CV_8U && depth != CV_16U) || useRoi) depth 2277 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); depth 57 modules/cudalegacy/include/opencv2/cudalegacy/NCVPyramid.hpp CV_EXPORTS void downsampleX2(PtrStepSzb src, PtrStepSzb dst, int depth, int cn, cudaStream_t stream); depth 58 modules/cudalegacy/include/opencv2/cudalegacy/NCVPyramid.hpp CV_EXPORTS void interpolateFrom1(PtrStepSzb src, PtrStepSzb dst, int depth, int cn, cudaStream_t stream); depth 125 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(src.size(), CV_MAKE_TYPE(src.depth(), dst_cn), dst); depth 186 modules/cudalegacy/src/gmg.cpp CV_Assert( frame.depth() == CV_8U || frame.depth() == CV_16U || frame.depth() == CV_32F ); depth 203 modules/cudalegacy/src/gmg.cpp maxVal = frame.depth() == CV_8U ? 255.0 : frame.depth() == CV_16U ? std::numeric_limits<ushort>::max() : 1.0; depth 214 modules/cudalegacy/src/gmg.cpp funcs[frame.depth()][frame.channels() - 1](frame, fgmask, colors_, weights_, nfeatures_, frameNum_, depth 78 modules/cudalegacy/src/graphcuts.cpp int depth = image.depth(); depth 94 modules/cudalegacy/src/graphcuts.cpp func_t f = suppotLookup[depth][ch - 1]; depth 73 modules/cudalegacy/src/image_pyramid.cpp CV_Assert( img.depth() <= CV_32F && img.channels() <= 4 ); depth 97 modules/cudalegacy/src/image_pyramid.cpp cv::cuda::device::pyramid::downsampleX2(prevLayer, pyramid_[i], img.depth(), img.channels(), StreamAccessor::getStream(stream)); depth 138 modules/cudalegacy/src/image_pyramid.cpp cv::cuda::device::pyramid::interpolateFrom1(lastLayer, outImg, outImg.depth(), outImg.channels(), StreamAccessor::getStream(stream)); depth 177 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( image.depth() == CV_8U); depth 529 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Assert( image.depth() == CV_8U); depth 379 modules/cudaoptflow/src/farneback.cpp curFlowX.convertTo(curFlowX, curFlowX.depth(), scale, streams[0]); depth 380 modules/cudaoptflow/src/farneback.cpp curFlowY.convertTo(curFlowY, curFlowY.depth(), scale, streams[1]); depth 392 modules/cudaoptflow/src/farneback.cpp curFlowX.convertTo(curFlowX, curFlowX.depth(), 1./pyrScale_, streams[0]); depth 393 modules/cudaoptflow/src/farneback.cpp curFlowY.convertTo(curFlowY, curFlowY.depth(), 1./pyrScale_, streams[1]); depth 167 modules/cudaoptflow/src/pyrlk.cpp GpuMat buf = pool.getBuffer(prevImg.size(), CV_MAKE_TYPE(prevImg.depth(), 4)); depth 191 modules/cudaoptflow/src/tvl1flow.cpp I0.convertTo(I0s[0], CV_32F, I0.depth() == CV_8U ? 1.0 : 255.0, stream); depth 192 modules/cudaoptflow/src/tvl1flow.cpp I1.convertTo(I1s[0], CV_32F, I1.depth() == CV_8U ? 1.0 : 255.0, stream); depth 200 modules/cudastereo/perf/perf_stereo.cpp const int depth = GET_PARAM(1); depth 202 modules/cudastereo/perf/perf_stereo.cpp cv::Mat src(size, depth); depth 120 modules/cudastereo/test/test_stereo.cpp h_disp.convertTo(h_disp, disp_gold.depth()); depth 164 modules/cudastereo/test/test_stereo.cpp h_disp.convertTo(h_disp, disp_gold.depth()); depth 178 modules/cudastereo/test/test_stereo.cpp int depth; depth 185 modules/cudastereo/test/test_stereo.cpp depth = GET_PARAM(2); depth 194 modules/cudastereo/test/test_stereo.cpp cv::Mat disp = randomMat(size, depth, 5.0, 30.0); depth 105 modules/cudawarping/perf/perf_warping.cpp const int depth = GET_PARAM(1); depth 111 modules/cudawarping/perf/perf_warping.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 156 modules/cudawarping/perf/perf_warping.cpp const int depth = GET_PARAM(1); depth 161 modules/cudawarping/perf/perf_warping.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 199 modules/cudawarping/perf/perf_warping.cpp const int depth = GET_PARAM(1); depth 204 modules/cudawarping/perf/perf_warping.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 243 modules/cudawarping/perf/perf_warping.cpp const int depth = GET_PARAM(1); depth 248 modules/cudawarping/perf/perf_warping.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 293 modules/cudawarping/perf/perf_warping.cpp const int depth = GET_PARAM(1); depth 298 modules/cudawarping/perf/perf_warping.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 340 modules/cudawarping/perf/perf_warping.cpp const int depth = GET_PARAM(1); depth 344 modules/cudawarping/perf/perf_warping.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 373 modules/cudawarping/perf/perf_warping.cpp const int depth = GET_PARAM(1); depth 376 modules/cudawarping/perf/perf_warping.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 409 modules/cudawarping/perf/perf_warping.cpp const int depth = GET_PARAM(1); depth 412 modules/cudawarping/perf/perf_warping.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 83 modules/cudawarping/src/pyramids.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); depth 85 modules/cudawarping/src/pyramids.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; depth 123 modules/cudawarping/src/pyramids.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); depth 125 modules/cudawarping/src/pyramids.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; depth 81 modules/cudawarping/src/remap.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); depth 86 modules/cudawarping/src/remap.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; depth 72 modules/cudawarping/src/resize.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); depth 95 modules/cudawarping/src/resize.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; depth 192 modules/cudawarping/src/warp.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); depth 243 modules/cudawarping/src/warp.cpp bool useNpp = borderMode == BORDER_CONSTANT && ofs.x == 0 && ofs.y == 0 && useNppTab[src.depth()][src.channels() - 1][interpolation]; depth 245 modules/cudawarping/src/warp.cpp useNpp = useNpp && src.depth() != CV_32F; depth 277 modules/cudawarping/src/warp.cpp const func_t func = funcs[(flags & WARP_INVERSE_MAP) != 0][src.depth()][src.channels() - 1]; depth 299 modules/cudawarping/src/warp.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; depth 331 modules/cudawarping/src/warp.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); depth 382 modules/cudawarping/src/warp.cpp bool useNpp = borderMode == BORDER_CONSTANT && ofs.x == 0 && ofs.y == 0 && useNppTab[src.depth()][src.channels() - 1][interpolation]; depth 384 modules/cudawarping/src/warp.cpp useNpp = useNpp && src.depth() != CV_32F; depth 416 modules/cudawarping/src/warp.cpp const func_t func = funcs[(flags & WARP_INVERSE_MAP) != 0][src.depth()][src.channels() - 1]; depth 438 modules/cudawarping/src/warp.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; depth 522 modules/cudawarping/src/warp.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); depth 531 modules/cudawarping/src/warp.cpp funcs[src.depth()][src.channels() - 1](src, dst, dsize, angle, xShift, yShift, interpolation, StreamAccessor::getStream(stream)); depth 80 modules/cudawarping/test/test_pyramids.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-4 : 1.0); depth 120 modules/cudawarping/test/test_pyramids.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-4 : 1.0); depth 108 modules/cudawarping/test/test_remap.cpp funcs[interpolation][src.depth()](src, xmap, ymap, dst, borderType, borderVal); depth 169 modules/cudawarping/test/test_remap.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-3 : 1.0); depth 113 modules/cudawarping/test/test_resize.cpp funcs[interpolation][src.depth()](src, dst, fx, fy); depth 152 modules/cudawarping/test/test_resize.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-2 : 1.0); depth 198 modules/cudawarping/test/test_resize.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-2 : 1.0); depth 170 modules/cudawarping/test/test_warp_affine.cpp funcs[interpolation][src.depth()](src, M, dsize, dst, borderType, borderVal); depth 175 modules/cudawarping/test/test_warp_affine.cpp funcs[interpolation][src.depth()](src, iM, dsize, dst, borderType, borderVal); depth 222 modules/cudawarping/test/test_warp_affine.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-1 : 1.0); depth 173 modules/cudawarping/test/test_warp_perspective.cpp funcs[interpolation][src.depth()](src, M, dsize, dst, borderType, borderVal); depth 178 modules/cudawarping/test/test_warp_perspective.cpp funcs[interpolation][src.depth()](src, iM, dsize, dst, borderType, borderVal); depth 225 modules/cudawarping/test/test_warp_perspective.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-1 : 1.0); depth 102 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp if (DataType<T>::depth == m.depth()) depth 279 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp CV_DbgAssert( GpuMat::depth() == DataType<T>::depth ); depth 280 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp return DataType<T>::depth; depth 129 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp __host__ int depth() const; depth 202 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp type = CV_MAKE_TYPE(depth, channels) depth 215 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp depth = DataType<channel_type>::depth, \ depth 218 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp type = CV_MAKE_TYPE(depth, channels) \ depth 268 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp depth = DataType<channel_type>::depth, depth 271 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp type = CV_MAKE_TYPE(depth, channels) depth 284 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp depth = DataType<channel_type>::depth, depth 287 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp type = CV_MAKE_TYPE(depth, channels) depth 300 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp depth = DataType<channel_type>::depth, depth 303 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp type = CV_MAKE_TYPE(depth, channels) depth 316 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp depth = DataType<channel_type>::depth, depth 319 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp type = CV_MAKE_TYPE(depth, channels) depth 175 modules/features2d/src/akaze.cpp if ( img.depth() == CV_32F ) depth 177 modules/features2d/src/akaze.cpp else if ( img.depth() == CV_8U ) depth 179 modules/features2d/src/akaze.cpp else if ( img.depth() == CV_16U ) depth 141 modules/features2d/src/draw.cpp _outImg.create( size, CV_MAKETYPE(img1.depth(), 3) ); depth 92 modules/features2d/src/matchers.cpp int depth = query.depth(); depth 95 modules/features2d/src/matchers.cpp ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), kercn, depth == CV_32F ? "-D T_FLOAT" : "", distType, block_size, max_desc_len); depth 192 modules/features2d/src/matchers.cpp int depth = query.depth(); depth 195 modules/features2d/src/matchers.cpp ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), kercn, depth == CV_32F ? "-D T_FLOAT" : "", distType, block_size, max_desc_len); depth 301 modules/features2d/src/matchers.cpp int depth = query.depth(); depth 304 modules/features2d/src/matchers.cpp ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), kercn, depth == CV_32F ? "-D T_FLOAT" : "", distType, block_size); depth 94 modules/imgcodecs/src/grfmt_base.cpp bool BaseImageEncoder::isFormatSupported( int depth ) const depth 96 modules/imgcodecs/src/grfmt_base.cpp return depth == CV_8U; depth 97 modules/imgcodecs/src/grfmt_base.hpp virtual bool isFormatSupported( int depth ) const; depth 187 modules/imgcodecs/src/grfmt_exr.cpp m_native_depth = CV_MAT_DEPTH(type()) == img.depth(); depth 571 modules/imgcodecs/src/grfmt_exr.cpp bool ExrEncoder::isFormatSupported( int depth ) const depth 573 modules/imgcodecs/src/grfmt_exr.cpp return CV_MAT_DEPTH(depth) >= CV_8U && CV_MAT_DEPTH(depth) < CV_64F; depth 581 modules/imgcodecs/src/grfmt_exr.cpp int depth = img.depth(), channels = img.channels(); depth 583 modules/imgcodecs/src/grfmt_exr.cpp bool issigned = depth == CV_8S || depth == CV_16S || depth == CV_32S; depth 584 modules/imgcodecs/src/grfmt_exr.cpp bool isfloat = depth == CV_32F || depth == CV_64F; depth 585 modules/imgcodecs/src/grfmt_exr.cpp depth = CV_ELEM_SIZE1(depth)*8; depth 591 modules/imgcodecs/src/grfmt_exr.cpp if(depth == 8) depth 618 modules/imgcodecs/src/grfmt_exr.cpp if( type == FLOAT && depth == 32 ) depth 624 modules/imgcodecs/src/grfmt_exr.cpp else if( depth > 16 || type == UINT ) depth 650 modules/imgcodecs/src/grfmt_exr.cpp int offset = issigned ? 1 << (depth - 1) : 0; depth 653 modules/imgcodecs/src/grfmt_exr.cpp if( type == FLOAT && depth == 32 ) depth 674 modules/imgcodecs/src/grfmt_exr.cpp if( depth <= 8 ) depth 680 modules/imgcodecs/src/grfmt_exr.cpp else if( depth <= 16 ) depth 697 modules/imgcodecs/src/grfmt_exr.cpp if( depth <= 8 ) depth 703 modules/imgcodecs/src/grfmt_exr.cpp else if( depth <= 16 ) depth 108 modules/imgcodecs/src/grfmt_exr.hpp bool isFormatSupported( int depth ) const; depth 224 modules/imgcodecs/src/grfmt_gdal.cpp double newValue = range_cast(gdalType, image.depth(), pixelValue ); depth 228 modules/imgcodecs/src/grfmt_gdal.cpp if( image.depth() == CV_8U ){ image.at<uchar>(row,col) = newValue; } depth 229 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_16U ){ image.at<unsigned short>(row,col) = newValue; } depth 230 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_16S ){ image.at<short>(row,col) = newValue; } depth 231 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_32S ){ image.at<int>(row,col) = newValue; } depth 232 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_32F ){ image.at<float>(row,col) = newValue; } depth 233 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_64F ){ image.at<double>(row,col) = newValue; } depth 239 modules/imgcodecs/src/grfmt_gdal.cpp if( image.depth() == CV_8U ){ image.at<Vec3b>(row,col) = Vec3b(newValue,newValue,newValue); } depth 240 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_16U ){ image.at<Vec3s>(row,col) = Vec3s(newValue,newValue,newValue); } depth 241 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_16S ){ image.at<Vec3s>(row,col) = Vec3s(newValue,newValue,newValue); } depth 242 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_32S ){ image.at<Vec3i>(row,col) = Vec3i(newValue,newValue,newValue); } depth 243 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_32F ){ image.at<Vec3f>(row,col) = Vec3f(newValue,newValue,newValue); } depth 244 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_64F ){ image.at<Vec3d>(row,col) = Vec3d(newValue,newValue,newValue); } depth 250 modules/imgcodecs/src/grfmt_gdal.cpp if( image.depth() == CV_8U ){ image.at<uchar>(row,col) += (newValue/3.0); } depth 256 modules/imgcodecs/src/grfmt_gdal.cpp if( image.depth() == CV_8U ){ image.at<uchar>(row,col) = newValue; } depth 262 modules/imgcodecs/src/grfmt_gdal.cpp if( image.depth() == CV_8U ){ image.at<Vec3b>(row,col)[channel] = newValue; } depth 263 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_16U ){ image.at<Vec3s>(row,col)[channel] = newValue; } depth 264 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_16S ){ image.at<Vec3s>(row,col)[channel] = newValue; } depth 265 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_32S ){ image.at<Vec3i>(row,col)[channel] = newValue; } depth 266 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_32F ){ image.at<Vec3f>(row,col)[channel] = newValue; } depth 267 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_64F ){ image.at<Vec3d>(row,col)[channel] = newValue; } depth 274 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_8U && channel < 4 ){ image.at<Vec3b>(row,col)[channel] = newValue; } depth 275 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_16U && channel < 4 ){ image.at<Vec3s>(row,col)[channel] = newValue; } depth 276 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_16S && channel < 4 ){ image.at<Vec3s>(row,col)[channel] = newValue; } depth 277 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_32S && channel < 4 ){ image.at<Vec3i>(row,col)[channel] = newValue; } depth 278 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_32F && channel < 4 ){ image.at<Vec3f>(row,col)[channel] = newValue; } depth 279 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_64F && channel < 4 ){ image.at<Vec3d>(row,col)[channel] = newValue; } depth 285 modules/imgcodecs/src/grfmt_gdal.cpp if( image.depth() == CV_8U ){ image.at<Vec4b>(row,col)[channel] = newValue; } depth 94 modules/imgcodecs/src/grfmt_hdr.cpp if(_img.depth() == img.depth()) { depth 135 modules/imgcodecs/src/grfmt_hdr.cpp if(img.depth() != CV_32F) { depth 160 modules/imgcodecs/src/grfmt_hdr.cpp bool HdrEncoder::isFormatSupported( int depth ) const { depth 161 modules/imgcodecs/src/grfmt_hdr.cpp return depth != CV_64F; depth 81 modules/imgcodecs/src/grfmt_hdr.hpp bool isFormatSupported( int depth ) const; depth 129 modules/imgcodecs/src/grfmt_jpeg2000.cpp int depth = 0; depth 133 modules/imgcodecs/src/grfmt_jpeg2000.cpp depth = MAX(depth, depth_i); depth 141 modules/imgcodecs/src/grfmt_jpeg2000.cpp m_type = CV_MAKETYPE(depth <= 8 ? CV_8U : CV_16U, cntcmpts > 1 ? 3 : 1); depth 254 modules/imgcodecs/src/grfmt_jpeg2000.cpp if( img.depth() == CV_8U ) depth 432 modules/imgcodecs/src/grfmt_jpeg2000.cpp bool Jpeg2KEncoder::isFormatSupported( int depth ) const depth 434 modules/imgcodecs/src/grfmt_jpeg2000.cpp return depth == CV_8U || depth == CV_16U; depth 441 modules/imgcodecs/src/grfmt_jpeg2000.cpp int depth = _img.depth(), channels = _img.channels(); depth 442 modules/imgcodecs/src/grfmt_jpeg2000.cpp depth = depth == CV_8U ? 8 : 16; depth 456 modules/imgcodecs/src/grfmt_jpeg2000.cpp component_info[i].prec = depth; depth 473 modules/imgcodecs/src/grfmt_jpeg2000.cpp if( depth == 8 ) depth 82 modules/imgcodecs/src/grfmt_jpeg2000.hpp bool isFormatSupported( int depth ) const; depth 244 modules/imgcodecs/src/grfmt_png.cpp if( img.depth() == CV_8U && m_bit_depth == 16 ) depth 313 modules/imgcodecs/src/grfmt_png.cpp bool PngEncoder::isFormatSupported( int depth ) const depth 315 modules/imgcodecs/src/grfmt_png.cpp return depth == CV_8U || depth == CV_16U; depth 347 modules/imgcodecs/src/grfmt_png.cpp int depth = img.depth(), channels = img.channels(); depth 351 modules/imgcodecs/src/grfmt_png.cpp if( depth != CV_8U && depth != CV_16U ) depth 411 modules/imgcodecs/src/grfmt_png.cpp png_set_IHDR( png_ptr, info_ptr, width, height, depth == CV_8U ? isBilevel?1:8 : 16, depth 87 modules/imgcodecs/src/grfmt_png.hpp bool isFormatSupported( int depth ) const; depth 289 modules/imgcodecs/src/grfmt_pxm.cpp if( img.depth() == CV_8U && bit_depth == 16 ) depth 302 modules/imgcodecs/src/grfmt_pxm.cpp if( img.depth() == CV_8U ) { depth 319 modules/imgcodecs/src/grfmt_pxm.cpp if( img.depth() == CV_8U ) depth 324 modules/imgcodecs/src/grfmt_pxm.cpp else if( img.depth() == CV_8U ) depth 364 modules/imgcodecs/src/grfmt_pxm.cpp bool PxMEncoder::isFormatSupported( int depth ) const depth 366 modules/imgcodecs/src/grfmt_pxm.cpp return depth == CV_8U || depth == CV_16U; depth 375 modules/imgcodecs/src/grfmt_pxm.cpp int _channels = img.channels(), depth = (int)img.elemSize1()*8; depth 390 modules/imgcodecs/src/grfmt_pxm.cpp int t = CV_MAKETYPE(img.depth(), channels); depth 415 modules/imgcodecs/src/grfmt_pxm.cpp width, height, (1 << depth) - 1 ); depth 426 modules/imgcodecs/src/grfmt_pxm.cpp if( depth == 8 ) depth 435 modules/imgcodecs/src/grfmt_pxm.cpp if( depth == 16 && !isBigEndian() ) depth 446 modules/imgcodecs/src/grfmt_pxm.cpp strm.putBytes( (channels > 1 || depth > 8) ? buffer : (const char*)data, fileStep ); depth 454 modules/imgcodecs/src/grfmt_pxm.cpp if( depth == 8 ) depth 485 modules/imgcodecs/src/grfmt_pxm.cpp if( depth == 8 ) depth 84 modules/imgcodecs/src/grfmt_pxm.hpp bool isFormatSupported( int depth ) const; depth 207 modules/imgcodecs/src/grfmt_tiff.cpp if( img.depth() != CV_8U && img.depth() != CV_16U && img.depth() != CV_32F && img.depth() != CV_64F ) depth 486 modules/imgcodecs/src/grfmt_tiff.cpp bool TiffEncoder::isFormatSupported( int depth ) const depth 489 modules/imgcodecs/src/grfmt_tiff.cpp return depth == CV_8U || depth == CV_16U || depth == CV_32F; depth 491 modules/imgcodecs/src/grfmt_tiff.cpp return depth == CV_8U || depth == CV_16U; depth 521 modules/imgcodecs/src/grfmt_tiff.cpp int depth = img.depth(); depth 524 modules/imgcodecs/src/grfmt_tiff.cpp switch (depth) depth 614 modules/imgcodecs/src/grfmt_tiff.cpp if (depth == CV_8U) depth 623 modules/imgcodecs/src/grfmt_tiff.cpp if (depth == CV_8U) depth 686 modules/imgcodecs/src/grfmt_tiff.cpp int depth = img.depth(); depth 694 modules/imgcodecs/src/grfmt_tiff.cpp if (depth != CV_8U && depth != CV_16U) depth 697 modules/imgcodecs/src/grfmt_tiff.cpp int bytesPerChannel = depth == CV_8U ? 1 : 2; depth 762 modules/imgcodecs/src/grfmt_tiff.cpp if (depth == CV_8U) depth 771 modules/imgcodecs/src/grfmt_tiff.cpp if (depth == CV_8U) depth 125 modules/imgcodecs/src/grfmt_tiff.hpp bool isFormatSupported( int depth ) const; depth 209 modules/imgcodecs/src/grfmt_webp.cpp int channels = img.channels(), depth = img.depth(); depth 238 modules/imgcodecs/src/grfmt_webp.cpp if(depth != CV_8U) depth 440 modules/imgcodecs/src/loadsave.cpp if( !encoder->isFormatSupported(image.depth()) ) depth 580 modules/imgcodecs/src/loadsave.cpp if( !encoder->isFormatSupported(image.depth()) ) depth 54 modules/imgcodecs/test/test_grfmt.cpp lhs.depth() != rhs.depth() || depth 264 modules/imgcodecs/test/test_grfmt.cpp ts->printf(ts->LOG, "img : %d ; %d \n", img.channels(), img.depth()); depth 265 modules/imgcodecs/test/test_grfmt.cpp ts->printf(ts->LOG, "img_test : %d ; %d \n", img_test.channels(), img_test.depth()); depth 523 modules/imgproc/include/opencv2/imgproc/types_c.h float depth; /**< distance between the farthest point and the convex hull */ depth 249 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(grayChess.depth(), dst.depth()); depth 33 modules/imgproc/perf/opencl/perf_3vs4.cpp const int type = get<1>(params), depth = CV_MAT_DEPTH(type); depth 51 modules/imgproc/perf/opencl/perf_3vs4.cpp dsts[i] = UMat(srcSize, depth); depth 52 modules/imgproc/perf/opencl/perf_3vs4.cpp srcs[i] = UMat(srcSize, depth); depth 67 modules/imgproc/perf/opencl/perf_3vs4.cpp int type4 = CV_MAKE_TYPE(depth, 4); depth 86 modules/imgproc/perf/opencl/perf_3vs4.cpp const int type = get<1>(params), depth = CV_MAT_DEPTH(type); depth 105 modules/imgproc/perf/opencl/perf_3vs4.cpp dsts[i] = UMat(srcSize, depth); depth 106 modules/imgproc/perf/opencl/perf_3vs4.cpp srcs[i] = UMat(srcSize, depth); depth 121 modules/imgproc/perf/opencl/perf_3vs4.cpp int type4 = CV_MAKE_TYPE(depth, 4); depth 91 modules/imgproc/perf/opencl/perf_filters.cpp const int type = get<1>(params), depth = CV_MAT_DEPTH(type), depth 92 modules/imgproc/perf/opencl/perf_filters.cpp ddepth = depth == CV_8U ? CV_32S : CV_32F; depth 83 modules/imgproc/perf/perf_integral.cpp SANITY_CHECK(tilted, 1e-6, tilted.depth() > CV_32S ? ERROR_RELATIVE : ERROR_ABSOLUTE); depth 798 modules/imgproc/src/accum.cpp int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype), ddepth = _dst.depth(); depth 678 modules/imgproc/src/approx.cpp int npoints = curve.checkVector(2), depth = curve.depth(); depth 679 modules/imgproc/src/approx.cpp CV_Assert( npoints >= 0 && (depth == CV_32S || depth == CV_32F)); depth 692 modules/imgproc/src/approx.cpp if( depth == CV_32S ) depth 694 modules/imgproc/src/approx.cpp else if( depth == CV_32F ) depth 699 modules/imgproc/src/approx.cpp Mat(nout, 1, CV_MAKETYPE(depth, 2), buf).copyTo(_approxCurve); depth 98 modules/imgproc/src/blend.cpp int type = _src1.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 102 modules/imgproc/src/blend.cpp format("-D T=%s -D cn=%d -D convertToT=%s", ocl::typeToStr(depth), depth 103 modules/imgproc/src/blend.cpp cn, ocl::convertTypeStr(CV_32F, depth, 1, cvt))); depth 124 modules/imgproc/src/blend.cpp int type = _src1.type(), depth = CV_MAT_DEPTH(type); depth 127 modules/imgproc/src/blend.cpp CV_Assert(depth == CV_8U || depth == CV_32F); depth 139 modules/imgproc/src/blend.cpp if (depth == CV_8U) depth 144 modules/imgproc/src/blend.cpp else if (depth == CV_32F) depth 143 modules/imgproc/src/canny.cpp cn, ocl::memopTypeToStr(_src.depth()), depth 144 modules/imgproc/src/canny.cpp ocl::convertTypeStr(_src.depth(), CV_32F, cn, cvt), depth 584 modules/imgproc/src/canny.cpp const int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 587 modules/imgproc/src/canny.cpp CV_Assert( depth == CV_8U ); depth 967 modules/imgproc/src/canny.cpp CV_Assert( src.size == dst.size && src.depth() == CV_8U && dst.type() == CV_8U ); depth 475 modules/imgproc/src/color.cpp Mat temp(rows, cols, CV_MAKETYPE(depth, 3)); depth 484 modules/imgproc/src/color.cpp int depth; depth 503 modules/imgproc/src/color.cpp temp.create(rows, cols, CV_MAKETYPE(depth, 3)); depth 512 modules/imgproc/src/color.cpp int depth; depth 531 modules/imgproc/src/color.cpp temp.create(rows, cols, CV_MAKETYPE(depth, 3)); depth 540 modules/imgproc/src/color.cpp int depth; depth 6683 modules/imgproc/src/color.cpp int scn = src.channels(), depth = src.depth(), bidx, uidx, yidx; depth 6687 modules/imgproc/src/color.cpp if (depth != CV_8U && depth != CV_16U && depth != CV_32F) depth 6696 modules/imgproc/src/color.cpp depth, scn, pxPerWIy); depth 6715 modules/imgproc/src/color.cpp CV_Assert((dcn == 3 || dcn == 4) && scn == 2 && depth == CV_8U); depth 6727 modules/imgproc/src/color.cpp CV_Assert((scn == 3 || scn == 4) && depth == CV_8U ); depth 6739 modules/imgproc/src/color.cpp CV_Assert(scn == 2 && depth == CV_8U); depth 6748 modules/imgproc/src/color.cpp CV_Assert(scn == 1 && depth == CV_8U); depth 6800 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); depth 6818 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); depth 6838 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); depth 6841 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); depth 6856 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && depth == CV_8U ); depth 6861 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); depth 6892 modules/imgproc/src/color.cpp CV_Assert( scn == 2 && depth == CV_8U ); depth 6926 modules/imgproc/src/color.cpp if (depth == CV_32F) depth 6959 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, 3)); depth 6977 modules/imgproc/src/color.cpp if (depth == CV_32F) depth 7010 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); depth 7023 modules/imgproc/src/color.cpp CV_Assert((scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F)); depth 7026 modules/imgproc/src/color.cpp int hrange = depth == CV_32F ? 360 : code == COLOR_BGR2HSV || code == COLOR_RGB2HSV || depth 7032 modules/imgproc/src/color.cpp if (is_hsv && depth == CV_8U) depth 7092 modules/imgproc/src/color.cpp CV_Assert(scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F)); depth 7095 modules/imgproc/src/color.cpp int hrange = depth == CV_32F ? 360 : code == COLOR_HSV2BGR || code == COLOR_HSV2RGB || depth 7108 modules/imgproc/src/color.cpp CV_Assert(scn == 4 && depth == CV_8U); depth 7118 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F) ); depth 7135 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); depth 7141 modules/imgproc/src/color.cpp if (depth == CV_8U && lab) depth 7243 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F) ); depth 7281 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); depth 7316 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); depth 7335 modules/imgproc/src/color.cpp int scn = CV_MAT_CN(stype), depth = CV_MAT_DEPTH(stype), bidx; depth 7337 modules/imgproc/src/color.cpp CV_OCL_RUN( _src.dims() <= 2 && _dst.isUMat() && !(depth == CV_8U && (code == CV_Luv2BGR || code == CV_Luv2RGB)), depth 7343 modules/imgproc/src/color.cpp CV_Assert( depth == CV_8U || depth == CV_16U || depth == CV_32F ); depth 7353 modules/imgproc/src/color.cpp _dst.create( sz, CV_MAKETYPE(depth, dcn)); depth 7361 modules/imgproc/src/color.cpp if ( CvtColorIPPLoop(src, dst, IPPReorderFunctor(ippiSwapChannelsC3C4RTab[depth], 0, 1, 2)) ) depth 7370 modules/imgproc/src/color.cpp if ( CvtColorIPPLoop(src, dst, IPPGeneralFunctor(ippiCopyAC4C3RTab[depth])) ) depth 7379 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPReorderFunctor(ippiSwapChannelsC3C4RTab[depth], 2, 1, 0)) ) depth 7388 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPReorderFunctor(ippiSwapChannelsC4C3RTab[depth], 2, 1, 0)) ) depth 7397 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPReorderFunctor(ippiSwapChannelsC3RTab[depth], 2, 1, 0)) ) depth 7407 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPReorderFunctor(ippiSwapChannelsC4RTab[depth], 2, 1, 0)) ) depth 7418 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 7426 modules/imgproc/src/color.cpp else if( depth == CV_16U ) depth 7434 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && depth == CV_8U ); depth 7455 modules/imgproc/src/color.cpp IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], depth 7456 modules/imgproc/src/color.cpp (ippiGeneralFunc)ippiBGRToBGR565_8u16u_C3R, 0, 1, 2, depth))) depth 7465 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC3RTab[depth], depth 7466 modules/imgproc/src/color.cpp (ippiGeneralFunc)ippiBGRToBGR565_8u16u_C3R, 2, 1, 0, depth)) ) depth 7475 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], depth 7476 modules/imgproc/src/color.cpp (ippiGeneralFunc)ippiBGRToBGR565_8u16u_C3R, 2, 1, 0, depth)) ) depth 7504 modules/imgproc/src/color.cpp CV_Assert( (dcn == 3 || dcn == 4) && scn == 2 && depth == CV_8U ); depth 7505 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); depth 7524 modules/imgproc/src/color.cpp ippiSwapChannelsC3RTab[depth], 2, 1, 0, depth))) depth 7534 modules/imgproc/src/color.cpp ippiSwapChannelsC3C4RTab[depth], 0, 1, 2, depth))) depth 7544 modules/imgproc/src/color.cpp ippiSwapChannelsC3C4RTab[depth], 2, 1, 0, depth))) depth 7565 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, 1)); depth 7571 modules/imgproc/src/color.cpp if( code == CV_BGR2GRAY && depth == CV_32F ) depth 7573 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPColor2GrayFunctor(ippiColor2GrayC3Tab[depth])) ) depth 7580 modules/imgproc/src/color.cpp else if( code == CV_RGB2GRAY && depth == CV_32F ) depth 7582 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralFunctor(ippiRGB2GrayC3Tab[depth])) ) depth 7589 modules/imgproc/src/color.cpp else if( code == CV_BGRA2GRAY && depth == CV_32F ) depth 7591 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPColor2GrayFunctor(ippiColor2GrayC4Tab[depth])) ) depth 7598 modules/imgproc/src/color.cpp else if( code == CV_RGBA2GRAY && depth == CV_32F ) depth 7600 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralFunctor(ippiRGB2GrayC4Tab[depth])) ) depth 7612 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 7620 modules/imgproc/src/color.cpp else if( depth == CV_16U ) depth 7627 modules/imgproc/src/color.cpp CV_Assert( scn == 2 && depth == CV_8U ); depth 7637 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); depth 7645 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGray2BGRFunctor(ippiCopyP3C3RTab[depth])) ) depth 7654 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGray2BGRAFunctor(ippiCopyP3C3RTab[depth], ippiSwapChannelsC3C4RTab[depth], depth)) ) depth 7665 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 7673 modules/imgproc/src/color.cpp else if( depth == CV_16U ) depth 7680 modules/imgproc/src/color.cpp CV_Assert( scn == 1 && depth == CV_8U ); depth 7697 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, 3)); depth 7703 modules/imgproc/src/color.cpp if (code == CV_RGB2YUV && scn == 3 && depth == CV_8U) depth 7712 modules/imgproc/src/color.cpp else if (code == CV_BGR2YUV && scn == 3 && depth == CV_8U) depth 7714 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC3RTab[depth], depth 7715 modules/imgproc/src/color.cpp (ippiGeneralFunc)ippiRGBToYUV_8u_C3R, 2, 1, 0, depth))) depth 7722 modules/imgproc/src/color.cpp else if (code == CV_RGB2YUV && scn == 4 && depth == CV_8U) depth 7724 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], depth 7725 modules/imgproc/src/color.cpp (ippiGeneralFunc)ippiRGBToYUV_8u_C3R, 0, 1, 2, depth))) depth 7732 modules/imgproc/src/color.cpp else if (code == CV_BGR2YUV && scn == 4 && depth == CV_8U) depth 7734 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], depth 7735 modules/imgproc/src/color.cpp (ippiGeneralFunc)ippiRGBToYUV_8u_C3R, 2, 1, 0, depth))) depth 7745 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 7753 modules/imgproc/src/color.cpp else if( depth == CV_16U ) depth 7771 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); depth 7777 modules/imgproc/src/color.cpp if (code == CV_YUV2RGB && dcn == 3 && depth == CV_8U) depth 7786 modules/imgproc/src/color.cpp else if (code == CV_YUV2BGR && dcn == 3 && depth == CV_8U) depth 7789 modules/imgproc/src/color.cpp ippiSwapChannelsC3RTab[depth], 2, 1, 0, depth))) depth 7796 modules/imgproc/src/color.cpp else if (code == CV_YUV2RGB && dcn == 4 && depth == CV_8U) depth 7799 modules/imgproc/src/color.cpp ippiSwapChannelsC3C4RTab[depth], 0, 1, 2, depth))) depth 7806 modules/imgproc/src/color.cpp else if (code == CV_YUV2BGR && dcn == 4 && depth == CV_8U) depth 7809 modules/imgproc/src/color.cpp ippiSwapChannelsC3C4RTab[depth], 2, 1, 0, depth))) depth 7819 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 7821 modules/imgproc/src/color.cpp else if( depth == CV_16U ) depth 7832 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, 3)); depth 7838 modules/imgproc/src/color.cpp if( code == CV_BGR2XYZ && scn == 3 && depth != CV_32F ) depth 7840 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC3RTab[depth], ippiRGB2XYZTab[depth], 2, 1, 0, depth)) ) depth 7847 modules/imgproc/src/color.cpp else if( code == CV_BGR2XYZ && scn == 4 && depth != CV_32F ) depth 7849 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], ippiRGB2XYZTab[depth], 2, 1, 0, depth)) ) depth 7856 modules/imgproc/src/color.cpp else if( code == CV_RGB2XYZ && scn == 3 && depth != CV_32F ) depth 7858 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralFunctor(ippiRGB2XYZTab[depth])) ) depth 7865 modules/imgproc/src/color.cpp else if( code == CV_RGB2XYZ && scn == 4 && depth != CV_32F ) depth 7867 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], ippiRGB2XYZTab[depth], 0, 1, 2, depth)) ) depth 7877 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 7879 modules/imgproc/src/color.cpp else if( depth == CV_16U ) depth 7890 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); depth 7896 modules/imgproc/src/color.cpp if( code == CV_XYZ2BGR && dcn == 3 && depth != CV_32F ) depth 7898 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralReorderFunctor(ippiXYZ2RGBTab[depth], ippiSwapChannelsC3RTab[depth], 2, 1, 0, depth)) ) depth 7905 modules/imgproc/src/color.cpp else if( code == CV_XYZ2BGR && dcn == 4 && depth != CV_32F ) depth 7907 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiXYZ2RGBTab[depth], ippiSwapChannelsC3C4RTab[depth], 2, 1, 0, depth)) ) depth 7914 modules/imgproc/src/color.cpp if( code == CV_XYZ2RGB && dcn == 3 && depth != CV_32F ) depth 7916 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralFunctor(ippiXYZ2RGBTab[depth])) ) depth 7923 modules/imgproc/src/color.cpp else if( code == CV_XYZ2RGB && dcn == 4 && depth != CV_32F ) depth 7925 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiXYZ2RGBTab[depth], ippiSwapChannelsC3C4RTab[depth], 0, 1, 2, depth)) ) depth 7935 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 7937 modules/imgproc/src/color.cpp else if( depth == CV_16U ) depth 7946 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F) ); depth 7949 modules/imgproc/src/color.cpp int hrange = depth == CV_32F ? 360 : code == CV_BGR2HSV || code == CV_RGB2HSV || depth 7952 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, 3)); depth 7958 modules/imgproc/src/color.cpp if( depth == CV_8U || depth == CV_16U ) depth 7963 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC3RTab[depth], ippiRGB2HSVTab[depth], 2, 1, 0, depth)) ) depth 7972 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], ippiRGB2HSVTab[depth], 2, 1, 0, depth)) ) depth 7981 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], ippiRGB2HSVTab[depth], 0, 1, 2, depth)) ) depth 7989 modules/imgproc/src/color.cpp if( code == CV_RGB2HSV_FULL && scn == 3 && depth == CV_16U ) depth 7991 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralFunctor(ippiRGB2HSVTab[depth])) ) depth 8000 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC3RTab[depth], ippiRGB2HLSTab[depth], 2, 1, 0, depth)) ) depth 8009 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], ippiRGB2HLSTab[depth], 2, 1, 0, depth)) ) depth 8018 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralFunctor(ippiRGB2HLSTab[depth])) ) depth 8027 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], ippiRGB2HLSTab[depth], 0, 1, 2, depth)) ) depth 8045 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 8052 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 8064 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F) ); depth 8067 modules/imgproc/src/color.cpp int hrange = depth == CV_32F ? 360 : code == CV_HSV2BGR || code == CV_HSV2RGB || depth 8070 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); depth 8076 modules/imgproc/src/color.cpp if( depth == CV_8U || depth == CV_16U ) depth 8080 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralReorderFunctor(ippiHSV2RGBTab[depth], ippiSwapChannelsC3RTab[depth], 2, 1, 0, depth)) ) depth 8089 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiHSV2RGBTab[depth], ippiSwapChannelsC3C4RTab[depth], 2, 1, 0, depth)) ) depth 8098 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralFunctor(ippiHSV2RGBTab[depth])) ) depth 8107 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiHSV2RGBTab[depth], ippiSwapChannelsC3C4RTab[depth], 0, 1, 2, depth)) ) depth 8116 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralReorderFunctor(ippiHLS2RGBTab[depth], ippiSwapChannelsC3RTab[depth], 2, 1, 0, depth)) ) depth 8125 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiHLS2RGBTab[depth], ippiSwapChannelsC3C4RTab[depth], 2, 1, 0, depth)) ) depth 8134 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralFunctor(ippiHLS2RGBTab[depth])) ) depth 8143 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiHLS2RGBTab[depth], ippiSwapChannelsC3C4RTab[depth], 0, 1, 2, depth)) ) depth 8157 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 8164 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 8175 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F) ); depth 8181 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, 3)); depth 8187 modules/imgproc/src/color.cpp if (code == CV_LBGR2Lab && scn == 3 && depth == CV_8U) depth 8196 modules/imgproc/src/color.cpp else if (code == CV_LBGR2Lab && scn == 4 && depth == CV_8U) depth 8198 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], depth 8199 modules/imgproc/src/color.cpp (ippiGeneralFunc)ippiBGRToLab_8u_C3R, 0, 1, 2, depth))) depth 8207 modules/imgproc/src/color.cpp if (code == CV_LRGB2Lab && scn == 3 && depth == CV_8U) // slower than OpenCV depth 8209 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC3RTab[depth], depth 8210 modules/imgproc/src/color.cpp (ippiGeneralFunc)ippiBGRToLab_8u_C3R, 2, 1, 0, depth))) depth 8217 modules/imgproc/src/color.cpp else if (code == CV_LRGB2Lab && scn == 4 && depth == CV_8U) // slower than OpenCV depth 8219 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], depth 8220 modules/imgproc/src/color.cpp (ippiGeneralFunc)ippiBGRToLab_8u_C3R, 2, 1, 0, depth))) depth 8229 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPGeneralFunctor(ippiRGBToLUVTab[depth]))) depth 8238 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], depth 8239 modules/imgproc/src/color.cpp ippiRGBToLUVTab[depth], 0, 1, 2, depth))) depth 8248 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC3RTab[depth], depth 8249 modules/imgproc/src/color.cpp ippiRGBToLUVTab[depth], 2, 1, 0, depth))) depth 8258 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], depth 8259 modules/imgproc/src/color.cpp ippiRGBToLUVTab[depth], 2, 1, 0, depth))) depth 8272 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 8279 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 8291 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F) ); depth 8297 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); depth 8303 modules/imgproc/src/color.cpp if( code == CV_Lab2LBGR && dcn == 3 && depth == CV_8U) depth 8312 modules/imgproc/src/color.cpp else if( code == CV_Lab2LBGR && dcn == 4 && depth == CV_8U ) depth 8315 modules/imgproc/src/color.cpp ippiSwapChannelsC3C4RTab[depth], 0, 1, 2, depth)) ) depth 8322 modules/imgproc/src/color.cpp if( code == CV_Lab2LRGB && dcn == 3 && depth == CV_8U ) depth 8325 modules/imgproc/src/color.cpp ippiSwapChannelsC3RTab[depth], 2, 1, 0, depth)) ) depth 8332 modules/imgproc/src/color.cpp else if( code == CV_Lab2LRGB && dcn == 4 && depth == CV_8U ) depth 8335 modules/imgproc/src/color.cpp ippiSwapChannelsC3C4RTab[depth], 2, 1, 0, depth)) ) depth 8344 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralFunctor(ippiLUVToRGBTab[depth])) ) depth 8349 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiLUVToRGBTab[depth], depth 8350 modules/imgproc/src/color.cpp ippiSwapChannelsC3C4RTab[depth], 0, 1, 2, depth)) ) depth 8358 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiLUVToRGBTab[depth], depth 8359 modules/imgproc/src/color.cpp ippiSwapChannelsC3RTab[depth], 2, 1, 0, depth)) ) depth 8367 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiLUVToRGBTab[depth], depth 8368 modules/imgproc/src/color.cpp ippiSwapChannelsC3C4RTab[depth], 2, 1, 0, depth)) ) depth 8380 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 8387 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 8413 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); depth 8416 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); depth 8448 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); depth 8451 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); depth 8479 modules/imgproc/src/color.cpp CV_Assert( sz.width % 2 == 0 && sz.height % 3 == 0 && depth == CV_8U ); depth 8482 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); depth 8506 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && depth == CV_8U ); depth 8511 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); depth 8538 modules/imgproc/src/color.cpp CV_Assert( scn == 2 && depth == CV_8U ); depth 8570 modules/imgproc/src/color.cpp CV_Assert( scn == 2 && depth == CV_8U ); depth 8580 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); depth 8583 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 8609 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); depth 8612 modules/imgproc/src/color.cpp if( depth == CV_8U ) depth 8629 modules/imgproc/src/color.cpp CV_Assert( src.depth() == dst.depth() ); depth 344 modules/imgproc/src/connectedcomponents.cpp int lDepth = L.depth(); depth 345 modules/imgproc/src/connectedcomponents.cpp int iDepth = I.depth(); depth 1712 modules/imgproc/src/contours.cpp CV_Assert(_contours.empty() || (_contours.channels() == 2 && _contours.depth() == CV_32S)); depth 132 modules/imgproc/src/convhull.cpp int i, total = points.checkVector(2), depth = points.depth(), nout = 0; depth 134 modules/imgproc/src/convhull.cpp CV_Assert(total >= 0 && (depth == CV_32F || depth == CV_32S)); depth 144 modules/imgproc/src/convhull.cpp bool is_float = depth == CV_32F; depth 256 modules/imgproc/src/convhull.cpp _hull.create(nout, 1, CV_MAKETYPE(depth, 2)); depth 381 modules/imgproc/src/convhull.cpp int total = contour.checkVector(2), depth = contour.depth(); depth 382 modules/imgproc/src/convhull.cpp CV_Assert(total >= 0 && (depth == CV_32F || depth == CV_32S)); depth 387 modules/imgproc/src/convhull.cpp return depth == CV_32S ? depth 648 modules/imgproc/src/convhull.cpp double depth = 0, scale; depth 685 modules/imgproc/src/convhull.cpp if( dist > depth ) depth 687 modules/imgproc/src/convhull.cpp depth = dist; depth 689 modules/imgproc/src/convhull.cpp defect.depth = (float)depth; depth 279 modules/imgproc/src/corner.cpp int depth = src.depth(); depth 283 modules/imgproc/src/corner.cpp if( depth == CV_8U ) depth 365 modules/imgproc/src/corner.cpp boxFilter(cov, cov, cov.depth(), Size(block_size, block_size), depth 378 modules/imgproc/src/corner.cpp static bool extractCovData(InputArray _src, UMat & Dx, UMat & Dy, int depth, depth 392 modules/imgproc/src/corner.cpp CV_Assert(depth == CV_8U || depth == CV_32F); depth 409 modules/imgproc/src/corner.cpp (int)localsize[0], (int)localsize[1], borderTypes[borderType], ocl::typeToStr(depth), depth 446 modules/imgproc/src/corner.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type); depth 458 modules/imgproc/src/corner.cpp if (depth == CV_8U) depth 463 modules/imgproc/src/corner.cpp if (!extractCovData(_src, Dx, Dy, depth, (float)scale, aperture_size, borderType)) depth 491 modules/imgproc/src/corner.cpp static bool ocl_preCornerDetect( InputArray _src, OutputArray _dst, int ksize, int borderType, int depth ) depth 495 modules/imgproc/src/corner.cpp if (!extractCovData(_src, Dx, Dy, depth, 1, ksize, borderType)) depth 506 modules/imgproc/src/corner.cpp if( depth == CV_8U ) depth 609 modules/imgproc/src/corner.cpp int type = src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 624 modules/imgproc/src/corner.cpp if (depth == CV_8U) depth 635 modules/imgproc/src/corner.cpp if (depth == CV_8U) depth 638 modules/imgproc/src/corner.cpp else if (depth == CV_32F) depth 690 modules/imgproc/src/corner.cpp if( src.depth() == CV_8U ) depth 777 modules/imgproc/src/corner.cpp CV_Assert( src.rows == dst.rows && src.cols*6 == dst.cols*dst.channels() && dst.depth() == CV_32F ); depth 1620 modules/imgproc/src/demosaicing.cpp int scn = src.channels(), depth = src.depth(); depth 1622 modules/imgproc/src/demosaicing.cpp CV_Assert(depth == CV_8U || depth == CV_16U); depth 1632 modules/imgproc/src/demosaicing.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); depth 1635 modules/imgproc/src/demosaicing.cpp if( depth == CV_8U ) depth 1637 modules/imgproc/src/demosaicing.cpp else if( depth == CV_16U ) depth 1650 modules/imgproc/src/demosaicing.cpp _dst.create(sz, CV_MAKE_TYPE(depth, dcn)); depth 1656 modules/imgproc/src/demosaicing.cpp if( depth == CV_8U ) depth 1658 modules/imgproc/src/demosaicing.cpp else if( depth == CV_16U ) depth 1665 modules/imgproc/src/demosaicing.cpp CV_Assert( depth == CV_8U ); depth 1676 modules/imgproc/src/demosaicing.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); depth 1679 modules/imgproc/src/demosaicing.cpp if (depth == CV_8U) depth 1681 modules/imgproc/src/demosaicing.cpp else if (depth == CV_16U) depth 323 modules/imgproc/src/deriv.cpp ddepth = src.depth(); depth 424 modules/imgproc/src/deriv.cpp ddepth = src.depth(); depth 665 modules/imgproc/src/deriv.cpp int borderType, int depth, int ddepth) depth 759 modules/imgproc/src/deriv.cpp int wdepth = std::max(depth, floatCoeff ? CV_32F : CV_32S), kercn = 1; depth 769 modules/imgproc/src/deriv.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), depth 773 modules/imgproc/src/deriv.cpp ocl::convertTypeStr(depth, wdepth, kercn, cvt[0]), depth 780 modules/imgproc/src/deriv.cpp sepFilter2D(_src, d2x, depth, kd, ks, Point(-1, -1), 0, borderType); depth 781 modules/imgproc/src/deriv.cpp sepFilter2D(_src, d2y, depth, ks, kd, Point(-1, -1), 0, borderType); depth 951 modules/imgproc/src/deriv.cpp cv::Sobel( src, dst, dst.depth(), dx, dy, aperture_size, 1, 0, cv::BORDER_REPLICATE ); depth 964 modules/imgproc/src/deriv.cpp cv::Laplacian( src, dst, dst.depth(), aperture_size, 1, 0, cv::BORDER_REPLICATE ); depth 300 modules/imgproc/src/drawing.cpp if( !((nch == 1 || nch == 3 || nch == 4) && img.depth() == CV_8U) ) depth 1666 modules/imgproc/src/drawing.cpp if( line_type == CV_AA && img.depth() != CV_8U ) depth 1701 modules/imgproc/src/drawing.cpp if( lineType == CV_AA && img.depth() != CV_8U ) depth 1742 modules/imgproc/src/drawing.cpp if( line_type == CV_AA && img.depth() != CV_8U ) depth 1770 modules/imgproc/src/drawing.cpp if( line_type == CV_AA && img.depth() != CV_8U ) depth 1796 modules/imgproc/src/drawing.cpp if( lineType == CV_AA && img.depth() != CV_8U ) depth 1819 modules/imgproc/src/drawing.cpp if( line_type == CV_AA && img.depth() != CV_8U ) depth 1833 modules/imgproc/src/drawing.cpp if( line_type == CV_AA && img.depth() != CV_8U ) depth 1858 modules/imgproc/src/drawing.cpp if( line_type == CV_AA && img.depth() != CV_8U ) depth 2102 modules/imgproc/src/drawing.cpp if( line_type == CV_AA && img.depth() != CV_8U ) depth 2377 modules/imgproc/src/drawing.cpp if( line_type == CV_AA && img.depth() != CV_8U ) depth 4263 modules/imgproc/src/filter.cpp if (dst.depth() == CV_64F && !doubleSupport) depth 4454 modules/imgproc/src/filter.cpp int cn = CV_MAT_CN(srcType), kdepth = _kernel.depth(); depth 4569 modules/imgproc/src/filter.cpp ddepth = src.depth(); depth 4572 modules/imgproc/src/filter.cpp int dft_filter_size = ((src.depth() == CV_8U && (ddepth == CV_8U || ddepth == CV_16S)) || depth 4573 modules/imgproc/src/filter.cpp (src.depth() == CV_32F && ddepth == CV_32F)) && checkHardwareSupport(CV_CPU_SSE3)? 130 : 50; depth 4669 modules/imgproc/src/filter.cpp int corrDepth = dst.depth(); depth 4670 modules/imgproc/src/filter.cpp if( (dst.depth() == CV_32F || dst.depth() == CV_64F) && depth 4677 modules/imgproc/src/filter.cpp corrDepth = dst.depth() == CV_64F ? CV_64F : CV_32F; depth 4720 modules/imgproc/src/filter.cpp ddepth = src.depth(); depth 4739 modules/imgproc/src/filter.cpp cv::filter2D( src, dst, dst.depth(), kernel, anchor, 0, cv::BORDER_REPLICATE ); depth 484 modules/imgproc/src/floodfill.cpp int depth = img.depth(); depth 566 modules/imgproc/src/floodfill.cpp if( depth == CV_8U ) depth 572 modules/imgproc/src/floodfill.cpp else if( depth == CV_32S ) depth 578 modules/imgproc/src/floodfill.cpp else if( depth == CV_32F ) depth 100 modules/imgproc/src/geometry.cpp int depth = contour.depth(); depth 101 modules/imgproc/src/geometry.cpp CV_Assert( total >= 0 && (depth == CV_32S || depth == CV_32F)); depth 103 modules/imgproc/src/geometry.cpp bool is_float = depth == CV_32F; depth 508 modules/imgproc/src/geometry.cpp CV_Assert( p1.depth() == CV_32S || p1.depth() == CV_32F ); depth 509 modules/imgproc/src/geometry.cpp CV_Assert( p2.depth() == CV_32S || p2.depth() == CV_32F ); depth 511 modules/imgproc/src/geometry.cpp int n = p1.checkVector(2, p1.depth(), true); depth 512 modules/imgproc/src/geometry.cpp int m = p2.checkVector(2, p2.depth(), true); depth 125 modules/imgproc/src/histogram.cpp int depth = images[0].depth(), esz1 = (int)images[0].elemSize1(); depth 149 modules/imgproc/src/histogram.cpp CV_Assert( images[j].size() == imsize && images[j].depth() == depth ); depth 176 modules/imgproc/src/histogram.cpp CV_Assert( depth == CV_8U ); depth 1282 modules/imgproc/src/histogram.cpp int depth = images[0].depth(); depth 1284 modules/imgproc/src/histogram.cpp if( depth == CV_8U ) depth 1286 modules/imgproc/src/histogram.cpp else if( depth == CV_16U ) depth 1288 modules/imgproc/src/histogram.cpp else if( depth == CV_32F ) depth 1455 modules/imgproc/src/histogram.cpp int depth = images[0].depth(); depth 1456 modules/imgproc/src/histogram.cpp if( depth == CV_8U ) depth 1458 modules/imgproc/src/histogram.cpp else if( depth == CV_16U ) depth 1460 modules/imgproc/src/histogram.cpp else if( depth == CV_32F ) depth 1563 modules/imgproc/src/histogram.cpp CV_Assert(rsz == dims*2 || (rsz == 0 && images.depth(0) == CV_8U)); depth 1888 modules/imgproc/src/histogram.cpp _backProject.create( images[0].size(), images[0].depth() ); depth 1894 modules/imgproc/src/histogram.cpp int depth = images[0].depth(); depth 1895 modules/imgproc/src/histogram.cpp if( depth == CV_8U ) depth 1897 modules/imgproc/src/histogram.cpp else if( depth == CV_16U ) depth 1899 modules/imgproc/src/histogram.cpp else if( depth == CV_32F ) depth 2050 modules/imgproc/src/histogram.cpp _backProject.create( images[0].size(), images[0].depth() ); depth 2057 modules/imgproc/src/histogram.cpp int depth = images[0].depth(); depth 2058 modules/imgproc/src/histogram.cpp if( depth == CV_8U ) depth 2061 modules/imgproc/src/histogram.cpp else if( depth == CV_16U ) depth 2064 modules/imgproc/src/histogram.cpp else if( depth == CV_32F ) depth 2112 modules/imgproc/src/histogram.cpp int depth = images[0].depth(); depth 2115 modules/imgproc/src/histogram.cpp if (depth != CV_8U) depth 2122 modules/imgproc/src/histogram.cpp CV_Assert(size == m.size() && depth == m.depth()); depth 2153 modules/imgproc/src/histogram.cpp _dst.create(size, depth); depth 2199 modules/imgproc/src/histogram.cpp _dst.create(size, depth); depth 2241 modules/imgproc/src/histogram.cpp H = Mat(H0.dims+1, hsz, H0.depth(), H0.ptr()); depth 2251 modules/imgproc/src/histogram.cpp CV_Assert(rsz == dims*2 || (rsz == 2 && _1d) || (rsz == 0 && images.depth(0) == CV_8U)); depth 2281 modules/imgproc/src/histogram.cpp CV_Assert( H1.type() == H2.type() && H1.depth() == CV_32F ); depth 3272 modules/imgproc/src/histogram.cpp CV_Assert( _dst.size() == images[0].size() && _dst.depth() == images[0].depth() ); depth 79 modules/imgproc/src/imgwarp.cpp static bool IPPSet(const cv::Scalar &value, void *dataPointer, int step, IppiSize &size, int channels, int depth) depth 83 modules/imgproc/src/imgwarp.cpp switch( depth ) depth 97 modules/imgproc/src/imgwarp.cpp switch( depth ) depth 109 modules/imgproc/src/imgwarp.cpp switch( depth ) depth 2883 modules/imgproc/src/imgwarp.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 2914 modules/imgproc/src/imgwarp.cpp ocl::Image2D::canCreateAlias(src) && depth <= 4 && depth 2915 modules/imgproc/src/imgwarp.cpp ocl::Image2D::isFormatSupported(depth, cn, true) && depth 2919 modules/imgproc/src/imgwarp.cpp int wdepth = std::max(depth, CV_32S); depth 2923 modules/imgproc/src/imgwarp.cpp depth, ocl::typeToStr(type), ocl::typeToStr(depth), depth 2924 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(wdepth, depth, cn, buf[1]), depth 2945 modules/imgproc/src/imgwarp.cpp if (depth == CV_8U && ((void)0, 0)) depth 2981 modules/imgproc/src/imgwarp.cpp int wdepth = std::max(depth, CV_32S), wtype = CV_MAKETYPE(wdepth, cn); depth 2989 modules/imgproc/src/imgwarp.cpp depth, ocl::typeToStr(type), ocl::typeToStr(depth), ocl::typeToStr(wtype), depth 2990 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(depth, wdepth, cn, buf[0]), depth 2991 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(wdepth, depth, cn, buf[1]), depth 3001 modules/imgproc/src/imgwarp.cpp int wdepth = std::max(depth, CV_32S), wtype = CV_MAKETYPE(wdepth, cn); depth 3006 modules/imgproc/src/imgwarp.cpp depth, ocl::typeToStr(type), ocl::typeToStr(depth), ocl::typeToStr(wtype), depth 3007 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(depth, wdepth, cn, buf[0]), depth 3008 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(wdepth, depth, cn, buf[1]), depth 3021 modules/imgproc/src/imgwarp.cpp ocl::vecopTypeToStr(type), ocl::vecopTypeToStr(depth), cn)); depth 3030 modules/imgproc/src/imgwarp.cpp int wdepth = std::max(depth, is_area_fast ? CV_32S : CV_32F); depth 3035 modules/imgproc/src/imgwarp.cpp ocl::typeToStr(type), ocl::typeToStr(depth), ocl::typeToStr(wtype), depth 3036 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(depth, wdepth, cn, cvt[0]), cn); depth 3043 modules/imgproc/src/imgwarp.cpp int wdepth2 = std::max(CV_32F, depth), wtype2 = CV_MAKE_TYPE(wdepth2, cn); depth 3046 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(wdepth2, depth, cn, cvt[0]), depth 3056 modules/imgproc/src/imgwarp.cpp buildOption = buildOption + format(" -D convertToT=%s", ocl::convertTypeStr(wdepth, depth, cn, cvt[0])); depth 3234 modules/imgproc/src/imgwarp.cpp int type = src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 3252 modules/imgproc/src/imgwarp.cpp if ( ((ex < IPP_RESIZE_EPS && ey < IPP_RESIZE_EPS && depth != CV_64F) || (ex == 0 && ey == 0 && depth == CV_64F)) && depth 3254 modules/imgproc/src/imgwarp.cpp !(interpolation == INTER_LINEAR && is_area_fast && iscale_x == 2 && iscale_y == 2 && depth == CV_8U)) depth 3263 modules/imgproc/src/imgwarp.cpp (depth == CV_16U || depth == CV_16S || depth == CV_32F || depth 3264 modules/imgproc/src/imgwarp.cpp (depth == CV_64F && mode == ippLinear))) depth 3305 modules/imgproc/src/imgwarp.cpp ResizeAreaFastFunc func = areafast_tab[depth]; depth 3324 modules/imgproc/src/imgwarp.cpp ResizeAreaFunc func = area_tab[depth]; depth 3352 modules/imgproc/src/imgwarp.cpp bool fixpt = depth == CV_8U; depth 3357 modules/imgproc/src/imgwarp.cpp ksize = 4, func = cubic_tab[depth]; depth 3359 modules/imgproc/src/imgwarp.cpp ksize = 8, func = lanczos4_tab[depth]; depth 3361 modules/imgproc/src/imgwarp.cpp ksize = 2, func = linear_tab[depth]; depth 4252 modules/imgproc/src/imgwarp.cpp int brows0 = std::min(128, dst->rows), map_depth = m1->depth(); depth 4293 modules/imgproc/src/imgwarp.cpp (*m1)(Rect(x, y, bcols, brows)).convertTo(bufxy, bufxy.depth()); depth 4491 modules/imgproc/src/imgwarp.cpp int cn = _src.channels(), type = _src.type(), depth = _src.depth(), depth 4536 modules/imgproc/src/imgwarp.cpp int wdepth = std::max(CV_32F, depth); depth 4541 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(wdepth, depth, cn, cvt[0]), depth 4542 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(depth, wdepth, cn, cvt[1]), depth 4547 modules/imgproc/src/imgwarp.cpp int sctype = CV_MAKETYPE(depth, scalarcn); depth 4549 modules/imgproc/src/imgwarp.cpp ocl::typeToStr(type), ocl::typeToStr(depth), depth 4550 modules/imgproc/src/imgwarp.cpp cn, ocl::typeToStr(sctype), depth); depth 4593 modules/imgproc/src/imgwarp.cpp int type = dst.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 4596 modules/imgproc/src/imgwarp.cpp !IPPSet(borderValue, dstRoi.ptr(), (int)dstRoi.step, dstRoiSize, cn, depth)) depth 4676 modules/imgproc/src/imgwarp.cpp int type = src.type(), depth = CV_MAT_DEPTH(type); depth 4722 modules/imgproc/src/imgwarp.cpp bool fixpt = depth == CV_8U; depth 4727 modules/imgproc/src/imgwarp.cpp nnfunc = nn_tab[depth]; depth 4733 modules/imgproc/src/imgwarp.cpp ifunc = linear_tab[depth]; depth 4735 modules/imgproc/src/imgwarp.cpp ifunc = cubic_tab[depth]; depth 4737 modules/imgproc/src/imgwarp.cpp ifunc = lanczos4_tab[depth]; depth 5427 modules/imgproc/src/imgwarp.cpp if( !IPPSet( borderValue, dataPointer, (int)dst.step[0], setSize, cnn, src.depth() ) ) depth 5468 modules/imgproc/src/imgwarp.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 5478 modules/imgproc/src/imgwarp.cpp (!doubleSupport && depth == CV_64F) || cn > 4) depth 5488 modules/imgproc/src/imgwarp.cpp int wdepth = interpolation == INTER_NEAREST ? depth : std::max(is32f ? CV_32F : CV_32S, depth); depth 5508 modules/imgproc/src/imgwarp.cpp ocl::typeToStr(CV_MAKE_TYPE(wdepth, cn)), depth, depth 5509 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(depth, wdepth, cn, cvt[0]), depth 5510 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(wdepth, depth, cn, cvt[1]), depth 5612 modules/imgproc/src/imgwarp.cpp int type = src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 5613 modules/imgproc/src/imgwarp.cpp if( ( depth == CV_8U || depth == CV_16U || depth == CV_32F ) && depth 6057 modules/imgproc/src/imgwarp.cpp if( !IPPSet( borderValue, dataPointer, (int)dst.step[0], setSize, cnn, src.depth() ) ) depth 6121 modules/imgproc/src/imgwarp.cpp int type = src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 6122 modules/imgproc/src/imgwarp.cpp if( (depth == CV_8U || depth == CV_16U || depth == CV_32F) && depth 605 modules/imgproc/src/linefit.cpp if( points.depth() != CV_32F || !points.isContinuous() ) depth 340 modules/imgproc/src/min_enclosing_triangle.cpp ((pointsMat.depth() == CV_32F) || (pointsMat.depth() == CV_32S))); depth 97 modules/imgproc/src/moments.cpp int is_float = contour.depth() == CV_32F; depth 101 modules/imgproc/src/moments.cpp CV_Assert( contour.depth() == CV_32S || contour.depth() == CV_32F ); depth 562 modules/imgproc/src/moments.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 574 modules/imgproc/src/moments.cpp if( mat.checkVector(2) >= 0 && (depth == CV_32F || depth == CV_32S)) depth 646 modules/imgproc/src/moments.cpp if( binary || depth == CV_8U ) depth 648 modules/imgproc/src/moments.cpp else if( depth == CV_16U ) depth 650 modules/imgproc/src/moments.cpp else if( depth == CV_16S ) depth 652 modules/imgproc/src/moments.cpp else if( depth == CV_32F ) depth 654 modules/imgproc/src/moments.cpp else if( depth == CV_64F ) depth 853 modules/imgproc/src/morph.cpp int depth = CV_MAT_DEPTH(type); depth 859 modules/imgproc/src/morph.cpp if( depth == CV_8U ) depth 862 modules/imgproc/src/morph.cpp if( depth == CV_16U ) depth 865 modules/imgproc/src/morph.cpp if( depth == CV_16S ) depth 868 modules/imgproc/src/morph.cpp if( depth == CV_32F ) depth 871 modules/imgproc/src/morph.cpp if( depth == CV_64F ) depth 877 modules/imgproc/src/morph.cpp if( depth == CV_8U ) depth 880 modules/imgproc/src/morph.cpp if( depth == CV_16U ) depth 883 modules/imgproc/src/morph.cpp if( depth == CV_16S ) depth 886 modules/imgproc/src/morph.cpp if( depth == CV_32F ) depth 889 modules/imgproc/src/morph.cpp if( depth == CV_64F ) depth 900 modules/imgproc/src/morph.cpp int depth = CV_MAT_DEPTH(type); depth 906 modules/imgproc/src/morph.cpp if( depth == CV_8U ) depth 909 modules/imgproc/src/morph.cpp if( depth == CV_16U ) depth 912 modules/imgproc/src/morph.cpp if( depth == CV_16S ) depth 915 modules/imgproc/src/morph.cpp if( depth == CV_32F ) depth 918 modules/imgproc/src/morph.cpp if( depth == CV_64F ) depth 924 modules/imgproc/src/morph.cpp if( depth == CV_8U ) depth 927 modules/imgproc/src/morph.cpp if( depth == CV_16U ) depth 930 modules/imgproc/src/morph.cpp if( depth == CV_16S ) depth 933 modules/imgproc/src/morph.cpp if( depth == CV_32F ) depth 936 modules/imgproc/src/morph.cpp if( depth == CV_64F ) depth 949 modules/imgproc/src/morph.cpp int depth = CV_MAT_DEPTH(type); depth 954 modules/imgproc/src/morph.cpp if( depth == CV_8U ) depth 956 modules/imgproc/src/morph.cpp if( depth == CV_16U ) depth 958 modules/imgproc/src/morph.cpp if( depth == CV_16S ) depth 960 modules/imgproc/src/morph.cpp if( depth == CV_32F ) depth 962 modules/imgproc/src/morph.cpp if( depth == CV_64F ) depth 967 modules/imgproc/src/morph.cpp if( depth == CV_8U ) depth 969 modules/imgproc/src/morph.cpp if( depth == CV_16U ) depth 971 modules/imgproc/src/morph.cpp if( depth == CV_16S ) depth 973 modules/imgproc/src/morph.cpp if( depth == CV_32F ) depth 975 modules/imgproc/src/morph.cpp if( depth == CV_64F ) depth 1008 modules/imgproc/src/morph.cpp int depth = CV_MAT_DEPTH(type); depth 1009 modules/imgproc/src/morph.cpp CV_Assert( depth == CV_8U || depth == CV_16U || depth == CV_16S || depth 1010 modules/imgproc/src/morph.cpp depth == CV_32F || depth == CV_64F ); depth 1012 modules/imgproc/src/morph.cpp borderValue = Scalar::all( depth == CV_8U ? (double)UCHAR_MAX : depth 1013 modules/imgproc/src/morph.cpp depth == CV_16U ? (double)USHRT_MAX : depth 1014 modules/imgproc/src/morph.cpp depth == CV_16S ? (double)SHRT_MAX : depth 1015 modules/imgproc/src/morph.cpp depth == CV_32F ? (double)FLT_MAX : DBL_MAX); depth 1017 modules/imgproc/src/morph.cpp borderValue = Scalar::all( depth == CV_8U || depth == CV_16U ? depth 1019 modules/imgproc/src/morph.cpp depth == CV_16S ? (double)SHRT_MIN : depth 1020 modules/imgproc/src/morph.cpp depth == CV_32F ? (double)-FLT_MAX : -DBL_MAX); depth 1268 modules/imgproc/src/morph.cpp int type = src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 1270 modules/imgproc/src/morph.cpp if( !( depth == CV_8U || depth == CV_32F ) || !(cn == 1 || cn == 3 || cn == 4) || depth 1346 modules/imgproc/src/morph.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), esz = CV_ELEM_SIZE(type); depth 1349 modules/imgproc/src/morph.cpp if (cn > 4 || (!doubleSupport && depth == CV_64F) || depth 1365 modules/imgproc/src/morph.cpp int wdepth = depth, wtype = type; depth 1366 modules/imgproc/src/morph.cpp if (depth == CV_8U) depth 1439 modules/imgproc/src/morph.cpp pxLoadVecSize, pxLoadNumPixels, depth, depth 1443 modules/imgproc/src/morph.cpp ocl::typeToStr(type), ocl::typeToStr(depth), depth 1446 modules/imgproc/src/morph.cpp haveExtraMat ? ocl::convertTypeStr(depth, wdepth, cn, cvt[0]) : "noconvert",//to prevent overflow - src to WT depth 1447 modules/imgproc/src/morph.cpp haveExtraMat ? ocl::convertTypeStr(wdepth, depth, cn, cvt[1]) : "noconvert",//to prevent overflow - WT to dst depth 1448 modules/imgproc/src/morph.cpp ocl::typeToStr(CV_MAKE_TYPE(haveExtraMat ? wdepth : depth, pxLoadVecSize)), //PX_LOAD_FLOAT_VEC_CONV depth 1503 modules/imgproc/src/morph.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), depth 1509 modules/imgproc/src/morph.cpp if ((depth == CV_64F && !doubleSupport) || borderType != BORDER_CONSTANT) depth 1583 modules/imgproc/src/morph.cpp int wdepth = std::max(depth, CV_32F), scalarcn = cn == 3 ? 4 : cn; depth 1597 modules/imgproc/src/morph.cpp ocl::typeToStr(type), depth, cn, ocl::typeToStr(depth), depth 1598 modules/imgproc/src/morph.cpp ocl::convertTypeStr(depth, wdepth, cn, cvt[0]), depth 1599 modules/imgproc/src/morph.cpp ocl::convertTypeStr(wdepth, depth, cn, cvt[1]), depth 1600 modules/imgproc/src/morph.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, scalarcn)), depth 44 modules/imgproc/src/phasecorr.cpp int depth = src.depth(), cn = src.channels(), type = src.type(); depth 50 modules/imgproc/src/phasecorr.cpp if(src.depth() == CV_32F) depth 67 modules/imgproc/src/phasecorr.cpp if( depth == CV_32F ) depth 160 modules/imgproc/src/phasecorr.cpp int depth = srcA.depth(), cn = srcA.channels(), type = srcA.type(); depth 180 modules/imgproc/src/phasecorr.cpp if( depth == CV_32F ) depth 588 modules/imgproc/src/phasecorr.cpp if(dst.depth() == CV_32F) depth 1068 modules/imgproc/src/pyramids.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 1071 modules/imgproc/src/pyramids.cpp if (cn > 4 || (depth == CV_64F && !doubleSupport)) depth 1087 modules/imgproc/src/pyramids.cpp int float_depth = depth == CV_64F ? CV_64F : CV_32F; depth 1090 modules/imgproc/src/pyramids.cpp if (depth == CV_8U && float_depth == CV_32F && cn == 1 && ocl::Device::getDefault().isIntel()) depth 1099 modules/imgproc/src/pyramids.cpp ocl::convertTypeStr(float_depth, depth, cn, cvt[0]), depth 1100 modules/imgproc/src/pyramids.cpp ocl::convertTypeStr(depth, float_depth, cn, cvt[1]), depth 1101 modules/imgproc/src/pyramids.cpp doubleSupport ? " -D DOUBLE_SUPPORT" : "", ocl::typeToStr(depth), depth 1117 modules/imgproc/src/pyramids.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), channels = CV_MAT_CN(type); depth 1123 modules/imgproc/src/pyramids.cpp if (depth == CV_64F && !doubleSupport) depth 1135 modules/imgproc/src/pyramids.cpp int float_depth = depth == CV_64F ? CV_64F : CV_32F; depth 1142 modules/imgproc/src/pyramids.cpp ocl::convertTypeStr(float_depth, depth, channels, cvt[0]), depth 1143 modules/imgproc/src/pyramids.cpp ocl::convertTypeStr(depth, float_depth, channels, cvt[1]), depth 1145 modules/imgproc/src/pyramids.cpp ocl::typeToStr(depth), channels, local_size depth 1180 modules/imgproc/src/pyramids.cpp int depth = src.depth(); depth 1207 modules/imgproc/src/pyramids.cpp IppDataType dataType = depth == CV_8U ? ipp8u : ipp32f; depth 1230 modules/imgproc/src/pyramids.cpp if( depth == CV_8U ) depth 1232 modules/imgproc/src/pyramids.cpp else if( depth == CV_16S ) depth 1234 modules/imgproc/src/pyramids.cpp else if( depth == CV_16U ) depth 1236 modules/imgproc/src/pyramids.cpp else if( depth == CV_32F ) depth 1238 modules/imgproc/src/pyramids.cpp else if( depth == CV_64F ) depth 1257 modules/imgproc/src/pyramids.cpp int depth = src.depth(); depth 1284 modules/imgproc/src/pyramids.cpp IppDataType dataType = depth == CV_8U ? ipp8u : ipp32f; depth 1307 modules/imgproc/src/pyramids.cpp if( depth == CV_8U ) depth 1309 modules/imgproc/src/pyramids.cpp else if( depth == CV_16S ) depth 1311 modules/imgproc/src/pyramids.cpp else if( depth == CV_16U ) depth 1313 modules/imgproc/src/pyramids.cpp else if( depth == CV_32F ) depth 1315 modules/imgproc/src/pyramids.cpp else if( depth == CV_64F ) depth 1355 modules/imgproc/src/pyramids.cpp int depth = src.depth(); depth 1394 modules/imgproc/src/pyramids.cpp void* kernel = depth >= CV_32F ? (void*) fKernel : (void*) iKernel; depth 351 modules/imgproc/src/rotcalipers.cpp if( hull.depth() != CV_32F ) depth 369 modules/imgproc/src/samplers.cpp int depth = image.depth(), cn = image.channels(); depth 370 modules/imgproc/src/samplers.cpp int ddepth = patchType < 0 ? depth : CV_MAT_DEPTH(patchType); depth 408 modules/imgproc/src/samplers.cpp if( depth == CV_8U && ddepth == CV_8U ) depth 411 modules/imgproc/src/samplers.cpp else if( depth == CV_8U && ddepth == CV_32F ) depth 414 modules/imgproc/src/samplers.cpp else if( depth == CV_32F && ddepth == CV_32F ) depth 450 modules/imgproc/src/samplers.cpp if( src.depth() == CV_8U && dst.depth() == CV_32F ) depth 456 modules/imgproc/src/samplers.cpp CV_Assert( src.depth() == dst.depth() ); depth 203 modules/imgproc/src/shapedescr.cpp int depth = points.depth(); depth 206 modules/imgproc/src/shapedescr.cpp CV_Assert(count >= 0 && (depth == CV_32F || depth == CV_32S)); depth 214 modules/imgproc/src/shapedescr.cpp bool is_float = depth == CV_32F; depth 300 modules/imgproc/src/shapedescr.cpp int depth = curve.depth(); depth 301 modules/imgproc/src/shapedescr.cpp CV_Assert( count >= 0 && (depth == CV_32F || depth == CV_32S)); depth 311 modules/imgproc/src/shapedescr.cpp bool is_float = depth == CV_32F; depth 342 modules/imgproc/src/shapedescr.cpp int depth = contour.depth(); depth 343 modules/imgproc/src/shapedescr.cpp CV_Assert(npoints >= 0 && (depth == CV_32F || depth == CV_32S)); depth 349 modules/imgproc/src/shapedescr.cpp bool is_float = depth == CV_32F; depth 373 modules/imgproc/src/shapedescr.cpp int depth = points.depth(); depth 374 modules/imgproc/src/shapedescr.cpp CV_Assert( n >= 0 && (depth == CV_32F || depth == CV_32S)); depth 385 modules/imgproc/src/shapedescr.cpp bool is_float = depth == CV_32F; depth 486 modules/imgproc/src/shapedescr.cpp int depth = points.depth(); depth 487 modules/imgproc/src/shapedescr.cpp CV_Assert(npoints >= 0 && (depth == CV_32F || depth == CV_32S)); depth 490 modules/imgproc/src/shapedescr.cpp bool is_float = depth == CV_32F; depth 605 modules/imgproc/src/shapedescr.cpp CV_Assert( img.depth() <= CV_8S && img.channels() == 1 ); depth 701 modules/imgproc/src/shapedescr.cpp return m.depth() <= CV_8U ? maskBoundingRect(m) : pointSetBoundingRect(m); depth 1592 modules/imgproc/src/smooth.cpp int depth = CV_MAT_DEPTH(type); depth 1598 modules/imgproc/src/smooth.cpp ksize.width = cvRound(sigma1*(depth == CV_8U ? 3 : 4)*2 + 1)|1; depth 1600 modules/imgproc/src/smooth.cpp ksize.height = cvRound(sigma2*(depth == CV_8U ? 3 : 4)*2 + 1)|1; depth 1608 modules/imgproc/src/smooth.cpp kx = getGaussianKernel( ksize.width, sigma1, std::max(depth, CV_32F) ); depth 1612 modules/imgproc/src/smooth.cpp ky = getGaussianKernel( ksize.height, sigma2, std::max(depth, CV_32F) ); depth 1660 modules/imgproc/src/smooth.cpp int depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 1662 modules/imgproc/src/smooth.cpp if ((depth == CV_8U || depth == CV_16U || depth == CV_16S || depth == CV_32F) && (cn == 1 || cn == 3) && depth 1670 modules/imgproc/src/smooth.cpp IppDataType dataType = ippiGetDataType(depth); depth 2586 modules/imgproc/src/smooth.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 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)) ) depth 2602 modules/imgproc/src/smooth.cpp ocl::typeToStr(depth), ocl::typeToStr(depth), cn*4, cn) depth 2604 modules/imgproc/src/smooth.cpp format("-D T=%s -D T1=%s -D cn=%d", ocl::typeToStr(type), ocl::typeToStr(depth), cn) ; depth 2707 modules/imgproc/src/smooth.cpp && src0.depth() > CV_8U depth 2719 modules/imgproc/src/smooth.cpp if( src.depth() == CV_8U ) depth 2721 modules/imgproc/src/smooth.cpp else if( src.depth() == CV_16U ) depth 2723 modules/imgproc/src/smooth.cpp else if( src.depth() == CV_16S ) depth 2725 modules/imgproc/src/smooth.cpp else if( src.depth() == CV_32F ) depth 2737 modules/imgproc/src/smooth.cpp CV_Assert( src.depth() == CV_8U && (cn == 1 || cn == 3 || cn == 4) ); depth 2974 modules/imgproc/src/smooth.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 2977 modules/imgproc/src/smooth.cpp if (depth != CV_8U || cn > 4) depth 3420 modules/imgproc/src/smooth.cpp if( src.depth() == CV_8U ) depth 3422 modules/imgproc/src/smooth.cpp else if( src.depth() == CV_32F ) depth 3444 modules/imgproc/src/smooth.cpp cv::boxFilter( src, dst, dst.depth(), cv::Size(param1, param2), cv::Point(-1,-1), depth 430 modules/imgproc/src/sumpixels.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 432 modules/imgproc/src/sumpixels.cpp sdepth = depth == CV_8U ? CV_32S : CV_64F; depth 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 ) ) depth 505 modules/imgproc/src/sumpixels.cpp if( depth == CV_8U && sdepth == CV_32S && sqdepth == CV_64F ) depth 507 modules/imgproc/src/sumpixels.cpp else if( depth == CV_8U && sdepth == CV_32S && sqdepth == CV_32F ) depth 509 modules/imgproc/src/sumpixels.cpp else if( depth == CV_8U && sdepth == CV_32S && sqdepth == CV_32S ) depth 511 modules/imgproc/src/sumpixels.cpp else if( depth == CV_8U && sdepth == CV_32F && sqdepth == CV_64F ) depth 513 modules/imgproc/src/sumpixels.cpp else if( depth == CV_8U && sdepth == CV_32F && sqdepth == CV_32F ) depth 515 modules/imgproc/src/sumpixels.cpp else if( depth == CV_8U && sdepth == CV_64F && sqdepth == CV_64F ) depth 517 modules/imgproc/src/sumpixels.cpp else if( depth == CV_16U && sdepth == CV_64F && sqdepth == CV_64F ) depth 519 modules/imgproc/src/sumpixels.cpp else if( depth == CV_16S && sdepth == CV_64F && sqdepth == CV_64F ) depth 521 modules/imgproc/src/sumpixels.cpp else if( depth == CV_32F && sdepth == CV_32F && sqdepth == CV_64F ) depth 523 modules/imgproc/src/sumpixels.cpp else if( depth == CV_32F && sdepth == CV_32F && sqdepth == CV_32F ) depth 525 modules/imgproc/src/sumpixels.cpp else if( depth == CV_32F && sdepth == CV_64F && sqdepth == CV_64F ) depth 527 modules/imgproc/src/sumpixels.cpp else if( depth == CV_64F && sdepth == CV_64F && sqdepth == CV_64F ) depth 567 modules/imgproc/src/sumpixels.cpp ptilted ? cv::_OutputArray(*ptilted) : cv::_OutputArray(), sum.depth() ); depth 61 modules/imgproc/src/templmatch.cpp int depth = _image.depth(); depth 67 modules/imgproc/src/templmatch.cpp ocl::typeToStr(depth), cn, pxPerWIy)); depth 81 modules/imgproc/src/templmatch.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 93 modules/imgproc/src/templmatch.cpp ocl::typeToStr(type), ocl::typeToStr(depth), ocl::typeToStr(wtype), cn, depth 94 modules/imgproc/src/templmatch.cpp ocl::convertTypeStr(depth, wdepth, cn, cvt), depth 256 modules/imgproc/src/templmatch.cpp int type = _image.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 267 modules/imgproc/src/templmatch.cpp type = CV_MAKE_TYPE(depth, rated_cn); depth 273 modules/imgproc/src/templmatch.cpp const char* convertToWT1 = ocl::convertTypeStr(depth, wdepth, cn, cvt); depth 274 modules/imgproc/src/templmatch.cpp const char* convertToWT = ocl::convertTypeStr(depth, wdepth, rated_cn, cvt1); depth 277 modules/imgproc/src/templmatch.cpp format("-D CCORR -D T=%s -D T1=%s -D WT=%s -D WT1=%s -D convertToWT=%s -D convertToWT1=%s -D cn=%d -D PIX_PER_WI_X=%d", ocl::typeToStr(type), ocl::typeToStr(depth), ocl::typeToStr(wtype1), ocl::typeToStr(wtype), depth 300 modules/imgproc/src/templmatch.cpp if(_image.depth() == CV_8U) depth 349 modules/imgproc/src/templmatch.cpp int type = _image.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 354 modules/imgproc/src/templmatch.cpp format("-D SQDIFF -D T=%s -D T1=%s -D WT=%s -D convertToWT=%s -D cn=%d", ocl::typeToStr(type), ocl::typeToStr(depth), depth 355 modules/imgproc/src/templmatch.cpp ocl::typeToStr(wtype), ocl::convertTypeStr(depth, wdepth, cn, cvt), cn)); depth 444 modules/imgproc/src/templmatch.cpp int type = image_sums.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 447 modules/imgproc/src/templmatch.cpp format("-D CCOEFF -D T=%s -D T1=%s -D cn=%d", ocl::typeToStr(type), ocl::typeToStr(depth), cn)); depth 479 modules/imgproc/src/templmatch.cpp int type = image_sums.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 482 modules/imgproc/src/templmatch.cpp format("-D CCOEFF_NORMED -D T=%s -D T1=%s -D cn=%d", ocl::typeToStr(type), ocl::typeToStr(depth), cn)); depth 577 modules/imgproc/src/templmatch.cpp int depth = src.depth(); depth 580 modules/imgproc/src/templmatch.cpp depth==CV_8U ? (ippimatchTemplate)ippiCrossCorrNorm_8u32f_C1R: depth 581 modules/imgproc/src/templmatch.cpp depth==CV_32F? (ippimatchTemplate)ippiCrossCorrNorm_32f_C1R: 0; depth 610 modules/imgproc/src/templmatch.cpp int depth = src.depth(); depth 613 modules/imgproc/src/templmatch.cpp depth==CV_8U ? (ippimatchTemplate)ippiSqrDistanceNorm_8u32f_C1R: depth 614 modules/imgproc/src/templmatch.cpp depth==CV_32F? (ippimatchTemplate)ippiSqrDistanceNorm_32f_C1R: 0; depth 644 modules/imgproc/src/templmatch.cpp int depth = img.depth(), cn = img.channels(); depth 645 modules/imgproc/src/templmatch.cpp int tdepth = templ.depth(), tcn = templ.channels(); depth 650 modules/imgproc/src/templmatch.cpp if( depth != tdepth && tdepth != std::max(CV_32F, depth) ) depth 652 modules/imgproc/src/templmatch.cpp _templ.convertTo(templ, std::max(CV_32F, depth)); depth 653 modules/imgproc/src/templmatch.cpp tdepth = templ.depth(); depth 656 modules/imgproc/src/templmatch.cpp CV_Assert( depth == tdepth || tdepth == CV_32F); depth 664 modules/imgproc/src/templmatch.cpp int maxDepth = depth > CV_8S ? CV_64F : std::max(std::max(CV_32F, tdepth), cdepth); depth 692 modules/imgproc/src/templmatch.cpp if( cn > 1 && depth != maxDepth ) depth 694 modules/imgproc/src/templmatch.cpp (blocksize.height + templ.rows - 1)*CV_ELEM_SIZE(depth)); depth 717 modules/imgproc/src/templmatch.cpp src.convertTo(dst1, dst1.depth()); depth 768 modules/imgproc/src/templmatch.cpp src = depth == maxDepth ? dst1 : Mat(y2-y1, x2-x1, depth, &buf[0]); depth 774 modules/imgproc/src/templmatch.cpp src.convertTo(dst1, dst1.depth()); depth 820 modules/imgproc/src/templmatch.cpp int type = _img.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 822 modules/imgproc/src/templmatch.cpp CV_Assert( (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 ); depth 828 modules/imgproc/src/templmatch.cpp if (depth == CV_8U) depth 830 modules/imgproc/src/templmatch.cpp depth = CV_32F; depth 908 modules/imgproc/src/templmatch.cpp int type = _img.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 910 modules/imgproc/src/templmatch.cpp CV_Assert( (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 ); depth 1114 modules/imgproc/src/thresh.cpp if (srcStripe.depth() == CV_8U) depth 1118 modules/imgproc/src/thresh.cpp else if( srcStripe.depth() == CV_16S ) depth 1122 modules/imgproc/src/thresh.cpp else if( srcStripe.depth() == CV_32F ) depth 1141 modules/imgproc/src/thresh.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), depth 1142 modules/imgproc/src/thresh.cpp kercn = ocl::predictOptimalVectorWidth(_src, _dst), ktype = CV_MAKE_TYPE(depth, kercn); depth 1147 modules/imgproc/src/thresh.cpp (!doubleSupport && depth == CV_64F)) depth 1157 modules/imgproc/src/thresh.cpp ocl::typeToStr(ktype), ocl::typeToStr(depth), stride_size, depth 1166 modules/imgproc/src/thresh.cpp if (depth <= CV_32S) depth 1170 modules/imgproc/src/thresh.cpp double min_val = min_vals[depth]; depth 1173 modules/imgproc/src/thresh.cpp ocl::KernelArg::Constant(Mat(1, 1, depth, Scalar::all(thresh))), depth 1174 modules/imgproc/src/thresh.cpp ocl::KernelArg::Constant(Mat(1, 1, depth, Scalar::all(maxval))), depth 1175 modules/imgproc/src/thresh.cpp ocl::KernelArg::Constant(Mat(1, 1, depth, Scalar::all(min_val)))); depth 1210 modules/imgproc/src/thresh.cpp if( src.depth() == CV_8U ) depth 1237 modules/imgproc/src/thresh.cpp else if( src.depth() == CV_16S ) depth 1264 modules/imgproc/src/thresh.cpp else if( src.depth() == CV_32F ) depth 1343 modules/imgproc/src/thresh.cpp (src.depth() == dst.depth() || dst.depth() == CV_8U)); depth 1347 modules/imgproc/src/thresh.cpp dst.convertTo( dst0, dst0.depth() ); depth 400 modules/imgproc/src/undistort.cpp CV_Assert( src.isContinuous() && (src.depth() == CV_32F || src.depth() == CV_64F) && depth 57 modules/imgproc/test/ocl/test_blend.cpp int depth, channels; depth 68 modules/imgproc/test/ocl/test_blend.cpp depth = GET_PARAM(0); depth 75 modules/imgproc/test/ocl/test_blend.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 120 modules/imgproc/test/ocl/test_blend.cpp Near(depth <= CV_32S ? 1.0 : 0.5); depth 59 modules/imgproc/test/ocl/test_boxfilter.cpp int depth, cn, borderType; depth 69 modules/imgproc/test/ocl/test_boxfilter.cpp depth = GET_PARAM(0); depth 78 modules/imgproc/test/ocl/test_boxfilter.cpp int type = CV_MAKE_TYPE(depth, cn); depth 112 modules/imgproc/test/ocl/test_boxfilter.cpp Near(depth <= CV_32S ? 1 : 3e-3); depth 124 modules/imgproc/test/ocl/test_boxfilter.cpp int ddepth = depth == CV_8U ? CV_32S : CV_64F; depth 129 modules/imgproc/test/ocl/test_boxfilter.cpp Near(depth <= CV_32S ? 1 : 7e-2); depth 59 modules/imgproc/test/ocl/test_color.cpp int depth; depth 67 modules/imgproc/test/ocl/test_color.cpp depth = GET_PARAM(0); depth 73 modules/imgproc/test/ocl/test_color.cpp const int srcType = CV_MAKE_TYPE(depth, channelsIn); depth 74 modules/imgproc/test/ocl/test_color.cpp const int dstType = CV_MAKE_TYPE(depth, channelsOut); depth 159 modules/imgproc/test/ocl/test_color.cpp #define IPP_EPS depth <= CV_32S ? 1 : 5e-5 depth 179 modules/imgproc/test/ocl/test_color.cpp #define IPP_EPS depth <= CV_32S ? 1 : 4e-5 depth 198 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, HSV2RGB) { performTest(3, 3, CVTCODE(HSV2RGB), depth == CV_8U ? 1 : 4e-1); } depth 199 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, HSV2BGR) { performTest(3, 3, CVTCODE(HSV2BGR), depth == CV_8U ? 1 : 4e-1); } depth 200 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, HSV2RGBA) { performTest(3, 4, CVTCODE(HSV2RGB), depth == CV_8U ? 1 : 4e-1); } depth 201 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, HSV2BGRA) { performTest(3, 4, CVTCODE(HSV2BGR), depth == CV_8U ? 1 : 4e-1); } depth 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); } depth 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); } depth 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); } depth 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); } depth 211 modules/imgproc/test/ocl/test_color.cpp #define IPP_EPS depth == CV_8U ? 2 : 1e-3 depth 213 modules/imgproc/test/ocl/test_color.cpp #define IPP_EPS depth == CV_8U ? 1 : 1e-3 depth 216 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, RGB2HLS) { performTest(3, 3, CVTCODE(RGB2HLS), depth == CV_8U ? 1 : 1e-3); } depth 217 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, BGR2HLS) { performTest(3, 3, CVTCODE(BGR2HLS), depth == CV_8U ? 1 : 1e-3); } depth 218 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, RGBA2HLS) { performTest(4, 3, CVTCODE(RGB2HLS), depth == CV_8U ? 1 : 1e-3); } depth 219 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, BGRA2HLS) { performTest(4, 3, CVTCODE(BGR2HLS), depth == CV_8U ? 1 : 1e-3); } depth 273 modules/imgproc/test/ocl/test_color.cpp #define IPP_EPS depth <= CV_32S ? 1 : 1e-3 depth 294 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Lab2BGR) { performTest(3, 3, CVTCODE(Lab2BGR), depth == CV_8U ? 1 : 1e-5); } depth 295 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Lab2RGB) { performTest(3, 3, CVTCODE(Lab2RGB), depth == CV_8U ? 1 : 1e-5); } depth 296 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Lab2LBGR) { performTest(3, 3, CVTCODE(Lab2LBGR), depth == CV_8U ? 1 : 1e-5); } depth 297 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Lab2LRGB) { performTest(3, 3, CVTCODE(Lab2LRGB), depth == CV_8U ? 1 : 1e-5); } depth 298 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Lab2BGRA) { performTest(3, 4, CVTCODE(Lab2BGR), depth == CV_8U ? 1 : 1e-5); } depth 299 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Lab2RGBA) { performTest(3, 4, CVTCODE(Lab2RGB), depth == CV_8U ? 1 : 1e-5); } depth 300 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Lab2LBGRA) { performTest(3, 4, CVTCODE(Lab2LBGR), depth == CV_8U ? 1 : 1e-5); } depth 301 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Lab2LRGBA) { performTest(3, 4, CVTCODE(Lab2LRGB), depth == CV_8U ? 1 : 1e-5); } depth 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); } depth 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); } depth 307 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, LBGR2Luv) { performTest(3, 3, CVTCODE(LBGR2Luv), depth == CV_8U ? 1 : 6e-3); } depth 308 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, LRGB2Luv) { performTest(3, 3, CVTCODE(LRGB2Luv), depth == CV_8U ? 1 : 6e-3); } depth 309 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, BGRA2Luv) { performTest(4, 3, CVTCODE(BGR2Luv), depth == CV_8U ? 1 : 2e-2); } depth 310 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, RGBA2Luv) { performTest(4, 3, CVTCODE(RGB2Luv), depth == CV_8U ? 1 : 2e-2); } depth 311 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, LBGRA2Luv) { performTest(4, 3, CVTCODE(LBGR2Luv), depth == CV_8U ? 1 : 6e-3); } depth 312 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, LRGBA2Luv) { performTest(4, 3, CVTCODE(LRGB2Luv), depth == CV_8U ? 1 : 6e-3); } depth 314 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Luv2BGR) { performTest(3, 3, CVTCODE(Luv2BGR), depth == CV_8U ? 1 : 7e-5); } depth 315 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Luv2RGB) { performTest(3, 3, CVTCODE(Luv2RGB), depth == CV_8U ? 1 : 7e-5); } depth 316 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Luv2LBGR) { performTest(3, 3, CVTCODE(Luv2LBGR), depth == CV_8U ? 1 : 1e-5); } depth 317 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Luv2LRGB) { performTest(3, 3, CVTCODE(Luv2LRGB), depth == CV_8U ? 1 : 1e-5); } depth 318 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Luv2BGRA) { performTest(3, 4, CVTCODE(Luv2BGR), depth == CV_8U ? 1 : 7e-5); } depth 319 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Luv2RGBA) { performTest(3, 4, CVTCODE(Luv2RGB), depth == CV_8U ? 1 : 7e-5); } depth 320 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Luv2LBGRA) { performTest(3, 4, CVTCODE(Luv2LBGR), depth == CV_8U ? 1 : 1e-5); } depth 321 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor8u32f, Luv2LRGBA) { performTest(3, 4, CVTCODE(Luv2LRGB), depth == CV_8U ? 1 : 1e-5); } depth 330 modules/imgproc/test/ocl/test_color.cpp const int srcType = CV_MAKE_TYPE(depth, channelsIn); depth 331 modules/imgproc/test/ocl/test_color.cpp const int dstType = CV_MAKE_TYPE(depth, channelsOut); depth 372 modules/imgproc/test/ocl/test_color.cpp const int srcType = CV_MAKE_TYPE(depth, channelsIn); depth 373 modules/imgproc/test/ocl/test_color.cpp const int dstType = CV_MAKE_TYPE(depth, channelsOut); depth 406 modules/imgproc/test/ocl/test_color.cpp const int srcType = CV_MAKE_TYPE(depth, channelsIn); depth 407 modules/imgproc/test/ocl/test_color.cpp const int dstType = CV_MAKE_TYPE(depth, channelsOut); depth 109 modules/imgproc/test/ocl/test_filters.cpp int depth = CV_MAT_DEPTH(type); depth 110 modules/imgproc/test/ocl/test_filters.cpp bool isFP = depth >= CV_32F; depth 319 modules/imgproc/test/ocl/test_filters.cpp int depth = CV_MAT_DEPTH(type); depth 320 modules/imgproc/test/ocl/test_filters.cpp bool isFP = depth >= CV_32F; depth 68 modules/imgproc/test/ocl/test_histogram.cpp int depth, N; depth 85 modules/imgproc/test/ocl/test_histogram.cpp depth = GET_PARAM(0); depth 110 modules/imgproc/test/ocl/test_histogram.cpp randomSubMat(images[i], images_roi[i], roiSize, srcBorder, CV_MAKE_TYPE(depth, cn), 0, 125); depth 134 modules/imgproc/test/ocl/test_histogram.cpp randomSubMat(dst, dst_roi, roiSize, dstBorder, CV_MAKE_TYPE(depth, 1), 5, 16); depth 61 modules/imgproc/test/ocl/test_match_template.cpp int depth; depth 72 modules/imgproc/test/ocl/test_match_template.cpp depth = GET_PARAM(0); depth 57 modules/imgproc/test/ocl/test_pyramids.cpp int depth, channels, borderType; depth 65 modules/imgproc/test/ocl/test_pyramids.cpp depth = GET_PARAM(0); depth 74 modules/imgproc/test/ocl/test_pyramids.cpp randomSubMat(src, src_roi, src_roiSize, srcBorder, CV_MAKETYPE(depth, channels), -MAX_VALUE, MAX_VALUE); depth 77 modules/imgproc/test/ocl/test_pyramids.cpp randomSubMat(dst, dst_roi, dst_roiSize, dstBorder, CV_MAKETYPE(depth, channels), -MAX_VALUE, MAX_VALUE); depth 106 modules/imgproc/test/ocl/test_pyramids.cpp Near(depth == CV_32F ? 1e-4f : 1.0f); depth 133 modules/imgproc/test/ocl/test_pyramids.cpp Near(depth == CV_32F ? 1e-4f : 1.0f); depth 75 modules/imgproc/test/ocl/test_warp.cpp int depth; depth 86 modules/imgproc/test/ocl/test_warp.cpp depth = CV_MAT_DEPTH(type); depth 109 modules/imgproc/test/ocl/test_warp.cpp if (depth < CV_32F) depth 124 modules/imgproc/test/ocl/test_warp.cpp double eps = depth < CV_32F ? 0.04 : 0.06; depth 145 modules/imgproc/test/ocl/test_warp.cpp double eps = depth < CV_32F ? 0.03 : 0.06; depth 224 modules/imgproc/test/ocl/test_warp.cpp int depth = CV_MAT_DEPTH(type); depth 225 modules/imgproc/test/ocl/test_warp.cpp double eps = depth <= CV_32S ? 1 : 5e-2; depth 257 modules/imgproc/test/test_bilateral_filter.cpp if (_src.depth() == CV_32F) depth 112 modules/imgproc/test/test_color.cpp int depth = CV_MAT_DEPTH(type); depth 114 modules/imgproc/test/test_color.cpp high = Scalar::all( depth == CV_8U ? 256 : depth == CV_16U ? 65536 : 1. ); depth 123 modules/imgproc/test/test_color.cpp int depth, cn; depth 128 modules/imgproc/test/test_color.cpp depth = cvtest::randInt(rng) % 3; depth 129 modules/imgproc/test/test_color.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_16U : CV_32F; depth 133 modules/imgproc/test/test_color.cpp depth = cvtest::randInt(rng) % 2; depth 134 modules/imgproc/test/test_color.cpp depth = depth == 0 ? CV_8U : allow_16u ? CV_16U : CV_32F; depth 137 modules/imgproc/test/test_color.cpp depth = CV_8U; depth 142 modules/imgproc/test/test_color.cpp types[INPUT][0] = CV_MAKETYPE(depth, cn); depth 143 modules/imgproc/test/test_color.cpp types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, 3); depth 145 modules/imgproc/test/test_color.cpp types[OUTPUT][1] = types[REF_OUTPUT][1] = CV_MAKETYPE(depth, cn); depth 187 modules/imgproc/test/test_color.cpp int depth = test_mat[REF_OUTPUT][0].depth(); depth 188 modules/imgproc/test/test_color.cpp if( depth == CV_8U && hue_range ) depth 209 modules/imgproc/test/test_color.cpp int depth = src.depth(); depth 222 modules/imgproc/test/test_color.cpp switch( depth ) depth 304 modules/imgproc/test/test_color.cpp int depth = src.depth(); depth 317 modules/imgproc/test/test_color.cpp switch( depth ) depth 464 modules/imgproc/test/test_color.cpp int depth = test_mat[i][j].depth(); depth 465 modules/imgproc/test/test_color.cpp return depth == CV_8U ? 2 : depth == CV_16U ? 16 : 1e-5; depth 471 modules/imgproc/test/test_color.cpp int depth = test_mat[INPUT][0].depth(); depth 472 modules/imgproc/test/test_color.cpp double scale = depth == CV_8U ? 255 : depth == CV_16U ? 65535 : 1; depth 485 modules/imgproc/test/test_color.cpp int j, depth = test_mat[INPUT][0].depth(); depth 486 modules/imgproc/test/test_color.cpp float scale = depth == CV_8U ? (1.f/255) : depth == CV_16U ? 1.f/65535 : 1.f; depth 524 modules/imgproc/test/test_color.cpp int depth = test_mat[i][j].depth(); depth 525 modules/imgproc/test/test_color.cpp return depth == CV_8U ? 2 : depth == CV_16U ? 32 : 1e-3; depth 531 modules/imgproc/test/test_color.cpp int depth = test_mat[INPUT][0].depth(); depth 532 modules/imgproc/test/test_color.cpp double scale = depth == CV_8U ? 255 : depth == CV_16U ? 65535 : 1; depth 533 modules/imgproc/test/test_color.cpp double bias = depth == CV_8U ? 128 : depth == CV_16U ? 32768 : 0.5; depth 559 modules/imgproc/test/test_color.cpp int depth = test_mat[INPUT][0].depth(); depth 560 modules/imgproc/test/test_color.cpp double bias = depth == CV_8U ? 128 : depth == CV_16U ? 32768 : 0.5; depth 561 modules/imgproc/test/test_color.cpp double scale = depth == CV_8U ? 1./255 : depth == CV_16U ? 1./65535 : 1; depth 631 modules/imgproc/test/test_color.cpp int depth = test_mat[i][j].depth(); depth 632 modules/imgproc/test/test_color.cpp return depth == CV_8U ? (j == 0 ? 4 : 16) : depth == CV_16U ? 32 : 1e-3; depth 638 modules/imgproc/test/test_color.cpp int depth = test_mat[INPUT][0].depth(); depth 639 modules/imgproc/test/test_color.cpp float h_scale = depth == CV_8U ? hue_range*30.f/180 : 60.f; depth 640 modules/imgproc/test/test_color.cpp float scale = depth == CV_8U ? 255.f : depth == CV_16U ? 65535.f : 1.f; depth 677 modules/imgproc/test/test_color.cpp int depth = test_mat[INPUT][0].depth(); depth 678 modules/imgproc/test/test_color.cpp float h_scale = depth == CV_8U ? 180/(hue_range*30.f) : 1.f/60; depth 679 modules/imgproc/test/test_color.cpp float scale = depth == CV_8U ? 1.f/255 : depth == CV_16U ? 1.f/65535 : 1; depth 756 modules/imgproc/test/test_color.cpp int depth = test_mat[i][j].depth(); depth 757 modules/imgproc/test/test_color.cpp return depth == CV_8U ? (j == 0 ? 4 : 16) : depth == CV_16U ? 32 : 1e-4; depth 763 modules/imgproc/test/test_color.cpp int depth = test_mat[INPUT][0].depth(); depth 764 modules/imgproc/test/test_color.cpp float h_scale = depth == CV_8U ? 30.f : 60.f; depth 765 modules/imgproc/test/test_color.cpp float scale = depth == CV_8U ? 255.f : depth == CV_16U ? 65535.f : 1.f; depth 804 modules/imgproc/test/test_color.cpp int depth = test_mat[INPUT][0].depth(); depth 805 modules/imgproc/test/test_color.cpp float h_scale = depth == CV_8U ? 1.f/30 : 1.f/60; depth 806 modules/imgproc/test/test_color.cpp float scale = depth == CV_8U ? 1.f/255 : depth == CV_16U ? 1.f/65535 : 1; depth 921 modules/imgproc/test/test_color.cpp int depth = test_mat[i][j].depth(); depth 922 modules/imgproc/test/test_color.cpp return depth == CV_8U ? (j == 0 ? 2 : 8) : depth == CV_16U ? (j == 0 ? 64 : 128) : 1e-1; depth 928 modules/imgproc/test/test_color.cpp int depth = test_mat[INPUT][0].depth(); depth 929 modules/imgproc/test/test_color.cpp double scale = depth == CV_8U ? 255 : depth == CV_16U ? 65535 : 1; depth 953 modules/imgproc/test/test_color.cpp int depth = test_mat[INPUT][0].depth(); depth 954 modules/imgproc/test/test_color.cpp double scale = depth == CV_8U ? 1./255 : depth == CV_16U ? 1./65535 : 1; depth 1008 modules/imgproc/test/test_color.cpp int depth = test_mat[i][j].depth(); depth 1009 modules/imgproc/test/test_color.cpp return depth == CV_8U ? 16 : depth == CV_16U ? 32 : 1e-3; depth 1019 modules/imgproc/test/test_color.cpp int depth = test_mat[INPUT][0].depth(); depth 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; depth 1021 modules/imgproc/test/test_color.cpp float ab_bias = depth == CV_8U ? 128.f : depth == CV_16U ? 32768.f : 0.f; depth 1064 modules/imgproc/test/test_color.cpp int depth = test_mat[INPUT][0].depth(); depth 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; depth 1066 modules/imgproc/test/test_color.cpp float ab_bias = depth == CV_8U ? 128.f : depth == CV_16U ? 32768.f : 0.f; depth 1149 modules/imgproc/test/test_color.cpp int depth = test_mat[i][j].depth(); depth 1150 modules/imgproc/test/test_color.cpp return depth == CV_8U ? 48 : depth == CV_16U ? 32 : 5e-2; depth 1156 modules/imgproc/test/test_color.cpp int depth = test_mat[INPUT][0].depth(); depth 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; depth 1169 modules/imgproc/test/test_color.cpp if( depth == CV_8U ) depth 1210 modules/imgproc/test/test_color.cpp int depth = test_mat[INPUT][0].depth(); depth 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; depth 1222 modules/imgproc/test/test_color.cpp if( depth == CV_8U ) depth 1341 modules/imgproc/test/test_color.cpp int depth = src.depth(), cn = src.channels(); depth 1353 modules/imgproc/test/test_color.cpp switch( depth ) depth 1427 modules/imgproc/test/test_color.cpp int depth = src.depth(), cn = dst.channels(); depth 1439 modules/imgproc/test/test_color.cpp switch( depth ) depth 1666 modules/imgproc/test/test_color.cpp int depth = src.depth(); depth 1667 modules/imgproc/test/test_color.cpp if( depth == CV_8U ) depth 1669 modules/imgproc/test/test_color.cpp else if( depth == CV_16U ) depth 1739 modules/imgproc/test/test_color.cpp template <typename T, int depth> depth 1744 modules/imgproc/test/test_color.cpp bayer.create(ssize, CV_MAKETYPE(depth, scn)); depth 1836 modules/imgproc/test/test_color.cpp if (reference.depth() != dst.depth() || reference.channels() != dst.channels() || depth 1844 modules/imgproc/test/test_color.cpp "Actual depth: %d\n", reference.depth(), dst.depth()); depth 1957 modules/imgproc/test/test_color.cpp dst.create(src.size(), CV_MAKETYPE(src.depth(), 3)); depth 2053 modules/imgproc/test/test_color.cpp EXPECT_EQ(actual.depth(), reference.depth()); depth 2150 modules/imgproc/test/test_color.cpp CV_Assert(raw.depth() == CV_8U); depth 2162 modules/imgproc/test/test_color.cpp EXPECT_EQ(reference.depth(), actual.depth()); depth 155 modules/imgproc/test/test_contours.cpp assert( img->depth == IPL_DEPTH_8U && img->nChannels == 1 ); depth 191 modules/imgproc/test/test_contours.cpp assert( img->depth == IPL_DEPTH_8U && img->nChannels == 1 && (val&1) != 0); depth 132 modules/imgproc/test/test_filter.cpp int depth = cvtest::randInt(rng) % CV_32F; depth 135 modules/imgproc/test/test_filter.cpp depth += depth == CV_8S; depth 138 modules/imgproc/test/test_filter.cpp types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, cn); depth 198 modules/imgproc/test/test_filter.cpp int depth = cvtest::randInt(rng) % 4; depth 199 modules/imgproc/test/test_filter.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_16U : depth == 2 ? CV_16S : CV_32F; depth 202 modules/imgproc/test/test_filter.cpp types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, cn); depth 214 modules/imgproc/test/test_filter.cpp return test_mat[INPUT][0].depth() < CV_32F || depth 407 modules/imgproc/test/test_filter.cpp int depth = cvtest::randInt(rng)%3; depth 409 modules/imgproc/test/test_filter.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_16U : CV_32F; depth 410 modules/imgproc/test/test_filter.cpp types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, cn); depth 416 modules/imgproc/test/test_filter.cpp int depth = test_mat[INPUT][0].depth(); depth 417 modules/imgproc/test/test_filter.cpp return depth <= CV_8S ? 2 : depth <= CV_32S ? 32 : depth 418 modules/imgproc/test/test_filter.cpp depth == CV_32F ? 1e-4 : 1e-10; depth 461 modules/imgproc/test/test_filter.cpp int depth = cvtest::randInt(rng) % 2; depth 462 modules/imgproc/test/test_filter.cpp depth = depth == 0 ? CV_8U : CV_32F; depth 463 modules/imgproc/test/test_filter.cpp types[INPUT][0] = CV_MAKETYPE(depth,1); depth 464 modules/imgproc/test/test_filter.cpp types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth==CV_8U?CV_16S:CV_32F,1); depth 472 modules/imgproc/test/test_filter.cpp int depth = test_mat[INPUT][0].depth(); depth 473 modules/imgproc/test/test_filter.cpp return depth <= CV_8S ? 2 : 5e-4; depth 550 modules/imgproc/test/test_filter.cpp cvtest::filter2D( test_mat[INPUT][0], test_mat[REF_OUTPUT][0], test_mat[REF_OUTPUT][0].depth(), depth 611 modules/imgproc/test/test_filter.cpp cvtest::filter2D( test_mat[INPUT][0], test_mat[REF_OUTPUT][0], test_mat[REF_OUTPUT][0].depth(), depth 641 modules/imgproc/test/test_filter.cpp int depth = cvtest::randInt(rng) % 2; depth 643 modules/imgproc/test/test_filter.cpp depth = depth == 0 ? CV_8U : CV_32F; depth 644 modules/imgproc/test/test_filter.cpp types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth,cn); depth 655 modules/imgproc/test/test_filter.cpp int depth = test_mat[INPUT][0].depth(); depth 656 modules/imgproc/test/test_filter.cpp return depth <= CV_8S ? 1 : 1e-5; depth 686 modules/imgproc/test/test_filter.cpp int depth = cvtest::randInt(rng) % 4; depth 688 modules/imgproc/test/test_filter.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_16U : depth == 2 ? CV_16S : CV_32F; depth 689 modules/imgproc/test/test_filter.cpp types[OUTPUT][0] = types[REF_OUTPUT][0] = types[INPUT][0] = CV_MAKETYPE(depth, cn); depth 693 modules/imgproc/test/test_filter.cpp types[INPUT][0] = CV_MAKETYPE(depth, 1); depth 694 modules/imgproc/test/test_filter.cpp types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth==CV_8U?CV_16S:CV_32F,1); depth 718 modules/imgproc/test/test_filter.cpp cvtest::filter2D( test_mat[INPUT][0], test_mat[REF_OUTPUT][0], test_mat[REF_OUTPUT][0].depth(), depth 749 modules/imgproc/test/test_filter.cpp int depth = test_mat[INPUT][0].depth(); depth 750 modules/imgproc/test/test_filter.cpp return depth <= CV_8S ? 8 : 1e-5; depth 837 modules/imgproc/test/test_filter.cpp cvtest::filter2D( test_mat[INPUT][0], test_mat[REF_OUTPUT][0], test_mat[REF_OUTPUT][0].depth(), depth 867 modules/imgproc/test/test_filter.cpp int depth = CV_8U; depth 869 modules/imgproc/test/test_filter.cpp types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth,cn); depth 870 modules/imgproc/test/test_filter.cpp types[INPUT][1] = CV_MAKETYPE(depth,1); depth 999 modules/imgproc/test/test_filter.cpp Mat src(src0.rows + m - 1, src0.cols + m - 1, src0.depth()); depth 1004 modules/imgproc/test/test_filter.cpp dst.create(src0.size(), src0.depth()); depth 1048 modules/imgproc/test/test_filter.cpp int depth = test_mat[INPUT][0].depth(); depth 1049 modules/imgproc/test/test_filter.cpp return depth < CV_32F ? 1 : 1e-5; depth 1064 modules/imgproc/test/test_filter.cpp int depth = depthes[cvtest::randInt(rng) % (sizeof(depthes)/sizeof(depthes[0]))]; depth 1070 modules/imgproc/test/test_filter.cpp types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, cn); depth 1123 modules/imgproc/test/test_filter.cpp cvtest::filter2D(src, temp, src.depth(), depth 1193 modules/imgproc/test/test_filter.cpp cvtest::filter2D(temp, dst, dst.depth(), depth 1248 modules/imgproc/test/test_filter.cpp int depth = test_mat[INPUT][0].depth(); depth 1249 modules/imgproc/test/test_filter.cpp return depth <= CV_8S ? 3e-2 : depth == CV_32F ? 1e-3 : 1e-10; depth 1269 modules/imgproc/test/test_filter.cpp int depth = cvtest::randInt(rng) % 2, asz; depth 1271 modules/imgproc/test/test_filter.cpp depth = depth == 0 ? CV_8U : CV_32F; depth 1272 modules/imgproc/test/test_filter.cpp types[INPUT][0] = depth; depth 1278 modules/imgproc/test/test_filter.cpp if( depth == CV_8U ) depth 1594 modules/imgproc/test/test_filter.cpp int depth = CV_MAT_DEPTH(type); depth 1595 modules/imgproc/test/test_filter.cpp if( depth == CV_32F ) depth 1607 modules/imgproc/test/test_filter.cpp int depth = cvtest::randInt(rng) % 2, sum_depth; depth 1612 modules/imgproc/test/test_filter.cpp depth = depth == 0 ? CV_8U : CV_32F; depth 1615 modules/imgproc/test/test_filter.cpp sum_depth = depth == CV_8U && b ? CV_32S : b ? CV_32F : CV_64F; depth 1617 modules/imgproc/test/test_filter.cpp types[INPUT][0] = CV_MAKETYPE(depth,cn); depth 1640 modules/imgproc/test/test_filter.cpp int depth = test_mat[i][j].depth(); depth 1641 modules/imgproc/test/test_filter.cpp return depth == CV_32S ? 0 : depth == CV_64F ? FLT_EPSILON : 5e-3; depth 1649 modules/imgproc/test/test_filter.cpp test_mat[OUTPUT][0].depth() < test_mat[INPUT][0].depth()) ? 0 : code; depth 1662 modules/imgproc/test/test_filter.cpp CV_Assert( img.depth() == CV_32F ); depth 1751 modules/imgproc/test/test_filter.cpp psum.convertTo(psum2, sum0->depth()); depth 1753 modules/imgproc/test/test_filter.cpp psqsum.convertTo(psqsum2, sqsum0->depth()); depth 1755 modules/imgproc/test/test_filter.cpp ptsum.convertTo(ptsum2, tsum0->depth()); depth 95 modules/imgproc/test/test_floodfill.cpp int depth, cn; depth 100 modules/imgproc/test/test_floodfill.cpp depth = cvtest::randInt(rng) % 3; depth 101 modules/imgproc/test/test_floodfill.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_32S : CV_32F; depth 110 modules/imgproc/test/test_floodfill.cpp types[INPUT_OUTPUT][0] = types[REF_INPUT_OUTPUT][0] = CV_MAKETYPE(depth, cn); depth 169 modules/imgproc/test/test_floodfill.cpp if( arr.depth() == CV_32FC1 ) depth 1228 modules/imgproc/test/test_histograms.cpp int img_depth = _images[0]->depth; depth 1412 modules/imgproc/test/test_histograms.cpp images[i] = cvCreateImage( img_size, images[0]->depth, 1 ); depth 1460 modules/imgproc/test/test_histograms.cpp int img_depth = images[0]->depth; depth 1538 modules/imgproc/test/test_histograms.cpp double threshold = a.depth() == CV_8U ? 2 : FLT_EPSILON; depth 102 modules/imgproc/test/test_imgwarp.cpp int depth = cvtest::randInt(rng) % 3; depth 105 modules/imgproc/test/test_imgwarp.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_16U : CV_32F; depth 108 modules/imgproc/test/test_imgwarp.cpp types[INPUT][0] = types[INPUT_OUTPUT][0] = types[REF_INPUT_OUTPUT][0] = CV_MAKETYPE(depth, cn); depth 127 modules/imgproc/test/test_imgwarp.cpp int type = img.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 128 modules/imgproc/test/test_imgwarp.cpp double scale = depth == CV_16U ? 1000. : 255.*0.5; depth 194 modules/imgproc/test/test_imgwarp.cpp cv::Mat dst(1, cols*cn, depth, ptr); depth 269 modules/imgproc/test/test_imgwarp.cpp int depth = test_mat[INPUT][0].depth(); depth 270 modules/imgproc/test/test_imgwarp.cpp return depth == CV_8U ? 16 : depth == CV_16U ? 1024 : 1e-1; depth 348 modules/imgproc/test/test_imgwarp.cpp int depth = src.depth(), cn = src.channels(); depth 350 modules/imgproc/test/test_imgwarp.cpp int step = (int)(src.step / CV_ELEM_SIZE(depth)); depth 398 modules/imgproc/test/test_imgwarp.cpp switch( depth ) depth 501 modules/imgproc/test/test_imgwarp.cpp int depth = test_mat[INPUT][0].depth(); depth 502 modules/imgproc/test/test_imgwarp.cpp return depth == CV_8U ? 16 : depth == CV_16U ? 1024 : 5e-2; depth 526 modules/imgproc/test/test_imgwarp.cpp getRotationMatrix2D(center, angle, scale).convertTo(mat, mat.depth()); depth 612 modules/imgproc/test/test_imgwarp.cpp int depth = test_mat[INPUT][0].depth(); depth 613 modules/imgproc/test/test_imgwarp.cpp return depth == CV_8U ? 16 : depth == CV_16U ? 1024 : 5e-2; depth 652 modules/imgproc/test/test_imgwarp.cpp cv::getPerspectiveTransform( s, d ).convertTo( mat, mat.depth() ); depth 746 modules/imgproc/test/test_imgwarp.cpp int depth = test_mat[INPUT][0].depth(); depth 747 modules/imgproc/test/test_imgwarp.cpp return depth == CV_8U ? 16 : depth == CV_16U ? 1024 : 5e-2; depth 879 modules/imgproc/test/test_imgwarp.cpp int depth = test_mat[INPUT][0].depth(); depth 880 modules/imgproc/test/test_imgwarp.cpp return depth == CV_8U ? 16 : depth == CV_16U ? 1024 : 5e-2; depth 926 modules/imgproc/test/test_imgwarp.cpp _a.convertTo(_a0, _a0.depth()); depth 929 modules/imgproc/test/test_imgwarp.cpp _k.convertTo(_k0, _k0.depth()); depth 932 modules/imgproc/test/test_imgwarp.cpp _new_cam.convertTo(_new_cam0, _new_cam0.depth()); depth 1002 modules/imgproc/test/test_imgwarp.cpp int depth = cvtest::randInt(rng)%2 ? CV_64F : CV_32F; depth 1005 modules/imgproc/test/test_imgwarp.cpp types[INPUT][0] = types[INPUT][1] = depth; depth 1069 modules/imgproc/test/test_imgwarp.cpp _a.convertTo(_a0, _a0.depth()); depth 1070 modules/imgproc/test/test_imgwarp.cpp _k.convertTo(_k0, _k0.depth()); depth 1106 modules/imgproc/test/test_imgwarp.cpp CV_Assert( src.depth() == CV_32F && src.type() == dst.type() ); depth 1214 modules/imgproc/test/test_imgwarp.cpp int in_depth = test_mat[INPUT][0].depth(); depth 1215 modules/imgproc/test/test_imgwarp.cpp int out_depth = test_mat[INPUT_OUTPUT][0].depth(); depth 1235 modules/imgproc/test/test_imgwarp.cpp if( src.depth() != CV_32F ) depth 1238 modules/imgproc/test/test_imgwarp.cpp if( dst.depth() != CV_32F ) depth 1244 modules/imgproc/test/test_imgwarp.cpp dst.convertTo(dst0, dst0.depth()); depth 1310 modules/imgproc/test/test_imgwarp.cpp int in_depth = test_mat[INPUT][0].depth(); depth 1345 modules/imgproc/test/test_imgwarp.cpp A.convertTo( mat, mat.depth() ); depth 1360 modules/imgproc/test/test_imgwarp.cpp if( src.depth() != CV_32F ) depth 1363 modules/imgproc/test/test_imgwarp.cpp if( dst.depth() != CV_32F ) depth 1372 modules/imgproc/test/test_imgwarp.cpp dst.convertTo(dst0, dst0.depth()); depth 1607 modules/imgproc/test/test_imgwarp.cpp int type = types[i], depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 1608 modules/imgproc/test/test_imgwarp.cpp const float eps = depth <= CV_32S ? 0 : 7e-5f; depth 1610 modules/imgproc/test/test_imgwarp.cpp SCOPED_TRACE(depth); depth 1618 modules/imgproc/test/test_imgwarp.cpp if (depth == CV_8U) depth 1620 modules/imgproc/test/test_imgwarp.cpp else if (depth == CV_16U) depth 1622 modules/imgproc/test/test_imgwarp.cpp else if (depth == CV_16S) depth 1624 modules/imgproc/test/test_imgwarp.cpp else if (depth == CV_32F) depth 153 modules/imgproc/test/test_imgwarp_strict.cpp int depth = rng.uniform(0, CV_64F); depth 154 modules/imgproc/test/test_imgwarp_strict.cpp while (depth == CV_8S || depth == CV_32S) depth 155 modules/imgproc/test/test_imgwarp_strict.cpp depth = rng.uniform(0, CV_64F); depth 161 modules/imgproc/test/test_imgwarp_strict.cpp src.create(ssize, CV_MAKE_TYPE(depth, cn)); depth 240 modules/imgproc/test/test_imgwarp_strict.cpp dst.convertTo(_dst, reference_dst.depth()); depth 320 modules/imgproc/test/test_imgwarp_strict.cpp if (src.depth() != CV_32F) depth 829 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(_src.depth() == CV_32F && _dst.type() == _src.type()); depth 887 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(_src.depth() == CV_32F && _dst.type() == _src.type()); depth 1021 modules/imgproc/test/test_imgwarp_strict.cpp int depth = depths[rng.uniform(0, sizeof(depths) / sizeof(depths[0]))]; depth 1022 modules/imgproc/test/test_imgwarp_strict.cpp if (M.depth() != depth) depth 1025 modules/imgproc/test/test_imgwarp_strict.cpp M.convertTo(tmp, depth); depth 1151 modules/imgproc/test/test_imgwarp_strict.cpp int depth = depths[rng.uniform(0, 2)]; depth 1152 modules/imgproc/test/test_imgwarp_strict.cpp M.clone().convertTo(M, depth); depth 1175 modules/imgproc/test/test_imgwarp_strict.cpp if (M.depth() != CV_64F) depth 89 modules/imgproc/test/test_moments.cpp int depth = CV_MAT_DEPTH(type); depth 91 modules/imgproc/test/test_moments.cpp if( depth == CV_16U ) depth 96 modules/imgproc/test/test_moments.cpp else if( depth == CV_16S ) depth 101 modules/imgproc/test/test_moments.cpp else if( depth == CV_32F ) depth 114 modules/imgproc/test/test_moments.cpp int depth = cvtest::randInt(rng) % 4; depth 115 modules/imgproc/test/test_moments.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_16U : depth == 2 ? CV_16S : CV_32F; depth 118 modules/imgproc/test/test_moments.cpp if( depth == 0 && !is_binary ) depth 128 modules/imgproc/test/test_moments.cpp depth = CV_8U; depth 134 modules/imgproc/test/test_moments.cpp types[INPUT][0] = CV_MAKETYPE(depth, cn); depth 152 modules/imgproc/test/test_moments.cpp int depth = test_mat[INPUT][0].depth(); depth 153 modules/imgproc/test/test_moments.cpp return depth != CV_32F ? FLT_EPSILON*10 : FLT_EPSILON*100; depth 208 modules/imgproc/test/test_moments.cpp int depth = src.depth(); depth 222 modules/imgproc/test/test_moments.cpp if( depth == CV_8U ) depth 224 modules/imgproc/test/test_moments.cpp else if( depth == CV_16U ) depth 226 modules/imgproc/test/test_moments.cpp else if( depth == CV_16S ) depth 268 modules/imgproc/test/test_moments.cpp if( depth == CV_8U ) depth 270 modules/imgproc/test/test_moments.cpp else if( depth == CV_16U ) depth 272 modules/imgproc/test/test_moments.cpp else if( depth == CV_16S ) depth 95 modules/imgproc/test/test_templmatch.cpp int depth = CV_MAT_DEPTH(type); depth 96 modules/imgproc/test/test_templmatch.cpp if( depth == CV_32F ) depth 108 modules/imgproc/test/test_templmatch.cpp int depth = cvtest::randInt(rng) % 2, cn = cvtest::randInt(rng) & 1 ? 3 : 1; depth 110 modules/imgproc/test/test_templmatch.cpp depth = depth == 0 ? CV_8U : CV_32F; depth 112 modules/imgproc/test/test_templmatch.cpp types[INPUT][0] = types[INPUT][1] = CV_MAKETYPE(depth,cn); depth 128 modules/imgproc/test/test_templmatch.cpp if( test_mat[INPUT][1].depth() == CV_8U || depth 151 modules/imgproc/test/test_templmatch.cpp int depth = CV_MAT_DEPTH(img->type), cn = CV_MAT_CN(img->type); depth 199 modules/imgproc/test/test_templmatch.cpp if( depth == CV_8U ) depth 78 modules/imgproc/test/test_thresh.cpp int depth = cvtest::randInt(rng) % 3, cn = cvtest::randInt(rng) % 4 + 1; depth 80 modules/imgproc/test/test_thresh.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_16S : CV_32F; depth 82 modules/imgproc/test/test_thresh.cpp types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth,cn); depth 85 modules/imgproc/test/test_thresh.cpp if( depth == CV_8U ) depth 92 modules/imgproc/test/test_thresh.cpp else if( depth == CV_16S ) depth 126 modules/imgproc/test/test_thresh.cpp int depth = _src.depth(), cn = _src.channels(); depth 131 modules/imgproc/test/test_thresh.cpp if( depth == CV_8U ) depth 136 modules/imgproc/test/test_thresh.cpp else if( depth == CV_16S ) depth 147 modules/imgproc/test/test_thresh.cpp assert( depth == CV_8U || depth == CV_16S || depth == CV_32F ); depth 154 modules/imgproc/test/test_thresh.cpp if( depth == CV_8U ) depth 161 modules/imgproc/test/test_thresh.cpp else if( depth == CV_16S ) depth 180 modules/imgproc/test/test_thresh.cpp if( depth == CV_8U ) depth 187 modules/imgproc/test/test_thresh.cpp else if( depth == CV_16S ) depth 206 modules/imgproc/test/test_thresh.cpp if( depth == CV_8U ) depth 216 modules/imgproc/test/test_thresh.cpp else if( depth == CV_16S ) depth 241 modules/imgproc/test/test_thresh.cpp if( depth == CV_8U ) depth 251 modules/imgproc/test/test_thresh.cpp else if( depth == CV_16S ) depth 276 modules/imgproc/test/test_thresh.cpp if( depth == CV_8U ) depth 286 modules/imgproc/test/test_thresh.cpp else if( depth == CV_16S ) depth 388 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java if (expected.depth() == CvType.CV_32F || expected.depth() == CvType.CV_64F) { depth 308 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jlong self, jint elemChannels, jint depth, jboolean requireContinuous); depth 311 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jlong self, jint elemChannels, jint depth, jboolean requireContinuous) depth 317 modules/java/generator/src/cpp/Mat.cpp return me->checkVector( elemChannels, depth, requireContinuous ); depth 330 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jlong self, jint elemChannels, jint depth); depth 333 modules/java/generator/src/cpp/Mat.cpp (JNIEnv* env, jclass, jlong self, jint elemChannels, jint depth) depth 339 modules/java/generator/src/cpp/Mat.cpp return me->checkVector( elemChannels, depth ); depth 731 modules/java/generator/src/cpp/Mat.cpp return me->depth( ); depth 1779 modules/java/generator/src/cpp/Mat.cpp switch(me->depth()) { depth 1793 modules/java/generator/src/cpp/Mat.cpp switch(me->depth()) { depth 1862 modules/java/generator/src/cpp/Mat.cpp if(me->depth() != CV_8U && me->depth() != CV_8S) return 0; // incompatible type depth 1889 modules/java/generator/src/cpp/Mat.cpp if(me->depth() != CV_16U && me->depth() != CV_16S) return 0; // incompatible type depth 1916 modules/java/generator/src/cpp/Mat.cpp if(me->depth() != CV_32S) return 0; // incompatible type depth 1943 modules/java/generator/src/cpp/Mat.cpp if(me->depth() != CV_32F) return 0; // incompatible type depth 2005 modules/java/generator/src/cpp/Mat.cpp if(me->depth() != CV_8U && me->depth() != CV_8S) return 0; // incompatible type depth 2032 modules/java/generator/src/cpp/Mat.cpp if(me->depth() != CV_16U && me->depth() != CV_16S) return 0; // incompatible type depth 2059 modules/java/generator/src/cpp/Mat.cpp if(me->depth() != CV_32S) return 0; // incompatible type depth 2086 modules/java/generator/src/cpp/Mat.cpp if(me->depth() != CV_32F) return 0; // incompatible type depth 2113 modules/java/generator/src/cpp/Mat.cpp if(me->depth() != CV_64F) return 0; // incompatible type depth 2146 modules/java/generator/src/cpp/Mat.cpp switch(me->depth()){ depth 418 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java if (expected.depth() == CvType.CV_32F || expected.depth() == CvType.CV_64F) { depth 90 modules/ml/src/kdtree.cpp int depth; depth 211 modules/ml/src/kdtree.cpp int depth = stack[top].depth, nidx = stack[top].nodeIdx; depth 229 modules/ml/src/kdtree.cpp _maxDepth = std::max(_maxDepth, depth); depth 258 modules/ml/src/kdtree.cpp stack[top++] = SubTree(first, middle, left, depth+1); depth 259 modules/ml/src/kdtree.cpp stack[top++] = SubTree(middle+1, last, right, depth+1); depth 215 modules/ml/src/precomp.hpp class_idx = sample_count = depth = complexity = 0; depth 233 modules/ml/src/precomp.hpp int depth; depth 332 modules/ml/src/precomp.hpp virtual void writeNode( FileStorage& fs, int nidx, int depth ) const; depth 262 modules/ml/src/tree.cpp int w_nidx = w_root, pidx = -1, depth = 0; depth 317 modules/ml/src/tree.cpp if( wnode.left >= 0 && depth+1 < maxdepth ) depth 321 modules/ml/src/tree.cpp depth++; depth 332 modules/ml/src/tree.cpp depth--; depth 358 modules/ml/src/tree.cpp node.depth = parent >= 0 ? w->wnodes[parent].depth + 1 : 0; depth 374 modules/ml/src/tree.cpp if( n <= params.getMinSampleCount() || node.depth >= params.getMaxDepth() ) depth 1626 modules/ml/src/tree.cpp void DTreesImpl::writeNode( FileStorage& fs, int nidx, int depth ) const depth 1630 modules/ml/src/tree.cpp fs << "depth" << depth; depth 1653 modules/ml/src/tree.cpp int nidx = root, pidx = 0, depth = 0; depth 1661 modules/ml/src/tree.cpp writeNode( fs, nidx, depth ); depth 1666 modules/ml/src/tree.cpp depth++; depth 1671 modules/ml/src/tree.cpp depth--; depth 1320 modules/objdetect/src/cascadedetect.cpp CV_Assert( scaleFactor > 1 && _image.depth() == CV_8U ); depth 1364 modules/objdetect/src/cascadedetect.cpp CV_Assert( scaleFactor > 1 && image.depth() == CV_8U ); depth 73 modules/photo/perf/perf_cuda.cpp const int depth = GET_PARAM(1); depth 81 modules/photo/perf/perf_cuda.cpp const int type = CV_MAKE_TYPE(depth, channels); depth 117 modules/photo/perf/perf_cuda.cpp const int depth = GET_PARAM(1); depth 122 modules/photo/perf/perf_cuda.cpp const int type = CV_MAKE_TYPE(depth, 1); depth 160 modules/photo/perf/perf_cuda.cpp const int depth = GET_PARAM(1); depth 165 modules/photo/perf/perf_cuda.cpp const int type = CV_MAKE_TYPE(depth, 3); depth 72 modules/photo/src/calibrate.cpp CV_Assert(images[0].depth() == CV_8U); depth 192 modules/photo/src/calibrate.cpp CV_Assert(images[0].depth() == CV_8U); depth 114 modules/photo/src/denoising.cpp int hn = (int)h.size(), type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 134 modules/photo/src/denoising.cpp switch (depth) { depth 146 modules/photo/src/denoising.cpp switch (depth) { depth 172 modules/photo/src/denoising.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 192 modules/photo/src/denoising.cpp Mat l(src_size, CV_MAKE_TYPE(depth, 1)); depth 193 modules/photo/src/denoising.cpp Mat ab(src_size, CV_MAKE_TYPE(depth, 2)); depth 202 modules/photo/src/denoising.cpp Mat dst_lab(src_size, CV_MAKE_TYPE(depth, 3)); depth 328 modules/photo/src/denoising.cpp int type = srcImgs[0].type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 336 modules/photo/src/denoising.cpp switch (depth) { depth 350 modules/photo/src/denoising.cpp switch (depth) { depth 391 modules/photo/src/denoising.cpp int type = srcImgs[0].type(), depth = CV_MAT_DEPTH(type); depth 409 modules/photo/src/denoising.cpp l[i] = Mat::zeros(srcImgs[0].size(), CV_MAKE_TYPE(depth, 1)); depth 410 modules/photo/src/denoising.cpp ab[i] = Mat::zeros(srcImgs[0].size(), CV_MAKE_TYPE(depth, 2)); depth 123 modules/photo/src/denoising.cuda.cpp CV_Assert(src.depth() == CV_8U && src.channels() < 4); depth 41 modules/photo/src/fast_nlmeans_denoising_opencl.hpp int depth = DataType<FT>::depth; depth 44 modules/photo/src/fast_nlmeans_denoising_opencl.hpp if (depth == CV_64F && !doubleSupport) depth 69 modules/photo/src/fast_nlmeans_denoising_opencl.hpp ocl::typeToStr(depth), ocl::typeToStr(CV_MAKE_TYPE(depth, hn)), depth 70 modules/photo/src/fast_nlmeans_denoising_opencl.hpp ocl::typeToStr(CV_32SC(hn)), ocl::convertTypeStr(depth, CV_32S, hn, buf), depth 87 modules/photo/src/fast_nlmeans_denoising_opencl.hpp int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 91 modules/photo/src/fast_nlmeans_denoising_opencl.hpp if (cn < 1 || cn > 4 || ((normType != NORM_L2 || depth != CV_8U) && depth 92 modules/photo/src/fast_nlmeans_denoising_opencl.hpp (normType != NORM_L1 || (depth != CV_8U && depth != CV_16U)))) depth 112 modules/photo/src/fast_nlmeans_denoising_opencl.hpp depth == CV_8U ? ocl::typeToStr(CV_32SC(hn)) : depth 114 modules/photo/src/fast_nlmeans_denoising_opencl.hpp depth == CV_8U ? ocl::convertTypeStr(CV_32S, CV_32S, hn, buf[0]) : depth 116 modules/photo/src/fast_nlmeans_denoising_opencl.hpp depth == CV_8U ? ocl::typeToStr(CV_32SC(cn)) : depth 118 modules/photo/src/fast_nlmeans_denoising_opencl.hpp depth == CV_8U ? ocl::convertTypeStr(depth, CV_32S, cn, buf[1]) : depth 122 modules/photo/src/fast_nlmeans_denoising_opencl.hpp ocl::convertTypeStr(depth, CV_32S, cn, buf[2]), cn, depth 123 modules/photo/src/fast_nlmeans_denoising_opencl.hpp (depth == CV_8U ? sizeof(uchar) : sizeof(ushort)) * (cn == 3 ? 4 : cn), depth 124 modules/photo/src/fast_nlmeans_denoising_opencl.hpp ocl::convertTypeStr(CV_32S, depth, cn, buf[3]), depth 132 modules/photo/src/fast_nlmeans_denoising_opencl.hpp if ((depth == CV_8U && depth 137 modules/photo/src/fast_nlmeans_denoising_opencl.hpp (depth == CV_16U && depth 148 modules/photo/src/fast_nlmeans_denoising_opencl.hpp srcex.create(size.height + 2*borderSize, size.width + 2*borderSize, CV_MAKE_TYPE(depth, 4)); depth 161 modules/photo/src/fast_nlmeans_denoising_opencl.hpp dst.create(size, CV_MAKE_TYPE(depth, 4)); depth 67 modules/photo/src/merge.cpp CV_Assert(images[0].depth() == CV_8U); depth 307 modules/photo/src/merge.cpp CV_Assert(images[0].depth() == CV_8U); depth 167 modules/python/src2/cv2.cpp int depth = CV_MAT_DEPTH(type); depth 170 modules/python/src2/cv2.cpp int typenum = depth == CV_8U ? NPY_UBYTE : depth == CV_8S ? NPY_BYTE : depth 171 modules/python/src2/cv2.cpp depth == CV_16U ? NPY_USHORT : depth == CV_16S ? NPY_SHORT : depth 172 modules/python/src2/cv2.cpp depth == CV_32S ? NPY_INT : depth == CV_32F ? NPY_FLOAT : depth 173 modules/python/src2/cv2.cpp depth == CV_64F ? NPY_DOUBLE : f*NPY_ULONGLONG + (f^1)*NPY_UINT; depth 766 modules/python/src2/cv2.cpp int depth = CV_MAT_DEPTH(type), channels = CV_MAT_CN(type); depth 793 modules/python/src2/cv2.cpp Mat dst(src.rows, src.cols, depth, data); depth 848 modules/python/src2/cv2.cpp Mat src((int)value.size(), DataType<_Tp>::channels, DataType<_Tp>::depth, (uchar*)&value[0]); depth 119 modules/shape/src/sc_dis.cpp CV_Assert((image1_.depth()==0) && (image2_.depth()==0)); depth 325 modules/stitching/src/blenders.cpp if (can_use_gpu_ && img_with_border.depth() == CV_16S) depth 561 modules/stitching/src/blenders.cpp if(img.depth() == CV_8U) depth 148 modules/stitching/src/matchers.cpp CV_Assert(features2.descriptors.depth() == CV_8U || features2.descriptors.depth() == CV_32F); depth 169 modules/stitching/src/matchers.cpp if (features2.descriptors.depth() == CV_8U) depth 473 modules/stitching/src/matchers.cpp CV_Assert(image.depth() == CV_8U); depth 201 modules/superres/src/input_array_utility.cpp void convertToDepth(InputArray src, OutputArray dst, int depth) depth 203 modules/superres/src/input_array_utility.cpp CV_Assert( src.depth() <= CV_64F ); depth 204 modules/superres/src/input_array_utility.cpp CV_Assert( depth == CV_8U || depth == CV_32F ); depth 217 modules/superres/src/input_array_utility.cpp const double scale = maxVals[depth] / maxVals[src.depth()]; depth 222 modules/superres/src/input_array_utility.cpp src.getGpuMat().convertTo(dst.getGpuMatRef(), depth, scale); depth 226 modules/superres/src/input_array_utility.cpp src.getUMat().convertTo(dst, depth, scale); depth 230 modules/superres/src/input_array_utility.cpp src.getMat().convertTo(dst, depth, scale); depth 241 modules/superres/src/input_array_utility.cpp const int depth = CV_MAT_DEPTH(type); depth 244 modules/superres/src/input_array_utility.cpp if (src.depth() == depth) depth 252 modules/superres/src/input_array_utility.cpp convertToDepth(src, buf1, depth); depth 257 modules/superres/src/input_array_utility.cpp convertToDepth(buf0, buf1, depth); depth 266 modules/superres/src/input_array_utility.cpp const int depth = CV_MAT_DEPTH(type); depth 269 modules/superres/src/input_array_utility.cpp if (src.depth() == depth) depth 277 modules/superres/src/input_array_utility.cpp convertToDepth(src, buf1, depth); depth 282 modules/superres/src/input_array_utility.cpp convertToDepth(buf0, buf1, depth); depth 291 modules/superres/src/input_array_utility.cpp const int depth = CV_MAT_DEPTH(type); depth 294 modules/superres/src/input_array_utility.cpp if (src.depth() == depth) depth 302 modules/superres/src/input_array_utility.cpp convertToDepth(src, buf1, depth); depth 307 modules/superres/src/input_array_utility.cpp convertToDepth(buf0, buf1, depth); depth 112 modules/superres/test/test_superres.cpp int type = _image.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); depth 116 modules/superres/test/test_superres.cpp cv::addWeighted(_image, 1.0, noise, 1.0, 0.0, _image, depth); depth 154 modules/superres/test/test_superres.cpp const int depth = CV_32F; depth 157 modules/superres/test/test_superres.cpp _i1.getMat().convertTo(I1, depth); depth 158 modules/superres/test/test_superres.cpp _i2.getMat().convertTo(I2, depth); depth 86 modules/ts/include/opencv2/ts.hpp CV_EXPORTS double getMinVal(int depth); depth 87 modules/ts/include/opencv2/ts.hpp CV_EXPORTS double getMaxVal(int depth); depth 254 modules/ts/src/cuda_test.cpp return funcs[m.depth()](m, p); depth 260 modules/ts/src/cuda_test.cpp if (src.depth() != CV_8S) depth 373 modules/ts/src/cuda_test.cpp for (int depth = depth_start; depth <= depth_end; ++depth) depth 377 modules/ts/src/cuda_test.cpp v.push_back(MatType(CV_MAKE_TYPE(depth, cn))); depth 67 modules/ts/src/ocl_perf.cpp if (dst.depth() == CV_8U) depth 69 modules/ts/src/ocl_perf.cpp else if (dst.depth() == CV_8S) depth 71 modules/ts/src/ocl_perf.cpp else if (dst.depth() == CV_16U) depth 73 modules/ts/src/ocl_perf.cpp else if (dst.depth() == CV_32F || dst.depth() == CV_64F) depth 75 modules/ts/src/ocl_perf.cpp else if (dst.depth() == CV_16S || dst.depth() == CV_32S) depth 589 modules/ts/src/ts.cpp CV_Assert(!img.empty() && img.depth() == CV_8U && ch <= 4); depth 611 modules/ts/src/ts.cpp CV_Assert(!img.empty() && img.depth() == CV_8U && ch <= 4); depth 231 modules/ts/src/ts_arrtest.cpp int depth = CV_MAT_DEPTH(type); depth 238 modules/ts/src/ts_arrtest.cpp else if( depth < CV_32S ) depth 245 modules/ts/src/ts_arrtest.cpp u = depth == CV_32S ? 1000000 : 1000.; depth 322 modules/ts/src/ts_arrtest.cpp arr_names[i0], i1, getTypeName(arr.depth()), depth 77 modules/ts/src/ts_func.cpp int depth = 0; depth 81 modules/ts/src/ts_func.cpp depth = rng.uniform(CV_8U, CV_64F+1); depth 82 modules/ts/src/ts_func.cpp if( ((1 << depth) & typeMask) != 0 ) depth 85 modules/ts/src/ts_func.cpp return CV_MAKETYPE(depth, channels); depth 88 modules/ts/src/ts_func.cpp double getMinVal(int depth) depth 90 modules/ts/src/ts_func.cpp depth = CV_MAT_DEPTH(depth); depth 91 modules/ts/src/ts_func.cpp double val = depth == CV_8U ? 0 : depth == CV_8S ? SCHAR_MIN : depth == CV_16U ? 0 : depth 92 modules/ts/src/ts_func.cpp depth == CV_16S ? SHRT_MIN : depth == CV_32S ? INT_MIN : depth 93 modules/ts/src/ts_func.cpp depth == CV_32F ? -FLT_MAX : depth == CV_64F ? -DBL_MAX : -1; depth 98 modules/ts/src/ts_func.cpp double getMaxVal(int depth) depth 100 modules/ts/src/ts_func.cpp depth = CV_MAT_DEPTH(depth); depth 101 modules/ts/src/ts_func.cpp double val = depth == CV_8U ? UCHAR_MAX : depth == CV_8S ? SCHAR_MAX : depth == CV_16U ? USHRT_MAX : depth 102 modules/ts/src/ts_func.cpp depth == CV_16S ? SHRT_MAX : depth == CV_32S ? INT_MAX : depth 103 modules/ts/src/ts_func.cpp depth == CV_32F ? FLT_MAX : depth == CV_64F ? DBL_MAX : -1; depth 177 modules/ts/src/ts_func.cpp ctype = a.depth(); depth 281 modules/ts/src/ts_func.cpp if (dtype < 0) dtype = _dst.depth(); depth 309 modules/ts/src/ts_func.cpp switch( src.depth() ) depth 442 modules/ts/src/ts_func.cpp CV_Assert( dst.size == src.size && src.depth() == dst.depth() && depth 467 modules/ts/src/ts_func.cpp dst.create( src.dims, &src.size[0], src.depth() ); depth 538 modules/ts/src/ts_func.cpp double C = a.depth() < CV_32F ? 1./(65536.*65536.) : 1.; depth 558 modules/ts/src/ts_func.cpp int depth = a.depth(), cn = a.channels(); depth 563 modules/ts/src/ts_func.cpp switch( depth ) depth 653 modules/ts/src/ts_func.cpp borderValue = getMaxVal(src.depth()); depth 668 modules/ts/src/ts_func.cpp switch( src.depth() ) depth 710 modules/ts/src/ts_func.cpp borderValue = getMinVal(src.depth()); depth 725 modules/ts/src/ts_func.cpp switch( src.depth() ) depth 786 modules/ts/src/ts_func.cpp borderValue = getMinVal(src.depth()); depth 802 modules/ts/src/ts_func.cpp switch( src.depth() ) depth 1051 modules/ts/src/ts_func.cpp int depth = src.depth(); depth 1052 modules/ts/src/ts_func.cpp double maxval = depth < CV_32F ? INT_MIN : depth == CV_32F ? -FLT_MAX : -DBL_MAX; depth 1053 modules/ts/src/ts_func.cpp double minval = depth < CV_32F ? INT_MAX : depth == CV_32F ? FLT_MAX : DBL_MAX; depth 1061 modules/ts/src/ts_func.cpp switch( depth ) depth 1253 modules/ts/src/ts_func.cpp CV_Assert( src.depth() == CV_8U ); depth 1280 modules/ts/src/ts_func.cpp int depth = src.depth(), cn = planes[0].channels(); depth 1288 modules/ts/src/ts_func.cpp switch( depth ) depth 1334 modules/ts/src/ts_func.cpp CV_Assert( temp.depth() == CV_8U ); depth 1361 modules/ts/src/ts_func.cpp int depth = src1.depth(), cn = planes[0].channels(); depth 1370 modules/ts/src/ts_func.cpp switch( depth ) depth 1404 modules/ts/src/ts_func.cpp CV_Assert( _src1.depth() == CV_8U ); depth 1427 modules/ts/src/ts_func.cpp int depth = src1.depth(); depth 1435 modules/ts/src/ts_func.cpp switch( depth ) depth 1643 modules/ts/src/ts_func.cpp int depth = src1.depth(); depth 1651 modules/ts/src/ts_func.cpp switch( depth ) depth 1690 modules/ts/src/ts_func.cpp int depth = src.depth(); depth 1698 modules/ts/src/ts_func.cpp switch( depth ) depth 1819 modules/ts/src/ts_func.cpp int depth = src1.depth(); depth 1830 modules/ts/src/ts_func.cpp switch( depth ) depth 1905 modules/ts/src/ts_func.cpp int depth = a.depth(); depth 1909 modules/ts/src/ts_func.cpp if( depth <= CV_32S ) depth 1919 modules/ts/src/ts_func.cpp switch( depth ) depth 1970 modules/ts/src/ts_func.cpp int ilevel = refarr.depth() <= CV_32S ? cvFloor(success_err_level) : 0; depth 1978 modules/ts/src/ts_func.cpp int depth = arr.depth(); depth 1985 modules/ts/src/ts_func.cpp if( refarr.depth() >= CV_32F && !element_wise_relative_error ) depth 1996 modules/ts/src/ts_func.cpp switch( depth ) depth 2261 modules/ts/src/ts_func.cpp if( a.depth() == CV_32F ) depth 2294 modules/ts/src/ts_func.cpp int depth = src.depth(); depth 2295 modules/ts/src/ts_func.cpp int mattype = transmat.depth(); depth 2338 modules/ts/src/ts_func.cpp switch( depth ) depth 2387 modules/ts/src/ts_func.cpp size_t i, nplanes = it.nplanes, depth = src1.depth(); depth 2395 modules/ts/src/ts_func.cpp switch( depth ) depth 2455 modules/ts/src/ts_func.cpp size_t i, nplanes = it.nplanes, depth = src1.depth(); depth 2463 modules/ts/src/ts_func.cpp switch( depth ) depth 2527 modules/ts/src/ts_func.cpp size_t i, nplanes = it.nplanes, depth = src2.depth(); depth 2535 modules/ts/src/ts_func.cpp switch( depth ) depth 2613 modules/ts/src/ts_func.cpp int depth = src.depth(), cn = src.channels(); depth 2620 modules/ts/src/ts_func.cpp switch( depth ) depth 2655 modules/ts/src/ts_func.cpp int depth = mat.depth(); depth 2656 modules/ts/src/ts_func.cpp CV_Assert( depth == CV_32F || depth == CV_64F ); depth 2660 modules/ts/src/ts_func.cpp if( depth == CV_32F ) depth 2811 modules/ts/src/ts_func.cpp out << depthstr[m.m->depth()] << "C" << m.m->channels() << " " << m.m->dims << "-dim ("; depth 2854 modules/ts/src/ts_func.cpp static void writeElems(std::ostream& out, const void* data, int nelems, int depth, int starpos) depth 2856 modules/ts/src/ts_func.cpp if(depth == CV_8U) depth 2858 modules/ts/src/ts_func.cpp else if(depth == CV_8S) depth 2860 modules/ts/src/ts_func.cpp else if(depth == CV_16U) depth 2862 modules/ts/src/ts_func.cpp else if(depth == CV_16S) depth 2864 modules/ts/src/ts_func.cpp else if(depth == CV_32S) depth 2866 modules/ts/src/ts_func.cpp else if(depth == CV_32F) depth 2873 modules/ts/src/ts_func.cpp else if(depth == CV_64F) depth 2900 modules/ts/src/ts_func.cpp int i, depth = m.m->depth(), cn = m.m->channels(), width = m.m->cols*cn; depth 2903 modules/ts/src/ts_func.cpp writeElems(out, m.m->ptr(i), width, depth, i == (*m.loc)[0] ? (*m.loc)[1] : -1); depth 2938 modules/ts/src/ts_func.cpp m1part = Mat(1, 1, m[0].depth(), m[0].ptr(&loc[0])); depth 2939 modules/ts/src/ts_func.cpp m2part = Mat(1, 1, m[1].depth(), m[1].ptr(&loc[0])); depth 91 modules/ts/src/ts_perf.cpp if (m.depth() < CV_32F) depth 97 modules/ts/src/ts_perf.cpp else if (m.depth() == CV_32F) depth 302 modules/ts/src/ts_perf.cpp switch (m.depth()) depth 583 modules/ts/src/ts_perf.cpp if(!array.empty() && array.depth() == CV_USRTYPE1) depth 1020 modules/ts/src/ts_perf.cpp int depth = a.depth(); depth 1021 modules/ts/src/ts_perf.cpp if (depth == CV_8U) depth 1023 modules/ts/src/ts_perf.cpp else if (depth == CV_8S) depth 1025 modules/ts/src/ts_perf.cpp else if (depth == CV_16U) depth 1027 modules/ts/src/ts_perf.cpp else if (depth == CV_32F || depth == CV_64F) depth 1029 modules/ts/src/ts_perf.cpp else if (depth == CV_16S || depth == CV_32S) depth 563 modules/video/src/bgfg_gaussmix2.cpp if( src->depth() != CV_32F ) depth 56 modules/video/src/lkpyramid.cpp int rows = src.rows, cols = src.cols, cn = src.channels(), colsn = cols*cn, depth = src.depth(); depth 57 modules/video/src/lkpyramid.cpp CV_Assert(depth == CV_8U); depth 58 modules/video/src/lkpyramid.cpp dst.create(rows, cols, CV_MAKETYPE(DataType<deriv_type>::depth, cn*2)); depth 233 modules/video/src/lkpyramid.cpp int derivDepth = DataType<deriv_type>::depth; depth 748 modules/video/src/lkpyramid.cpp CV_Assert(img.depth() == CV_8U && winSize.width > 2 && winSize.height > 2 ); depth 753 modules/video/src/lkpyramid.cpp int derivType = CV_MAKETYPE(DataType<cv::detail::deriv_type>::depth, img.channels() * 2); depth 992 modules/video/src/lkpyramid.cpp CV_Assert(I.depth() == CV_32F && J.depth() == CV_32F); depth 1105 modules/video/src/lkpyramid.cpp const int derivDepth = DataType<cv::detail::deriv_type>::depth; depth 1159 modules/video/src/lkpyramid.cpp if (levels1 % 2 == 1 && prevPyr[0].channels() * 2 == prevPyr[1].channels() && prevPyr[1].depth() == derivDepth) depth 1187 modules/video/src/lkpyramid.cpp if (levels2 % 2 == 1 && nextPyr[0].channels() * 2 == nextPyr[1].channels() && nextPyr[1].depth() == derivDepth) depth 1383 modules/video/src/lkpyramid.cpp else if( A.depth() == CV_8U ) depth 395 modules/video/src/tvl1flow.cpp I0.convertTo(dm.I0s[0], dm.I0s[0].depth(), I0.depth() == CV_8U ? 1.0 : 255.0); depth 396 modules/video/src/tvl1flow.cpp I1.convertTo(dm.I1s[0], dm.I1s[0].depth(), I1.depth() == CV_8U ? 1.0 : 255.0); depth 519 modules/video/src/tvl1flow.cpp double alpha = I0.depth() == CV_8U ? 1.0 : 255.0; depth 522 modules/video/src/tvl1flow.cpp I1.convertTo(dum.I1s[0], CV_32F, I1.depth() == CV_8U ? 1.0 : 255.0); depth 75 modules/video/test/test_accum.cpp int depth = cvtest::randInt(rng) % 3, cn = cvtest::randInt(rng) & 1 ? 3 : 1; depth 76 modules/video/test/test_accum.cpp int accdepth = std::max((int)(cvtest::randInt(rng) % 2 + 1), depth); depth 79 modules/video/test/test_accum.cpp depth = depth == 0 ? CV_8U : depth == 1 ? CV_32F : CV_64F; depth 81 modules/video/test/test_accum.cpp accdepth = MAX(accdepth, depth); depth 84 modules/video/test/test_accum.cpp types[INPUT][i] = CV_MAKETYPE(depth,cn); depth 94 modules/video/test/test_accum.cpp return test_mat[INPUT_OUTPUT][0].depth() < CV_64F || depth 95 modules/video/test/test_accum.cpp test_mat[INPUT][0].depth() == CV_32F ? FLT_EPSILON*100 : DBL_EPSILON*1000; depth 158 modules/video/test/test_accum.cpp cvtest::add( temp, 1, dst, 1, cvScalarAll(0.), temp, dst.depth() ); depth 199 modules/video/test/test_accum.cpp cvtest::add( temp1, 1, dst, 1, cvScalarAll(0.), temp1, dst.depth() ); depth 234 modules/video/test/test_accum.cpp int accdepth = test_mat[INPUT_OUTPUT][0].depth(); depth 240 modules/video/test/test_accum.cpp cvtest::add( src, cvGetReal1D(&A, 0), dst, cvGetReal1D(&B, 0), cvScalarAll(0.), temp, temp.depth() ); depth 517 modules/videoio/src/cap_dc1394.cpp capture->frame.depth != 8 || depth 238 modules/videoio/src/cap_ffmpeg.cpp CV_Assert(image->depth == 8); depth 276 modules/videoio/src/cap_gstreamer.cpp int depth = 3; depth 278 modules/videoio/src/cap_gstreamer.cpp depth = 0; depth 295 modules/videoio/src/cap_gstreamer.cpp depth = 3; depth 298 modules/videoio/src/cap_gstreamer.cpp depth = 1; depth 303 modules/videoio/src/cap_gstreamer.cpp depth = 1; depth 306 modules/videoio/src/cap_gstreamer.cpp if (depth > 0) { depth 307 modules/videoio/src/cap_gstreamer.cpp frame = cvCreateImageHeader(cvSize(width, height), IPL_DEPTH_8U, depth); depth 1495 modules/videoio/src/cap_gstreamer.cpp if (image->nChannels != 3 || image->depth != IPL_DEPTH_8U) { depth 1501 modules/videoio/src/cap_gstreamer.cpp if (image->nChannels != 1 || image->depth != IPL_DEPTH_8U) { depth 952 modules/videoio/src/cap_libv4l.cpp int depth; depth 956 modules/videoio/src/cap_libv4l.cpp depth = 8; depth 960 modules/videoio/src/cap_libv4l.cpp depth = 16; depth 964 modules/videoio/src/cap_libv4l.cpp depth = 24; depth 967 modules/videoio/src/cap_libv4l.cpp capture->imageProperties.depth = depth; depth 208 modules/videoio/src/cap_openni.cpp approxSyncGrabber.depthGenerator.GetMetaData(depth); depth 211 modules/videoio/src/cap_openni.cpp if( depth.Data() && depth.IsDataNew() ) depth 212 modules/videoio/src/cap_openni.cpp pushDepthMetaData( depth ); depth 225 modules/videoio/src/cap_openni.cpp isDepthFilled = popDepthMetaData(depth); depth 232 modules/videoio/src/cap_openni.cpp double timeDiff = 1e-3 * std::abs(static_cast<double>(depth.Timestamp()) - static_cast<double>(image.Timestamp())); depth 236 modules/videoio/src/cap_openni.cpp depthMetaData.InitFrom(depth); depth 243 modules/videoio/src/cap_openni.cpp if( depth.Timestamp() < image.Timestamp() ) depth 255 modules/videoio/src/cap_openni.cpp xn::DepthMetaData depth; depth 1175 modules/videoio/src/cap_openni.cpp cv::Mat depth; depth 1176 modules/videoio/src/cap_openni.cpp getDepthMapFromMetaData( depthMetaData, depth, noSampleValue, shadowValue ); depth 1192 modules/videoio/src/cap_openni.cpp proj[ind].Z = depth.at<unsigned short>(y, x); depth 1202 modules/videoio/src/cap_openni.cpp if( depth.at<unsigned short>(y, x) == badPoint ) // not valid depth 1220 modules/videoio/src/cap_openni.cpp cv::Mat depth; depth 1221 modules/videoio/src/cap_openni.cpp getDepthMapFromMetaData( depthMetaData, depth, noSampleValue, shadowValue ); depth 1222 modules/videoio/src/cap_openni.cpp CV_Assert( depth.type() == CV_16UC1 ); depth 1229 modules/videoio/src/cap_openni.cpp disp.create( depth.size(), CV_32FC1); depth 1235 modules/videoio/src/cap_openni.cpp unsigned short curDepth = depth.at<unsigned short>(y,x); depth 1270 modules/videoio/src/cap_openni.cpp cv::Mat depth; depth 1271 modules/videoio/src/cap_openni.cpp getDepthMapFromMetaData( depthMetaData, depth, noSampleValue, shadowValue ); depth 1273 modules/videoio/src/cap_openni.cpp outputMaps[CV_CAP_OPENNI_VALID_DEPTH_MASK].mat = depth != CvCapture_OpenNI::INVALID_PIXEL_VAL; depth 140 modules/videoio/src/cap_openni2.cpp openni::VideoStream depth, color, **streams; depth 245 modules/videoio/src/cap_openni2.cpp status = depth.create(device, openni::SENSOR_DEPTH); depth 248 modules/videoio/src/cap_openni2.cpp if (depth.isValid()) depth 250 modules/videoio/src/cap_openni2.cpp CV_Assert(depth.setVideoMode(defaultDepthOutputMode()) == openni::STATUS_OK); // xn::DepthGenerator supports VGA only! (Jan 2011) depth 253 modules/videoio/src/cap_openni2.cpp status = depth.start(); depth 257 modules/videoio/src/cap_openni2.cpp depth.destroy(); depth 268 modules/videoio/src/cap_openni2.cpp streams[CV_DEPTH_STREAM] = &depth; depth 358 modules/videoio/src/cap_openni2.cpp this->depth.stop(); depth 366 modules/videoio/src/cap_openni2.cpp if (depth.getProperty<double>(XN_STREAM_PROPERTY_ZERO_PLANE_PIXEL_SIZE, &pixelSize) != openni::STATUS_OK) depth 377 modules/videoio/src/cap_openni2.cpp if (depth.getProperty(XN_STREAM_PROPERTY_ZERO_PLANE_DISTANCE, &zeroPlanDistance) != openni::STATUS_OK) depth 383 modules/videoio/src/cap_openni2.cpp if (depth.getProperty<double>(XN_STREAM_PROPERTY_EMITTER_DCMOS_DISTANCE, &baseline) != openni::STATUS_OK) depth 472 modules/videoio/src/cap_openni2.cpp bool isMirroring = color.getMirroringEnabled() && depth.getMirroringEnabled(); depth 493 modules/videoio/src/cap_openni2.cpp isSet = depth.setMirroringEnabled(mirror) == openni::STATUS_OK; depth 514 modules/videoio/src/cap_openni2.cpp if( !depth.isValid() ) depth 522 modules/videoio/src/cap_openni2.cpp CV_DbgAssert(depth.isValid()); depth 526 modules/videoio/src/cap_openni2.cpp propValue = depth.getVideoMode().getResolutionX(); depth 529 modules/videoio/src/cap_openni2.cpp propValue = depth.getVideoMode().getResolutionY(); depth 532 modules/videoio/src/cap_openni2.cpp mode = depth.getVideoMode(); depth 536 modules/videoio/src/cap_openni2.cpp propValue = depth.getMaxPixelValue(); depth 564 modules/videoio/src/cap_openni2.cpp CV_Assert( depth.isValid() ); depth 709 modules/videoio/src/cap_openni2.cpp if( depth.isValid() ) depth 710 modules/videoio/src/cap_openni2.cpp depth.readFrame(&depthFrame); depth 731 modules/videoio/src/cap_openni2.cpp if( !depth.isValid() ) depth 757 modules/videoio/src/cap_openni2.cpp openni::CoordinateConverter::convertDepthToWorld(depth, x, y, depthImg.at<unsigned short>(y, x), &worldX, &worldY, &worldZ); depth 775 modules/videoio/src/cap_openni2.cpp cv::Mat depth; depth 776 modules/videoio/src/cap_openni2.cpp getDepthMapFromMetaData( depthMetaData, depth, noSampleValue, shadowValue ); depth 777 modules/videoio/src/cap_openni2.cpp CV_Assert( depth.type() == CV_16UC1 ); depth 783 modules/videoio/src/cap_openni2.cpp disp.create( depth.size(), CV_32FC1); depth 789 modules/videoio/src/cap_openni2.cpp unsigned short curDepth = depth.at<unsigned short>(y,x); depth 402 modules/videoio/src/cap_v4l.cpp int depth) depth 405 modules/videoio/src/cap_v4l.cpp cam_pic->depth = depth; depth 818 modules/videoio/src/cap_vfw.cpp image->depth != tempFrame->depth || depth 820 modules/videoio/src/cap_vfw.cpp image->widthStep != cvAlign(image->width*image->nChannels*((image->depth & 255)/8), 4)) depth 365 modules/videoio/test/test_ffmpeg.cpp EXPECT_EQ(reference.depth(), actual.depth()); depth 288 modules/viz/src/clouds.cpp points->SetDataType(cloud.depth() == CV_32F ? VTK_FLOAT : VTK_DOUBLE); depth 298 modules/viz/src/clouds.cpp if (cloud.depth() == CV_32F) depth 375 modules/viz/src/clouds.cpp if (mesh.cloud.depth() == CV_32F) depth 385 modules/viz/src/clouds.cpp if (mesh.cloud.depth() == CV_64F) depth 595 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); depth 628 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); depth 672 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); depth 702 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); depth 717 modules/viz/src/shapes.cpp CV_Assert(!image.empty() && image.depth() == CV_8U); depth 841 modules/viz/src/shapes.cpp CV_Assert(!_image.empty() && _image.depth() == CV_8U); depth 875 modules/viz/src/shapes.cpp CV_Assert(!_image.empty() && _image.depth() == CV_8U); depth 288 modules/viz/src/vizcore.cpp Mat(traj).convertTo(_traj, _traj.depth()); depth 318 modules/viz/src/vizcore.cpp if (traj.depth() == CV_32F) depth 322 modules/viz/src/vizcore.cpp if (traj.depth() == CV_64F) depth 80 modules/viz/src/vtk/vtkCloudMatSink.cpp if (cloud.depth() == CV_32F) depth 84 modules/viz/src/vtk/vtkCloudMatSink.cpp if (cloud.depth() == CV_64F) depth 71 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_cloud.depth() == CV_32F || _cloud.depth() == CV_64F); depth 76 modules/viz/src/vtk/vtkCloudMatSource.cpp int total = _cloud.depth() == CV_32F ? filterNanCopy<float>(cloud) : filterNanCopy<double>(cloud); depth 94 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_colors.depth() == CV_8U && _colors.channels() <= 4 && _colors.channels() != 2); depth 100 modules/viz/src/vtk/vtkCloudMatSource.cpp if (cloud.depth() == CV_32F) depth 102 modules/viz/src/vtk/vtkCloudMatSource.cpp else if (cloud.depth() == CV_64F) depth 115 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_normals.depth() == CV_32F || _normals.depth() == CV_64F); depth 122 modules/viz/src/vtk/vtkCloudMatSource.cpp if (n.depth() == CV_32F && c.depth() == CV_32F) depth 124 modules/viz/src/vtk/vtkCloudMatSource.cpp else if (n.depth() == CV_32F && c.depth() == CV_64F) depth 126 modules/viz/src/vtk/vtkCloudMatSource.cpp else if (n.depth() == CV_64F && c.depth() == CV_32F) depth 128 modules/viz/src/vtk/vtkCloudMatSource.cpp else if (n.depth() == CV_64F && c.depth() == CV_64F) depth 143 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_tcoords.depth() == CV_32F || _tcoords.depth() == CV_64F); depth 149 modules/viz/src/vtk/vtkCloudMatSource.cpp if (tc.depth() == CV_32F && cl.depth() == CV_32F) depth 151 modules/viz/src/vtk/vtkCloudMatSource.cpp else if (tc.depth() == CV_32F && cl.depth() == CV_64F) depth 153 modules/viz/src/vtk/vtkCloudMatSource.cpp else if (tc.depth() == CV_64F && cl.depth() == CV_32F) depth 155 modules/viz/src/vtk/vtkCloudMatSource.cpp else if (tc.depth() == CV_64F && cl.depth() == CV_64F) depth 185 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_DbgAssert(DataType<_Tp>::depth == cloud.depth()); depth 81 modules/viz/src/vtk/vtkImageMatSource.cpp CV_Assert(_image.depth() == CV_8U && (_image.channels() == 1 || _image.channels() == 3 || _image.channels() == 4)); depth 88 modules/viz/src/vtk/vtkTrajectorySource.cpp Mat points(1, (int)_traj.total(), CV_MAKETYPE(_traj.depth(), 3)); depth 92 modules/viz/src/vtk/vtkTrajectorySource.cpp if (_traj.depth() == CV_32F) depth 96 modules/viz/src/vtk/vtkTrajectorySource.cpp if (_traj.depth() == CV_64F) depth 127 samples/cpp/camshiftdemo.cpp hue.create(hsv.size(), hsv.depth()); depth 227 samples/cpp/intelperc_capture.cpp static void imshowDepth(const char *winname, Mat &depth, VideoCapture &capture) depth 235 samples/cpp/intelperc_capture.cpp image.create(depth.rows, depth.cols, CV_8UC3); depth 236 samples/cpp/intelperc_capture.cpp for (int row = 0; row < depth.rows; row++) depth 239 samples/cpp/intelperc_capture.cpp short* ptrSrc = (short*)depth.ptr(row); depth 240 samples/cpp/intelperc_capture.cpp for (int col = 0; col < depth.cols; col++, ptrSrc++) depth 270 samples/cpp/intelperc_capture.cpp image.create(depth.rows, depth.cols, CV_8UC1); depth 271 samples/cpp/intelperc_capture.cpp for (int row = 0; row < depth.rows; row++) depth 274 samples/cpp/intelperc_capture.cpp short* ptrSrc = (short*)depth.ptr(row); depth 275 samples/cpp/intelperc_capture.cpp for (int col = 0; col < depth.cols; col++, ptrSrc++, ptrDst++) depth 35 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp hue.create( hsv.size(), hsv.depth() ); depth 137 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp CV_Assert(I.depth() != sizeof(uchar)); depth 168 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp CV_Assert(I.depth() != sizeof(uchar)); depth 200 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp CV_Assert(I.depth() != sizeof(uchar)); depth 53 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp filter2D(I, K, I.depth(), kern ); depth 64 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp CV_Assert(myImage.depth() == CV_8U); // accept only uchar images depth 128 samples/tapi/camshift.cpp hue.create(hsv.size(), hsv.depth());