A plugin that allows you to run macros (i.e. python scripts) on the images for any kind of image processing.

Workflow step:
Image annotation
Image segmentation

This plugin is for anyone familiar with coding in python and would like to create immediate visualizations of their data processing steps.

With the flexibility of napari, this plugin allows you to visualize your nD data and apply various filters and transformations to your data. With the freedom of using the python scripting language, you can create custom filters and transformations (which is what we call as a Macro here) to apply to your data whether it be 2D, 3D or even just a ROI of your 2D/3D data! Your imagination is the limit! You can even use existing python libraries and even custom made libraries to apply to your data.

The input to the plugin can be your label or image layer and the output will be the same layer with the applied filters or transformations.

We have the console, so why do we need another plugin? The console can be clunky if you want to write multiline python scripts and to edit the scripts. Instead of that we have the code area which works like a text editor where you can write your python scripts run and edit them. (Future release to have a smart code box that would help in understanding the coding language and provide syntax highlighting). You also can (as mentioned before) run it on just a custom ROI of your data.


  • 0.1.1

Last updated:

  • 16 July 2024

First released:

  • 26 April 2024


Supported data:

  • Information not submitted

Open extension:

Save extension:

Save layers:

GitHub activity:

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

Python versions supported:

Operating system:


  • numpy
  • magicgui
  • qtpy
  • matplotlib
  • QScintilla