Skip to content

MIC-DKFZ/napari-layer-statistics

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages