From 8d578e43d0d91920502fd3a5fd1e2d38428fc888 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Tue, 29 Jul 2014 20:56:09 +0400 Subject: [PATCH] hopefully fixed compile warnings --- modules/rgbd/src/depth_to_3d.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/rgbd/src/depth_to_3d.cpp b/modules/rgbd/src/depth_to_3d.cpp index 5191d1641..bcea271c0 100644 --- a/modules/rgbd/src/depth_to_3d.cpp +++ b/modules/rgbd/src/depth_to_3d.cpp @@ -48,7 +48,7 @@ namespace rgbd * @param mask the mask of the points to consider (can be empty) * @param points3d the resulting 3d points, a 3-channel matrix */ - void + static void depthTo3d_from_uvz(const cv::Mat& in_K, const cv::Mat& u_mat, const cv::Mat& v_mat, const cv::Mat& z_mat, cv::Mat& points3d) { @@ -90,7 +90,7 @@ namespace rgbd * @param mask the mask of the points to consider (can be empty) * @param points3d the resulting 3d points */ - void + static void depthTo3dMask(const cv::Mat& depth, const cv::Mat& K, const cv::Mat& mask, cv::Mat& points3d) { // Create 3D points in one go.