Segment Anything For Microscopy
Project description
Segment Anything for Microscopy
Tools for segmentation and tracking in microscopy build on top of Segment Anything. Segment and track objects in microscopy images interactively with a few clicks!
We implement napari applications for:
- interactive 2d segmentation (Left: interactive cell segmentation)
- interactive 3d segmentation (Middle: interactive mitochondria segmentation in EM)
- interactive tracking of 2d image data (Right: interactive cell tracking)
If you run into any problems or have questions regarding our tool please open an issue on Github or reach out via image.sc using the tag micro-sam, and tagging @constantinpape and @anwai98.
You can follow recent updates on micro_sam in our news feed.
Installation and Usage
Please check the documentation for details on how to install and use micro_sam. You can also watch the quickstart video, our virtual I2K workshop video or all video tutorials.
Contributing
We welcome new contributions!
If you are interested in contributing to micro-sam, please see the contributing guide. The first step is to discuss your idea in a new issue with the current developers.
Citation
If you are using this repository in your research please cite
- our paper (now published in Nature Methods!)
- and the original Segment Anything publication.
- If you use
vit-tinymodels please also cite Mobile SAM. - If you use automatic tracking, please also cite Trackastra.
Related Projects
There are a few other napari plugins build around Segment Anything:
- https://github.com/MIC-DKFZ/napari-sam (2d and 3d support)
- https://github.com/royerlab/napari-segment-anything (only 2d support)
- https://github.com/hiroalchem/napari-SAM4IS
Compared to these we support more applications (2d, 3d and tracking), and provide finetuning methods and finetuned models for microscopy data. WebKnossos and QuPath also offer integration of Segment Anything for interactive segmentation.
We have also built follow-up work that is based on micro_sam:
- https://github.com/computational-cell-analytics/patho-sam - improves SAM for histopathology.
- https://github.com/computational-cell-analytics/medico-sam - improves SAM for medical imaging.
- https://github.com/computational-cell-analytics/peft-sam - studies parameter efficient fine-tuning for SAM.
Release Overview
You can find an overview of changes introduced in previous releases here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file micro_sam-1.8.0.tar.gz.
File metadata
- Download URL: micro_sam-1.8.0.tar.gz
- Upload date:
- Size: 225.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
092763c79156b946ac63455467491d735e639fb23d8ca03f943e17bbd3ed7246
|
|
| MD5 |
d2ade1f9f729e6b3dbaa55a4e94c00ee
|
|
| BLAKE2b-256 |
bbb88ee2c799cc2f298348aedce1cccdfe14309a2090339a1c893f492030adbc
|
Provenance
The following attestation bundles were made for micro_sam-1.8.0.tar.gz:
Publisher:
release_drafter.yaml on computational-cell-analytics/micro-sam
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
micro_sam-1.8.0.tar.gz -
Subject digest:
092763c79156b946ac63455467491d735e639fb23d8ca03f943e17bbd3ed7246 - Sigstore transparency entry: 1724972140
- Sigstore integration time:
-
Permalink:
computational-cell-analytics/micro-sam@3159b8772169470aab15707d1be865915cd29030 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/computational-cell-analytics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release_drafter.yaml@3159b8772169470aab15707d1be865915cd29030 -
Trigger Event:
push
-
Statement type:
File details
Details for the file micro_sam-1.8.0-py3-none-any.whl.
File metadata
- Download URL: micro_sam-1.8.0-py3-none-any.whl
- Upload date:
- Size: 260.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48e77134b1a609c0e41918d1719b7096a43847f9d24c883d2a00e5e1ead20985
|
|
| MD5 |
7545a4cb025697e9f00c1ff761eab373
|
|
| BLAKE2b-256 |
21f8821713ffa7aff616f9f74ce02a165e63a65c7fc5c89c561a5e4e42ed1878
|
Provenance
The following attestation bundles were made for micro_sam-1.8.0-py3-none-any.whl:
Publisher:
release_drafter.yaml on computational-cell-analytics/micro-sam
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
micro_sam-1.8.0-py3-none-any.whl -
Subject digest:
48e77134b1a609c0e41918d1719b7096a43847f9d24c883d2a00e5e1ead20985 - Sigstore transparency entry: 1724972215
- Sigstore integration time:
-
Permalink:
computational-cell-analytics/micro-sam@3159b8772169470aab15707d1be865915cd29030 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/computational-cell-analytics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release_drafter.yaml@3159b8772169470aab15707d1be865915cd29030 -
Trigger Event:
push
-
Statement type: