Napari plugin for semi-automatic labeling of macrophages
Project description
Napari McLabel
What is the purpose of this tool?
McLabel is a semi-automatic local thresholding tool that can help to label cellular objects such as macrophages in fluorescence microscopy images. In cases where a global threshold does not yield satisfactory results, a local threshold based on a ROI drawn by the user may give better results. See the video for an example:
Installation
The plugin can be installed using pip:
pip install napari-mclabel
After succesfull installation the plugin will appear in the plugins menu of napari.
Usage
The GUI of McLabel lives in the right pane of napari. If multiple layers are loaded, select the layer that you want to segment. The theshold finding algorithm is by default is triangle, however there are plenty of alternatives and depending on the data another algorithm might be better suited.
- Press "Draw Label"
- Draw a rough outline around the object of interest.
- Press "Compute Label"
- If not satisfied with result, adjust threshold using the slider
- Continue with next object
Reference
If you use McLabel in your work, consider citing our background paper: https://doi.org/10.1007/978-3-658-41657-7_20
@InProceedings{10.1007/978-3-658-41657-7_20,
author="Utz, Jonas
and Schlereth, Maja
and Qiu, Jingna
and Thies, Mareike
and Wagner, Fabian
and Brahim, Oumaima B.
and Gu, Mingxuan
and Uderhardt, Stefan
and Breininger, Katharina",
editor="Deserno, Thomas M.
and Handels, Heinz
and Maier, Andreas
and Maier-Hein, Klaus
and Palm, Christoph
and Tolxdorff, Thomas",
title="McLabel",
booktitle="Bildverarbeitung f{\"u}r die Medizin 2023",
year="2023",
publisher="Springer Fachmedien Wiesbaden",
address="Wiesbaden",
pages="82--87",
abstract="In this work, we present a semi-automatic labelling tool for the annotation of complex cellular structures such as macrophages in fluorescence microscopy images. We present McLabel, a napari plugin that allows users to label structures of interest by simply scribbling outlines around the area of interest, using the triangle thresholding method with post-processing to identify the desired structure. Additionally, manual adaption of the threshold allows for quick and fine-grained local correction of the segmentation. The tool is evaluated in a user study with five experts, who annotated images both with and without the tool. The results show that variability in annotations between experts is reduced when the labelling tool is used and annotation time is reduced by a factor of five on average.",
isbn="978-3-658-41657-7"
}
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
File details
Details for the file napari-mclabel-1.0.1.dev0.tar.gz
.
File metadata
- Download URL: napari-mclabel-1.0.1.dev0.tar.gz
- Upload date:
- Size: 19.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6e24a061e33378eada2c13e5aa416ace5d2658392c2ec679fcf3927ccab49c9 |
|
MD5 | 8ac201f536d8a4b1d05d0dccca49866f |
|
BLAKE2b-256 | 6625d4207666750032f20870d59917e5795364109d0d2f0942f85cd53c33b645 |
File details
Details for the file napari_mclabel-1.0.1.dev0-py3-none-any.whl
.
File metadata
- Download URL: napari_mclabel-1.0.1.dev0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b181ac2f75f878a3cd8fcb601790d7c9a2d33c51afe0cf81016b25ae94ab80a6 |
|
MD5 | f7f1244c6f6874c1f7db51728f813e62 |
|
BLAKE2b-256 | ed510960a4542d27d1379e2dc4f6a37e46811b23218ed06177c5411848743d5f |