Skip to main content

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.3.0.tar.gz (229.4 kB view details)

Uploaded Source

Built Distribution

molesq-0.3.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file molesq-0.3.0.tar.gz.

File metadata

  • Download URL: molesq-0.3.0.tar.gz
  • Upload date:
  • Size: 229.4 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

Hashes for molesq-0.3.0.tar.gz
Algorithm Hash digest
SHA256 62408dff2aa6de9d20a140b4892cc9266b20381a9a4bf74a0849c5dc1a4c24b5
MD5 b569702f1474697205770577de5424b4
BLAKE2b-256 5aa7773aa0cfa41b225bc34aceff5bf86127921bfc7bbbbe2c2aa6f91c20a847

See more details on using hashes here.

File details

Details for the file molesq-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: molesq-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • 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

Hashes for molesq-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a28d49eec5a5aae2f8236817b55d3089ba023e0feb09ff9a0f33814f2a50b82
MD5 376080544083992e8c23da438dbd49c1
BLAKE2b-256 03f117c52981a872de157c46212028d8613c115e7fdf7473635a8425181708f3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page