Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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: Mclabel

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

gui

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.

  1. Press "Draw Label"
  2. Draw a rough outline around the object of interest.
  3. Press "Compute Label"
  4. If not satisfied with result, adjust threshold using the slider
  5. Continue with next object

gui

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"
}

Metadata

Release files for napari-mclabel 1.0.1.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for napari-mclabel 1.0.1.dev0
File Size Uploaded Provenance Actions
napari-mclabel-1.0.1.dev0.tar.gz 19.2 MB Without provenance Details for napari-mclabel-1.0.1.dev0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for napari-mclabel 1.0.1.dev0
File Interpreter ABI Platform Actions
napari_mclabel-1.0.1.dev0-py3-none-any.whl Python 3 none any Details for napari_mclabel-1.0.1.dev0-py3-none-any.whl

Total release size: 19.2 MB

Release files / napari-mclabel-1.0.1.dev0.tar.gz

Download URL napari-mclabel-1.0.1.dev0.tar.gz
Size 19.2 MB
Tags Source
SHA-256 checksum
How to use checksums
c6e24a061e33378eada2c13e5aa416ace5d2658392c2ec679fcf3927ccab49c9
BLAKE2b-256 checksum
How to use checksums
6625d4207666750032f20870d59917e5795364109d0d2f0942f85cd53c33b645
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release files / napari_mclabel-1.0.1.dev0-py3-none-any.whl

Download URL napari_mclabel-1.0.1.dev0-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b181ac2f75f878a3cd8fcb601790d7c9a2d33c51afe0cf81016b25ae94ab80a6
BLAKE2b-256 checksum
How to use checksums
ed510960a4542d27d1379e2dc4f6a37e46811b23218ed06177c5411848743d5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Security for napari-mclabel 1.0.1.dev0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page