{"id":13738059,"url":"https://github.com/haesleinhuepf/napari-cupy-image-processing","last_synced_at":"2025-04-30T16:25:06.540Z","repository":{"id":44387664,"uuid":"420206506","full_name":"haesleinhuepf/napari-cupy-image-processing","owner":"haesleinhuepf","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-17T12:36:00.000Z","size":10797,"stargazers_count":22,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T08:45:00.377Z","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":"mit","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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-10-22T18:39:45.000Z","updated_at":"2025-02-19T03:10:35.000Z","dependencies_parsed_at":"2024-04-20T04:33:34.312Z","dependency_job_id":"eebe070b-2a90-42f0-b3a5-ac75d45c3297","html_url":"https://github.com/haesleinhuepf/napari-cupy-image-processing","commit_stats":{"total_commits":66,"total_committers":1,"mean_commits":66.0,"dds":0.0,"last_synced_commit":"d9ddd2e11ab2bbe24e3cf97eb86a88c4e5b66b2f"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haesleinhuepf%2Fnapari-cupy-image-processing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haesleinhuepf%2Fnapari-cupy-image-processing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haesleinhuepf%2Fnapari-cupy-image-processing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haesleinhuepf%2Fnapari-cupy-image-processing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haesleinhuepf","download_url":"https://codeload.github.com/haesleinhuepf/napari-cupy-image-processing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251740948,"owners_count":21636161,"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-03T03:02:10.101Z","updated_at":"2025-04-30T16:25:06.513Z","avatar_url":"https://github.com/haesleinhuepf.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# napari-cupy-image-processing\n\n[![License](https://img.shields.io/pypi/l/napari-cupy-image-processing.svg?color=green)](https://github.com/haesleinhuepf/napari-cupy-image-processing/raw/master/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/napari-cupy-image-processing.svg?color=green)](https://pypi.org/project/napari-cupy-image-processing)\n[![Python Version](https://img.shields.io/pypi/pyversions/napari-cupy-image-processing.svg?color=green)](https://python.org)\n[![tests](https://github.com/haesleinhuepf/napari-cupy-image-processing/workflows/tests/badge.svg)](https://github.com/haesleinhuepf/napari-cupy-image-processing/actions)\n[![codecov](https://codecov.io/gh/haesleinhuepf/napari-cupy-image-processing/branch/master/graph/badge.svg)](https://codecov.io/gh/haesleinhuepf/napari-cupy-image-processing)\n[![Development Status](https://img.shields.io/pypi/status/napari-cupy-image-processing.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-cupy-image-processing)](https://napari-hub.org/plugins/napari-cupy-image-processing)\n\n\nGPU-accelerated image processing using [cupy](https://cupy.dev) and [CUDA](https://en.wikipedia.org/wiki/CUDA)\n\n## Usage\n\nThis napari plugin adds some menu entries to the Tools menu. You can recognize them with their suffix `(n-cupy)` in brackets.\nFurthermore, it can be used from the [napari-assistant](https://www.napari-hub.org/plugins/napari-assistant) graphical user interface. \nTherefore, just click the menu `Tools \u003e Utilities \u003e Assistant (na)` or run `naparia` from the command line.\n\n![img.png](https://github.com/haesleinhuepf/napari-cupy-image-processing/raw/main/docs/screenshot-with-tools-menu.png)\n\nYou can also call operations from python, e.g. as shown in this [demo notebook](https://github.com/haesleinhuepf/napari-cupy-image-processing/raw/main/docs/demo.ipynb).\n\n## Installation\n\nYou can install `napari-cupy-image-processing` using conda:\n\n    mamba install -c conda-forge cupy cudatoolkit=11.2 napari-cupy-image-processing\n\n## Troubleshooting installation\n\nIn case of issues, follow the [instructions for installing cupy](https://docs.cupy.dev/en/stable/install.html#installing-cupy-from-conda-forge). \n\nA more detailed example for installation (change 11.2 to your desired CUDA version):\n```\nmamba create --name cupy_p39 python=3.9 \nconda activate cupy_p39\n```\nAnd then:\n```\nmamba install -c conda-forge cupy cudatoolkit=11.2 napari-cupy-image-processing\n```\n\n## Contributing\n\nContributions are very welcome. Adding [cupy ndimage](https://docs.cupy.dev/en/stable/reference/ndimage.html) functions is quite easy as you can see in the \n[implementation of the current operations](https://github.com/haesleinhuepf/napari-cupy-image-processing/blob/main/napari_cupy_image_processing/_cupy_image_processing.py#L48). \nIf you need another function in napari, just send a PR. Please make sure the tests pass locally before submitting a PR.\n\n```\npip install pytest-cov pytest-qt\npytest --cov=napari_cupy_image_processing\n```\n\nThis [napari] plugin was generated with [Cookiecutter] using with [@napari]'s [cookiecutter-napari-plugin] template.\n\n## License\n\nDistributed under the terms of the [MIT] license,\n\"napari-cupy-image-processing\" is free and open source software\n\n## Issues\n\nIf you encounter any problems, please [file an issue] along with a detailed description.\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-cupy-image-processing/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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaesleinhuepf%2Fnapari-cupy-image-processing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaesleinhuepf%2Fnapari-cupy-image-processing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaesleinhuepf%2Fnapari-cupy-image-processing/lists"}