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.1.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.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: linkinpy_segmentation-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 b951041f08bc51fa6b039a2963936b42d154f9d5cf25ad47f4f5c60b20e5e70b
MD5 27ff3e8d0bcacc296f990357cf59c913
BLAKE2b-256 1713b4b6dc3031bc166968246af055197107a2a7eaa612b2c0f78425531f7e8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for linkinpy_segmentation-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9d5c9133ce423a7a2b4f15bfb0653d09ca2f1a12f093a754914f2b96a285a577
MD5 dddbbc2bdccc5abe88c7569a26193302
BLAKE2b-256 577ccf05673d75c7195f67d8a6db4e08aed77bb33c7f8b1375068b5796dd97fa

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