3D shape analysis using deep learning
Project description
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.
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
Close
Hashes for cellshape-helper-0.0.18rc0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b047734353927ed627bd448685cc01fdfb1d9765f947fc292a096d694545ebf |
|
MD5 | c6dc6f6239e5275e7b47448c1c92974c |
|
BLAKE2b-256 | 3e473942d54c71a56d2e74e4d75b51d6173a5215a95b5018365e16eb263fb3eb |
Close
Hashes for cellshape_helper-0.0.18rc0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1667adef3af5f32c70dfe74c1b2bf32424a710bf976ab858af4f60cec33f1d16 |
|
MD5 | 761ccdcdd88c49bcba66832f9e115230 |
|
BLAKE2b-256 | 939ce7dfe373829df9eb650630cd38cd584723b01a181e26e099020d2f1e3970 |