Fixed support of translation in the GPU-based plane warper

This commit is contained in:
Alexey Spizhevoy
2011-10-03 07:42:16 +00:00
parent 607a7fd2c2
commit dce50b67fc
5 changed files with 24 additions and 21 deletions

View File

@@ -671,7 +671,7 @@ namespace cv
CV_EXPORTS void warpPerspective(const GpuMat& src, GpuMat& dst, const Mat& M, Size dsize, int flags = INTER_LINEAR, Stream& stream = Stream::Null());
//! builds plane warping maps
CV_EXPORTS void buildWarpPlaneMaps(Size src_size, Rect dst_roi, const Mat &K, const Mat& R, float scale,
CV_EXPORTS void buildWarpPlaneMaps(Size src_size, Rect dst_roi, const Mat &K, const Mat& R, const Mat &T, float scale,
GpuMat& map_x, GpuMat& map_y, Stream& stream = Stream::Null());
//! builds cylindrical warping maps