Implementation of moving least squares
Project description
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
molesq-0.2.0.tar.gz
(108.3 kB
view details)
File details
Details for the file molesq-0.2.0.tar.gz
.
File metadata
- Download URL: molesq-0.2.0.tar.gz
- Upload date:
- Size: 108.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af2cd8cdf2541a83ab046adc06182b08a1df2dd47bd14a81cad088cf2ae191f7 |
|
MD5 | 4c66785f2ef7970757afa438b2dd4514 |
|
BLAKE2b-256 | f4742b3a624e3457da82b67658e6efc38203a2a0be48296ef4dffca33519033d |