|
1 | 1 | # SegmentAnything for Microscopy |
2 | 2 |
|
3 | | -## Installation and Requirements |
| 3 | +Tools for segmentation and tracking in microscopy build on top of [SegmentAnything](https://segment-anything.com/). |
| 4 | +We implement napari applications for: |
| 5 | +- interactive 2d segmentation |
| 6 | +- interactive 3d segmentation |
| 7 | +- interactive tracking of 2d image data |
4 | 8 |
|
5 | | -Install [PyTorch](https://pytorch.org/get-started/locally/), [SegmentAnything](https://github.com/facebookresearch/segment-anything#installation) and elf in your conda env. |
6 | | -Then install the `micro_sam` library via |
| 9 | +**Early beta version** |
| 10 | +This is an early beta version. Any feedback is welcome, but please be aware that the functionality is evolving fast and not fully tested. |
| 11 | + |
| 12 | +## Functionality overview |
| 13 | + |
| 14 | +TODO |
| 15 | + |
| 16 | +## Installation |
| 17 | + |
| 18 | +You need to install [PyTorch](https://pytorch.org/get-started/locally/), [SegmentAnything](https://github.com/facebookresearch/segment-anything#installation), [napari](https://napari.org/stable/) and [elf](https://github.com/constantinpape/elf). |
| 19 | +We recommend to use conda and provide two conda environment files with all necessary requirements: |
| 20 | +- `environment_gpu.yaml`: sets up an environment with GPU support. |
| 21 | +- `environment_cpu.yaml`: sets up an environment with CPU support. |
| 22 | + |
| 23 | +You can create the corresponding environment via |
| 24 | + |
| 25 | +``` |
| 26 | +conda env create -f <ENV_FILE>.yaml |
| 27 | +``` |
| 28 | +You can then activate the environment via |
| 29 | +``` |
| 30 | +conda activate sam |
| 31 | +``` |
| 32 | +And install our napari applications and the `micro_sam` library via |
7 | 33 | ``` |
8 | 34 | pip install -e . |
9 | 35 | ``` |
10 | 36 |
|
11 | | -## Structure |
| 37 | +## Usage |
| 38 | + |
| 39 | +TODO |
| 40 | + |
| 41 | +### Tips & Tricks |
| 42 | + |
| 43 | +TODO |
| 44 | + |
| 45 | +## Using the micro_sam library |
| 46 | + |
| 47 | +TODO |
| 48 | + |
| 49 | +## Contributing |
12 | 50 |
|
13 | 51 | ``` |
14 | 52 | micro_sam <- library with utility functionality for using SAM for microscopy data |
15 | 53 | /sam_annotator <- the napari plugins for annotation |
16 | 54 | ``` |
| 55 | + |
| 56 | +## Citation |
| 57 | + |
| 58 | +If you are using this repository in your research please cite |
| 59 | +- [SegmentAnything](https://arxiv.org/abs/2304.02643) |
| 60 | +- and our repository on [zenodo](TODO) (we are working on a full publication) |
0 commit comments