mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-21 14:41:58 +08:00
Expose depthTo3d()
and warpFrame()
to the Python wrapper
This commit is contained in:
@@ -334,7 +334,7 @@ namespace rgbd
|
||||
* depth of `K` if `depth` is of depth CV_U
|
||||
* @param mask the mask of the points to consider (can be empty)
|
||||
*/
|
||||
CV_EXPORTS
|
||||
CV_EXPORTS_W
|
||||
void
|
||||
depthTo3d(InputArray depth, InputArray K, OutputArray points3d, InputArray mask = noArray());
|
||||
|
||||
@@ -1026,10 +1026,10 @@ namespace rgbd
|
||||
* @param warpedDepth The warped depth.
|
||||
* @param warpedMask The warped mask.
|
||||
*/
|
||||
CV_EXPORTS
|
||||
CV_EXPORTS_W
|
||||
void
|
||||
warpFrame(const Mat& image, const Mat& depth, const Mat& mask, const Mat& Rt, const Mat& cameraMatrix,
|
||||
const Mat& distCoeff, Mat& warpedImage, Mat* warpedDepth = 0, Mat* warpedMask = 0);
|
||||
const Mat& distCoeff, OutputArray warpedImage, OutputArray warpedDepth = noArray(), OutputArray warpedMask = noArray());
|
||||
|
||||
// TODO Depth interpolation
|
||||
// Curvature
|
||||
|
Reference in New Issue
Block a user