Cellshape-helper provides the ability to convert 3D masks to point clouds.
To install
pip install cellshape-helper
Basic Usage
import cellshape_helper as helper
PATH_TO_TIF_FILES = "path/to/tif/files/"
PATH_TO_SAVE_MESH = "path/to/save/mesh/files/"
PATH_TO_SAVE_PC = "path/to/save/pointcloud/files/"
NUM_POINTS = 2048
helper.tif_to_pc_directory(PATH_TO_TIF_FILES,
PATH_TO_SAVE_MESH,
PATH_TO_SAVE_PC,
NUM_POINTS)
Parameters
PATH_TO_TIF_FILES: str.
The path to you binary masks of cells or nuclei.PATH_TO_SAVE_MESH: str.
The path where you want to save the mesh objects to.PATH_TO_SAVE_PC: str.
The path where you want to save your point clouds to.NUM_POINTS: str.
The number of points to sample from the mesh object when creating a point cloud.
Metadata
Release files for cellshape-helper 0.0.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cellshape-helper-0.0.18.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cellshape_helper-0.0.18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / cellshape-helper-0.0.18.tar.gz
| Download URL | cellshape-helper-0.0.18.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a33de83fcdd3cf26433656f0759ffe863c088ac25304b9349165388a1a63d3fc
|
|
BLAKE2b-256 checksum How to use checksums |
c72225439b299d2e569be145b78e8b3ac66bdbfb770123bcdc7a46c8110d3669
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / cellshape_helper-0.0.18-py3-none-any.whl
| Download URL | cellshape_helper-0.0.18-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0705c841d81fab041b364ccc81c2301bd0e036520436f168aacfbcbc311cd711
|
|
BLAKE2b-256 checksum How to use checksums |
1fb16b1beb73bc94fa38809e403c5d655da2bfdc3c0368e026225b93560e149a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|