orb-slam2_with_semantic_label icon indicating copy to clipboard operation
orb-slam2_with_semantic_label copied to clipboard

segmentation.cc

Open CVYang opened this issue 3 years ago • 0 comments

Screenshot from 2021-03-30 20-19-12 Screenshot from 2021-03-30 20-19-33 In segmentation.cc at lines 211, "Eigen::MatrixXf normals_mat(num_planes, num_super_voxels);" by num_planes and num_super_voxels. the num_super_voxels is not equal to 3.but at lines 268 the normals_mat is "normals_mat.row(count_idx) << p_coeffs(0), p_coeffs(1), p_coeffs(2);" when running, the error occured because of the normal_mat. Screenshot from 2021-03-30 20-33-51

So i changed the code at line 211 "Eigen::MatrixXf normals_mat(num_planes, 3);" and it works. i wonder which normal_mat is correct?

CVYang avatar Mar 30 '21 12:03 CVYang