cd DDM
python set_up.py install
Here we provide three versions of DDM, i.e., Point-to-Point, Mesh-to-Mesh, and Mesh-to-Point (in the paper, it is face).
from Closest_Point_on_Surface import DDM_P2P
loss_func=DDM_P2P()
......
loss=loss_func(src_points,tgt_points)
......
from Closest_Point_on_Surface import DDM_M2M
loss_func=DDM_M2M()
......
loss=loss_func(src_v,src_f,tgt_v,tgt_f)
......
from Closest_Point_on_Surface import DDM_M2P
loss_func=DDM_M2P()
......
loss=loss_func(src_v,src_f,tgt_points)
......
- Release code.
- Release examples on the selected applications
- Shape Deformation
- Rigid Registration
- Non-rigid Registration
- Scene Flow Estimation
- Human Pose Optimization
We thank the following excellent works including MAC, AMM, NSFP, SCOOP, and MDA for their released codes.
@article{ren2024measuring,
title={DDM: A Metric for Comparing 3D Shapes Using Directional Distance Fields},
author={Ren, Siyu and Hou, Junhui and Chen, Xiaodong and Xiong, Hongkai and Wang, Wenping},
journal={IEEE Transactions on Pattern Analysis and Machine Intelligence},
year={2025}
}