Home
last modified time | relevance | path

Searched refs:mapy (Results 1 – 21 of 21) sorted by relevance

/external/opencv3/modules/cudev/test/
Dtest_warp.cu55 static void generateMap(Mat& mapx, Mat& mapy, int remapMode) in generateMap() argument
67 mapy.at<float>(j,i) = 2.f * (j - mapx.rows * 0.25f) + 0.5f; in generateMap()
72 mapy.at<float>(j,i) = 0.f; in generateMap()
77 mapy.at<float>(j,i) = static_cast<float>(mapx.rows - j); in generateMap()
81 mapy.at<float>(j,i) = static_cast<float>(j); in generateMap()
85 mapy.at<float>(j,i) = static_cast<float>(mapx.rows - j); in generateMap()
99 Mat mapy(size, CV_32FC1); in test_remap() local
100 generateMap(mapx, mapy, remapMode); in test_remap()
104 GpuMat_<float> d_mapy(mapy); in test_remap()
109 cv::remap(src, dst_gold, mapx, mapy, INTER_NEAREST, BORDER_REPLICATE); in test_remap()
[all …]
/external/opencv3/modules/imgproc/test/
Dtest_imgwarp_strict.cpp638 Mat mapx, mapy; member in CV_Remap_Test
654 CV_ImageWarpBaseTest(), mapx(), mapy(), in CV_Remap_Test()
676 mapy = Mat(); in generate_test_data()
695mapy.create(dst.size(), mapy_types[rng.uniform(0, sizeof(mapy_types) / sizeof(int))]); in generate_test_data()
697 switch (mapy.type()) in generate_test_data()
701 … MatIterator_<ushort> begin_y = mapy.begin<ushort>(), end_y = mapy.end<ushort>(); in generate_test_data()
709 … MatIterator_<short> begin_y = mapy.begin<short>(), end_y = mapy.end<short>(); in generate_test_data()
721 mapy.create(dst.size(), CV_32FC1); in generate_test_data()
725 MatIterator_<float> begin_y = mapy.begin<float>(); in generate_test_data()
761 remap(src, dst, mapx, mapy, interpolation, borderType, borderValue); in run_func()
[all …]
Dtest_imgwarp.cpp341 static void test_remap( const Mat& src, Mat& dst, const Mat& mapx, const Mat& mapy, in test_remap() argument
375 const float* my = mapy.ptr<float>(y); in test_remap()
541 Mat mapx(dst.size(), CV_32F), mapy(dst.size(), CV_32F); in prepare_to_validation() local
559 mapy.at<float>(y, x) = (float)(x*m[3] + y*m[4] + m[5]); in prepare_to_validation()
563 test_remap( src, dst, mapx, mapy, &mask ); in prepare_to_validation()
662 Mat mapx(dst.size(), CV_32F), mapy(dst.size(), CV_32F); in prepare_to_validation() local
684 mapy.at<float>(y, x) = (float)ys; in prepare_to_validation()
689 test_remap( src, dst, mapx, mapy, &mask ); in prepare_to_validation()
958 Mat mapx, mapy; in prepare_to_validation() local
959 cvtest::initUndistortMap( test_mat[INPUT][1], test_mat[INPUT][2], dst.size(), mapx, mapy ); in prepare_to_validation()
[all …]
/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/
Dremap.hpp82 MapYPtr mapy; member
87 const typename PtrTraits<MapYPtr>::value_type ny = mapy(y, x); in operator ()()
131 remapPtr(const SrcPtr& src, const MapXPtr& mapx, const MapYPtr& mapy) in remapPtr() argument
136 CV_Assert( getRows(mapy) == rows && getCols(mapy) == cols ); in remapPtr()
141 r.mapy = shrinkPtr(mapy); in remapPtr()
/external/opencv3/modules/cudawarping/src/cuda/
Dremap.cu56 … __global__ void remap(const Ptr2D src, const PtrStepf mapx, const PtrStepf mapy, PtrStepSz<T> dst) in remap() argument
64 const float ycoo = mapy.ptr(y)[x]; in remap()
72 …static void call(PtrStepSz<T> src, PtrStepSzf mapx, PtrStepSzf mapy, PtrStepSz<T> dst, const float… in call()
83 remap<<<grid, block, 0, stream>>>(filter_src, mapx, mapy, dst); in call()
90 …c, PtrStepSz<T> srcWhole, int xoff, int yoff, PtrStepSzf mapx, PtrStepSzf mapy, PtrStepSz<T> dst, … in call()
104 remap<<<grid, block>>>(filter_src, mapx, mapy, dst); in call()
126 …Sz< type > src, PtrStepSz< type > srcWhole, int xoff, int yoff, PtrStepSzf mapx, PtrStepSzf mapy, \
137 remap<<<grid, block>>>(filter_src, mapx, mapy, dst); \
144 …Sz< 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/videostab/src/cuda/
Dglobal_motion.cu70 PtrStepf mapx, PtrStepf mapy) in calcWobbleSuppressionMapsKernel() argument
92 mapy(y,x) = (wr * yl + wl * yr) / (wl + wr); in calcWobbleSuppressionMapsKernel()
99 const float *ml, const float *mr, PtrStepSzf mapx, PtrStepSzf mapy) in calcWobbleSuppressionMaps() argument
108 left, idx, right, width, height, mapx, mapy); in calcWobbleSuppressionMaps()
/external/opencv3/modules/videostab/src/
Dwobble_suppression.cpp62 const float *ml, const float *mr, PtrStepSzf mapx, PtrStepSzf mapy);
67 GpuMat &mapx, GpuMat &mapy) in calcWobbleSuppressionMaps() argument
73 mapy.create(size, CV_32F); in calcWobbleSuppressionMaps()
77 ml.ptr<float>(), mr.ptr<float>(), mapx, mapy); in calcWobbleSuppressionMaps()
/external/opencv/cv/src/
Dcvimgwarp.cpp1613 const float* mapy, int mystep, \
1623 mystep /= sizeof(mapy[0]); \
1626 mapx += mxstep, mapy += mystep ) \
1630 float _x = mapx[j], _y = mapy[j]; \
1662 const float* mapy, int mystep, \
1672 mystep /= sizeof(mapy[0]); \
1675 mapx += mxstep, mapy += mystep ) \
1680 int iy = cvRound(mapy[j]*(1 << ICV_WARP_SHIFT)); \
1749 const float* mapy, int mystep,
1988 CvMat mystub, *mapy = (CvMat*)_mapy; in cvRemap() local
[all …]
Dcvundistort.cpp241 float* mapy = (float*)(_mapy->data.ptr + _mapy->step*v); in cvInitUndistortMap() local
251 mapy[u] = (float)_y; in cvInitUndistortMap()
350 float* mapy = (float*)(_mapy->data.ptr + _mapy->step*i); in cvInitUndistortRectifyMap() local
362 mapy[j] = (float)v; in cvInitUndistortRectifyMap()
/external/opencv3/modules/cudev/include/opencv2/cudev/expr/
Dwarping.hpp83 remap_(const SrcPtr& src, const MapXPtr& mapx, const MapYPtr& mapy) in remap_() argument
85 return makeExpr(remapPtr(src, mapx, mapy)); in remap_()
/external/opencv3/modules/imgproc/src/
Dundistort.cpp233 cv::Mat mapx = cv::cvarrToMat(mapxarr), mapy, mapx0 = mapx, mapy0; in cvInitUndistortMap() local
236 mapy0 = mapy = cv::cvarrToMat(mapyarr); in cvInitUndistortMap()
239 mapx.size(), mapx.type(), mapx, mapy ); in cvInitUndistortMap()
240 CV_Assert( mapx0.data == mapx.data && mapy0.data == mapy.data ); in cvInitUndistortMap()
248 cv::Mat mapx = cv::cvarrToMat(mapxarr), mapy, mapx0 = mapx, mapy0; in cvInitUndistortRectifyMap() local
251 mapy0 = mapy = cv::cvarrToMat(mapyarr); in cvInitUndistortRectifyMap()
260 cv::initUndistortRectifyMap( A, distCoeffs, R, Ar, mapx.size(), mapx.type(), mapx, mapy ); in cvInitUndistortRectifyMap()
261 CV_Assert( mapx0.data == mapx.data && mapy0.data == mapy.data ); in cvInitUndistortRectifyMap()
Dimgwarp.cpp6393 cv::Mat mapx = cv::cvarrToMat(_mapx), mapy = cv::cvarrToMat(_mapy); in cvRemap() local
6395 cv::remap( src, dst, mapx, mapy, flags & cv::INTER_MAX, in cvRemap()
6467 cv::Ptr<CvMat> mapx, mapy; in cvLogPolar() local
6483 mapy.reset(cvCreateMat( dsize.height, dsize.width, CV_32F )); in cvLogPolar()
6499 float* my = (float*)(mapy->data.ptr + phi*mapy->step); in cvLogPolar()
6531 float* my = (float*)(mapy->data.ptr + y*mapy->step); in cvLogPolar()
6571 cvRemap( src, dst, mapx, mapy, flags, cvScalarAll(0) ); in cvLogPolar()
6591 cv::Ptr<CvMat> mapx, mapy; in cvLinearPolar() local
6609 mapy.reset(cvCreateMat( dsize.height, dsize.width, CV_32F )); in cvLinearPolar()
6620 float* my = (float*)(mapy->data.ptr + phi*mapy->step); in cvLinearPolar()
[all …]
/external/opencv3/modules/imgproc/include/opencv2/imgproc/
Dimgproc_c.h252 const CvArr* mapx, const CvArr* mapy,
259 CVAPI(void) cvConvertMaps( const CvArr* mapx, const CvArr* mapy,
289 CvArr* mapx, CvArr* mapy );
297 CvArr* mapx, CvArr* mapy );
/external/opencv3/modules/calib3d/test/
Dtest_undistort_badarg.cpp312 cv::Mat mapy; member in CV_InitUndistortRectifyMapBadArgTest
327 …initUndistortRectifyMap(camera_mat,distortion_coeffs,R,new_camera_mat,img_size,mat_type,mapx,mapy); in run_func()
376 mapy = cv::cvarrToMat(&_mapy_orig); in run()
Dtest_undistort.cpp599 cv::Mat mapy; member in CV_InitUndistortRectifyMapTest
814 mapy = cv::Mat(_mapy); in prepare_to_validation()
817 cv::convertMaps(mapx,mapy,map1,map2,CV_32FC1); in prepare_to_validation()
871 mapy = cv::cvarrToMat(_mapy); in prepare_to_validation()
874 cv::convertMaps(mapx,mapy,map1,map2,CV_32FC1); in prepare_to_validation()
912 cv::initUndistortRectifyMap(camera_mat,input2,input3,input4,img_size,mat_type,mapx,mapy); in run_func()
/external/opencv3/modules/python/test/
Dcamera_calibration.py354 mapy = 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/opencv/cv/include/
Dcv.h298 const CvArr* mapx, const CvArr* mapy, in LOAD_CHDL()
303 CVAPI(void) cvConvertMaps( const CvArr* mapx, const CvArr* mapy, in LOAD_CHDL()
1174 CvArr* mapx, CvArr* mapy ); in LOAD_CHDL()
1180 CvArr* mapx, CvArr* mapy ); in LOAD_CHDL()
/external/opencv3/doc/py_tutorials/py_calib3d/py_calibration/
Dpy_calibration.markdown188 mapx,mapy = cv2.initUndistortRectifyMap(mtx,dist,None,newcameramtx,(w,h),5)
189 dst = cv2.remap(img,mapx,mapy,cv2.INTER_LINEAR)
/external/opencv/cvaux/src/
Dcvepilines.cpp2459 CvMat stuby, *mapy = (CvMat*)rectMapY; in cvComputePerspectiveMap() local
2463 CV_CALL( mapy = cvGetMat( mapy, &stuby )); in cvComputePerspectiveMap()
2465 if( CV_MAT_TYPE( mapx->type ) != CV_32FC1 || CV_MAT_TYPE( mapy->type ) != CV_32FC1 ) in cvComputePerspectiveMap()
2474 float* my = (float*)(mapy->data.ptr + mapy->step*i); in cvComputePerspectiveMap()
/external/opencv3/modules/ts/include/opencv2/
Dts.hpp127 CV_EXPORTS void initUndistortMap( const Mat& a, const Mat& k, Size sz, Mat& mapx, Mat& mapy );
/external/e2fsprogs/po/
Dpl.po6348 msgstr "Próba zmodyfikowania mapy bloków poprzez iterator bloków tylko do odczytu"