Skip to content
Snippets Groups Projects
README.md 3.01 KiB
Newer Older
Filip Lux's avatar
Filip Lux committed
# Global Cell Linking
Filip Lux's avatar
Filip Lux committed

Filip Lux's avatar
Filip Lux committed
Project to provide Global linking of cell detections.
It is currently connected with an EmbedTrack segmentation routine.
Filip Lux's avatar
Filip Lux committed


Filip Lux's avatar
Filip Lux committed
***
Filip Lux's avatar
Filip Lux committed

Filip Lux's avatar
Filip Lux committed
## Prerequisities

- conda ![link](https://conda.io/projects/conda/en/latest/user-guide/install/index.html)
- Gurobi Optimizer ![link](https://www.gurobi.com/downloads/gurobi-software/)

Filip Lux's avatar
Filip Lux committed
## Instalation
Filip Lux's avatar
Filip Lux committed

Filip Lux's avatar
Filip Lux committed

Clone the repository and update all its submodules. These are EmbedTrack an LibCT.
Filip Lux's avatar
Filip Lux committed


Filip Lux's avatar
Filip Lux committed
``` bash
git clone https://gitlab.fi.muni.cz/xlux/global-linking.git
Filip Lux's avatar
Filip Lux committed
cd global-linking
Filip Lux's avatar
Filip Lux committed
git submodule update --init --recursive

```

Filip Lux's avatar
Filip Lux committed
Then, create the conda evironment.

```bash
conda env create -f GlobalTracking.env
conda activate GlobalTracking
```


Load dataset CTC `BF-C2DL-HSC` to directory `DATA`.  
Filip Lux's avatar
Filip Lux committed
The final structure should should be following:

```
# Structure of training data directory
--DATA
    -- 'SUBSET'                             # Subset is 'train' or 'challenge'
        -- 'DATASET_NAME'                   # Name of dataset e.g. 'BF-C2DL-HSC
            -- 01                           # YY - name of sequence, a two digit number, e.g. '01', '02'
Filip Lux's avatar
Filip Lux committed
                -- t0000.tif
                -- t0001.tif
Filip Lux's avatar
Filip Lux committed
                ...
            -- 01_GT                        # GT, 'train' subset only
                -- SEG                      # segmentation reference
Filip Lux's avatar
Filip Lux committed
                    -- man_seg0000.tif
                    -- man_seg0001.tif
                    ...
Filip Lux's avatar
Filip Lux committed
                -- TRA                      # tracking reference
                    -- man_track.txt
Filip Lux's avatar
Filip Lux committed
                    -- man_track0000.tif
                    -- man_track0001.tif
                      ...
Filip Lux's avatar
Filip Lux committed
```

Open the notebook
Filip Lux's avatar
Filip Lux committed

Filip Lux's avatar
Filip Lux committed
``` bash
./run_notebook.sh
```
Filip Lux's avatar
Filip Lux committed


## Description
Filip Lux's avatar
Filip Lux committed
The project adds global linking to the existing EmbedTrack method.
It is tested on a data from Cell Tracking Challenge (http://celltrackingchallenge.net/).
Filip Lux's avatar
Filip Lux committed

Filip Lux's avatar
Filip Lux committed
## Authors and Acknowledgment
Filip Lux
Filip Lux's avatar
Filip Lux committed

Filip Lux's avatar
Filip Lux committed
I hereby thank to Katharina Loffler for providing me a guidance through EmbedTrack method.
Filip Lux's avatar
Filip Lux committed

Filip Lux's avatar
Filip Lux committed
## License
MIT License
Filip Lux's avatar
Filip Lux committed

Filip Lux's avatar
Filip Lux committed
Copyright (c) 2023 Filip Lux
Filip Lux's avatar
Filip Lux committed

Filip Lux's avatar
Filip Lux committed
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Filip Lux's avatar
Filip Lux committed

Filip Lux's avatar
Filip Lux committed
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Filip Lux's avatar
Filip Lux committed

Filip Lux's avatar
Filip Lux committed
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Filip Lux's avatar
Filip Lux committed