{"name":"napari-roi","display_name":"napari-roi","visibility":"public","icon":"","categories":[],"schema_version":"0.1.0","on_activate":null,"on_deactivate":null,"contributions":{"commands":[{"id":"napari-roi.ROIWidget","title":"Create regions of interest","python_name":"napari_roi:ROIWidget","short_title":null,"category":null,"icon":null,"enablement":null}],"readers":null,"writers":null,"widgets":[{"command":"napari-roi.ROIWidget","display_name":"regions of interest","autogenerate":false}],"sample_data":null,"themes":null,"menus":{},"submenus":null,"keybindings":null,"configuration":[]},"package_metadata":{"metadata_version":"2.1","name":"napari-roi","version":"0.1.8","dynamic":null,"platform":null,"supported_platform":null,"summary":"Select regions of interest (ROIs) using napari","description":"# napari-roi\n\n[![napari hub](https://img.shields.io/endpoint?url=https://api.napari-hub.org/shields/napari-roi)](https://napari-hub.org/plugins/napari-roi)\n[![PyPI](https://img.shields.io/pypi/v/napari-roi.svg?color=green)](https://pypi.org/project/napari-roi)\n[![License](https://img.shields.io/pypi/l/napari-roi.svg?color=green)](https://github.com/BodenmillerGroup/napari-roi/raw/main/LICENSE)\n[![Python Version](https://img.shields.io/pypi/pyversions/napari-roi.svg?color=green)](https://python.org)\n[![Issues](https://img.shields.io/github/issues/BodenmillerGroup/napari-roi)](https://github.com/BodenmillerGroup/napari-roi/issues)\n[![Pull requests](https://img.shields.io/github/issues-pr/BodenmillerGroup/napari-roi)](https://github.com/BodenmillerGroup/napari-roi/pulls)\n\nSelect regions of interest (ROIs) using napari\n\n## Installation\n\nYou can install napari-roi via [pip](https://pypi.org/project/pip/):\n\n pip install napari-roi\n\nAlternatively, you can install napari-roi via [conda](https://conda.io/):\n\n conda install -c conda-forge napari-roi\n\n## Usage\n\nThe *napari-roi* plugin can be opened from within napari (`napari -> napari-roi: regions of interest`) and operates on napari *Shapes* layers.\n\nROIs can be added to any napari *Shapes* layer, either by drawing a standard napari shape (e.g. rectangle), or by adding a rectangular ROI of specified size using the `Add ROI` functionality in the *napari-roi* widget. Each ROI is associated with a name, a position (X/Y origin), and a size (width/height). The location of the X/Y origin of all ROIs can be chosen in the *napari-roi* widget. Note that any shape supported by napari (e.g. ellipse, rectangle, polygon, line, path) can serve as an ROI; for non-rectangular shapes, *napari-roi* computes rectangular bounding boxes aligned with the napari coordinate system to determine their positions and sizes. ROIs can be edited or deleted by modifying the corresponding shapes in napari, or by editing the corresponding row in the *napari-roi* widget.\n\nAll ROIs in the current *Shapes* layer can be saved to a comma-separated values (CSV) file using the `Save` functionality in the *napari-roi* widget. When the `Autosave` option is checked, the file is automatically updated on every ROI change. Note that the selected file is specific to the current *Shapes* layer; ROIs from different *Shapes* layers cannot be saved to the same file. ROIs can be loaded from a previously saved file and added to the current *Shapes* layer by opening the file in the *napari-roi* widget.\n\nCSV files saved using *napari-roi* adhere to the following format:\n\n| Columns | Description |\n| --- | --- |\n| `Name` | ROI name |\n| `X`, `Y` | Position (X/Y origin) |\n| `W`, `H` | Size (width/height) |\n\n## Authors\n\nCreated and maintained by [Jonas Windhager](mailto:jonas@windhager.io) until February 2023.\n\nMaintained by [Milad Adibi](mailto:milad.adibi@uzh.ch) from February 2023.\n\n## Contributing\n\n[Contributing](https://github.com/BodenmillerGroup/napari-roi/blob/main/CONTRIBUTING.md)\n\n## Changelog\n\n[Changelog](https://github.com/BodenmillerGroup/napari-roi/blob/main/CHANGELOG.md)\n\n## License\n\n[MIT](https://github.com/BodenmillerGroup/napari-roi/blob/main/LICENSE)\n","description_content_type":"text/markdown","keywords":null,"home_page":"https://github.com/BodenmillerGroup/napari-roi","download_url":null,"author":"Jonas Windhager","author_email":"jonas@windhager.io","maintainer":"Milad Adibi","maintainer_email":"milad.adibi@uzh.ch","license":"MIT","classifier":["Framework :: napari","Operating System :: OS Independent","Programming Language :: Python","Programming Language :: Python :: 3","Programming Language :: Python :: 3.8","Programming Language :: Python :: 3.9","Programming Language :: Python :: 3.10","License :: OSI Approved :: MIT License"],"requires_dist":["numpy","pandas","qtpy"],"requires_python":">=3.8","requires_external":null,"project_url":["Bug Tracker, https://github.com/BodenmillerGroup/napari-roi/issues","Documentation, https://github.com/BodenmillerGroup/napari-roi#README.md","Source Code, https://github.com/BodenmillerGroup/napari-roi","User Support, https://github.com/BodenmillerGroup/napari-roi/issues"],"provides_extra":null,"provides_dist":null,"obsoletes_dist":null},"npe1_shim":false}