Implementation of moving least squares for ND point and image deformation
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file molesq-0.4.0.tar.gz.
File metadata
- Download URL: molesq-0.4.0.tar.gz
- Upload date:
- Size: 229.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9da4e25b03640a6fbe0d640156f1e9f10db68a3e07b10d5e0928fffae9caa50f
|
|
| MD5 |
3bd81bf0dbe1db1b1d62feda46509af2
|
|
| BLAKE2b-256 |
ab51d2d00ce6d27aa72b05b0fe0599b0e46b84f30b56352e1ee25375a5f077ce
|
File details
Details for the file molesq-0.4.0-py3-none-any.whl.
File metadata
- Download URL: molesq-0.4.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32365a5dea779c4a2be76eaf87fabfe8e736c2c1bb8eaa5e711bfaeae47a76a0
|
|
| MD5 |
09119550e3f9e597d457436462e7c34a
|
|
| BLAKE2b-256 |
349374b9a82304fa193b8fb3ff539529212205d44d0ffea83449cec12a3a33cb
|