Home

Awesome

Project Status: Active – The project has reached a stable, usable
state and is being actively
developed. Python Version PyPI Downloads Wheel Development Status Tests Coverage Status Code style: black

<img src="https://github.com/Sentinal4D/cellshape-helper/blob/main/img/cellshape_helper_logo.png" alt="Cellshape logo by Matt De Vries">


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