Multi-dimensional image viewer for python
napari is a fast, interactive, multi-dimensional image viewer for Python. It’s designed for browsing, annotating, and analyzing large multi-dimensional images. It’s built on top of
Qt (for the GUI),
vispy (for performant GPU-based rendering), and the scientific Python stack (
scipy). It includes critical viewer features out-of-the-box, such as support for large multi-dimensional data, and layering and annotation. By integrating closely with the Python ecosystem, napari can be easily coupled to leading machine learning and image analysis tools (e.g.
PyTorch), enabling more user-friendly automated analysis.
napari is developed in the open! Currently the project is in an alpha stage, and there will still likely be breaking changes with each release. You can follow progress on its GitHub repository, test new versions as being released, and contribute ideas and code.
Check out the scripts in napari
examples folder to see some of the functionality developed! napari supports six main different layer types,
Surface, each corresponding to a different data type, visualization, and interactivity. You can add multiple layers of different types into the viewer and then start working with them, adjusting their properties.
All layer types support n-dimensional data and the viewer provides the ability to quickly browse and visualize either 2D or 3D slices of the data.
napari also supports bidirectional communication between the viewer and the Python kernel, which is especially useful when launching from jupyter notebooks or when using our built-in console. Using the console allows you to interactively load and save data from the viewer and control all the features of the viewer programmatically.
You can extend napari using custom shortcuts, key bindings, and mouse functions.
For more information about the developers plans for
napari you can read their mission and values statement, which includes more details on their vision for supporting a plugin ecosystem around napari.
- ortho-view-napari: a plugin displaying the lateral view of the current 3D stack
- napari-3D-ortho-viewer: a plugin implementing an ortho viewer for 3D images
- cookiecutter-napari-plugin: Cookiecutter template for authoring napari plugins.
napari-hub: a service of the Chan Zuckerberg Initiative in collaboration with napari seeking to solve many of the challenges and needs in finding analysis solutions to bioimaging problems. You can explore how the hub is being built in the open (including research studies, design prototypes and technical specs) by visiting its GitHub repository.