Skip to content

FisherYuuri/Marching-Primitives-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marching-Primitives-Python

This is an unofficial version of the python code for Marching-Primitives: Shape Abstraction from Signed Distance Function.

The orignal paper and Matlab version:

Marching-Primitives: Shape Abstraction from Signed Distance Function
Weixiao Liu1,2, Yuwei Wu2, Sipu Ruan2, Gregory S. Chirikjian2
1 National University of Singapore, 2 Johns Hopkins University

https://github.com/ChirikjianLab/Marching-Primitives

Dependency

numpy
mayavi
plyfile
scipy
skimage

Usage

The source code of the algorithm is in MPS.py and the usage demo is in main.py. For preparing SDF from meshes, you can see the official version.

The visualisation of this code results:

image image

Citation

If you find this repo useful, please give us a star and cite:

@Inproceedings{Liu2023CVPR,
     title = {Marching-Primitives: Shape Abstraction from Signed Distance Function},
     author = {Liu, Weixiao and Wu, Yuwei and Ruan, Sipu and Chirikjian, Gregory},
     booktitle = {Proceedings IEEE Conf. on Computer Vision and Pattern Recognition (CVPR)},
     year = {2023}
}

Thanks for your interest!

About

This is an unofficial version of the python code for Marching-Primitives: Shape Abstraction from Signed Distance Function

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages