Closed bloodhunt3r closed 1 year ago
while I check the skimage source code repo and found that they have updated the marching_cubes_lewiner
function after 0.18.3
:
def marching_cubes_lewiner(volume, level=None, spacing=(1., 1., 1.),
gradient_direction='descent', step_size=1,
allow_degenerate=True, use_classic=False, mask=None):
"""
Lewiner marching cubes algorithm to find surfaces in 3d volumetric data.
In contrast to ``marching_cubes_classic()``, this algorithm is faster,
resolves ambiguities, and guarantees topologically correct results.
Therefore, this algorithm generally a better choice, unless there
is a specific need for the classic algorithm.
Parameters
better reinstall scikit-image
:
pip install scikit-image==0.18.3
problem solved
when I turn on the
save_mesh
flag ingenerate_gt.py
, it prompt the following error while saving thetsdf_fusion
mesh file: