tsdf-fusion-python icon indicating copy to clipboard operation
tsdf-fusion-python copied to clipboard

Surface level must be within volume data range.

Open Alihamdy2496 opened this issue 4 years ago • 3 comments

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

Alihamdy2496 avatar Nov 17 '21 12:11 Alihamdy2496

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

ckLibra avatar Nov 24 '21 07:11 ckLibra

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

Alihamdy2496 avatar Nov 24 '21 08:11 Alihamdy2496

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.

ckLibra avatar Nov 24 '21 11:11 ckLibra