/external/opencv3/modules/imgproc/test/ocl/ |
H A D | test_blend.cpp | 78 Size roiSize = randomSize(1, MAX_VALUE); local 80 randomSubMat(src1, src1_roi, roiSize, src1Border, type, -upValue, upValue); 83 randomSubMat(src2, src2_roi, roiSize, src2Border, type, -upValue, upValue); 86 randomSubMat(weights1, weights1_roi, roiSize, weights1Border, CV_32FC1, -upValue, upValue); 89 randomSubMat(weights2, weights2_roi, roiSize, weights2Border, CV_32FC1, 1e-2, upValue); 93 roiSize.width, roiSize.height))) < 1e-6); 96 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, 5, 16);
|
H A D | test_medianfilter.cpp | 72 Size roiSize = randomSize(1, MAX_VALUE); local 74 randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); 77 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -MAX_VALUE, MAX_VALUE);
|
H A D | test_imgproc.cpp | 86 Size roiSize = randomSize(1, MAX_VALUE); local 88 randomSubMat(src, src_roi, roiSize, srcBorder, type, 5, 256); 91 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, 5, 16); 139 Size roiSize = randomSize(1, MAX_VALUE); local 141 randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); 149 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -MAX_VALUE, MAX_VALUE); 209 Size roiSize = image.size(); local 212 Size wholeSize = Size(roiSize.width + srcBorder.lef + srcBorder.rig, roiSize.height + srcBorder.top + srcBorder.bot); 214 src_roi = src(Rect(srcBorder.lef, srcBorder.top, roiSize 303 Size roiSize = randomSize(1, MAX_VALUE), isize = Size(roiSize.width + 1, roiSize.height + 1); local 405 Size roiSize = randomSize(std::max(gridSize.height, gridSize.width), MAX_VALUE); local [all...] |
H A D | test_canny.cpp | 82 Size roiSize = img.size(); local 86 randomSubMat(src, src_roi, roiSize, srcBorder, type, 2, 100); 90 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, 5, 16);
|
H A D | test_boxfilter.cpp | 81 Size roiSize = randomSize(ksize.width, MAX_VALUE, ksize.height, MAX_VALUE); local 83 randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); 86 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -MAX_VALUE, MAX_VALUE);
|
H A D | test_sepfilter2D.cpp | 89 Size roiSize = randomSize(ksize.width, MAX_VALUE, ksize.height, MAX_VALUE); local 91 randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); 94 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -MAX_VALUE, MAX_VALUE);
|
H A D | test_filters.cpp | 93 Size roiSize = randomSize(minSize, MAX_VALUE); local 94 roiSize.width &= ~((widthMultiple * 2) - 1); 95 roiSize.width += widthMultiple; 98 randomSubMat(src, src_roi, roiSize, srcBorder, type, 5, 256); 101 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -60, 70); 305 Size roiSize = randomSize(minSize, MAX_VALUE); local 308 randomSubMat(src, src_roi, roiSize, srcBorder, type, 5, 256); 311 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -60, 70);
|
H A D | test_accumulate.cpp | 79 Size roiSize = randomSize(1, 10); local 81 randomSubMat(src, src_roi, roiSize, srcBorder, stype, -MAX_VALUE, MAX_VALUE); 84 randomSubMat(mask, mask_roi, roiSize, maskBorder, CV_8UC1, -MAX_VALUE, MAX_VALUE); 88 randomSubMat(src2, src2_roi, roiSize, src2Border, stype, -MAX_VALUE, MAX_VALUE); 91 randomSubMat(dst, dst_roi, roiSize, dstBorder, dtype, -MAX_VALUE, MAX_VALUE);
|
H A D | test_histogram.cpp | 99 Size roiSize = randomSize(1, MAX_VALUE); local 110 randomSubMat(images[i], images_roi[i], roiSize, srcBorder, CV_MAKE_TYPE(depth, cn), 0, 125); 134 randomSubMat(dst, dst_roi, roiSize, dstBorder, CV_MAKE_TYPE(depth, 1), 5, 16); 238 Size roiSize = randomSize(1, MAX_VALUE); local 241 randomSubMat(src, src_roi, roiSize, srcBorder, CV_8UC1, 0, 256);
|
H A D | test_gftt.cpp | 77 Size roiSize = frame.size(); local 79 randomSubMat(src, src_roi, roiSize, srcBorder, frame.type(), 5, 256);
|
H A D | test_color.cpp | 76 Size roiSize = randomSize(1, MAX_VALUE); local 78 randomSubMat(src, src_roi, roiSize, srcBorder, srcType, 2, 100); 81 randomSubMat(dst, dst_roi, roiSize, dstBorder, dstType, 5, 16); 333 Size roiSize = randomSize(1, MAX_VALUE); local 334 roiSize.width *= 2; 335 roiSize.height *= 3; 337 randomSubMat(src, src_roi, roiSize, srcBorder, srcType, 2, 100); 340 randomSubMat(dst, dst_roi, roiSize, dstBorder, dstType, 5, 16); 409 Size roiSize = randomSize(1, MAX_VALUE); local 410 roiSize [all...] |
H A D | test_warp.cpp | 96 Size roiSize = randomSize(1, MAX_VALUE); local 98 randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE);
|
/external/opencv3/modules/core/test/ocl/ |
H A D | test_channels.cpp | 87 Size roiSize = randomSize(1, MAX_VALUE); local 91 randomSubMat(src1, src1_roi, roiSize, src1Border, type(), 2, 11); 94 randomSubMat(src2, src2_roi, roiSize, src2Border, type(), -1540, 1740); 97 randomSubMat(src3, src3_roi, roiSize, src3Border, type(), -1540, 1740); 100 randomSubMat(src4, src4_roi, roiSize, src4Border, type(), -1540, 1740); 122 randomSubMat(dst, dst_roi, roiSize, dstBorder, CV_MAKE_TYPE(depth, dcn), 5, 16); 173 Size roiSize = randomSize(1, MAX_VALUE); local 175 randomSubMat(src, src_roi, roiSize, srcBorder, CV_MAKE_TYPE(depth, cn), 5, 16); 179 randomSubMat(dst1, dst1_roi, roiSize, dst1Border, depth, 2, 11); 182 randomSubMat(dst2, dst2_roi, roiSize, dst2Borde 271 Size roiSize = randomSize(1, MAX_VALUE); local 386 Size roiSize = randomSize(1, MAX_VALUE); local 432 Size roiSize = randomSize(1, MAX_VALUE); local [all...] |
H A D | test_matrix_operation.cpp | 76 Size roiSize = randomSize(1, MAX_VALUE); local 78 randomSubMat(src, src_roi, roiSize, srcBorder, CV_MAKE_TYPE(src_depth, cn), -MAX_VALUE, MAX_VALUE); 81 randomSubMat(dst, dst_roi, roiSize, dstBorder, dstType, 5, 16); 128 Size roiSize = randomSize(1, MAX_VALUE); local 130 randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); 138 randomSubMat(mask, mask_roi, roiSize, maskBorder, CV_8UC(mask_cn), 0, 2); 143 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, 5, 16);
|
H A D | test_arithm.cpp | 79 Size roiSize = randomSize(1, MAX_VALUE); local 81 randomSubMat(src, src_roi, roiSize, srcBorder, src_type, 0, 256); 88 randomSubMat(dst, dst_roi, roiSize, dstBorder, dst_type, 5, 16); 144 Size roiSize = randomSize(1, MAX_VALUE); local 146 randomSubMat(src1, src1_roi, roiSize, src1Border, type, 2, 11); // FIXIT: Test with minV, maxV 149 randomSubMat(src2, src2_roi, roiSize, src2Border, type, std::max(-1540., minV), std::min(1740., maxV)); 152 randomSubMat(dst1, dst1_roi, roiSize, dst1Border, type, 5, 16); 155 randomSubMat(dst2, dst2_roi, roiSize, dst2Border, type, 5, 16); 158 randomSubMat(mask, mask_roi, roiSize, maskBorder, CV_8UC1, 0, 2); 570 Size roiSize local 589 Size roiSize = randomSize(1, MAX_VALUE); local 1502 Size roiSize = randomSize(1, MAX_VALUE); local 1582 Size roiSize = randomSize(1, MAX_VALUE); local 1654 Size roiSize = randomSize(1, 10); local 1735 Size roiSize = randomSize(1, MAX_VALUE); local [all...] |
/external/opencv3/modules/photo/test/ocl/ |
H A D | test_denoising.cpp | 51 Size roiSize = use_image ? image.size() : randomSize(1, MAX_VALUE); local 53 randomSubMat(src, src_roi, roiSize, srcBorder, type, 0, 255); 58 src_roi.create(roiSize, type); 63 src_roi.create(roiSize, type); 70 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, 0, 255);
|
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/ |
H A D | NPP_staging.hpp | 668 * \param roiSize [IN] Size of the input image 675 NCVStatus nppiStIntegralGetSize_8u32u(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp); 683 NCVStatus nppiStIntegralGetSize_32f32f(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp); 693 * \param roiSize [IN] Region of interest of the source image 702 Ncv32u *d_dst, Ncv32u dstStep, NcvSize32u roiSize, 712 Ncv32f *d_dst, Ncv32u dstStep, NcvSize32u roiSize, 723 * \param roiSize [IN] Region of interest of the source image 729 Ncv32u *h_dst, Ncv32u dstStep, NcvSize32u roiSize); 738 Ncv32f *h_dst, Ncv32u dstStep, NcvSize32u roiSize); 744 * \param roiSize [I [all...] |
/external/opencv/cv/src/ |
H A D | _cvipp.h | 173 CvSize roiSize, void* pBuffer )) 179 CvSize roiSize, void* pBuffer )) 597 int dstStep, CvSize roiSize, const float* pMetrics )) 602 int dstStep, CvSize roiSize, const float* pMetrics )) 606 ( uchar* pSrc, int srcStep, CvSize roiSize, const int* pMetrics )) 611 int dstStep, CvSize roiSize, const int* pMetrics )) 647 ( CvSize roiSize, int* bufferSize )) 651 uchar* pDstEdges, int dstEdgeStep, CvSize roiSize, float lowThresh, 660 CV_PLUGINS1(CV_PLUGIN_IPPCV), ( CvSize roiSize, int *pBufsize )) 664 (float *pxMap, int xStep, float *pyMap, int yStep, CvSize roiSize, [all...] |
/external/opencv3/modules/cudalegacy/src/cuda/ |
H A D | NPP_staging.cu | 487 NCVStatus nppiStIntegralGetSize_8u32u(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp) 490 ncvAssertReturn(roiSize.width > 0 && roiSize.height > 0, NPPST_INVALID_ROI); 495 NCVStatus ncvStat = ncvIntegralImage_device((Ncv8u*)NULL, roiSize.width, 496 (Ncv32u*)NULL, (roiSize.width+1) * sizeof(Ncv32u), 497 roiSize, gpuCounter); 505 NCVStatus nppiStIntegralGetSize_32f32f(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp) 508 ncvAssertReturn(roiSize.width > 0 && roiSize.height > 0, NPPST_INVALID_ROI); 513 NCVStatus ncvStat = ncvIntegralImage_device((Ncv32f*)NULL, roiSize [all...] |
/external/opencv3/modules/imgproc/src/ |
H A D | deriv.cpp | 225 IppiSize roiSize = {src.cols, src.rows}; local 235 if (0 > ippiFilterScharrHorizMaskBorderGetBufferSize(roiSize, ippMskSize3x3, ipp8u, ipp16s, 1, &bufferSize)) 240 sts = ippiFilterScharrHorizMaskBorder_8u16s_C1R(src.ptr(), (int)src.step, dst.ptr<Ipp16s>(), (int)dst.step, roiSize, ippMskSize3x3, ippiBorderType, 0, pBuffer); 244 if (0 > ippiFilterScharrVertMaskBorderGetBufferSize(roiSize, ippMskSize3x3, ipp8u, ipp16s, 1, &bufferSize)) 249 sts = ippiFilterScharrVertMaskBorder_8u16s_C1R(src.ptr(), (int)src.step, dst.ptr<Ipp16s>(), (int)dst.step, roiSize, ippMskSize3x3, ippiBorderType, 0, pBuffer); 258 if (0 > ippiFilterScharrHorizMaskBorderGetBufferSize(roiSize, ippMskSize3x3, ipp16s, ipp16s, 1, &bufferSize)) 263 sts = ippiFilterScharrHorizMaskBorder_16s_C1R(src.ptr<Ipp16s>(), (int)src.step, dst.ptr<Ipp16s>(), (int)dst.step, roiSize, ippMskSize3x3, ippiBorderType, 0, pBuffer); 267 if (0 > ippiFilterScharrVertMaskBorderGetBufferSize(roiSize, ippMskSize3x3, ipp16s, ipp16s, 1, &bufferSize)) 272 sts = ippiFilterScharrVertMaskBorder_16s_C1R(src.ptr<Ipp16s>(), (int)src.step, dst.ptr<Ipp16s>(), (int)dst.step, roiSize, ippMskSize3x3, ippiBorderType, 0, pBuffer); 281 if (0 > ippiFilterScharrHorizMaskBorderGetBufferSize(roiSize, ippMskSize3x [all...] |
H A D | accum.cpp | 864 typedef IppStatus (CV_STDCALL * ippiAdd)(const void * pSrc, int srcStep, Ipp32f * pSrcDst, int srcdstStep, IppiSize roiSize); 866 int srcDstStep, IppiSize roiSize); 949 typedef IppStatus (CV_STDCALL * ippiAddSquare)(const void * pSrc, int srcStep, Ipp32f * pSrcDst, int srcdstStep, IppiSize roiSize); 951 int srcDstStep, IppiSize roiSize); 1035 int src2Step, Ipp32f * pSrcDst, int srcDstStep, IppiSize roiSize); 1037 const Ipp8u * pMask, int maskStep, Ipp32f * pSrcDst, int srcDstStep, IppiSize roiSize); 1122 IppiSize roiSize, Ipp32f alpha); 1125 int srcDstStep, IppiSize roiSize, Ipp32f alpha);
|
H A D | morph.cpp | 1152 IppiSize roiSize = {src.cols, src.rows}; local 1164 if (0 > ippiMorphologyBorderGetSize_##flavor(roiSize.width, kernelSize, &specSize, &bufferSize))\ 1168 if (0 > ippiMorphologyBorderInit_##flavor(roiSize.width, kernel.ptr(), kernelSize, pSpec, pBuffer))\ 1177 roiSize, ippBorderRepl, 0, pSpec, pBuffer));\ 1180 roiSize, ippBorderRepl, 0, pSpec, pBuffer));\ 1195 if (0 > ippiMorphologyGetSize_##flavor( roiSize.width, kernel.ptr() kernelSize, &specSize))\ 1199 if (ippiMorphologyInit_##flavor(roiSize.width, kernel.ptr(), kernelSize, point, pState) >= 0)\ 1204 roiSize, ippBorderRepl, pState ) >= 0;\ 1208 roiSize, ippBorderRepl, pState ) >= 0;\ 1242 return (0 <= ippiFilterMinBorderReplicate_##flavor(_src->ptr<Ipp##data_type>(), (int)_src->step[0], dst.ptr<Ipp##data_type>(), (int)dst.step[0], roiSize, kernelSiz [all...] |
H A D | smooth.cpp | 1347 IppiSize roiSize = { dst.cols, dst.rows }, maskSize = { ksize.width, ksize.height }; 1352 if (ippiFilterBoxBorderGetBufferSize(roiSize, maskSize, ippDataType, cn, &bufSize) >= 0) \ 1358 (int)dst.step, roiSize, maskSize, \ 1669 IppiSize roiSize = { src.cols, src.rows }; 1673 if (ippiFilterGaussianGetBufferSize(roiSize, (Ipp32u)ksize.width, dataType, cn, &specSize, &bufferSize) >= 0) 1678 if (ippiFilterGaussianInit(roiSize, (Ipp32u)ksize.width, (Ipp32f)sigma1, ippBorder, dataType, 1, pSpec, pBuffer) >= 0) 1687 dst.ptr<ippType>(), (int)dst.step, roiSize, borderValues[0], pSpec, pBuffer) : \ 1689 dst.ptr<ippType>(), (int)dst.step, roiSize, borderValues, pSpec, pBuffer); \
|
/external/opencv3/modules/ts/include/opencv2/ts/ |
H A D | ocl_test.hpp | 269 void randomSubMat(Mat& whole, Mat& subMat, const Size& roiSize, const Border& border, int type, double minVal, double maxVal) argument 271 Size wholeSize = Size(roiSize.width + border.lef + border.rig, roiSize.height + border.top + border.bot); 273 subMat = whole(Rect(border.lef, border.top, roiSize.width, roiSize.height));
|
/external/opencv3/modules/cudaobjdetect/src/ |
H A D | cascadeclassifier.cpp | 787 NcvSize32u roiSize; 788 roiSize.width = frame.width; 789 roiSize.height = frame.height; 795 ncvSafeCall( nppiStIntegralGetSize_8u32u(roiSize, &bufSize, prop) );
|