Skip to main content

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

Project description

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.

Project details


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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for napari_layer_statistics-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4edeac983165f056a11da8db77beacb72d52b12f31e7189f602957c51bda0256
MD5 4bf627fb6acfb0b0899484c230cbfa73
BLAKE2b-256 7332ca581a7c799fd805e4a287de42bac807a811c1ac706a1187124c599e4d6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for napari_layer_statistics-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fbaf52e2c75d916f804e05e275b68fa8d8cf9cc4833d597390a63a3e3f4347f4
MD5 f3fa78b65c802737769bfb3048144758
BLAKE2b-256 0fd43dadbbc2cdf13abd8237f189e66e0eb115f4b671ade1cbf1be74444635f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page