Skip to main content

LinkinPy CLI package for deep-learning based bioimage segmentation

Project description

LinkinPy Segmentation

linkinpy-segmentation exposes deep-learning segmentation methods as LinkinPy-compatible command-line tools. The first method uses Cellpose cyto3 for general cell segmentation, following the mAIcrobe idea of first-use model download and cached inference, but without a napari GUI dependency.

Cellpose Segmentation

linkinpy-cellpose-segment input.tif output_labels.tif --model-type cyto3 --diameter 30

The command stores Cellpose models in:

~/.linkinpy/models/cellpose

On each run it checks whether the requested model files are already present. If they are missing, the command asks Cellpose to download them, then runs inference and writes the segmentation labels as a TIFF image.

LinkinPy Metadata

This package includes linkinpy.yaml, so linkinpy-parse can generate richer GUI metadata for ImageJ/Fiji and napari.

Development

uv sync
uv run pytest

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

linkinpy_segmentation-0.0.3.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linkinpy_segmentation-0.0.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file linkinpy_segmentation-0.0.3.tar.gz.

File metadata

  • Download URL: linkinpy_segmentation-0.0.3.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for linkinpy_segmentation-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0901dbbd0f13c03aa20262fa1ffae4d7164bc6812cdd308098ed227284d2ed74
MD5 0f7862f5688c0bfa374582a8338b0faf
BLAKE2b-256 0a2a6693d5d802662b7a66e303117fb69086c32da3f237060ebe4bce9ad8ba34

See more details on using hashes here.

File details

Details for the file linkinpy_segmentation-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for linkinpy_segmentation-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 49a41137cae4ec47d744cded1f639303a4481d36728c71c8bbd29145dae37783
MD5 78e4125879cf8bdc428d43555b8dc40b
BLAKE2b-256 6ea085d9ab1fa9c6523cf7cb35712103ab657cb0d43f3d1d862d4a6b6e7263ed

See more details on using hashes here.

Supported by

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