Skip to main content

3D shape analysis using deep learning

Project description

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

Cellshape logo by Matt De Vries


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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cellshape-helper-0.0.16rc0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

cellshape_helper-0.0.16rc0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file cellshape-helper-0.0.16rc0.tar.gz.

File metadata

  • Download URL: cellshape-helper-0.0.16rc0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for cellshape-helper-0.0.16rc0.tar.gz
Algorithm Hash digest
SHA256 622ea0a0a02f610c5bbb18f89d612772dc9ea4aefe550d68cb7b368e0446313b
MD5 6657952a85b15e48341da5c5969c1cc0
BLAKE2b-256 95ac21dbc906f8ff72552d6cc11044e758b02f210a0cc778fb83ac1eaeacf5af

See more details on using hashes here.

File details

Details for the file cellshape_helper-0.0.16rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for cellshape_helper-0.0.16rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d7afa45933a3ed632171133decec1854fc0b76844233c5a4e0f36039a49960c
MD5 90135ce5274f4ec3cf7f7335cc6dd686
BLAKE2b-256 e63a647ad5b21b5bad1023eea9e1e3f256261732dd00d448574e198aa51dc9d9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page