{"name":"napari-roi-registration","display_name":"Roi Registration","visibility":"public","icon":"","categories":[],"schema_version":"0.2.0","on_activate":null,"on_deactivate":null,"contributions":{"commands":[{"id":"napari-roi-registration.make_background_widget","title":"Make background widget","python_name":"napari_roi_registration._widget:subtract_background","short_title":null,"category":null,"icon":null,"enablement":null},{"id":"napari-roi-registration.make_registration_widget","title":"Make registration widget","python_name":"napari_roi_registration._widget:register_rois","short_title":null,"category":null,"icon":null,"enablement":null},{"id":"napari-roi-registration.make_processing_widget","title":"Make processing widget","python_name":"napari_roi_registration._widget:process_rois","short_title":null,"category":null,"icon":null,"enablement":null}],"readers":null,"writers":null,"widgets":[{"command":"napari-roi-registration.make_background_widget","display_name":"Background Widget","autogenerate":false},{"command":"napari-roi-registration.make_registration_widget","display_name":"Registration Widget","autogenerate":false},{"command":"napari-roi-registration.make_processing_widget","display_name":"Processing Widget","autogenerate":false}],"sample_data":null,"themes":null,"menus":{},"submenus":null,"keybindings":null,"configuration":[]},"package_metadata":{"metadata_version":"2.1","name":"napari-roi-registration","version":"0.1.2","dynamic":null,"platform":null,"supported_platform":null,"summary":"A plugin to perform roi registration.","description":"# napari-roi-registration\n\n[![License](https://img.shields.io/pypi/l/napari-roi-registration.svg?color=green)](https://github.com/GiorgiaTortora/napari-roi-registration/raw/main/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/napari-roi-registration.svg?color=green)](https://pypi.org/project/napari-roi-registration)\n[![Python Version](https://img.shields.io/pypi/pyversions/napari-roi-registration.svg?color=green)](https://python.org)\n[![tests](https://github.com/GiorgiaTortora/napari-roi-registration/workflows/tests/badge.svg)](https://github.com/GiorgiaTortora/napari-roi-registration/actions)\n[![codecov](https://codecov.io/gh/GiorgiaTortora/napari-roi-registration/branch/main/graph/badge.svg)](https://codecov.io/gh/GiorgiaTortora/napari-roi-registration)\n[![napari hub](https://img.shields.io/endpoint?url=https://api.napari-hub.org/shields/napari-roi-registration)](https://napari-hub.org/plugins/napari-roi-registration)\n\nA Napari plugin for the registration of regions of interests (ROI) in a time lapse acquistion and processing of the intensity of the registered data.\n\nThe ROI are defined using a Labels layer. Registration of multiple ROIs is supported. \n\nThe `Registration` widget uses the user-defined labels, constructs a rectangular ROI around each of them and registers the ROIs in each time frame.\n\nThe `Processing` widget measures the ROI displacements and extracts the average intensity of the ROI, calculated on the area of the labels.\n\nThe `Subtract background` widget subtracts a background on each frame, calculated as the mean intensity on a Labels layer.\nTipically useful when ambient light affects the measurement. \n\n----------------------------------\n\nThis [napari] plugin was generated with [Cookiecutter] using [@napari]'s [cookiecutter-napari-plugin] template.\n\n\n\n![raw](https://github.com/GiorgiaTortora/napari-roi-registration/raw/main/images/roi_registration.gif)\n\n## Installation\n\nYou can install `napari-roi-registration` via [pip]:\n\n pip install napari-roi-registration\n\n\n\nTo install latest development version :\n\n pip install git+https://github.com/GiorgiaTortora/napari-roi-registration.git\n\n## Usage\n\n### Registration Widget\n\n1. Create a new Labels layer and draw one or more labels where you want to select a ROI (Region Of Interest). Each color in the same Labels layer represents a different label which will correspond to a different ROI.\n\n![raw](https://github.com/GiorgiaTortora/napari-roi-registration/raw/main/images/Picture1.png)\n\n2. Push the `Register ROIs` button: registration of the entire stack will be performed. When the registration is finished two new layers will appear in the viewer. One layer contains the centroids of the drawn labels while the other contains the bounding boxes enclosing the ROIs.\nThe registration starts from the currently selected frame. If `register entire stack` is selected, the registration will create a new layer for each label, with the registered ROI stacks.\n\n![raw](https://github.com/GiorgiaTortora/napari-roi-registration/raw/main/images/Picture2.png)\n\n### Processing Widget\n\nPushing the `Process registered ROIs` button, the registered ROIs will be analyzed. The intensity of the registered ROIs (measured on the area of the selected label) and the displacement of the ROIs will be calculated.\nIf `plot results` is selected the plot of displacement vs time index and mean intensity vs time index will appear in the Console.\nChoosing the `save results` option, an excel file containing ROIs positions, displacements and intensities, will be saved. \n\n![raw](https://github.com/GiorgiaTortora/napari-roi-registration/raw/main/images/Picture3.png)\n\n### Background Widget\n\n1. Create a new Labels layer and draw a label on the area where you want to calculate the background. \n\n![raw](https://github.com/GiorgiaTortora/napari-roi-registration/raw/main/images/Picture4.png)\n\n2. Push the `Subtract background` button. A new image layer will appear in the viewer. This layer contains the image to which the background was subtracted.\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-roi-registration\" 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/GiorgiaTortora/napari-roi-registration/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","description_content_type":"text/markdown","keywords":null,"home_page":"https://github.com/GiorgiaTortora/napari-roi-registration","download_url":null,"author":"Andrea Bassi and Giorgia Tortora","author_email":"giorgia.tortora@polimi.it","maintainer":null,"maintainer_email":null,"license":"BSD-3-Clause","classifier":["Development Status :: 2 - Pre-Alpha","Intended Audience :: Developers","Framework :: napari","Topic :: Software Development :: Testing","Programming Language :: Python","Programming Language :: Python :: 3","Programming Language :: Python :: 3.8","Programming Language :: Python :: 3.9","Programming Language :: Python :: 3.10","Operating System :: OS Independent","License :: OSI Approved :: BSD License"],"requires_dist":["numpy","magicgui","qtpy","scikit-image","opencv-python","matplotlib","openpyxl","tox ; extra == 'testing'","pytest ; extra == 'testing'","pytest-cov ; extra == 'testing'","pytest-qt ; extra == 'testing'","napari ; extra == 'testing'","pyqt5 ; extra == 'testing'","scikit-image ; extra == 'testing'","opencv-python-headless ; extra == 'testing'","matplotlib ; extra == 'testing'","openpyxl ; extra == 'testing'"],"requires_python":">=3.8","requires_external":null,"project_url":["Bug Tracker, https://github.com/GiorgiaTortora/napari-roi-registration/issues","Documentation, https://github.com/GiorgiaTortora/napari-roi-registration#README.md","Source Code, https://github.com/GiorgiaTortora/napari-roi-registration","User Support, https://github.com/GiorgiaTortora/napari-roi-registration/issues"],"provides_extra":["testing"],"provides_dist":null,"obsoletes_dist":null},"npe1_shim":false}