/external/opencv3/modules/cudev/test/ |
test_warp.cu | 55 static void generateMap(Mat& mapx, Mat& mapy, int remapMode) 57 for (int j = 0; j < mapx.rows; ++j) 59 for (int i = 0; i < mapx.cols; ++i) 64 if (i > mapx.cols*0.25 && i < mapx.cols*0.75 && j > mapx.rows*0.25 && j < mapx.rows*0.75) 66 mapx.at<float>(j,i) = 2.f * (i - mapx.cols * 0.25f) + 0.5f; 67 mapy.at<float>(j,i) = 2.f * (j - mapx.rows * 0.25f) + 0.5f [all...] |
/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/ |
remap.hpp | 81 MapXPtr mapx; member in struct:cv::cudev::RemapPtr2 86 const typename PtrTraits<MapXPtr>::value_type nx = mapx(y, x); 131 remapPtr(const SrcPtr& src, const MapXPtr& mapx, const MapYPtr& mapy) 133 const int rows = getRows(mapx); 134 const int cols = getCols(mapx); 140 r.mapx = shrinkPtr(mapx);
|
/external/opencv3/modules/videostab/src/cuda/ |
global_motion.cu | 70 PtrStepf mapx, PtrStepf mapy) 91 mapx(y,x) = (wr * xl + wl * xr) / (wl + wr); 99 const float *ml, const float *mr, PtrStepSzf mapx, PtrStepSzf mapy) 108 left, idx, right, width, height, mapx, mapy);
|
/external/opencv3/modules/cudawarping/src/cuda/ |
remap.cu | 56 template <typename Ptr2D, typename T> __global__ void remap(const Ptr2D src, const PtrStepf mapx, const PtrStepf mapy, PtrStepSz<T> dst) 63 const float xcoo = mapx.ptr(y)[x]; 72 static void call(PtrStepSz<T> src, PtrStepSzf mapx, PtrStepSzf mapy, PtrStepSz<T> dst, const float* borderValue, cudaStream_t stream, bool) 83 remap<<<grid, block, 0, stream>>>(filter_src, mapx, mapy, dst); 90 static void call(PtrStepSz<T> src, PtrStepSz<T> srcWhole, int xoff, int yoff, PtrStepSzf mapx, PtrStepSzf mapy, PtrStepSz<T> dst, const float* borderValue, bool) 104 remap<<<grid, block>>>(filter_src, mapx, mapy, dst); 126 static void call(PtrStepSz< type > src, PtrStepSz< type > srcWhole, int xoff, int yoff, PtrStepSzf mapx, PtrStepSzf mapy, \ 137 remap<<<grid, block>>>(filter_src, mapx, mapy, dst); \ 144 static void call(PtrStepSz< type > src, PtrStepSz< type > srcWhole, int xoff, int yoff, PtrStepSzf mapx, PtrStepSzf mapy, \ 154 remap<<<grid, block>>>(filter_src, mapx, mapy, dst); [all...] |
/external/opencv3/modules/imgproc/test/ |
test_imgwarp_strict.cpp | 638 Mat mapx, mapy; 654 CV_ImageWarpBaseTest(), mapx(), mapy(), 673 // generating the mapx, mapy matrices 675 mapx.create(dst.size(), mapx_types[rng.uniform(0, sizeof(mapx_types) / sizeof(int))]); 681 switch (mapx.type()) 685 MatIterator_<Vec2s> begin_x = mapx.begin<Vec2s>(), end_x = mapx.end<Vec2s>(); 724 MatIterator_<float> begin_x = mapx.begin<float>(), end_x = mapx.end<float>(); 738 int width = mapx.cols << 1 [all...] |
test_imgwarp.cpp | 341 static void test_remap( const Mat& src, Mat& dst, const Mat& mapx, const Mat& mapy, 374 const float* mx = mapx.ptr<float>(y); 541 Mat mapx(dst.size(), CV_32F), mapy(dst.size(), CV_32F); 558 mapx.at<float>(y, x) = (float)(x*m[0] + y*m[1] + m[2]); 563 test_remap( src, dst, mapx, mapy, &mask ); 662 Mat mapx(dst.size(), CV_32F), mapy(dst.size(), CV_32F); 683 mapx.at<float>(y, x) = (float)xs; 689 test_remap( src, dst, mapx, mapy, &mask ); 958 Mat mapx, mapy; local 959 cvtest::initUndistortMap( test_mat[INPUT][1], test_mat[INPUT][2], dst.size(), mapx, mapy ) 1047 const Mat& mapx = test_mat[OUTPUT][0]; local 1084 Mat mapx, mapy; local [all...] |
/external/opencv3/modules/cudev/include/opencv2/cudev/expr/ |
warping.hpp | 83 remap_(const SrcPtr& src, const MapXPtr& mapx, const MapYPtr& mapy) 85 return makeExpr(remapPtr(src, mapx, mapy));
|
/external/opencv3/modules/videostab/src/ |
wobble_suppression.cpp | 62 const float *ml, const float *mr, PtrStepSzf mapx, PtrStepSzf mapy); 67 GpuMat &mapx, GpuMat &mapy) 72 mapx.create(size, CV_32F); 77 ml.ptr<float>(), mr.ptr<float>(), mapx, mapy);
|
/external/opencv3/modules/imgproc/src/ |
undistort.cpp | 233 cv::Mat mapx = cv::cvarrToMat(mapxarr), mapy, mapx0 = mapx, mapy0; local 239 mapx.size(), mapx.type(), mapx, mapy ); 240 CV_Assert( mapx0.data == mapx.data && mapy0.data == mapy.data ); 248 cv::Mat mapx = cv::cvarrToMat(mapxarr), mapy, mapx0 = mapx, mapy0; local 260 cv::initUndistortRectifyMap( A, distCoeffs, R, Ar, mapx.size(), mapx.type(), mapx, mapy ) [all...] |
imgwarp.cpp | [all...] |
/external/opencv/cv/src/ |
cvimgwarp.cpp | 1987 CvMat mxstub, *mapx = (CvMat*)_mapx; local 2105 CvMat xstub, *mapx = cvGetMat( arrx, &xstub ); local 2148 CvMat* mapx = 0; local [all...] |
cvundistort.cpp | 240 float* mapx = (float*)(_mapx->data.ptr + _mapx->step*v); local 250 mapx[u] = (float)_x; 349 float* mapx = (float*)(_mapx->data.ptr + _mapx->step*i); local 361 mapx[j] = (float)u;
|
/external/opencv3/modules/calib3d/test/ |
test_undistort_badarg.cpp | 311 cv::Mat mapx; member in class:CV_InitUndistortRectifyMapBadArgTest 327 cv::initUndistortRectifyMap(camera_mat,distortion_coeffs,R,new_camera_mat,img_size,mat_type,mapx,mapy); 375 mapx = cv::cvarrToMat(&_mapx_orig);
|
test_undistort.cpp | 598 cv::Mat mapx; member in class:CV_InitUndistortRectifyMapTest 813 mapx = cv::Mat(_mapx); 817 cv::convertMaps(mapx,mapy,map1,map2,CV_32FC1); 870 mapx = cv::cvarrToMat(_mapx); 874 cv::convertMaps(mapx,mapy,map1,map2,CV_32FC1); 912 cv::initUndistortRectifyMap(camera_mat,input2,input3,input4,img_size,mat_type,mapx,mapy); [all...] |
/external/opencv3/modules/python/test/ |
camera_calibration.py | 353 mapx = cv.CreateImage((640, 480), cv.IPL_DEPTH_32F, 1) variable 355 cv.InitUndistortMap(intrinsics, distortion, mapx, mapy) 358 cv.Remap(img, r, mapx, mapy)
|
/external/opencv3/modules/imgproc/include/opencv2/imgproc/ |
imgproc_c.h | 252 const CvArr* mapx, const CvArr* mapy, 256 /** @brief Converts mapx & mapy from floating-point to integer formats for cvRemap 259 CVAPI(void) cvConvertMaps( const CvArr* mapx, const CvArr* mapy, 289 CvArr* mapx, CvArr* mapy ); 297 CvArr* mapx, CvArr* mapy ); [all...] |
/external/opencv/cv/include/ |
cv.h | 298 const CvArr* mapx, const CvArr* mapy, 302 /* Converts mapx & mapy from floating-point to integer formats for cvRemap */ 303 CVAPI(void) cvConvertMaps( const CvArr* mapx, const CvArr* mapy, [all...] |
/external/opencv3/modules/ts/include/opencv2/ |
ts.hpp | 127 CV_EXPORTS void initUndistortMap( const Mat& a, const Mat& k, Size sz, Mat& mapx, Mat& mapy );
|
/external/opencv/cvaux/src/ |
cvepilines.cpp | 2458 CvMat stubx, *mapx = (CvMat*)rectMapX; local [all...] |