Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segmentation.cc #26

Open
CVYang opened this issue Mar 30, 2021 · 0 comments
Open

segmentation.cc #26

CVYang opened this issue Mar 30, 2021 · 0 comments

Comments

@CVYang
Copy link

CVYang commented Mar 30, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant