Skip to main content

Visualize and Diagnose brainbow dataset in color space.

Project description

napari-brainbow-diagnose

License BSD-3 PyPI Python Version tests codecov napari hub

Explore image in channel coordinate space. Brainbow dataset have unique features that need to be addressed by specialized tools. This plugin aims at visualize and diagnose brainbow dataset. In particular we want to interact with the distribution of the dataset in the channel space.

demo_gif

Usage

You can also look at the demo notebook Find all menus under Plugins > napari-brainbow-diagnose > Diagnose Brainbow Image

Choose your dataset

If you want to use your dataset, you have to format it such as each channel is in one distinct napari.Layers You can open test dataset to try this plugin in File > Open Sample > napari-brainbow-diagnose.

  • The RGB Cube is an array with shape (3x256x256x256) cube : Great to check how the plugin work when all color are represented
  • Chrom Cortex Sample is an array with shape (3x256x256x256) #Hugo : Real life brainbow image (Cortex E18 Emx1Cre) !

Once you have your layers you can use the dropdown and select the corresponding layer. It is advised to match the red, green, blue order so the ratio you see on the napari viewer corresponds to the Hue-Saturation Wheel of the plugin.

Get Channel Ratio Density of the image

When you click on Compute brainbow image density you will populate the Hue-Saturation density Wheel. This should allow you to quickly see which ratio is more present in your image. You can see the corresponding ratio according to the "HS Color wheel" on the right. For example here on this screenshot we can see that:

  • there is a high number of non saturated red-only ratio. (2)
  • there is not a high number of non saturated magenta ratio. (3)

ratio

Create a selection of ratio on the channel coordinate system and apply it on the original image

ratio

Create a selection of pixel in the image and show where they are in the channel coordinate system

ratio

Installation

You can install napari-brainbow-diagnose via pip:

pip install napari-brainbow-diagnose

To install latest development version :

pip install git+https://github.com/LaboratoryOpticsBiosciences/napari-brainbow-diagnose.git

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-brainbow-diagnose" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.


This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.

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-brainbow-diagnose-0.1.3.tar.gz (16.5 MB view details)

Uploaded Source

Built Distribution

napari_brainbow_diagnose-0.1.3-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file napari-brainbow-diagnose-0.1.3.tar.gz.

File metadata

  • Download URL: napari-brainbow-diagnose-0.1.3.tar.gz
  • Upload date:
  • Size: 16.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for napari-brainbow-diagnose-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d7f126ca4c3abc47cc088a8fd6146129a708766a651214c47007f96bc56433cd
MD5 28fa1c02ae2ba67de157b042f520a938
BLAKE2b-256 6a39dada8da8cbf296d83b3cc727fb4be46dd48a2b0f92cdf7ff427a70b297d5

See more details on using hashes here.

File details

Details for the file napari_brainbow_diagnose-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: napari_brainbow_diagnose-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for napari_brainbow_diagnose-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f08c9e9f56702d9a60c1eea3addc472fe446fdb7215f5998d51de6b95139f1c9
MD5 b230c727fca59fa6fb5d7cc0614a6fee
BLAKE2b-256 33c778a904aa3cfd79236b29df9673872e779510cbab3e818bedeb6c219ef8b2

See more details on using hashes here.

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