-
Notifications
You must be signed in to change notification settings - Fork 11
/
non_rigid_registration.py
20 lines (18 loc) · 823 Bytes
/
non_rigid_registration.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""
:author: Allan
:copyright: © 2020 Yalun Hu <[email protected]>
:license: MIT, see LICENSE for more details.
"""
from config import get_registration_solver_args
from non_rigid_registration_solver import RegistrationSolver
"""
this script will deform the source mesh into the shape of target mesh by applying non-rigid registration
since we need to find the correspondence of two mesh with different topology
It might take about 20 minutes to run the full pipe line, though it is kind of slow, we don't need to run it
every-time. Once the deformed mesh is obtained and saved on disk, we could use it to calculate correspondence
directly.
"""
if __name__ == "__main__":
cfg = get_registration_solver_args()
solver = RegistrationSolver(cfg)
solver.non_rigid_registration()