Implementation of moving least squares for ND point and image deformation
Project Links
Meta
Author: Chris L. Barnes
Requires Python: >=3.7, <4.0
Classifiers
Development Status
- 3 - Alpha
License
- OSI Approved :: MIT License
Programming Language
- Python :: 3.7
- Python :: 3.8
- Python :: 3.9
MoLeSq
Pronounced like "mollusc".
A python implementation of the Moving Least Squares algorithm for transforming sets of points from one space to another, as published in Schaefer et al. (2006).
Repackaged from implementation by Casey Schneider-Mizell.
Usage
Control points and points of interest are given as numpy arrays.
from molesq import Transformer
tran = Transformer(my_control_points, my_deformed_control_points)
deformed = tran.transform(my_points_of_interest)
undeformed = tran.transform(deformed, reverse=True)
0.4.0
Sep 09, 2021
0.3.1
Apr 12, 2021
0.3.0
Apr 11, 2021
0.2.1
Apr 08, 2021
0.2.0
Apr 08, 2021
0.1.0
Apr 08, 2021