vanvalenlab/cellSAM
소개
Codebase for "A Foundation Model for Cell Segmentation"
개발 도구측정된 스타 증가
- in 24h
- +1
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalCellSAM: A Foundation Model for Cell Segmentation
NOTE Be sure to update to the latest version of the model
Description
This repository provides inference code for CellSAM. CellSAM is described in more detail in the preprint, and is publicly deployed at cellsam.deepcell.org. CellSAM achieves state-of-the-art performance on segmentation across a variety of cellular targets (bacteria, tissue, yeast, cell culture, etc.) and imaging modalities (brightfield, fluorescence, phase, etc.). Feel free to reach out for support/questions! The full dataset used to evaluate CellSAM is available via https://users.deepcell.org. This dataset contains cellpose data which is subject to the cellpose license here. The cellpose data can also be downloaded from here.
Getting started
The easiest way to get started with CellSAM is with pip
pip install git+https://github.com/vanvalenlab/cellSAM.git
CellSAM requires python>=3.10, but otherwise uses pure PyTorch. A sample image is included in this repository. Segmentation can be performed as follows
import numpy as np
from cellSAM import segment_cellular_image
img = np.load("sample_imgs/yeaz.npy")
mask, _, _ = segment_cellular_image(img, device='cuda')
For more details, see the tutorial
Napari package
CellSAM includes a basic napari package for annotation functionality. To install the additional napari dependencies, use pip.
pip install "cellSAM[napari] @ git+https://github.com/vanvalenlab/cellSAM@master"
To launch the napari app, run cellsam napari.
For further details, check out the napari plugin docs
Citation
Please cite us if you use CellSAM.
@article{israel2023foundation,
title={A Foundation Model for Cell Segmentation},
author={Israel, Uriah and Marks, Markus and Dilip, Rohit and Li, Qilin and Schwartz, Morgan and Pradhan, Elora and Pao, Edward and Li, Shenyi and Pearson-Goulart, Alexander and Perona, Pietro and others},
journal={bioRxiv},
publisher={Cold Spring Harbor Laboratory Preprints},
doi = {10.1101/2023.11.17.567630},
}
관련 프로젝트 살펴보기
불러오는 중…