Skip to main content

Napari Layer Statistics

napari-layer-statistics is a compact layer inspector for napari: fast statistics, editable geometry/camera fields, and clipboard-friendly summaries in one widget.

Features:

  • Computations in background processes to keep napari viewer responsive
  • metadata panel for selected layer (Name, Type, Dtype)
  • geometry panel for selected layer (Array Shape) with editable fields for Spacing, Origin and Direction
  • camera panel with editable NDisplay, Displayed axis, Zoom, Center, Angle, and Canvas (w, h)
  • Image statistics (grayscale/RGB/RGBA) with optional heavy-compute toggle
  • Labels statistics with class overview (Number Classes, Classes present) and per-class voxel percentages
  • class color picker in labels table (currently supported for cyclic label colormaps)
  • copy/paste camera settings from clipboard
  • copy/paste class colors from clipboard
  • Copy stats for a global metadata/geometry/statistics report (camera/colors intentionally excluded)

Install

pip install napari-layer-statistics

or with napari included:

pip install "napari-layer-statistics[all]"

Use

Open the widget in napari:

Plugins > napari-layer-statistics > Layer Statistics

License

Apache-2.0

Acknowledgments

    

This repository is developed and maintained by the Applied Computer Vision Lab (ACVL) of Helmholtz Imaging and the Division of Medical Image Computing at DKFZ.

This repository was generated with copier using the napari-plugin-template.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napari_layer_statistics-1.0.1.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

napari_layer_statistics-1.0.1-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file napari_layer_statistics-1.0.1.tar.gz.

File metadata

  • Download URL: napari_layer_statistics-1.0.1.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for napari_layer_statistics-1.0.1.tar.gz
Algorithm Hash digest
SHA256 cb9a736c375a429747393ea109942ba4df874241249bde3c97e398658151a513
MD5 798c1cc5792c3daa89a0edc44f44c3ee
BLAKE2b-256 399118d04965735d70a4476cf9930aa91dfe451b35f2f5aa5860679935ede47b

See more details on using hashes here.

File details

Details for the file napari_layer_statistics-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_layer_statistics-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 200a9bf3a1544d50cbbf1a94815c1c766f6c8c3a5c33049a77260cf49c3ff183
MD5 a418fb24f8bd03eb0d704c5d551ad1b6
BLAKE2b-256 651e7ae37b43947f241e69e56b681ecac07bd07d3cbfb643e7096104e77c14d0

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.2

2 files

This release

1.0.1 This release

2 files

1.0.0

2 files

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