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.2.tar.gz (6.0 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.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: linkinpy_segmentation-0.0.2.tar.gz
  • Upload date:
  • Size: 6.0 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.2.tar.gz
Algorithm Hash digest
SHA256 5dc9630705f71b5839209fb1676b41fe7415bd68057274e404b4e02cb080115a
MD5 fce22699ef7ca6b3519aeed3915056c1
BLAKE2b-256 c4d4d6bb7692350b90fd6d1bb1b328bd9cd0dbf6b6b56e745ce8004aaa97f0fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for linkinpy_segmentation-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 da7bcdb2d53168a242f9a084123c0953df8d4e5d587745c12cdc7f587f312a72
MD5 174bef9ebf43f995dbb21d4e978a860a
BLAKE2b-256 ef3902f1bd53d3b52002f82142c0f68b268657635974c7e738a2a491a44852ce

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