Searched refs:mapy (Results 1 - 19 of 19) sorted by relevance

/external/opencv3/modules/cudev/test/
H A Dtest_warp.cu55 static void generateMap(Mat& mapx, Mat& mapy, int remapMode)
67 mapy.at<float>(j,i) = 2.f * (j - mapx.rows * 0.25f) + 0.5f;
72 mapy.at<float>(j,i) = 0.f;
77 mapy.at<float>(j,i) = static_cast<float>(mapx.rows - j);
81 mapy.at<float>(j,i) = static_cast<float>(j);
85 mapy.at<float>(j,i) = static_cast<float>(mapx.rows - j);
99 Mat mapy(size, CV_32FC1);
100 generateMap(mapx, mapy, remapMode);
104 GpuMat_<float> d_mapy(mapy);
109 cv::remap(src, dst_gold, mapx, mapy, INTER_NEARES
[all...]
/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/
H A Dremap.hpp82 MapYPtr mapy; member in struct:cv::cudev::RemapPtr2
87 const typename PtrTraits<MapYPtr>::value_type ny = mapy(y, x);
131 remapPtr(const SrcPtr& src, const MapXPtr& mapx, const MapYPtr& mapy) argument
136 CV_Assert( getRows(mapy) == rows && getCols(mapy) == cols );
141 r.mapy = shrinkPtr(mapy);
/external/opencv3/modules/videostab/src/cuda/
H A Dglobal_motion.cu70 PtrStepf mapx, PtrStepf mapy)
92 mapy(y,x) = (wr * yl + wl * yr) / (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/
H A Dremap.cu56 template <typename Ptr2D, typename T> __global__ void remap(const Ptr2D src, const PtrStepf mapx, const PtrStepf mapy, PtrStepSz<T> dst)
64 const float ycoo = mapy.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, ds
[all...]
/external/opencv3/modules/imgproc/test/
H A Dtest_imgwarp_strict.cpp638 Mat mapx, mapy;
654 CV_ImageWarpBaseTest(), mapx(), mapy(),
673 // generating the mapx, mapy matrices
676 mapy = Mat();
695 mapy.create(dst.size(), mapy_types[rng.uniform(0, sizeof(mapy_types) / sizeof(int))]);
697 switch (mapy.type())
701 MatIterator_<ushort> begin_y = mapy.begin<ushort>(), end_y = mapy.end<ushort>();
709 MatIterator_<short> begin_y = mapy.begin<short>(), end_y = mapy
[all...]
H A Dtest_imgwarp.cpp341 static void test_remap( const Mat& src, Mat& dst, const Mat& mapx, const Mat& mapy, argument
375 const float* my = mapy.ptr<float>(y);
541 Mat mapx(dst.size(), CV_32F), mapy(dst.size(), CV_32F);
559 mapy.at<float>(y, x) = (float)(x*m[3] + y*m[4] + m[5]);
563 test_remap( src, dst, mapx, mapy, &mask );
662 Mat mapx(dst.size(), CV_32F), mapy(dst.size(), CV_32F);
684 mapy.at<float>(y, x) = (float)ys;
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 );
1084 Mat mapx, mapy; local
[all...]
/external/opencv3/modules/cudev/include/opencv2/cudev/expr/
H A Dwarping.hpp83 remap_(const SrcPtr& src, const MapXPtr& mapx, const MapYPtr& mapy) argument
85 return makeExpr(remapPtr(src, mapx, mapy));
/external/opencv3/modules/videostab/src/
H A Dwobble_suppression.cpp62 const float *ml, const float *mr, PtrStepSzf mapx, PtrStepSzf mapy);
67 GpuMat &mapx, GpuMat &mapy)
73 mapy.create(size, CV_32F);
77 ml.ptr<float>(), mr.ptr<float>(), mapx, mapy);
/external/opencv/cv/src/
H A 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 local
2106 CvMat ystub, *mapy = cvGetMat( arry, &ystub ); local
2149 CvMat* mapy = 0; local
[all...]
H A Dcvundistort.cpp241 float* mapy = (float*)(_mapy->data.ptr + _mapy->step*v); local
251 mapy[u] = (float)_y;
350 float* mapy = (float*)(_mapy->data.ptr + _mapy->step*i); local
362 mapy[j] = (float)v;
/external/opencv3/modules/imgproc/src/
H A Dundistort.cpp233 cv::Mat mapx = cv::cvarrToMat(mapxarr), mapy, mapx0 = mapx, mapy0; local
236 mapy0 = mapy = cv::cvarrToMat(mapyarr);
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
251 mapy0 = mapy = cv::cvarrToMat(mapyarr);
260 cv::initUndistortRectifyMap( A, distCoeffs, R, Ar, mapx.size(), mapx.type(), mapx, mapy );
261 CV_Assert( mapx0.data == mapx.data && mapy0.data == mapy.data );
H A Dimgwarp.cpp6393 cv::Mat mapx = cv::cvarrToMat(_mapx), mapy = cv::cvarrToMat(_mapy);
6395 cv::remap( src, dst, mapx, mapy, flags & cv::INTER_MAX,
6467 cv::Ptr<CvMat> mapx, mapy;
6483 mapy.reset(cvCreateMat( dsize.height, dsize.width, CV_32F ));
6499 float* my = (float*)(mapy->data.ptr + phi*mapy->step);
6531 float* my = (float*)(mapy->data.ptr + y*mapy->step);
6571 cvRemap( src, dst, mapx, mapy, flags, cvScalarAll(0) );
6591 cv::Ptr<CvMat> mapx, mapy;
[all...]
/external/opencv3/modules/calib3d/test/
H A Dtest_undistort_badarg.cpp312 cv::Mat mapy; member in class:CV_InitUndistortRectifyMapBadArgTest
327 cv::initUndistortRectifyMap(camera_mat,distortion_coeffs,R,new_camera_mat,img_size,mat_type,mapx,mapy);
376 mapy = cv::cvarrToMat(&_mapy_orig);
H A Dtest_undistort.cpp599 cv::Mat mapy; member in class:CV_InitUndistortRectifyMapTest
814 mapy = cv::Mat(_mapy);
817 cv::convertMaps(mapx,mapy,map1,map2,CV_32FC1);
871 mapy = cv::cvarrToMat(_mapy);
874 cv::convertMaps(mapx,mapy,map1,map2,CV_32FC1);
912 cv::initUndistortRectifyMap(camera_mat,input2,input3,input4,img_size,mat_type,mapx,mapy);
/external/opencv3/modules/python/test/
H A 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/opencv3/modules/imgproc/include/opencv2/imgproc/
H A Dimgproc_c.h252 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 );
/external/opencv/cv/include/
H A Dcv.h298 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,
1174 CvArr* mapx, CvArr* mapy );
1180 CvArr* mapx, CvArr* mapy );
/external/opencv3/modules/ts/include/opencv2/
H A Dts.hpp127 CV_EXPORTS void initUndistortMap( const Mat& a, const Mat& k, Size sz, Mat& mapx, Mat& mapy );
/external/opencv/cvaux/src/
H A Dcvepilines.cpp2459 CvMat stuby, *mapy = (CvMat*)rectMapY; local
2463 CV_CALL( mapy = cvGetMat( mapy, &stuby ));
2465 if( CV_MAT_TYPE( mapx->type ) != CV_32FC1 || CV_MAT_TYPE( mapy->type ) != CV_32FC1 )
2474 float* my = (float*)(mapy->data.ptr + mapy->step*i);

Completed in 535 milliseconds