A plugin to perform roi registration.
Project description
napari-roi-registration
A Napari plugin for the registration of regions of interests (ROI) in a time lapse acquistion and processing of the intensity of the registered data.
The widget uses user-defined labels, constructs a rectangular ROI around the label and registers the ROI in each time frame.
Based on opencv registration functions.
Registration of multiple ROIs is supported.
This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.
Installation
You can install napari-roi-registration
via pip:
pip install napari-roi-registration
To install latest development version :
pip install git+https://github.com/GiorgiaTortora/napari-roi-registration.git
Usage
Background Widget
- Create a new Labels layer and draw a label on the area from which to get the background.
- 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.
Registration Widget
- 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 represent a different label which is a different ROI.
- 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 encloding the ROIs.
Processing Widget
Pushing the Process registered ROIs
button processing of the registered ROIs will be performed. Information about the intensity of the registered data and the displacement of the ROIs will be given. In the IPhyton console the displacement vs time index and the mean intensity vs time index plots will appear.
Choosing the save results
option an excel file containg information about the ROIs positions, displacement and intensity at each frame will be generated.
Contributing
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.
License
Distributed under the terms of the BSD-3 license, "napari-roi-registration" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for napari-roi-registration-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09eb0263db91e76791812bac22c563546ad652dddd272fe0e30cd554c9fc737d |
|
MD5 | d487c7722bfd7ddf986240db7e2f4da5 |
|
BLAKE2b-256 | ed92561ae444fa0d7b0bc0e703b02f3e1acb5f50a401cc4618f0cd9a874da27b |
Hashes for napari_roi_registration-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea9d0bb161adbfa7865a7dd490994a2719af5a4206a34473ff8072adb6a5ad8a |
|
MD5 | 74b9fb91ba0c41b9f34c884d517ff4e9 |
|
BLAKE2b-256 | 226ea942ff96e770f6951a2b0ca0e151b34d1d37147d4174ae7d351a9a48d6ca |