Merged from trunk.
This commit is contained in:
parent
86524b0e4a
commit
01e93d57f0
@ -370,7 +370,7 @@ void cv::gpu::buildWarpPlaneMaps(Size src_size, Rect dst_roi, const Mat &K, cons
|
|||||||
|
|
||||||
map_x.create(dst_roi.size(), CV_32F);
|
map_x.create(dst_roi.size(), CV_32F);
|
||||||
map_y.create(dst_roi.size(), CV_32F);
|
map_y.create(dst_roi.size(), CV_32F);
|
||||||
buildWarpPlaneMaps(dst_roi.tl().x, dst_roi.tl().y, map_x, map_y, K_Rinv.ptr<float>(), R_Kinv.ptr<float>(),
|
device::imgproc::buildWarpPlaneMaps(dst_roi.tl().x, dst_roi.tl().y, map_x, map_y, K_Rinv.ptr<float>(), R_Kinv.ptr<float>(),
|
||||||
T.ptr<float>(), scale, StreamAccessor::getStream(stream));
|
T.ptr<float>(), scale, StreamAccessor::getStream(stream));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -402,7 +402,7 @@ void cv::gpu::buildWarpCylindricalMaps(Size src_size, Rect dst_roi, const Mat &K
|
|||||||
|
|
||||||
map_x.create(dst_roi.size(), CV_32F);
|
map_x.create(dst_roi.size(), CV_32F);
|
||||||
map_y.create(dst_roi.size(), CV_32F);
|
map_y.create(dst_roi.size(), CV_32F);
|
||||||
buildWarpCylindricalMaps(dst_roi.tl().x, dst_roi.tl().y, map_x, map_y, K_Rinv.ptr<float>(), R_Kinv.ptr<float>(), scale, StreamAccessor::getStream(stream));
|
device::imgproc::buildWarpCylindricalMaps(dst_roi.tl().x, dst_roi.tl().y, map_x, map_y, K_Rinv.ptr<float>(), R_Kinv.ptr<float>(), scale, StreamAccessor::getStream(stream));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -434,7 +434,7 @@ void cv::gpu::buildWarpSphericalMaps(Size src_size, Rect dst_roi, const Mat &K,
|
|||||||
|
|
||||||
map_x.create(dst_roi.size(), CV_32F);
|
map_x.create(dst_roi.size(), CV_32F);
|
||||||
map_y.create(dst_roi.size(), CV_32F);
|
map_y.create(dst_roi.size(), CV_32F);
|
||||||
buildWarpSphericalMaps(dst_roi.tl().x, dst_roi.tl().y, map_x, map_y, K_Rinv.ptr<float>(), R_Kinv.ptr<float>(), scale, StreamAccessor::getStream(stream));
|
device::imgproc::buildWarpSphericalMaps(dst_roi.tl().x, dst_roi.tl().y, map_x, map_y, K_Rinv.ptr<float>(), R_Kinv.ptr<float>(), scale, StreamAccessor::getStream(stream));
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
@ -600,7 +600,7 @@ void cv::gpu::columnSum(const GpuMat& src, GpuMat& dst)
|
|||||||
|
|
||||||
dst.create(src.size(), CV_32F);
|
dst.create(src.size(), CV_32F);
|
||||||
|
|
||||||
columnSum_32F(src, dst);
|
device::imgproc::columnSum_32F(src, dst);
|
||||||
}
|
}
|
||||||
|
|
||||||
void cv::gpu::rectStdDev(const GpuMat& src, const GpuMat& sqr, GpuMat& dst, const Rect& rect, Stream& s)
|
void cv::gpu::rectStdDev(const GpuMat& src, const GpuMat& sqr, GpuMat& dst, const Rect& rect, Stream& s)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user