/external/opencv3/modules/photo/test/ |
test_inpaint.cpp | 94 double n1 = cvtest::norm(diff1.reshape(1), NORM_INF, inv_mask.reshape(1)); 95 double n2 = cvtest::norm(diff2.reshape(1), NORM_INF, inv_mask.reshape(1)); 106 n1 = cvtest::norm(diff1.reshape(1), NORM_INF, mask.reshape(1)); 107 n2 = cvtest::norm(diff2.reshape(1), NORM_INF, mask.reshape(1));
|
/cts/apps/CameraITS/pymodules/its/ |
image.py | 98 analysis_image = img.reshape(2,h,w,4) 99 mean_image = analysis_image[0,:,:,:].reshape(h,w,4) 100 var_image = analysis_image[1,:,:,:].reshape(h,w,4) 119 cap["data"] = unpack_raw10_image(cap["data"].reshape(h,w*5/4)) 143 msbs = msbs.reshape(h,w) 145 lsbs = img[::, 4::5].reshape(h,w/4) 147 numpy.packbits(numpy.unpackbits(lsbs).reshape(h,w/4,4,2),3), 6) 148 lsbs = lsbs.reshape(h,w) 150 img16 = numpy.bitwise_or(msbs, lsbs).reshape(h,w) 169 cap["data"] = unpack_raw12_image(cap["data"].reshape(h,w*3/2) [all...] |
/external/opencv3/modules/cudaarithm/src/cuda/ |
polar_cart.cu | 69 GpuMat_<float> xc(x.reshape(1)); 70 GpuMat_<float> yc(y.reshape(1)); 71 GpuMat_<float> magc(dst.reshape(1)); 88 GpuMat_<float> xc(x.reshape(1)); 89 GpuMat_<float> yc(y.reshape(1)); 90 GpuMat_<float> magc(dst.reshape(1)); 107 GpuMat_<float> xc(x.reshape(1)); 108 GpuMat_<float> yc(y.reshape(1)); 109 GpuMat_<float> anglec(dst.reshape(1)); 130 GpuMat_<float> xc(x.reshape(1)) [all...] |
math.cu | 104 funcs[src.depth()](src.reshape(1), dst.reshape(1), stream); 149 funcs[src.depth()](src.reshape(1), dst.reshape(1), stream); 186 funcs[src.depth()](src.reshape(1), dst.reshape(1), stream); 232 funcs[src.depth()](src.reshape(1), dst.reshape(1), stream); 269 funcs[src.depth()](src.reshape(1), dst.reshape(1), stream) [all...] |
absdiff_mat.cu | 153 GpuMat src1_ = src1.reshape(1); 154 GpuMat src2_ = src2.reshape(1); 155 GpuMat dst_ = dst.reshape(1);
|
add_mat.cu | 190 GpuMat src1_ = src1.reshape(1); 191 GpuMat src2_ = src2.reshape(1); 192 GpuMat dst_ = dst.reshape(1);
|
div_mat.cu | 195 GpuMat src1_ = src1.reshape(1); 196 GpuMat src2_ = src2.reshape(1); 197 GpuMat dst_ = dst.reshape(1);
|
mul_mat.cu | 181 GpuMat src1_ = src1.reshape(1); 182 GpuMat src2_ = src2.reshape(1); 183 GpuMat dst_ = dst.reshape(1);
|
sub_mat.cu | 190 GpuMat src1_ = src1.reshape(1); 191 GpuMat src2_ = src2.reshape(1); 192 GpuMat dst_ = dst.reshape(1);
|
/external/webrtc/webrtc/modules/video_processing/test/ |
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).');
|
/cts/apps/CameraITS/tests/scene0/ |
test_gyro_bias.py | 60 xs = xs.reshape(nevents/N, N).mean(1) 61 ys = ys.reshape(nevents/N, N).mean(1) 62 zs = zs.reshape(nevents/N, N).mean(1)
|
/external/clang/test/Analysis/ |
malloc-interprocedural.c | 77 static char *reshape(char *in) { function 83 v = reshape(v); 84 v = reshape(v);// expected-warning {{Potential leak of memory pointed to by 'v'}}
|
/cts/apps/CameraITS/tests/inprog/scene2/ |
test_dng_tags.py | 52 print "HAL reported ccm:\n", numpy.array(ccm).reshape(3,3) 53 print "HAL reported cal:\n", numpy.array(cal).reshape(3,3) 70 props[cm_str[i]])).reshape(3,3) 72 props[fm_str[i]])).reshape(3,3)
|
/cts/apps/CameraITS/tests/inprog/ |
test_rawstats.py | 41 m = mean_image[:,:,ch].reshape(h,w,1)/1023.0 42 v = var_image[:,:,ch].reshape(h,w,1)
|
/external/opencv3/samples/python2/ |
stereo_match.py | 25 verts = verts.reshape(-1, 3) 26 colors = colors.reshape(-1, 3)
|
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)
|
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):
|
mser.py | 36 hulls = [cv2.convexHull(p.reshape(-1, 1, 2)) for p in regions]
|
calibrate.py | 37 pattern_points[:,:2] = np.indices(pattern_size).T.reshape(-1, 2) 63 img_points.append(corners.reshape(-1, 2))
|
/external/opencv3/modules/video/test/ocl/ |
test_optflowpyrlk.cpp | 99 std::vector<cv::Point2f> nextPts; umatNextPts.reshape(2, 1).copyTo(nextPts); 100 std::vector<unsigned char> status; umatStatus.reshape(1, 1).copyTo(status); 101 std::vector<float> err; umatErr.reshape(1, 1).copyTo(err);
|
/external/opencv3/samples/cpp/ |
em.cpp | 25 samples = samples.reshape(2, 0); 36 samples = samples.reshape(1, 0);
|
pca.cpp | 71 Mat image_row = data[i].clone().reshape(1,1); 112 reconstruction = reconstruction.reshape(p->ch, p->rows); 149 // Reshape and stack images into a rowMatrix 158 reconstruction = reconstruction.reshape(images[0].channels(), images[0].rows); // reshape from a row vector into image shape
|
/external/webrtc/talk/app/webrtc/objc/ |
RTCNSGLVideoView.m | 70 - (void)reshape { 71 [super reshape];
|
/external/webrtc/webrtc/api/objc/ |
RTCNSGLVideoView.m | 53 - (void)reshape { 54 [super reshape];
|
/cts/apps/CameraITS/tests/scene1/ |
test_crop_region_raw.py | 118 img = img.reshape(h/2,2,w/2,2,3).mean(3).mean(1) 119 img = img.reshape(h/2,w/2,3)
|