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

Surface level must be within volume data range. #37

Open
Alihamdy2496 opened this issue Nov 17, 2021 · 3 comments
Open

Surface level must be within volume data range. #37

Alihamdy2496 opened this issue Nov 17, 2021 · 3 comments

Comments

@Alihamdy2496
Copy link

hello Andy,
thank you for your wonderful contribution.

I tried a different data , and modified the voxel_size to 0.1 to avoid memory problems
but i get this error

ValueError: Surface level must be within volume data range.

from the function

measure.marching_cubes_lewiner(tsdf_vol, level=0)

at

tsdf_vol.get_point_cloud()

thank you for your time

@ckLibra
Copy link

ckLibra commented Nov 24, 2021

Hi, I have met the same issue. Have you solved it?

@Alihamdy2496
Copy link
Author

i think the problem is the camera poses and camera intrinsics
try normalizing the camera poses (P=[R|t] without K) and make the the camera intrinsics.txt identity matrix,
the error will be solved but the output wasn't correct for me, tell me if u get correct results

@ckLibra
Copy link

ckLibra commented Nov 24, 2021

Thanks for your reply. The cause of my problem may be different from yours. I found that the intrinsic matrix I input was 4x4. I changed it to 3x3 and no error was reported.

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

2 participants