Skip to main content

Python implementation of SAIBR: a tool for performing spectral autofluorescence correction on biological images

Project description

matplotlib-polyroi

CC BY 4.0 PyPi version Binder run with docker run with conda

Module for selecting polygonal ROIs on images, spline fitting and ROI expansion

Installation

pip install matplotlib-polyroi

Instructions

See the tutorial notebook for instructions on usage. To run the notebook interactively you have two options:

Option 1: Binder

To run in the cloud, click here: Binder

(Please note that it may take several minutes to open the notebook)

Option 2: Docker

Step 1: Make sure Docker is installed and open on your machine

Step 2: Run the Docker container:

docker run --rm -p 8888:8888 tsmbland/matplotlib-polyroi

Once the Docker image has finished downloading, this will print two URLs at the bottom for you to copy and paste into your web browser to open up Jupyter (please try both)

Step 3: Navigate to scripts/Demonstration.ipynb to run the notebook

Step 4: When finished, delete the image:

docker image rm tsmbland/matplotlib-polyroi

Option 3: Conda

You can use the environment.yml file to set up a Conda environment on your machine from which the notebook can be run

conda env create -f environment.yml
conda activate matplotlib-polyroi
jupyter notebook

License

This work is licensed under a Creative Commons Attribution 4.0 International License.

CC BY 4.0

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

matplotlib-polyroi-0.1.5.tar.gz (11.9 kB view hashes)

Uploaded Source

Built Distribution

matplotlib_polyroi-0.1.5-py3-none-any.whl (12.9 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