Skip to main content

A plugin to perform roi registration.

Project description

napari-roi-registration

License PyPI Python Version tests codecov napari hub

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.

raw

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

  1. Create a new Labels layer and draw a label on the area from which to get the background.

raw

  1. 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

  1. 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.

raw

  1. 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.

raw

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.

raw

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napari-roi-registration-0.0.5.tar.gz (4.6 MB view hashes)

Uploaded Source

Built Distribution

napari_roi_registration-0.0.5-py3-none-any.whl (15.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page