molesq


Namemolesq JSON
Version 0.4.0 PyPI version JSON
download
home_pagehttps://github.com/clbarnes/molesq
SummaryImplementation of moving least squares for ND point and image deformation
upload_time2021-09-09 15:33:08
maintainer
docs_urlNone
authorChris L. Barnes
requires_python>=3.7, <4.0
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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)

```



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/clbarnes/molesq",
    "name": "molesq",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7, <4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Chris L. Barnes",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/ab/51/d2d00ce6d27aa72b05b0fe0599b0e46b84f30b56352e1ee25375a5f077ce/molesq-0.4.0.tar.gz",
    "platform": "",
    "description": "# MoLeSq\n\nPronounced like \"mollusc\".\n\nA python implementation of the Moving Least Squares algorithm\nfor transforming sets of points from one space to another,\nas published in [Schaefer et al. (2006)][1].\n\nRepackaged from [implementation by Casey Schneider-Mizell][2].\n\n[1]: https://doi.org/10.1145/1179352.1141920\n[2]: https://github.com/ceesem/catalysis/blob/master/catalysis/transform.py\n\n## Usage\n\nControl points and points of interest are given as numpy arrays.\n\n```python\nfrom molesq import Transformer\n\ntran = Transformer(my_control_points, my_deformed_control_points)\ndeformed = tran.transform(my_points_of_interest)\n\nundeformed = tran.transform(deformed, reverse=True)\n\n```\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Implementation of moving least squares for ND point and image deformation",
    "version": "0.4.0",
    "project_urls": {
        "Homepage": "https://github.com/clbarnes/molesq"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "349374b9a82304fa193b8fb3ff539529212205d44d0ffea83449cec12a3a33cb",
                "md5": "09119550e3f9e597d457436462e7c34a",
                "sha256": "32365a5dea779c4a2be76eaf87fabfe8e736c2c1bb8eaa5e711bfaeae47a76a0"
            },
            "downloads": -1,
            "filename": "molesq-0.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "09119550e3f9e597d457436462e7c34a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7, <4.0",
            "size": 6852,
            "upload_time": "2021-09-09T15:33:06",
            "upload_time_iso_8601": "2021-09-09T15:33:06.971488Z",
            "url": "https://files.pythonhosted.org/packages/34/93/74b9a82304fa193b8fb3ff539529212205d44d0ffea83449cec12a3a33cb/molesq-0.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ab51d2d00ce6d27aa72b05b0fe0599b0e46b84f30b56352e1ee25375a5f077ce",
                "md5": "3bd81bf0dbe1db1b1d62feda46509af2",
                "sha256": "9da4e25b03640a6fbe0d640156f1e9f10db68a3e07b10d5e0928fffae9caa50f"
            },
            "downloads": -1,
            "filename": "molesq-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3bd81bf0dbe1db1b1d62feda46509af2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7, <4.0",
            "size": 229946,
            "upload_time": "2021-09-09T15:33:08",
            "upload_time_iso_8601": "2021-09-09T15:33:08.285130Z",
            "url": "https://files.pythonhosted.org/packages/ab/51/d2d00ce6d27aa72b05b0fe0599b0e46b84f30b56352e1ee25375a5f077ce/molesq-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-09-09 15:33:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "clbarnes",
    "github_project": "molesq",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "molesq"
}
        
Elapsed time: 0.16926s