From a1820ff3d41203f2608846bf3ff0bfcc2080ee78 Mon Sep 17 00:00:00 2001 From: Rostislav Vasilikhin Date: Tue, 25 Oct 2022 02:45:42 +0200 Subject: [PATCH] unused function removed --- modules/3d/src/rgbd/odometry_functions.hpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/modules/3d/src/rgbd/odometry_functions.hpp b/modules/3d/src/rgbd/odometry_functions.hpp index c1fd2ca584..eca32357f7 100644 --- a/modules/3d/src/rgbd/odometry_functions.hpp +++ b/modules/3d/src/rgbd/odometry_functions.hpp @@ -31,16 +31,6 @@ static inline int getTransformDim(OdometryTransformType transformType) } -static inline -void checkNormals(InputArray normals, const Size& depthSize) -{ - if (normals.size() != depthSize) - CV_Error(Error::StsBadSize, "Normals has to have the size equal to the depth size."); - if (normals.type() != CV_32FC3) - CV_Error(Error::StsBadSize, "Normals type has to be CV_32FC3."); -} - - static inline Vec6d calcRgbdEquationCoeffs(double dIdx, double dIdy, const Point3f& p3d, double fx, double fy) {