Metadata-Version: 2.1
Name: molesq
Version: 0.4.0
Summary: Implementation of moving least squares for ND point and image deformation
Home-page: https://github.com/clbarnes/molesq
Author: Chris L. Barnes
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.7, <4.0
Description-Content-Type: text/markdown
License-File: LICENSE

# 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)][1].

Repackaged from [implementation by Casey Schneider-Mizell][2].

[1]: https://doi.org/10.1145/1179352.1141920
[2]: https://github.com/ceesem/catalysis/blob/master/catalysis/transform.py

## Usage

Control points and points of interest are given as numpy arrays.

```python
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)

```


