Polar to cartesian transforms using annular point sampling.
Project description
pointextract
Polar to cartesian transforms using annular point sampling
Designed to unwrap 2D cross section images of 3D X-ray computed tomography scans. The topological transformation enables the surface of a circular or elliptical object to be aligned for downsteam analysis.
Installation
You can install the package with:
pip install pointextract
Example
Simple example:
import pointextract
from skimage import io, filters
img_arr = io.imread('./data/sample.png')
img_thresh = img_arr > filters.threshold_otsu(img_arr)
ellipse = ellipse_detect(img_thresh)
img_unwrap = unwrap_image(img_arr, ellipse, radial_distance=20, num_points=800)
Questions
This package is still in early development. Please feel free to post to the GitHub Issues page with questions.
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
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file pointextract-0.1.2.tar.gz
.
File metadata
- Download URL: pointextract-0.1.2.tar.gz
- Upload date:
- Size: 337.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f269322a85caf3ca38c5424530b236768a9d0c235d829d552632911985a303a |
|
MD5 | ba5c04d18c7df8c75e1a9d6e5437697d |
|
BLAKE2b-256 | 18984f361d60fea339dfd54392ae33a99c1087605917122808a62b3093d112a9 |
File details
Details for the file pointextract-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: pointextract-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7733bcdb013e2654aa3bc8c2a3d8e900265af4f9a2adc8f772b4bf71b5740669 |
|
MD5 | 748aad773e88c5d781393d16c666af91 |
|
BLAKE2b-256 | 5c36ba42583dfebf8f7eb6efede33f9ec993057d4c47d2d3c0211d06495663e3 |