Home
last modified time | relevance | path

Searched refs:dst_roi (Results 1 – 23 of 23) sorted by relevance

/external/opencv3/modules/stitching/src/
Dwarpers_cuda.cpp69 static void buildWarpPlaneMaps(Size src_size, Rect dst_roi, InputArray _K, InputArray _R, InputArra… in buildWarpPlaneMaps() argument
87 _map_x.create(dst_roi.size(), CV_32FC1); in buildWarpPlaneMaps()
88 _map_y.create(dst_roi.size(), CV_32FC1); in buildWarpPlaneMaps()
93 …device::imgproc::buildWarpPlaneMaps(dst_roi.tl().x, dst_roi.tl().y, map_x, map_y, K_Rinv.ptr<float… in buildWarpPlaneMaps()
97 static void buildWarpSphericalMaps(Size src_size, Rect dst_roi, InputArray _K, InputArray _R, float… in buildWarpSphericalMaps() argument
113 _map_x.create(dst_roi.size(), CV_32FC1); in buildWarpSphericalMaps()
114 _map_y.create(dst_roi.size(), CV_32FC1); in buildWarpSphericalMaps()
119 …device::imgproc::buildWarpSphericalMaps(dst_roi.tl().x, dst_roi.tl().y, map_x, map_y, K_Rinv.ptr<f… in buildWarpSphericalMaps()
122 static void buildWarpCylindricalMaps(Size src_size, Rect dst_roi, InputArray _K, InputArray _R, flo… in buildWarpCylindricalMaps() argument
138 _map_x.create(dst_roi.size(), CV_32FC1); in buildWarpCylindricalMaps()
[all …]
Dblenders.cpp70 void Blender::prepare(Rect dst_roi) in prepare() argument
72 dst_.create(dst_roi.size(), CV_16SC3); in prepare()
74 dst_mask_.create(dst_roi.size(), CV_8U); in prepare()
76 dst_roi_ = dst_roi; in prepare()
121 void FeatherBlender::prepare(Rect dst_roi) in prepare() argument
123 Blender::prepare(dst_roi); in prepare()
124 dst_weight_map_.create(dst_roi.size(), CV_32F); in prepare()
177 Rect dst_roi = resultRoi(corners, masks); in createWeightMaps() local
178 Mat weights_sum(dst_roi.size(), CV_32F); in createWeightMaps()
183 Rect roi(corners[i].x - dst_roi.x, corners[i].y - dst_roi.y, in createWeightMaps()
[all …]
Dwarpers.cpp157 Rect dst_roi = buildMaps(src.size(), K, R, T, uxmap, uymap); in warp() local
159 dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); in warp()
162 return dst_roi.tl(); in warp()
349 Rect dst_roi = buildMaps(src.size(), K, R, uxmap, uymap); in warp() local
351 dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); in warp()
354 return dst_roi.tl(); in warp()
398 Rect dst_roi = buildMaps(src.size(), K, R, uxmap, uymap); in warp() local
400 dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); in warp()
403 return dst_roi.tl(); in warp()
/external/opencv3/modules/core/test/ocl/
Dtest_channels.cpp122 randomSubMat(dst, dst_roi, roiSize, dstBorder, CV_MAKE_TYPE(depth, dcn), 5, 16); in PARAM_TEST_CASE()
139 OCL_OFF(cv::merge(src_roi, dst_roi)); in OCL_TEST_P()
159 std::vector<Mat> dst_roi, dst; in PARAM_TEST_CASE() local
197 dst_roi.push_back(dst1_roi), udst_roi.push_back(udst1_roi), in PARAM_TEST_CASE()
200 dst_roi.push_back(dst2_roi), udst_roi.push_back(udst2_roi), in PARAM_TEST_CASE()
203 dst_roi.push_back(dst3_roi), udst_roi.push_back(udst3_roi), in PARAM_TEST_CASE()
206 dst_roi.push_back(dst4_roi), udst_roi.push_back(udst4_roi), in PARAM_TEST_CASE()
217 OCL_OFF(cv::split(src_roi, dst_roi)); in OCL_TEST_P()
223 EXPECT_MAT_NEAR(dst_roi[i], udst_roi[i], 0.0); in OCL_TEST_P()
244 std::vector<Mat> src_roi, dst_roi, dst; in PARAM_TEST_CASE() local
[all …]
Dtest_matrix_operation.cpp81 randomSubMat(dst, dst_roi, roiSize, dstBorder, dstType, 5, 16); in PARAM_TEST_CASE()
96 OCL_OFF(src_roi.convertTo(dst_roi, dstType, alpha, beta)); in OCL_TEST_P()
143 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, 5, 16); in PARAM_TEST_CASE()
163 OCL_OFF(src_roi.copyTo(dst_roi, mask_roi)); in OCL_TEST_P()
168 OCL_OFF(src_roi.copyTo(dst_roi)); in OCL_TEST_P()
186 OCL_OFF(dst_roi.setTo(val, mask_roi)); in OCL_TEST_P()
191 OCL_OFF(dst_roi.setTo(val)); in OCL_TEST_P()
Dtest_dft.cpp155 randomSubMat(dst, dst_roi, srcRoiSize, dstBorder, CV_32FC2, 5, 16); in PARAM_TEST_CASE()
169 OCL_OFF(cv::mulSpectrums(src1_roi, src2_roi, dst_roi, 0, ccorr)); in OCL_TEST_P()
Dtest_arithm.cpp88 randomSubMat(dst, dst_roi, roiSize, dstBorder, dst_type, 5, 16); in PARAM_TEST_CASE()
107 OCL_OFF(cv::LUT(src_roi, lut_roi, dst_roi)); in OCL_TEST_P()
1513 randomSubMat(dst, dst_roi, roiSize, dstBorder, CV_8UC1, 5, 16); in PARAM_TEST_CASE()
1538 OCL_OFF(cv::inRange(src1_roi, src2_roi, src3_roi, dst_roi)); in OCL_TEST_P()
1551 OCL_OFF(cv::inRange(src1_roi, val1, val2, dst_roi)); in OCL_TEST_P()
1587 randomSubMat(dst, dst_roi, roiSize, dstBorder, dtype, 5, 16); in PARAM_TEST_CASE()
1610 OCL_OFF(cv::convertScaleAbs(src_roi, dst_roi, val[0], val[1])); in OCL_TEST_P()
1741 randomSubMat(dst, dst_roi, dstRoiSize, dstBorder, dtype, 5, 16); in PARAM_TEST_CASE()
1756 OCL_OFF(cv::reduce(src_roi, dst_roi, dim, CV_REDUCE_SUM, dtype)); in OCL_TEST_P()
1772 OCL_OFF(cv::reduce(src_roi, dst_roi, dim, CV_REDUCE_MAX, dtype)); in OCL_TEST_P()
[all …]
/external/opencv3/modules/imgproc/test/ocl/
Dtest_accumulate.cpp91 randomSubMat(dst, dst_roi, roiSize, dstBorder, dtype, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
112 OCL_OFF(cv::accumulate(src_roi, dst_roi)); in OCL_TEST_P()
125 OCL_OFF(cv::accumulate(src_roi, dst_roi, mask_roi)); in OCL_TEST_P()
142 OCL_OFF(cv::accumulateSquare(src_roi, dst_roi)); in OCL_TEST_P()
155 OCL_OFF(cv::accumulateSquare(src_roi, dst_roi, mask_roi)); in OCL_TEST_P()
172 OCL_OFF(cv::accumulateProduct(src_roi, src2_roi, dst_roi)); in OCL_TEST_P()
185 OCL_OFF(cv::accumulateProduct(src_roi, src2_roi, dst_roi, mask_roi)); in OCL_TEST_P()
202 OCL_OFF(cv::accumulateWeighted(src_roi, dst_roi, alpha)); in OCL_TEST_P()
215 OCL_OFF(cv::accumulateWeighted(src_roi, dst_roi, alpha)); in OCL_TEST_P()
Dtest_imgproc.cpp91 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, 5, 16); in PARAM_TEST_CASE()
149 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
167 …OCL_OFF(cv::copyMakeBorder(src_roi, dst_roi, border.top, border.bot, border.lef, border.rig, borde… in OCL_TEST_P()
184 OCL_OFF(cv::equalizeHist(src_roi, dst_roi)); in OCL_TEST_P()
218 randomSubMat(dst, dst_roi, roiSize, dstBorder, CV_32FC1, 5, 16); in random_roi()
235 OCL_OFF(cv::cornerMinEigenVal(src_roi, dst_roi, blockSize, apertureSize, borderType)); in OCL_TEST_P()
255 OCL_OFF(cv::cornerHarris(src_roi, dst_roi, blockSize, apertureSize, k, borderType)); in OCL_TEST_P()
274 OCL_OFF(cv::preCornerDetect(src_roi, dst_roi, apertureSize, borderType)); in OCL_TEST_P()
308 randomSubMat(dst, dst_roi, isize, dstBorder, sdepth, 5, 16); in random_roi()
333 OCL_OFF(cv::integral(src_roi, dst_roi, sdepth)); in OCL_TEST_P()
[all …]
Dtest_filters.cpp101 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -60, 70); in PARAM_TEST_CASE()
141 OCL_OFF(cv::bilateralFilter(src_roi, dst_roi, ksize, sigmacolor, sigmaspace, borderType)); in OCL_TEST_P()
161 OCL_OFF(cv::Laplacian(src_roi, dst_roi, -1, ksize, scale, 10, borderType)); in OCL_TEST_P()
183 OCL_OFF(cv::Sobel(src_roi, dst_roi, -1, dx, dy, ksize, scale, /* delta */0, borderType)); in OCL_TEST_P()
204 OCL_OFF(cv::Scharr(src_roi, dst_roi, -1, dx, dy, scale, /* delta */ 0, borderType)); in OCL_TEST_P()
225 OCL_OFF(cv::GaussianBlur(src_roi, dst_roi, Size(ksize, ksize), sigma1, sigma2, borderType)); in OCL_TEST_P()
247 OCL_OFF(cv::erode(src_roi, dst_roi, kernel, Point(-1, -1), iterations) ); in OCL_TEST_P()
269 OCL_OFF(cv::dilate(src_roi, dst_roi, kernel, Point(-1, -1), iterations) ); in OCL_TEST_P()
311 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -60, 70); in IMPLEMENT_PARAM_CLASS()
346 OCL_OFF(cv::morphologyEx(src_roi, dst_roi, op, kernel, Point(-1, -1), iterations) ); in OCL_TEST_P()
Dtest_warp.cpp101 randomSubMat(dst, dst_roi, dsize, dstBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
110 EXPECT_MAT_N_DIFF(dst_roi, udst_roi, cvRound(dst_roi.total()*threshold)); in PARAM_TEST_CASE()
130 OCL_OFF(cv::warpAffine(src_roi, dst_roi, M, dsize, interpolation)); in OCL_TEST_P()
157 OCL_OFF(cv::warpPerspective(src_roi, dst_roi, M, dsize, interpolation)); in OCL_TEST_P()
208 randomSubMat(dst, dst_roi, dstRoiSize, dstBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
229 OCL_OFF(cv::resize(src_roi, dst_roi, Size(), fx, fy, interpolation)); in OCL_TEST_P()
271 randomSubMat(dst, dst_roi, dstROISize, dstBorder, srcType, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
307 OCL_OFF(cv::remap(src_roi, dst_roi, map1_roi, map2_roi, INTER_NEAREST, borderType, val)); in OCL_TEST_P()
329 OCL_OFF(cv::remap(src_roi, dst_roi, map1_roi, map2_roi, INTER_LINEAR, borderType, val)); in OCL_TEST_P()
Dtest_medianfilter.cpp77 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
86 EXPECT_MAT_NEAR(dst_roi, udst_roi, threshold); in PARAM_TEST_CASE()
96 OCL_OFF(cv::medianBlur(src_roi, dst_roi, ksize)); in OCL_TEST_P()
Dtest_canny.cpp90 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, 5, 16); in IMPLEMENT_PARAM_CLASS()
108 OCL_OFF(cv::Canny(src_roi, dst_roi, low_thresh, high_thresh, apperture_size, useL2gradient)); in OCL_TEST_P()
111 EXPECT_MAT_SIMILAR(dst_roi, udst_roi, eps); in OCL_TEST_P()
Dtest_filter2d.cpp93 randomSubMat(dst, dst_roi, size, dstBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
107 EXPECT_MAT_NEAR(dst_roi, udst_roi, threshold); in PARAM_TEST_CASE()
117 OCL_OFF(cv::filter2D(src_roi, dst_roi, -1, kernel, anchor, delta, borderType)); in OCL_TEST_P()
Dtest_pyramids.cpp77 …randomSubMat(dst, dst_roi, dst_roiSize, dstBorder, CV_MAKETYPE(depth, channels), -MAX_VALUE, MAX_V… in PARAM_TEST_CASE()
103 OCL_OFF(pyrDown(src_roi, dst_roi, dst_roiSize, borderType)); in OCL_TEST_P()
130 OCL_OFF(pyrUp(src_roi, dst_roi, dst_roiSize, borderType)); in OCL_TEST_P()
Dtest_boxfilter.cpp86 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
109 OCL_OFF(cv::boxFilter(src_roi, dst_roi, -1, ksize, anchor, normalize, borderType)); in OCL_TEST_P()
126 OCL_OFF(cv::sqrBoxFilter(src_roi, dst_roi, ddepth, ksize, anchor, normalize, borderType)); in OCL_TEST_P()
Dtest_histogram.cpp134 randomSubMat(dst, dst_roi, roiSize, dstBorder, CV_MAKE_TYPE(depth, 1), 5, 16); in PARAM_TEST_CASE()
205 OCL_OFF(cv::calcBackProject(images_roi, channels, hist_roi, dst_roi, ranges, scale)); in OCL_TEST_P()
208 Size dstSize = dst_roi.size(); in OCL_TEST_P()
212 EXPECT_MAT_N_DIFF(dst_roi, udst_roi, nDiffs); in OCL_TEST_P()
Dtest_blend.cpp96 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, 5, 16); in PARAM_TEST_CASE()
117 OCL_OFF(cv::blendLinear(src1_roi, src2_roi, weights1_roi, weights2_roi, dst_roi)); in OCL_TEST_P()
Dtest_sepfilter2D.cpp94 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
115 OCL_OFF(cv::sepFilter2D(src_roi, dst_roi, -1, kernelX, kernelY, anchor, delta, borderType)); in OCL_TEST_P()
Dtest_color.cpp81 randomSubMat(dst, dst_roi, roiSize, dstBorder, dstType, 5, 16); in PARAM_TEST_CASE()
98 OCL_OFF(cv::cvtColor(src_roi, dst_roi, code, channelsOut)); in PARAM_TEST_CASE()
340 randomSubMat(dst, dst_roi, roiSize, dstBorder, dstType, 5, 16); in generateTestData()
383 randomSubMat(dst, dst_roi, dstRoiSize, dstBorder, dstType, 5, 16); in generateTestData()
416 randomSubMat(dst, dst_roi, roiSize, dstBorder, dstType, 5, 16); in generateTestData()
/external/opencv3/modules/photo/test/ocl/
Dtest_denoising.cpp70 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, 0, 255); in PARAM_TEST_CASE()
85 …OCL_OFF(cv::fastNlMeansDenoising(src_roi, dst_roi, std::vector<float>(1, h[0]), templateWindowSize… in OCL_TEST_P()
100 …OCL_OFF(cv::fastNlMeansDenoising(src_roi, dst_roi, h, templateWindowSize, searchWindowSize, normTy… in OCL_TEST_P()
115 …OCL_OFF(cv::fastNlMeansDenoisingColored(src_roi, dst_roi, h[0], h[0], templateWindowSize, searchWi… in OCL_TEST_P()
/external/opencv3/modules/stitching/include/opencv2/stitching/detail/
Dblenders.hpp73 virtual void prepare(Rect dst_roi);
103 void prepare(Rect dst_roi);
130 void prepare(Rect dst_roi);
Dwarpers_inl.hpp98 Rect dst_roi = buildMaps(src.size(), K, R, xmap, ymap); in warp() local
100 dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); in warp()
103 return dst_roi.tl(); in warp()