napari math


Simple mathematical operations on image, point and surface layers.

License PyPI Python Version tests codecov napari hub

This package provides a GUI interfrace for simple mathematical operations on image, point and surface layers.

  • addition
  • subtraction
  • multiplication
  • division
  • logical and, or, xor
  • z-projection (mean and sum)

Operations can be peformed on a single layer or between Image layers (functionaly pending for Surface and Point layers), for example adding one layer to another.

When performing operations on two images of different sizes, the result will be the size of the smallest of the two images.


You can install napari-math via pip:

pip install napari-math


Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.


Distributed under the terms of the MIT license, "napari-math" is free and open source software


If you encounter any problems, please file an [issue] along with a detailed description.


  • 0.0.1b0

Last updated:

  • 29 March 2022

First released:

  • 18 January 2022


Supported data:

  • Information not submitted

Plugin type:

GitHub activity:

  • Stars: 2
  • Forks: 1
  • Issues + PRs: 0

Python versions supported:

Operating system:


  • numpy

Sign up to receive updates