/external/opencv3/modules/core/perf/ |
perf_reduce.cpp | 27 int ddepth = -1; local 29 ddepth = CV_32S; 32 Mat vec(1, sz.width, ddepth < 0 ? matType : ddepth); 38 TEST_CYCLE_MULTIRUN(runs) reduce(src, vec, 0, reduceOp, ddepth); 55 int ddepth = -1; local 57 ddepth = CV_32S; 60 Mat vec(sz.height, 1, ddepth < 0 ? matType : ddepth); 65 TEST_CYCLE() reduce(src, vec, 1, reduceOp, ddepth); [all...] |
/external/opencv3/samples/cpp/tutorial_code/ImgTrans/ |
Sobel_Demo.cpp | 26 int ddepth = CV_16S; local 47 //Scharr( src_gray, grad_x, ddepth, 1, 0, scale, delta, BORDER_DEFAULT ); 48 Sobel( src_gray, grad_x, ddepth, 1, 0, 3, scale, delta, BORDER_DEFAULT ); 52 //Scharr( src_gray, grad_y, ddepth, 0, 1, scale, delta, BORDER_DEFAULT ); 53 Sobel( src_gray, grad_y, ddepth, 0, 1, 3, scale, delta, BORDER_DEFAULT );
|
Laplace_Demo.cpp | 25 int ddepth = CV_16S; local 46 Laplacian( src_gray, dst, ddepth, kernel_size, scale, delta, BORDER_DEFAULT );
|
filter2D_demo.cpp | 26 int ddepth; local 44 ddepth = -1; 60 filter2D(src, dst, ddepth , kernel, anchor, delta, BORDER_DEFAULT );
|
/external/opencv3/modules/imgproc/perf/ |
perf_sepfilters.cpp | 42 int ddepth = get<1>(GetParam()); local 48 Mat dst(size, ddepth); 52 TEST_CYCLE() Sobel(src, dst, ddepth, dx, dy, 3, 1, 0, border); 67 int ddepth = get<1>(GetParam()); local 73 Mat dst(size, ddepth); 80 TEST_CYCLE() Sobel(src, dst, ddepth, dx, dy, 3, 1, 0, border); 95 int ddepth = get<1>(GetParam()); local 101 Mat dst(size, ddepth); 105 TEST_CYCLE() Sobel(src, dst, ddepth, dx, dy, 5, 1, 0, border); 120 int ddepth = get<1>(GetParam()) local 150 int ddepth = get<1>(GetParam()); local 175 int ddepth = get<1>(GetParam()); local 203 int ddepth = get<1>(GetParam()); local 228 int ddepth = get<1>(GetParam()); local [all...] |
/external/opencv3/modules/imgproc/src/ |
deriv.cpp | 193 static bool IPPDerivScharr(InputArray _src, OutputArray _dst, int ddepth, int dx, int dy, double scale, double delta, int borderType) 205 if (ddepth < 0) 206 ddepth = sdepth; 207 int dtype = CV_MAKETYPE(ddepth, cn); 307 static bool IPPDerivScharr(InputArray _src, OutputArray _dst, int ddepth, int dx, int dy, double scale, double delta, int borderType) 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, double scale, double delta, int borderType) 423 if ( ddepth < 0 [all...] |
accum.cpp | 769 inline int getAccTabIdx(int sdepth, int ddepth) 771 return sdepth == CV_8U && ddepth == CV_32F ? 0 : 772 sdepth == CV_8U && ddepth == CV_64F ? 1 : 773 sdepth == CV_16U && ddepth == CV_32F ? 2 : 774 sdepth == CV_16U && ddepth == CV_64F ? 3 : 775 sdepth == CV_32F && ddepth == CV_32F ? 4 : 776 sdepth == CV_32F && ddepth == CV_64F ? 5 : 777 sdepth == CV_64F && ddepth == CV_64F ? 6 : -1; 798 int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype), ddepth = _dst.depth(); local 801 if (!doubleSupport && (sdepth == CV_64F || ddepth == CV_64F) 849 int dtype = _dst.type(), ddepth = CV_MAT_DEPTH(dtype), dcn = CV_MAT_CN(dtype); local 934 int dtype = _dst.type(), ddepth = CV_MAT_DEPTH(dtype), dcn = CV_MAT_CN(dtype); local 1018 int dtype = _dst.type(), ddepth = CV_MAT_DEPTH(dtype), dcn = CV_MAT_CN(dtype); local 1106 int dtype = _dst.type(), ddepth = CV_MAT_DEPTH(dtype), dcn = CV_MAT_CN(dtype); local [all...] |
filter.cpp | 3628 int sdepth = CV_MAT_DEPTH(srcType), ddepth = CV_MAT_DEPTH(bufType); local 3683 int sdepth = CV_MAT_DEPTH(bufType), ddepth = CV_MAT_DEPTH(dstType); local 3784 int sdepth = CV_MAT_DEPTH(_srcType), ddepth = CV_MAT_DEPTH(_dstType); local 4453 int sdepth = CV_MAT_DEPTH(srcType), ddepth = CV_MAT_DEPTH(dstType); local [all...] |
smooth.cpp | 1214 int sdepth = CV_MAT_DEPTH(srcType), ddepth = CV_MAT_DEPTH(sumType); local 1250 int sdepth = CV_MAT_DEPTH(sumType), ddepth = CV_MAT_DEPTH(dstType); local [all...] |
/external/opencv/cxcore/src/ |
cxsumpixels.cpp | 888 int sdepth, ddepth, cn, op0 = op; local [all...] |
/external/opencv3/modules/core/src/opencl/ |
reduce2.cl | 52 #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/modules/java/src/ |
imgproc+Imgproc.java | 602 // C++: void filter2D(Mat src, Mat& dst, int ddepth, Mat kernel, Point anchor = Point(-1,-1), double delta = 0, int borderType = BORDER_DEFAULT) 605 //javadoc: filter2D(src, dst, ddepth, kernel, anchor, delta, borderType) 606 public static void filter2D(Mat src, Mat dst, int ddepth, Mat kernel, Point anchor, double delta, int borderType) 609 filter2D_0(src.nativeObj, dst.nativeObj, ddepth, kernel.nativeObj, anchor.x, anchor.y, delta, borderType); 614 //javadoc: filter2D(src, dst, ddepth, kernel, anchor, delta) 615 public static void filter2D(Mat src, Mat dst, int ddepth, Mat kernel, Point anchor, double delta) 618 filter2D_1(src.nativeObj, dst.nativeObj, ddepth, kernel.nativeObj, anchor.x, anchor.y, delta); 623 //javadoc: filter2D(src, dst, ddepth, kernel) 624 public static void filter2D(Mat src, Mat dst, int ddepth, Mat kernel) 627 filter2D_2(src.nativeObj, dst.nativeObj, ddepth, kernel.nativeObj) [all...] |
/external/opencv3/doc/tutorials/imgproc/imgtrans/filter_2d/ |
filter_2d.markdown | 83 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/modules/imgproc/perf/opencl/ |
perf_imgproc.cpp | 225 const int ddepth = get<1>(params); local 227 checkDeviceMaxMemoryAllocSize(srcSize, ddepth); 229 UMat src(srcSize, CV_8UC1), dst(srcSize + Size(1, 1), ddepth); 232 OCL_TEST_CYCLE() cv::integral(src, dst, ddepth); 241 const int ddepth = get<1>(params); local 243 checkDeviceMaxMemoryAllocSize(srcSize, ddepth); 245 UMat src(srcSize, CV_8UC1), sum(srcSize + Size(1, 1), ddepth), sqsum(srcSize + Size(1, 1), CV_32F); 248 OCL_TEST_CYCLE() cv::integral(src, sum, sqsum, ddepth, CV_32F);
|
/external/opencv3/doc/tutorials/imgproc/imgtrans/laplace_operator/ |
laplace_operator.markdown | 66 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/perf/opencl/ |
perf_matop.cpp | 69 const int type = get<1>(params), ddepth = CV_MAT_DEPTH(type) == CV_8U ? CV_32F : CV_8U, local 70 cn = CV_MAT_CN(type), dtype = CV_MAKE_TYPE(ddepth, cn);
|
/external/opencv3/doc/tutorials/imgproc/imgtrans/sobel_derivatives/ |
sobel_derivatives.markdown | 124 int ddepth = CV_16S; 148 Sobel( src_gray, grad_x, ddepth, 1, 0, 3, scale, delta, BORDER_DEFAULT ); 150 Sobel( src_gray, grad_y, ddepth, 0, 1, 3, scale, delta, BORDER_DEFAULT ); 156 - *ddepth*: The depth of the output image. We set it to *CV_16S* to avoid overflow.
|
/external/opencv3/modules/cudaarithm/src/cuda/ |
add_mat.cu | 186 const int ddepth = dst.depth(); 188 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F ); 194 if (mask.empty() && (sdepth == CV_8U || sdepth == CV_16U) && ddepth == sdepth) 217 const func_t func = funcs[sdepth][ddepth];
|
sub_mat.cu | 186 const int ddepth = dst.depth(); 188 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F ); 194 if (mask.empty() && (sdepth == CV_8U || sdepth == CV_16U) && ddepth == sdepth) 217 const func_t func = funcs[sdepth][ddepth];
|
mul_mat.cu | 177 const int ddepth = dst.depth(); 179 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F ); 185 const func_t func = funcs[sdepth][ddepth];
|
add_weighted.cu | 99 void cv::cuda::addWeighted(InputArray _src1, double alpha, InputArray _src2, double beta, double gamma, OutputArray _dst, int ddepth, Stream& stream) 567 ddepth = ddepth >= 0 ? CV_MAT_DEPTH(ddepth) : std::max(sdepth1, sdepth2); 571 CV_Assert( sdepth1 <= CV_64F && sdepth2 <= CV_64F && ddepth <= CV_64F ); 573 GpuMat dst = getOutputMat(_dst, src1.size(), CV_MAKE_TYPE(ddepth, cn), stream); 586 const func_t func = funcs[sdepth1][sdepth2][ddepth];
|
/external/opencv3/modules/imgproc/test/ocl/ |
test_accumulate.cpp | 57 int sdepth, ddepth, channels; local 69 sdepth = depths.first, ddepth = depths.second; 77 dtype = CV_MAKE_TYPE(ddepth, channels);
|
test_boxfilter.cpp | 124 int ddepth = depth == CV_8U ? CV_32S : CV_64F; local 126 OCL_OFF(cv::sqrBoxFilter(src_roi, dst_roi, ddepth, ksize, anchor, normalize, borderType)); 127 OCL_ON(cv::sqrBoxFilter(usrc_roi, udst_roi, ddepth, ksize, anchor, normalize, borderType));
|
/external/opencv3/modules/core/src/cuda/ |
gpu_mat.cu | 478 const int ddepth = CV_MAT_DEPTH(rtype); 479 if (sdepth == ddepth) 489 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F ); 508 funcs[sdepth][ddepth](reshape(1), dst.reshape(1), stream); 519 const int ddepth = CV_MAT_DEPTH(rtype); 538 funcs[sdepth][ddepth](reshape(1), dst.reshape(1), alpha, beta, stream);
|
/external/opencv3/modules/core/src/ |
umatrix.cpp | 720 int sdepth = CV_MAT_DEPTH(stype), ddepth = CV_MAT_DEPTH(_type); 721 if( sdepth == ddepth && noScale ) 728 bool needDouble = sdepth == CV_64F || ddepth == CV_64F; 737 ocl::typeToStr(sdepth), ocl::typeToStr(wdepth), ocl::typeToStr(ddepth), 739 ocl::convertTypeStr(wdepth, ddepth, 1, cvt[1]), 868 int ddepth = std::max(CV_32F, depth); 877 format("-D srcT=%s -D srcT1=%s -D dstT=%s -D dstTK=%s -D ddepth=%d -D convertToDT=%s -D OP_DOT " 880 ocl::typeToStr(ddepth), ocl::typeToStr(CV_MAKE_TYPE(ddepth, kercn)), 881 ddepth, ocl::convertTypeStr(depth, ddepth, kercn, cvt) [all...] |