Home
last modified time | relevance | path

Searched refs:loadMat (Results 1 – 25 of 29) sorted by relevance

12

/external/opencv3/modules/cudaimgproc/test/
Dtest_color.cpp79 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2RGB); in CUDA_TEST_P()
92 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2RGBA); in CUDA_TEST_P()
105 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2BGRA); in CUDA_TEST_P()
119 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2RGB); in CUDA_TEST_P()
133 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2BGR); in CUDA_TEST_P()
147 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2RGBA); in CUDA_TEST_P()
160 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2GRAY); in CUDA_TEST_P()
173 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2GRAY); in CUDA_TEST_P()
187 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_GRAY2BGR); in CUDA_TEST_P()
201 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_GRAY2BGRA, 4); in CUDA_TEST_P()
[all …]
Dtest_match_template.cpp88 alg->match(loadMat(image), loadMat(templ), dst); in CUDA_TEST_P()
147 alg->match(loadMat(image), loadMat(templ), dst); in CUDA_TEST_P()
201 alg->match(loadMat(image), loadMat(pattern), d_dst); in CUDA_TEST_P()
248 alg->match(loadMat(image), loadMat(pattern), d_dst); in CUDA_TEST_P()
299 alg->match(loadMat(scene), loadMat(templ), d_result); in CUDA_TEST_P()
324 alg->match(loadMat(scene), loadMat(templ), d_result); in CUDA_TEST_P()
Dtest_blend.cpp107 …cv::cuda::blendLinear(loadMat(img1, useRoi), loadMat(img2, useRoi), loadMat(weights1, useRoi), loa… in CUDA_TEST_P()
Dtest_mean_shift.cpp85 cv::cuda::meanShiftFiltering(loadMat(img), d_dst, spatialRad, colorRad); in CUDA_TEST_P()
111 cv::cuda::meanShiftFiltering(loadMat(img), rmap_filtered, spatialRad, colorRad); in CUDA_TEST_P()
115 cv::cuda::meanShiftProc(loadMat(img), rmap, spmap, spatialRad, colorRad); in CUDA_TEST_P()
162 cv::cuda::meanShiftSegmentation(loadMat(img), dst, 10, 10, minsize); in CUDA_TEST_P()
Dtest_histogram.cpp74 cv::cuda::histEven(loadMat(src), hist, hbins, (int) hranges[0], (int) hranges[1]); in CUDA_TEST_P()
116 cv::cuda::calcHist(loadMat(src), hist); in CUDA_TEST_P()
159 cv::cuda::equalizeHist(loadMat(src), dst); in CUDA_TEST_P()
201 clahe->apply(loadMat(src), dst); in CUDA_TEST_P()
Dtest_hough.cpp100 hough->detect(loadMat(src, useRoi), d_lines); in CUDA_TEST_P()
156 houghCircles->detect(loadMat(src, useRoi), d_circles); in CUDA_TEST_P()
224 alg->setTemplate(loadMat(templ, useRoi)); in CUDA_TEST_P()
227 alg->detect(loadMat(image, useRoi), d_pos); in CUDA_TEST_P()
Dtest_corners.cpp88 harris->compute(loadMat(src), dst); in CUDA_TEST_P()
134 minEigenVal->compute(loadMat(src), dst); in CUDA_TEST_P()
Dtest_canny.cpp87 canny->detect(loadMat(img, useRoi), edges); in CUDA_TEST_P()
Dtest_bilateral_filter.cpp82 cv::cuda::bilateralFilter(loadMat(src), dst, kernel_size, sigma_color, sigma_spatial); in CUDA_TEST_P()
/external/opencv3/modules/cudaarithm/test/
Dtest_reductions.cpp77 double val = cv::cuda::norm(loadMat(src, useRoi), normCode, loadMat(mask, useRoi)); in CUDA_TEST_P()
92 cv::cuda::calcNorm(loadMat(src, useRoi), dst, normCode, loadMat(mask, useRoi), stream); in CUDA_TEST_P()
142 double val = cv::cuda::norm(loadMat(src1, useRoi), loadMat(src2, useRoi), normCode); in CUDA_TEST_P()
157 cv::cuda::calcNormDiff(loadMat(src1, useRoi), loadMat(src2, useRoi), dst, normCode, stream); in CUDA_TEST_P()
283 cv::Scalar val = cv::cuda::sum(loadMat(src, useRoi)); in CUDA_TEST_P()
295 cv::cuda::calcSum(loadMat(src, useRoi), dst, cv::noArray(), stream); in CUDA_TEST_P()
310 cv::Scalar val = cv::cuda::absSum(loadMat(src, useRoi)); in CUDA_TEST_P()
322 cv::cuda::calcAbsSum(loadMat(src, useRoi), dst, cv::noArray(), stream); in CUDA_TEST_P()
337 cv::Scalar val = cv::cuda::sqrSum(loadMat(src, useRoi)); in CUDA_TEST_P()
349 cv::cuda::calcSqrSum(loadMat(src, useRoi), dst, cv::noArray(), stream); in CUDA_TEST_P()
[all …]
Dtest_element_operations.cpp88 cv::cuda::add(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
99 …cv::cuda::add(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
150 cv::cuda::add(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
161 …cv::cuda::add(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, loadMat(mask, useRoi), depth.seco… in CUDA_TEST_P()
207 cv::cuda::add(loadMat(mat), val, dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
218 cv::cuda::add(loadMat(mat, useRoi), val, dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
238 cv::cuda::add(loadMat(mat), val, dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
249 cv::cuda::add(loadMat(mat, useRoi), val, dst, loadMat(mask, useRoi), depth.second); in CUDA_TEST_P()
295 cv::cuda::add(val, loadMat(mat), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
306 cv::cuda::add(val, loadMat(mat, useRoi), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
[all …]
Dtest_arithm.cpp90 cv::cuda::gemm(loadMat(src1), loadMat(src2), alpha, loadMat(src3), beta, dst, flags); in CUDA_TEST_P()
102 cv::cuda::gemm(loadMat(src1), loadMat(src2), alpha, loadMat(src3), beta, dst, flags); in CUDA_TEST_P()
112 …cv::cuda::gemm(loadMat(src1, useRoi), loadMat(src2, useRoi), alpha, loadMat(src3, useRoi), beta, d… in CUDA_TEST_P()
157 cv::cuda::mulSpectrums(loadMat(a), loadMat(b), c, flag, false); in CUDA_TEST_P()
170 cv::cuda::mulAndScaleSpectrums(loadMat(a), loadMat(b), c, flag, scale, false); in CUDA_TEST_P()
217 cv::cuda::dft(loadMat(a), d_b, cv::Size(cols, rows), flags); in testC2C()
277 cv::cuda::dft(loadMat(a), d_b, cv::Size(cols, rows), 0); in testR2CThenC2R()
388 conv->convolve(loadMat(src), loadMat(kernel), dst, ccorr); in CUDA_TEST_P()
Dtest_gpumat.cpp144 mat.setTo(val, loadMat(mask)); in CUDA_TEST_P()
153 cv::cuda::GpuMat mat = loadMat(mat_gold, useRoi); in CUDA_TEST_P()
154 mat.setTo(val, loadMat(mask, useRoi)); in CUDA_TEST_P()
194 cv::cuda::GpuMat d_src = loadMat(src, useRoi); in CUDA_TEST_P()
210 cv::cuda::GpuMat d_src = loadMat(src); in CUDA_TEST_P()
212 d_src.copyTo(dst, loadMat(mask, useRoi)); in CUDA_TEST_P()
221 cv::cuda::GpuMat d_src = loadMat(src, useRoi); in CUDA_TEST_P()
222 cv::cuda::GpuMat dst = loadMat(cv::Mat::zeros(size, type), useRoi); in CUDA_TEST_P()
223 d_src.copyTo(dst, loadMat(mask, useRoi)); in CUDA_TEST_P()
269 cv::cuda::GpuMat d_src = loadMat(src); in CUDA_TEST_P()
[all …]
Dtest_core.cpp81 d_src.push_back(loadMat(src[i], useRoi)); in CUDA_TEST_P()
150 cv::cuda::split(loadMat(src), dst); in CUDA_TEST_P()
160 cv::cuda::split(loadMat(src, useRoi), dst); in CUDA_TEST_P()
211 cv::cuda::transpose(loadMat(src), dst); in CUDA_TEST_P()
221 cv::cuda::transpose(loadMat(src, useRoi), dst); in CUDA_TEST_P()
274 cv::cuda::flip(loadMat(src, useRoi), dst, flip_code); in CUDA_TEST_P()
329 lutAlg->transform(loadMat(src, useRoi), dst); in CUDA_TEST_P()
345 lutAlg->transform(loadMat(src, useRoi), dst); in CUDA_TEST_P()
395 …cv::cuda::copyMakeBorder(loadMat(src, useRoi), dst, border, border, border, border, borderType, va… in CUDA_TEST_P()
/external/opencv3/modules/cudastereo/test/
Dtest_stereo.cpp77 bm->compute(loadMat(left_image), loadMat(right_image), disp); in CUDA_TEST_P()
117 bp->compute(loadMat(left_image), loadMat(right_image), disp); in CUDA_TEST_P()
161 csbp->compute(loadMat(left_image), loadMat(right_image), disp); in CUDA_TEST_P()
198 cv::cuda::reprojectImageTo3D(loadMat(disp, useRoi), dst, Q, 3); in CUDA_TEST_P()
/external/opencv3/modules/cudaoptflow/test/
Dtest_optflow.cpp79 brox->calc(loadMat(frame0), loadMat(frame1), flow); in CUDA_TEST_P()
147 brox->calc(loadMat(frame0), loadMat(frame1), flow); in CUDA_TEST_P()
213 pyrLK->calc(loadMat(frame0), loadMat(frame1), d_pts, d_nextPts, d_status); in CUDA_TEST_P()
309 farn->calc(loadMat(frame0), loadMat(frame1), d_flow); in CUDA_TEST_P()
317 farn->calc(loadMat(frame0), loadMat(frame1), d_flow); in CUDA_TEST_P()
370 d_alg->calc(loadMat(frame0), loadMat(frame1), d_flow); in CUDA_TEST_P()
/external/opencv3/modules/cudafeatures2d/test/
Dtest_features2d.cpp86 fast->detect(loadMat(image), keypoints); in CUDA_TEST_P()
96 fast->detect(loadMat(image), keypoints); in CUDA_TEST_P()
175 orb->detectAndComputeAsync(loadMat(image), loadMat(mask), keypoints, descriptors); in CUDA_TEST_P()
186 orb->detectAndCompute(loadMat(image), loadMat(mask), keypoints, descriptors); in CUDA_TEST_P()
299 matcher->match(loadMat(query), loadMat(train), matches, mask); in CUDA_TEST_P()
384 matcher->knnMatch(loadMat(query), loadMat(train), matches, knn, mask); in CUDA_TEST_P()
424 matcher->knnMatch(loadMat(query), loadMat(train), matches, knn, mask); in CUDA_TEST_P()
587 matcher->radiusMatch(loadMat(query), loadMat(train), matches, radius); in CUDA_TEST_P()
604 matcher->radiusMatch(loadMat(query), loadMat(train), matches, radius, mask); in CUDA_TEST_P()
/external/opencv3/modules/cudafilters/test/
Dtest_filters.cpp104 blurFilter->apply(loadMat(src, useRoi), dst); in CUDA_TEST_P()
156 filter2D->apply(loadMat(src, useRoi), dst); in CUDA_TEST_P()
203 laplacian->apply(loadMat(src, useRoi), dst); in CUDA_TEST_P()
260 filter->apply(loadMat(src, useRoi), dst); in CUDA_TEST_P()
332 sobel->apply(loadMat(src, useRoi), dst); in CUDA_TEST_P()
397 scharr->apply(loadMat(src, useRoi), dst); in CUDA_TEST_P()
458 gauss->apply(loadMat(src, useRoi), dst); in CUDA_TEST_P()
525 erode->apply(loadMat(src, useRoi), dst); in CUDA_TEST_P()
576 dilate->apply(loadMat(src, useRoi), dst); in CUDA_TEST_P()
631 morph->apply(loadMat(src, useRoi), dst); in CUDA_TEST_P()
/external/opencv3/modules/cudawarping/test/
Dtest_remap.cpp164 …cv::cuda::remap(loadMat(src, useRoi), dst, loadMat(xmap, useRoi), loadMat(ymap, useRoi), interpola… in CUDA_TEST_P()
Dtest_pyramids.cpp75 cv::cuda::pyrDown(loadMat(src, useRoi), dst); in CUDA_TEST_P()
115 cv::cuda::pyrUp(loadMat(src, useRoi), dst); in CUDA_TEST_P()
Dtest_resize.cpp147 cv::cuda::resize(loadMat(src, useRoi), dst, cv::Size(), coeff, coeff, interpolation); in CUDA_TEST_P()
193 cv::cuda::resize(loadMat(src, useRoi), dst, cv::Size(), coeff, coeff, interpolation); in CUDA_TEST_P()
Dtest_warp_affine.cpp217 cv::cuda::warpAffine(loadMat(src, useRoi), dst, M, size, flags, borderType, val); in CUDA_TEST_P()
266 cv::cuda::warpAffine(loadMat(src), dst, M, src.size(), flags); in CUDA_TEST_P()
/external/opencv3/modules/cudabgsegm/test/
Dtest_bgsegm.cpp122 mog2->apply(loadMat(frame, useRoi), foreground); in CUDA_TEST_P()
160 mog2->apply(loadMat(frame, useRoi), foreground); in CUDA_TEST_P()
/external/opencv3/modules/cudaobjdetect/test/
Dtest_objdetect.cpp123 hog->detect(loadMat(img), locations); in testDetect()
134 hog->detect(loadMat(img2), locations); in testDetect()
144 hog->detect(loadMat(img2), locations); in testDetect()
/external/opencv3/modules/cudalegacy/test/
Dtest_calib3d.cpp73 cv::cuda::transformPoints(loadMat(src), rvec, tvec, dst); in CUDA_TEST_P()
126 cv::cuda::projectPoints(loadMat(src), rvec, tvec, camera_mat, cv::Mat(), dst); in CUDA_TEST_P()

12