Metadata-Version: 2.4
Name: leica_scripts
Version: 0.0.1
Summary: Leica Scripts
Author: RA Hoebe
License-Expression: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/Cellular-Imaging-Amsterdam-UMC
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: ==3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cellpose==3.1.1.2
Requires-Dist: numpy>=2.0.2
Requires-Dist: pyshortcuts>=1.9.5
Requires-Dist: PyQt6>=6.9.0
Requires-Dist: lxml>=5.4.0
Requires-Dist: pyqtgraph>=0.13.7
Requires-Dist: superqt>=0.7.3
Requires-Dist: scikit-image>=0.25.2
Requires-Dist: pandas>=2.2.3
Dynamic: license-file

# Leica_ROI_finder
Automatic ROI finder for Leica Stellaris 8
- Automatic segmentation using cellpose 3
- ROI filtering using intensity, size and circularity
- Exports ROIs to Leica .rgn files, can be imported into LAS X navigator

![](./assets/images/usage.gif)

## Installation and usage
Leica ROI finder is available on PyPi and can be installed as follows:
```shell
pip install leica-scripts
```

Activate the GUI using:
```shell
python -m leica_scripts
```

# Workflow
Load LIF image into ROI finder:

![](./assets/images/image_loaded.png)

Perform segmentation using cellpose, filter ROIs using intensity, size and circularity:

![](./assets/images/segmentation.png)

Ron Scripts:

![](./assets/images/regions_loaded.png)

Perform imaging on all regions:

![](./assets/images/experiment.png)
