Home
last modified time | relevance | path

Searched refs:ddepth (Results 1 – 25 of 55) sorted by relevance

123

/external/opencv3/modules/imgproc/perf/
Dperf_sepfilters.cpp42 int ddepth = get<1>(GetParam()); variable
48 Mat dst(size, ddepth);
52 TEST_CYCLE() Sobel(src, dst, ddepth, dx, dy, 3, 1, 0, border);
67 int ddepth = get<1>(GetParam()); variable
73 Mat dst(size, ddepth);
80 TEST_CYCLE() Sobel(src, dst, ddepth, dx, dy, 3, 1, 0, border);
95 int ddepth = get<1>(GetParam()); variable
101 Mat dst(size, ddepth);
105 TEST_CYCLE() Sobel(src, dst, ddepth, dx, dy, 5, 1, 0, border);
120 int ddepth = get<1>(GetParam()); variable
[all …]
/external/opencv3/modules/core/perf/
Dperf_reduce.cpp27 int ddepth = -1; in PERF_TEST_P() local
29 ddepth = CV_32S; in PERF_TEST_P()
32 Mat vec(1, sz.width, ddepth < 0 ? matType : ddepth); in PERF_TEST_P()
38 TEST_CYCLE_MULTIRUN(runs) reduce(src, vec, 0, reduceOp, ddepth); in PERF_TEST_P()
55 int ddepth = -1; in PERF_TEST_P() local
57 ddepth = CV_32S; in PERF_TEST_P()
60 Mat vec(sz.height, 1, ddepth < 0 ? matType : ddepth); in PERF_TEST_P()
65 TEST_CYCLE() reduce(src, vec, 1, reduceOp, ddepth); in PERF_TEST_P()
/external/opencv3/modules/imgproc/src/
Dderiv.cpp193 static bool IPPDerivScharr(InputArray _src, OutputArray _dst, int ddepth, int dx, int dy, double sc… in IPPDerivScharr() argument
205 if (ddepth < 0) in IPPDerivScharr()
206 ddepth = sdepth; in IPPDerivScharr()
207 int dtype = CV_MAKETYPE(ddepth, cn); in IPPDerivScharr()
307 static bool IPPDerivScharr(InputArray _src, OutputArray _dst, int ddepth, int dx, int dy, double sc…
322 if( ddepth < 0 )
323 ddepth = src.depth();
325 dst.create( src.size(), CV_MAKETYPE(ddepth, src.channels()) );
411 static bool IPPDerivSobel(InputArray _src, OutputArray _dst, int ddepth, int dx, int dy, int ksize,… in IPPDerivSobel() argument
423 if ( ddepth < 0 ) in IPPDerivSobel()
[all …]
Daccum.cpp769 inline int getAccTabIdx(int sdepth, int ddepth) in getAccTabIdx() argument
771 return sdepth == CV_8U && ddepth == CV_32F ? 0 : in getAccTabIdx()
772 sdepth == CV_8U && ddepth == CV_64F ? 1 : in getAccTabIdx()
773 sdepth == CV_16U && ddepth == CV_32F ? 2 : in getAccTabIdx()
774 sdepth == CV_16U && ddepth == CV_64F ? 3 : in getAccTabIdx()
775 sdepth == CV_32F && ddepth == CV_32F ? 4 : in getAccTabIdx()
776 sdepth == CV_32F && ddepth == CV_64F ? 5 : in getAccTabIdx()
777 sdepth == CV_64F && ddepth == CV_64F ? 6 : -1; in getAccTabIdx()
798 …int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype), ddepth = _dst.depth(… in ocl_accumulate() local
801 if (!doubleSupport && (sdepth == CV_64F || ddepth == CV_64F)) in ocl_accumulate()
[all …]
Dfilter.cpp3628 int sdepth = CV_MAT_DEPTH(srcType), ddepth = CV_MAT_DEPTH(bufType); in getLinearRowFilter() local
3631 ddepth >= std::max(sdepth, CV_32S) && in getLinearRowFilter()
3632 kernel.type() == ddepth ); in getLinearRowFilter()
3637 if( sdepth == CV_8U && ddepth == CV_32S ) in getLinearRowFilter()
3640 if( sdepth == CV_32F && ddepth == CV_32F ) in getLinearRowFilter()
3645 if( sdepth == CV_8U && ddepth == CV_32S ) in getLinearRowFilter()
3648 if( sdepth == CV_8U && ddepth == CV_32F ) in getLinearRowFilter()
3650 if( sdepth == CV_8U && ddepth == CV_64F ) in getLinearRowFilter()
3652 if( sdepth == CV_16U && ddepth == CV_32F ) in getLinearRowFilter()
3654 if( sdepth == CV_16U && ddepth == CV_64F ) in getLinearRowFilter()
[all …]
Dsmooth.cpp1032 static bool ocl_boxFilter( InputArray _src, OutputArray _dst, int ddepth, in ocl_boxFilter() argument
1039 if (ddepth < 0) in ocl_boxFilter()
1040 ddepth = sdepth; in ocl_boxFilter()
1042 if (cn > 4 || (!doubleSupport && (sdepth == CV_64F || ddepth == CV_64F)) || in ocl_boxFilter()
1056 int wdepth = std::max(CV_32F, std::max(ddepth, sdepth)), in ocl_boxFilter()
1057 wtype = CV_MAKE_TYPE(wdepth, cn), dtype = CV_MAKE_TYPE(ddepth, cn); in ocl_boxFilter()
1128 ocl::typeToStr(ddepth), ocl::typeToStr(wtype), ocl::typeToStr(wdepth), in ocl_boxFilter()
1130 ocl::convertTypeStr(wdepth, ddepth, cn, cvt[1]), in ocl_boxFilter()
1158 … BLOCK_SIZE_X, BLOCK_SIZE_Y, ocl::typeToStr(type), ocl::typeToStr(CV_MAKE_TYPE(ddepth, cn)), in ocl_boxFilter()
1160 ocl::convertTypeStr(wdepth, ddepth, cn, cvt[0]), in ocl_boxFilter()
[all …]
Dsamplers.cpp370 int ddepth = patchType < 0 ? depth : CV_MAT_DEPTH(patchType); in getRectSubPix() local
374 _patch.create(patchSize, CV_MAKETYPE(ddepth, cn)); in getRectSubPix()
391 … srctype == CV_8UC1 && ddepth == CV_8U ? (ippiGetRectSubPixFunc)ippiCopySubpixIntersect_8u_C1R : in getRectSubPix()
392 …srctype == CV_8UC1 && ddepth == CV_32F ? (ippiGetRectSubPixFunc)ippiCopySubpixIntersect_8u32f_C1R : in getRectSubPix()
393 …srctype == CV_32FC1 && ddepth == CV_32F ? (ippiGetRectSubPixFunc)ippiCopySubpixIntersect_32f_C1R :… in getRectSubPix()
408 if( depth == CV_8U && ddepth == CV_8U ) in getRectSubPix()
411 else if( depth == CV_8U && ddepth == CV_32F ) in getRectSubPix()
414 else if( depth == CV_32F && ddepth == CV_32F ) in getRectSubPix()
/external/opencv/cxcore/src/
Dcxsumpixels.cpp888 int sdepth, ddepth, cn, op0 = op; in cvReduce() local
901 ddepth = CV_MAT_DEPTH(dst->type); in cvReduce()
923 ddepth = CV_MAT_DEPTH(ttype); in cvReduce()
933 (sdepth == CV_8U && ddepth == CV_32S ? (CvReduceToRowFunc)icvSumRows_8u32s_C1R : in cvReduce()
934 sdepth == CV_8U && ddepth == CV_32F ? (CvReduceToRowFunc)icvSumRows_8u32f_C1R : in cvReduce()
935 sdepth == CV_16U && ddepth == CV_32F ? (CvReduceToRowFunc)icvSumRows_16u32f_C1R : in cvReduce()
936 sdepth == CV_16U && ddepth == CV_64F ? (CvReduceToRowFunc)icvSumRows_16u64f_C1R : in cvReduce()
937 sdepth == CV_16S && ddepth == CV_32F ? (CvReduceToRowFunc)icvSumRows_16s32f_C1R : in cvReduce()
938 sdepth == CV_16S && ddepth == CV_64F ? (CvReduceToRowFunc)icvSumRows_16s64f_C1R : in cvReduce()
939 sdepth == CV_32F && ddepth == CV_32F ? (CvReduceToRowFunc)icvSumRows_32f_C1R : in cvReduce()
[all …]
/external/opencv3/samples/cpp/tutorial_code/ImgTrans/
Dfilter2D_demo.cpp26 int ddepth; in main() local
44 ddepth = -1; in main()
60 filter2D(src, dst, ddepth , kernel, anchor, delta, BORDER_DEFAULT ); in main()
DSobel_Demo.cpp26 int ddepth = CV_16S; in main() local
48 Sobel( src_gray, grad_x, ddepth, 1, 0, 3, scale, delta, BORDER_DEFAULT ); in main()
53 Sobel( src_gray, grad_y, ddepth, 0, 1, 3, scale, delta, BORDER_DEFAULT ); in main()
DLaplace_Demo.cpp25 int ddepth = CV_16S; in main() local
46 Laplacian( src_gray, dst, ddepth, kernel_size, scale, delta, BORDER_DEFAULT ); in main()
/external/opencv3/modules/java/src/
Dimgproc+Imgproc.java606 …public static void filter2D(Mat src, Mat dst, int ddepth, Mat kernel, Point anchor, double delta, … in filter2D() argument
609 …filter2D_0(src.nativeObj, dst.nativeObj, ddepth, kernel.nativeObj, anchor.x, anchor.y, delta, bord… in filter2D()
615 … public static void filter2D(Mat src, Mat dst, int ddepth, Mat kernel, Point anchor, double delta) in filter2D() argument
618 … filter2D_1(src.nativeObj, dst.nativeObj, ddepth, kernel.nativeObj, anchor.x, anchor.y, delta); in filter2D()
624 public static void filter2D(Mat src, Mat dst, int ddepth, Mat kernel) in filter2D() argument
627 filter2D_2(src.nativeObj, dst.nativeObj, ddepth, kernel.nativeObj); in filter2D()
638 …public static void sepFilter2D(Mat src, Mat dst, int ddepth, Mat kernelX, Mat kernelY, Point ancho… in sepFilter2D() argument
641 …sepFilter2D_0(src.nativeObj, dst.nativeObj, ddepth, kernelX.nativeObj, kernelY.nativeObj, anchor.x… in sepFilter2D()
647 …public static void sepFilter2D(Mat src, Mat dst, int ddepth, Mat kernelX, Mat kernelY, Point ancho… in sepFilter2D() argument
650 …sepFilter2D_1(src.nativeObj, dst.nativeObj, ddepth, kernelX.nativeObj, kernelY.nativeObj, anchor.x… in sepFilter2D()
[all …]
/external/opencv3/modules/imgproc/perf/opencl/
Dperf_imgproc.cpp225 const int ddepth = get<1>(params); in OCL_PERF_TEST_P() local
227 checkDeviceMaxMemoryAllocSize(srcSize, ddepth); in OCL_PERF_TEST_P()
229 UMat src(srcSize, CV_8UC1), dst(srcSize + Size(1, 1), ddepth); in OCL_PERF_TEST_P()
232 OCL_TEST_CYCLE() cv::integral(src, dst, ddepth); in OCL_PERF_TEST_P()
241 const int ddepth = get<1>(params); in OCL_PERF_TEST_P() local
243 checkDeviceMaxMemoryAllocSize(srcSize, ddepth); in OCL_PERF_TEST_P()
245 …UMat src(srcSize, CV_8UC1), sum(srcSize + Size(1, 1), ddepth), sqsum(srcSize + Size(1, 1), CV_32F); in OCL_PERF_TEST_P()
248 OCL_TEST_CYCLE() cv::integral(src, sum, sqsum, ddepth, CV_32F); in OCL_PERF_TEST_P()
/external/opencv3/modules/cudaarithm/src/cuda/
Dadd_weighted.cu99 …e alpha, InputArray _src2, double beta, double gamma, OutputArray _dst, int ddepth, Stream& stream) in addWeighted() argument
567 ddepth = ddepth >= 0 ? CV_MAT_DEPTH(ddepth) : std::max(sdepth1, sdepth2); in addWeighted()
571 CV_Assert( sdepth1 <= CV_64F && sdepth2 <= CV_64F && ddepth <= CV_64F ); in addWeighted()
573 GpuMat dst = getOutputMat(_dst, src1.size(), CV_MAKE_TYPE(ddepth, cn), stream); in addWeighted()
586 const func_t func = funcs[sdepth1][sdepth2][ddepth]; in addWeighted()
Dadd_mat.cu186 const int ddepth = dst.depth(); in addMat() local
188 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F ); in addMat()
194 if (mask.empty() && (sdepth == CV_8U || sdepth == CV_16U) && ddepth == sdepth) in addMat()
217 const func_t func = funcs[sdepth][ddepth]; in addMat()
Dsub_mat.cu186 const int ddepth = dst.depth(); in subMat() local
188 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F ); in subMat()
194 if (mask.empty() && (sdepth == CV_8U || sdepth == CV_16U) && ddepth == sdepth) in subMat()
217 const func_t func = funcs[sdepth][ddepth]; in subMat()
Dmul_mat.cu177 const int ddepth = dst.depth(); in mulMat() local
179 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F ); in mulMat()
185 const func_t func = funcs[sdepth][ddepth]; in mulMat()
Ddiv_mat.cu191 const int ddepth = dst.depth(); in divMat() local
193 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F ); in divMat()
199 const func_t func = funcs[sdepth][ddepth]; in divMat()
/external/opencv3/modules/imgproc/test/ocl/
Dtest_boxfilter.cpp124 int ddepth = depth == CV_8U ? CV_32S : CV_64F; in OCL_TEST_P() local
126 OCL_OFF(cv::sqrBoxFilter(src_roi, dst_roi, ddepth, ksize, anchor, normalize, borderType)); in OCL_TEST_P()
127 OCL_ON(cv::sqrBoxFilter(usrc_roi, udst_roi, ddepth, ksize, anchor, normalize, borderType)); in OCL_TEST_P()
Dtest_accumulate.cpp57 int sdepth, ddepth, channels; in PARAM_TEST_CASE() local
69 sdepth = depths.first, ddepth = depths.second; in PARAM_TEST_CASE()
77 dtype = CV_MAKE_TYPE(ddepth, channels); in PARAM_TEST_CASE()
/external/opencv3/modules/core/src/opencl/
Dreduce2.cl52 #if ddepth == 0
55 #elif ddepth == 1
58 #elif ddepth == 2
61 #elif ddepth == 3
64 #elif ddepth == 4
67 #elif ddepth == 5
70 #elif ddepth == 6
/external/opencv3/doc/tutorials/imgproc/imgtrans/filter_2d/
Dfilter_2d.markdown83 int ddepth;
101 ddepth = -1;
117 filter2D(src, dst, ddepth , kernel, anchor, delta, BORDER_DEFAULT );
143 ddepth = -1;
158 filter2D(src, dst, ddepth , kernel, anchor, delta, BORDER_DEFAULT );
164 … -# *ddepth*: The depth of *dst*. A negative value (such as \f$-1\f$) indicates that the depth is
/external/opencv3/doc/tutorials/imgproc/imgtrans/laplace_operator/
Dlaplace_operator.markdown66 int ddepth = CV_16S;
86 Laplacian( src_gray, dst, ddepth, kernel_size, scale, delta, BORDER_DEFAULT );
92 - *ddepth*: Depth of the destination image. Since our input is *CV_8U* we define *ddepth* =
/external/opencv3/modules/core/src/
Dmatrix.cpp3384 sdepth = CV_MAT_DEPTH(stype), ddepth = dstmat.depth(); in reduceSumC_8u16u16s32f_64f() local
3392 if (ddepth == CV_64F) in reduceSumC_8u16u16s32f_64f()
3531 ddepth = CV_MAT_DEPTH(dtype), ddepth0 = ddepth; in ocl_reduce() local
3538 if (!doubleSupport && (sdepth == CV_64F || ddepth == CV_64F)) in ocl_reduce()
3543 if (sdepth < CV_32S && ddepth < CV_32S) in ocl_reduce()
3544 ddepth = CV_32S; in ocl_reduce()
3549 int wdepth = std::max(ddepth, CV_32F); in ocl_reduce()
3563 buf_cols, tileHeight, ops[op], cn, ddepth, in ocl_reduce()
3565 ocl::typeToStr(ddepth), in ocl_reduce()
3567 ocl::convertTypeStr(ddepth, wdepth, 1, cvt[0]), in ocl_reduce()
[all …]
Dumatrix.cpp720 int sdepth = CV_MAT_DEPTH(stype), ddepth = CV_MAT_DEPTH(_type); in convertTo() local
721 if( sdepth == ddepth && noScale ) in convertTo()
728 bool needDouble = sdepth == CV_64F || ddepth == CV_64F; in convertTo()
737 ocl::typeToStr(sdepth), ocl::typeToStr(wdepth), ocl::typeToStr(ddepth), in convertTo()
739 ocl::convertTypeStr(wdepth, ddepth, 1, cvt[1]), in convertTo()
868 int ddepth = std::max(CV_32F, depth); in ocl_dot() local
880 ocl::typeToStr(ddepth), ocl::typeToStr(CV_MAKE_TYPE(ddepth, kercn)), in ocl_dot()
881 ddepth, ocl::convertTypeStr(depth, ddepth, kercn, cvt), in ocl_dot()
888 UMat db(1, dbsize, ddepth); in ocl_dot()

123