3D shape analysis using deep learning
Project description
Cellshape-helper provides the ability to convert 3D masks to point clouds.
To install
Step 2: Install cellshape-helper
pip install cellshape-helper
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.
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 cellshape-helper-0.0.17rc0.tar.gz
.
File metadata
- Download URL: cellshape-helper-0.0.17rc0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d4dcd27c68814682be958d8c5e472a1b2dcdbaa0adfe89356907e948c4d29bd |
|
MD5 | 5d8eddf6fc22be9c0af7e834800dfc09 |
|
BLAKE2b-256 | a1f42cd9508abf214f1fc262d25f02732c0ac97c488a10c50c8d9586e2c3aa91 |
File details
Details for the file cellshape_helper-0.0.17rc0-py3-none-any.whl
.
File metadata
- Download URL: cellshape_helper-0.0.17rc0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f237fc044bfec9fdabeaaa1cce13987447f07ab3a359631b1ccd42f5095e3ab9 |
|
MD5 | 79ed1c79a8bc7f67a0481aca8c18edc5 |
|
BLAKE2b-256 | 64f898ded9099dc8999d3484d169d82a7d931e95001ed9a6993b5b4fa3d4e1fa |