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.2.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.2-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: napari_layer_statistics-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 5e81957822edfef1a4e6d9c5d570921d9264bebe8f4209408e5dd540fed3deb7
MD5 326e43b765602ceb0f41c40a258c8fd1
BLAKE2b-256 bd39bc44b5cb430ebf0e30fcf89f0986832a95c53fb745af122c7bf4ad5b284a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for napari_layer_statistics-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 72d1392348b1e45924cc466f9cfaa1eee179b8e4d177bf089c954d2cbd196697
MD5 43eac8274ff607fc3267408723062256
BLAKE2b-256 d83ff3a60dc7913f532b8713fb19e98cb56a3d913dd0cc2030cdf4d1b4be4be9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 files

1.0.1

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