/external/opencv3/modules/cudaarithm/src/cuda/ |
D | polar_cart.cu | 69 GpuMat_<float> xc(x.reshape(1)); in magnitude() 70 GpuMat_<float> yc(y.reshape(1)); in magnitude() 71 GpuMat_<float> magc(dst.reshape(1)); in magnitude() 88 GpuMat_<float> xc(x.reshape(1)); in magnitudeSqr() 89 GpuMat_<float> yc(y.reshape(1)); in magnitudeSqr() 90 GpuMat_<float> magc(dst.reshape(1)); in magnitudeSqr() 107 GpuMat_<float> xc(x.reshape(1)); in phase() 108 GpuMat_<float> yc(y.reshape(1)); in phase() 109 GpuMat_<float> anglec(dst.reshape(1)); in phase() 130 GpuMat_<float> xc(x.reshape(1)); in cartToPolar() [all …]
|
D | math.cu | 104 funcs[src.depth()](src.reshape(1), dst.reshape(1), stream); in abs() 149 funcs[src.depth()](src.reshape(1), dst.reshape(1), stream); in sqr() 186 funcs[src.depth()](src.reshape(1), dst.reshape(1), stream); in sqrt() 232 funcs[src.depth()](src.reshape(1), dst.reshape(1), stream); in exp() 269 funcs[src.depth()](src.reshape(1), dst.reshape(1), stream); in log() 351 funcs[src.depth()](src.reshape(1), power, dst.reshape(1), stream); in pow()
|
D | absdiff_mat.cu | 153 GpuMat src1_ = src1.reshape(1); in absDiffMat() 154 GpuMat src2_ = src2.reshape(1); in absDiffMat() 155 GpuMat dst_ = dst.reshape(1); in absDiffMat()
|
D | mul_mat.cu | 181 GpuMat src1_ = src1.reshape(1); in mulMat() 182 GpuMat src2_ = src2.reshape(1); in mulMat() 183 GpuMat dst_ = dst.reshape(1); in mulMat()
|
D | add_mat.cu | 190 GpuMat src1_ = src1.reshape(1); in addMat() 191 GpuMat src2_ = src2.reshape(1); in addMat() 192 GpuMat dst_ = dst.reshape(1); in addMat()
|
D | div_mat.cu | 195 GpuMat src1_ = src1.reshape(1); in divMat() 196 GpuMat src2_ = src2.reshape(1); in divMat() 197 GpuMat dst_ = dst.reshape(1); in divMat()
|
D | sub_mat.cu | 190 GpuMat src1_ = src1.reshape(1); in subMat() 191 GpuMat src2_ = src2.reshape(1); in subMat() 192 GpuMat dst_ = dst.reshape(1); in subMat()
|
D | minmax_mat.cu | 166 GpuMat src1_ = src1.reshape(1); in minMaxMat() 167 GpuMat src2_ = src2.reshape(1); in minMaxMat() 168 GpuMat dst_ = dst.reshape(1); in minMaxMat()
|
/external/opencv3/modules/photo/test/ |
D | test_inpaint.cpp | 94 double n1 = cvtest::norm(diff1.reshape(1), NORM_INF, inv_mask.reshape(1)); in run() 95 double n2 = cvtest::norm(diff2.reshape(1), NORM_INF, inv_mask.reshape(1)); in run() 106 n1 = cvtest::norm(diff1.reshape(1), NORM_INF, mask.reshape(1)); in run() 107 n2 = cvtest::norm(diff2.reshape(1), NORM_INF, mask.reshape(1)); in run()
|
/external/opencv3/samples/python2/ |
D | lk_track.py | 52 p0 = np.float32([tr[-1] for tr in self.tracks]).reshape(-1, 1, 2) 55 d = abs(p0-p0r).reshape(-1, 2).max(-1) 58 for tr, (x, y), good_flag in zip(self.tracks, p1.reshape(-1, 2), good): 77 for x, y in np.float32(p).reshape(-1, 2):
|
D | texture_flow.py | 32 eigen = eigen.reshape(h, w, 3, 2) # [[e1, e2], v1, v2] 38 points = np.dstack( np.mgrid[d/2:w:d, d/2:h:d] ).reshape(-1, 2)
|
D | stereo_match.py | 25 verts = verts.reshape(-1, 3) 26 colors = colors.reshape(-1, 3)
|
D | calibrate.py | 37 pattern_points[:,:2] = np.indices(pattern_size).T.reshape(-1, 2) 63 img_points.append(corners.reshape(-1, 2))
|
D | opt_flow.py | 18 y, x = np.mgrid[step/2:h:step, step/2:w:step].reshape(2,-1) 20 lines = np.vstack([x, y, x+fx, y+fy]).T.reshape(-1, 2, 2)
|
/external/webrtc/webrtc/modules/video_processing/test/ |
D | readYUV420file.m | 32 Y(:,:,k)=uint8(reshape(X(1:nPx), width, height).'); 35 U(:,:,k)=uint8(reshape(X(nPx + (1:nPx/4)), width/2, height/2).'); 38 V(:,:,k)=uint8(reshape(X(nPx + nPx/4 + (1:nPx/4)), width/2, height/2).');
|
/external/clang/test/Analysis/ |
D | malloc-interprocedural.c | 77 static char *reshape(char *in) { in reshape() function 83 v = reshape(v); in testThatRemoveDeadBindingsRunBeforeEachCall() 84 v = reshape(v);// expected-warning {{Potential leak of memory pointed to by 'v'}} in testThatRemoveDeadBindingsRunBeforeEachCall()
|
/external/opencv3/modules/video/test/ocl/ |
D | test_optflowpyrlk.cpp | 99 std::vector<cv::Point2f> nextPts; umatNextPts.reshape(2, 1).copyTo(nextPts); in OCL_TEST_P() 100 std::vector<unsigned char> status; umatStatus.reshape(1, 1).copyTo(status); in OCL_TEST_P() 101 std::vector<float> err; umatErr.reshape(1, 1).copyTo(err); in OCL_TEST_P()
|
/external/opencv3/modules/cudaimgproc/src/ |
D | match_template.cpp | 207 conv_->convolve(image.reshape(1), templ.reshape(1), result, true, _stream); in match() 211 conv_->convolve(image.reshape(1), templ.reshape(1), result_, true, _stream); in match() 290 cuda::sqrIntegral(image.reshape(1), image_sqsums_, stream); in match() 292 double templ_sqsum = cuda::sqrSum(templ.reshape(1))[0]; in match() 360 cuda::sqrIntegral(image.reshape(1), image_sqsums_, stream); in match() 362 double templ_sqsum = cuda::sqrSum(templ.reshape(1))[0]; in match() 398 cuda::sqrIntegral(image.reshape(1), image_sqsums_, stream); in match() 400 double templ_sqsum = cuda::sqrSum(templ.reshape(1))[0]; in match()
|
/external/opencv3/samples/cpp/ |
D | pca.cpp | 71 Mat image_row = data[i].clone().reshape(1,1); in formatImagesForPCA() 112 reconstruction = reconstruction.reshape(p->ch, p->rows); in onTrackbar() 158 …reconstruction = reconstruction.reshape(images[0].channels(), images[0].rows); // reshape from a r… in main()
|
D | em.cpp | 25 samples = samples.reshape(2, 0); in main() 36 samples = samples.reshape(1, 0); in main()
|
/external/opencv3/modules/cudalegacy/src/ |
D | calib3d.cpp | 188 transl_vec = transl_vec.reshape(0, 1); in operator ()() 193 Mat rot_mat_ = rot_matrices.colRange(iter * 9, (iter + 1) * 9).reshape(0, 3); in operator ()() 260 Mat rot_mat = rot_matrices.colRange(best_idx.x * 9, (best_idx.x + 1) * 9).reshape(0, 3); in solvePnPRansac() 262 rvec = rvec.reshape(0, 1); in solvePnPRansac() 265 tvec = tvec.reshape(0, 1); in solvePnPRansac()
|
/external/opencv3/modules/calib3d/test/ |
D | test_fisheye.cpp | 186 xpred = x1 + cv::Mat(jacobians.colRange(11,14) * dT).reshape(2, 1); in TEST_F() 195 xpred = x1 + cv::Mat(jacobians.colRange(8,11) * dom).reshape(2, 1); in TEST_F() 204 xpred = x1 + cv::Mat(jacobians.colRange(0,2) * df).reshape(2, 1); in TEST_F() 213 xpred = x1 + cv::Mat(jacobians.colRange(2,4) * dc).reshape(2, 1); in TEST_F() 222 xpred = x1 + cv::Mat(jacobians.colRange(4,8) * dk).reshape(2, 1); in TEST_F() 232 xpred = x1 + cv::Mat(jacobians.col(14) * dalpha).reshape(2, 1); in TEST_F() 298 cv::Mat imagePointsNormalized = NormalizePixels(_imagePoints, param).reshape(1).t(); in TEST_F() 299 _objectPoints = _objectPoints.reshape(1).t(); in TEST_F() 325 cv::meanStdDev(merr.reshape(2), cv::noArray(), std_err); in TEST_F() 326 std_err *= sqrt((double)merr.reshape(2).total() / (merr.reshape(2).total() - 1)); in TEST_F()
|
/external/opencv3/modules/core/test/ |
D | test_umat.cpp | 305 EXPECT_ANY_THROW(ua.reshape(nChannels)); in TEST_P() 309 ub = ua.reshape(nChannels); in TEST_P() 313 EXPECT_MAT_NEAR(ua.reshape(nChannels), a.reshape(nChannels), 0); in TEST_P() 318 EXPECT_ANY_THROW (ua.reshape(nChannels, new_rows) ); in TEST_P() 322 EXPECT_NO_THROW ( ub = ua.reshape(nChannels, new_rows) ); in TEST_P() 327 EXPECT_MAT_NEAR(ua.reshape(nChannels,new_rows), a.reshape(nChannels,new_rows), 0); in TEST_P() 336 EXPECT_ANY_THROW( ua.reshape(nChannels, ua.dims, sz) ); in TEST_P() 340 EXPECT_NO_THROW ( ub = ua.reshape(nChannels, ua.dims, sz) ); in TEST_P() 346 … EXPECT_MAT_NEAR(ua.reshape(nChannels, ua.dims, sz), a.reshape(nChannels, a.dims, sz), 0); in TEST_P()
|
/external/opencv3/modules/core/src/cuda/ |
D | gpu_mat.cu | 302 func(reshape(1), dst.reshape(1), mask.reshape(1), stream); in copyTo() 508 funcs[sdepth][ddepth](reshape(1), dst.reshape(1), stream); in convertTo() 538 funcs[sdepth][ddepth](reshape(1), dst.reshape(1), alpha, beta, stream); in convertTo()
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
D | screen_finder.py | 413 line1a1 = line1a1.reshape(-1, 1) 414 line1a2 = line1a2.reshape(-1, 1) 415 line2a1 = line2a1.reshape(-1, 1) 416 line2a2 = line2a2.reshape(-1, 1) 442 arr1 = points_m_avg[:, 0].reshape(-1, 1) 443 arr2 = points_p_avg[:, 0].reshape(-1, 1) 446 arr1 = points_m_avg[:, 1].reshape(-1, 1) 447 arr2 = points_p_avg[:, 1].reshape(-1, 1)
|