Plot intensity along a line and create topographical views in napari
Plot a Line Profile¶
Plot intensities along a line in napari.
Open some images in napari.
Add a shapes layer.
- Activate the line drawing tool or the path tool and draw a line.
- After drawing a line, click on the menu Plugins > Measurements (Plot Profile)
- If you modify the line, you may want to click the "Refresh" button to redraw the profile.
To see how these steps can be done programmatically from python, check out the demo notebook
Create a Topographical View¶
Create a 3D view of a 2D image by warping pixel intensities to heights. It can be displayed as a 3D image layer, a points cloud layer or a surface layer.
You can install
napari-plot-profile via pip:
pip install napari-plot-profile
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 BSD-3 license, "napari-plot-profile" is free and open source software
- 05 October 2022
- 20 August 2021
- Information not submitted
- Stars: 17
- Forks: 4
- Issues + PRs: 10