# pointextract
Topological transforms by point sampling. Includes:
- Unwrapping circular and annular regions of images into linear or 2D arrays
Designed to unwrap 2D cross section images of 3D X-ray computed tomography scans.
The transformation enables the surface of a circular object to be aligned for downsteam analysis and a topological transform.
<img src="./figs/unwrap_example.png" width="400">
## Installation
You can install the package with:
```bash
pip install pointextract
```
Before using this package, ensure you have Python installed on your system. This package requires the following dependencies:
- numpy
- skimage
## Example
Simple example:
```python
import pointextract
from skimage.io import imread
img_arr = imread('example.png')
ellipse = ellipse_detect(img_arr, sigma=2)
img_unwrap = unwrap_image(img_arr, ellipse, radial_distance=50, num_points=400)
```
## Questions
This package is still in early development. Please feel free to contact us directly with any questions or bugs. We are currently working to provide an open-source repository where issues and feature requests can be submitted.
## Acknowledgements
This material is based upon research in the Materials Data Science for Stockpile Stewardship Center of Excellence (MDS3-COE).
[Case Western Reserve University, SDLElab] [1]
[1]: http://sdle.case.edu
Raw data
{
"_id": null,
"home_page": "https://engineering.case.edu/centers/sdle/",
"name": "pointextract",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "transform,unwrap,topological",
"author": "Roger French (ORCID:000000-0002-6162-0532), Thomas Ciardi (ORCID:0009-0006-0942-2666), Maliesha Sumudumalie (0009-0009-6440-8180) Liangyi Huang (ORCID:0000-0003-0845-3293)",
"author_email": "roger.french@case.edu",
"download_url": "https://files.pythonhosted.org/packages/bc/70/a694331483d9355c44b37162cedaa5859a918e481668ebc81c88260447d6/pointextract-0.0.53.tar.gz",
"platform": null,
"description": "# pointextract\n\nTopological transforms by point sampling. Includes:\n\n- Unwrapping circular and annular regions of images into linear or 2D arrays\n\nDesigned to unwrap 2D cross section images of 3D X-ray computed tomography scans.\nThe transformation enables the surface of a circular object to be aligned for downsteam analysis and a topological transform.\n\n<img src=\"./figs/unwrap_example.png\" width=\"400\">\n\n## Installation\n\nYou can install the package with:\n```bash\npip install pointextract\n```\n\nBefore using this package, ensure you have Python installed on your system. This package requires the following dependencies:\n- numpy\n- skimage\n\n## Example\n\nSimple example:\n```python\nimport pointextract\nfrom skimage.io import imread\n\nimg_arr = imread('example.png')\n\nellipse = ellipse_detect(img_arr, sigma=2)\n\nimg_unwrap = unwrap_image(img_arr, ellipse, radial_distance=50, num_points=400)\n```\n\n## Questions\nThis package is still in early development. Please feel free to contact us directly with any questions or bugs. We are currently working to provide an open-source repository where issues and feature requests can be submitted.\n\n## Acknowledgements\nThis material is based upon research in the Materials Data Science for Stockpile Stewardship Center of Excellence (MDS3-COE).\n\n[Case Western Reserve University, SDLElab] [1]\n \n[1]: http://sdle.case.edu\n",
"bugtrack_url": null,
"license": "BSD License (BSD-3)",
"summary": "Unwraps a circular surface through a topological transform",
"version": "0.0.53",
"project_urls": {
"Homepage": "https://engineering.case.edu/centers/sdle/"
},
"split_keywords": [
"transform",
"unwrap",
"topological"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5573fdda770b338fcc2717717c574e498a7f3800828b00ca448b63d83c02bddf",
"md5": "d695dbd4a5ddb0fffb5b06dd87c2cd8b",
"sha256": "2be738f858c80d3dba3bc5c9db45b4f9f7d36695782ebdc4c9942ff0a8ff3c68"
},
"downloads": -1,
"filename": "pointextract-0.0.53-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d695dbd4a5ddb0fffb5b06dd87c2cd8b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4942,
"upload_time": "2024-02-23T14:56:31",
"upload_time_iso_8601": "2024-02-23T14:56:31.922091Z",
"url": "https://files.pythonhosted.org/packages/55/73/fdda770b338fcc2717717c574e498a7f3800828b00ca448b63d83c02bddf/pointextract-0.0.53-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bc70a694331483d9355c44b37162cedaa5859a918e481668ebc81c88260447d6",
"md5": "2df764d1373e54f00c41e57a1ab803b4",
"sha256": "ac2798ca3f56be5ad68ad39f7f09ebcfd3f460612b0f85c49561cc2421002f8b"
},
"downloads": -1,
"filename": "pointextract-0.0.53.tar.gz",
"has_sig": false,
"md5_digest": "2df764d1373e54f00c41e57a1ab803b4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4407,
"upload_time": "2024-02-23T14:56:41",
"upload_time_iso_8601": "2024-02-23T14:56:41.341575Z",
"url": "https://files.pythonhosted.org/packages/bc/70/a694331483d9355c44b37162cedaa5859a918e481668ebc81c88260447d6/pointextract-0.0.53.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-23 14:56:41",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "pointextract"
}