Skip to content

HashTSDF::fetchPointsNormals() emits points in a wrong way #22896

New issue

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

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

Already on GitHub? # to your account

Open
3 of 4 tasks
savuor opened this issue Dec 1, 2022 · 0 comments
Open
3 of 4 tasks

HashTSDF::fetchPointsNormals() emits points in a wrong way #22896

savuor opened this issue Dec 1, 2022 · 0 comments

Comments

@savuor
Copy link
Contributor

savuor commented Dec 1, 2022

System Information

OpenCV version: 5.x
Platform & compiler: all

Detailed description

The method Volume::fetchPointsNormals() should emit points that lie on a 0-surface.
However, this method for HashTSDF emits points for all non-empty voxels.

While such a set of points gives some impression about the scene objects' shapes, this is incorrect.

Probably there should be the same points as in marchingCubes()

Steps to reproduce

  1. Run Volume/VolumeTestFixture.fetchPointsNormals tests with --test_debug flag or OPENCV_TEST_DEBUG=1 env var.
  2. Compare resulting OBJ files produced by the tests in some 3D viewer.

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)
@savuor savuor added the bug label Dec 1, 2022
@asmorkalov asmorkalov added this to the 5.0 milestone Dec 1, 2022
@asmorkalov asmorkalov modified the milestones: 5.0, 5.0-release Sep 28, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants