{"id":13688900,"url":"https://github.com/haesleinhuepf/napari-plot-profile","last_synced_at":"2025-10-06T23:43:41.442Z","repository":{"id":37417896,"uuid":"398363469","full_name":"haesleinhuepf/napari-plot-profile","owner":"haesleinhuepf","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-12T16:34:13.000Z","size":14467,"stargazers_count":17,"open_issues_count":11,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-12T16:48:05.140Z","etag":null,"topics":["napari-plugin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haesleinhuepf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-20T18:09:46.000Z","updated_at":"2023-09-29T17:13:36.000Z","dependencies_parsed_at":"2022-08-18T23:22:51.925Z","dependency_job_id":null,"html_url":"https://github.com/haesleinhuepf/napari-plot-profile","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haesleinhuepf%2Fnapari-plot-profile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haesleinhuepf%2Fnapari-plot-profile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haesleinhuepf%2Fnapari-plot-profile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haesleinhuepf%2Fnapari-plot-profile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haesleinhuepf","download_url":"https://codeload.github.com/haesleinhuepf/napari-plot-profile/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251741074,"owners_count":21636184,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["napari-plugin"],"created_at":"2024-08-02T15:01:26.989Z","updated_at":"2025-10-06T23:43:41.437Z","avatar_url":"https://github.com/haesleinhuepf.png","language":"Python","funding_links":[],"categories":["Python","🏝️ Napari"],"sub_categories":["Plugins"],"readme":"# napari-plot-profile (npp)\n\n[![License](https://img.shields.io/pypi/l/napari-plot-profile.svg?color=green)](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/napari-plot-profile.svg?color=green)](https://pypi.org/project/napari-plot-profile)\n[![Python Version](https://img.shields.io/pypi/pyversions/napari-plot-profile.svg?color=green)](https://python.org)\n[![tests](https://github.com/haesleinhuepf/napari-plot-profile/workflows/tests/badge.svg)](https://github.com/haesleinhuepf/napari-plot-profile/actions)\n[![codecov](https://codecov.io/gh/haesleinhuepf/napari-plot-profile/branch/master/graph/badge.svg)](https://codecov.io/gh/haesleinhuepf/napari-plot-profile)\n[![Development Status](https://img.shields.io/pypi/status/napari-plot-profile.svg)](https://en.wikipedia.org/wiki/Software_release_life_cycle#Alpha)\n[![napari hub](https://img.shields.io/endpoint?url=https://api.napari-hub.org/shields/napari-plot-profile)](https://napari-hub.org/plugins/napari-plot-profile)\n\n## Plot a Line Profile\n\nPlot intensities along a line in [napari].\n\n![img.png](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/docs/napari-plot-profile-screencast.gif)\n\n* Open some images in [napari].\n  \n* Add a shapes layer.\n\n![img.png](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/docs/add_shapes_layer_screenshot.png)\n  \n* Activate the line drawing tool or the path tool and draw a line.\n\n![img.png](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/docs/draw_line_tool_screenshot.png)\n  \n* After drawing a line, click on the menu Plugins \u003e Measurements (Plot Profile)\n* If you modify the line, you may want to click the \"Refresh\" button to redraw the profile.\n\n![img.png](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/docs/redraw_screenshot.png)\n\nTo see how these steps can be done programmatically from python, check out the [demo notebook](https://github.com/haesleinhuepf/napari-plot-profile/blob/main/docs/demo.ipynb)\n\n## Working with RGB images\n\nWhen working with RGB images, you need to split them into three different layers first in napari.\nFor this, right-click on the layer and select \"Split RGB channels\".\n\n![img.png](docs/split-channels.png)\n\n## Create a Topographical View\n\nCreate a 3D view of a 2D image by warping pixel intensities to heights using the menu `Tools \u003e Visualization \u003e Topographical view (npp)`. It can be displayed as a 3D image layer, a points cloud layer or a surface layer.\n\n![](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/docs/topographical_view_screencast.gif)\n\nThis [napari] plugin was generated with [Cookiecutter] using with [@napari]'s [cookiecutter-napari-plugin] template.\n\n----------------------------------\n\n## Installation\n\nYou can install `napari-plot-profile` via [pip]:\n\n    pip install napari-plot-profile\n\nNote: This plugin is not compatible with napari 0.6.0 and later.\n\n## Contributing\n\nContributions are very welcome. Tests can be run with [tox], please ensure\nthe coverage at least stays the same before you submit a pull request.\n\n## License\n\nDistributed under the terms of the [BSD-3] license,\n\"napari-plot-profile\" is free and open source software\n\n## Issues\n\nIf you encounter any problems, please create a thread on [image.sc] along with a detailed description and tag [@haesleinhuepf].\n\n[napari]: https://github.com/napari/napari\n[Cookiecutter]: https://github.com/audreyr/cookiecutter\n[@napari]: https://github.com/napari\n[MIT]: http://opensource.org/licenses/MIT\n[BSD-3]: http://opensource.org/licenses/BSD-3-Clause\n[GNU GPL v3.0]: http://www.gnu.org/licenses/gpl-3.0.txt\n[GNU LGPL v3.0]: http://www.gnu.org/licenses/lgpl-3.0.txt\n[Apache Software License 2.0]: http://www.apache.org/licenses/LICENSE-2.0\n[Mozilla Public License 2.0]: https://www.mozilla.org/media/MPL/2.0/index.txt\n[cookiecutter-napari-plugin]: https://github.com/napari/cookiecutter-napari-plugin\n\n[file an issue]: https://github.com/haesleinhuepf/napari-plot-profile/issues\n\n[napari]: https://github.com/napari/napari\n[tox]: https://tox.readthedocs.io/en/latest/\n[pip]: https://pypi.org/project/pip/\n[PyPI]: https://pypi.org/\n[image.sc]: https://image.sc\n[@haesleinhuepf]: https://twitter.com/haesleinhuepf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaesleinhuepf%2Fnapari-plot-profile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaesleinhuepf%2Fnapari-plot-profile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaesleinhuepf%2Fnapari-plot-profile/lists"}