Interactive viewer for signal processing, image processing, and machine learning
Project description
IPLabViewer
Interactive image visualization tool for Jupyter Notebooks based on matplotlib and ipywidgets.
Purpose of the project
This project has the goal of simplifying image visualization and visual feedback in image-processing teaching and learning Jupyter Notebooks. Using the IPLabViewer class in a Jupyter Notebook, a user with virtually no programming experience, and without experience with matplotlib, will be able to display one or several images and interactively change their characteristics (brightness, contrast, size, zoom). The user will even be able to extract information or perform operations on the image, without the need to recall the IPLabViewer or to plot again.
The class is designed to run in Jupyter Notebooks or Jupyter Lab, using matplotlib's dynamic environment (requires ipympl
, activate with the magic command %matplotlib widget
). All the functionalities are controlled either through matplotlib's native widgets (zoom and change of figure size) or through additional ipywidgets' buttons and sliders.
Main features
Once called, from the IPLabViewer and using both widgets and programmatic commands, a user will be able to:
- Plot several images at the same time, and choose different display options (one image at a time, or a customized grid of images),
- Change the brightness and contrast of the images through a slider,
- Explore the histogram of the image,
- Choose different colormaps and visualization options (colorbar, axis),
- Get 1st and 2nd order statistics -updated automatically when zooming into a region- of the image,
- Calculate and visualize differences between two different images,
- Declare functions that perform operations on an image, and through custom widgets, see the effect of the function with different parameters applied on different images, directly inside the IPLabViewer object.
Please refer to the tutorial for examples on different use cases, or to our wiki for a complete documentation.
Team
The viewer was initially developed by:
- Alejandro Noguerón Aramburu (alejandro.nogueronaramburu@epfl.ch, Alejandro-1996)
under the guidance, help, testing and feedback of:
- Kay Lächler (kay.lachler@epfl.ch, TheUser0571)
- Pol del Aguila Pla, (pol.delaguilapla@epfl.ch, poldap)
- Daniel Sage , (daniel.sage@epfl.ch, dasv74)
This project is supported by the EPFL's Center for Digital Education (CEDE), and it belongs to the Biomedical Imaging Group.
Installation and usage
With pip
pip install -i https://test.pypi.org/simple/ image-viewer-kit-TEST==0.4
Use in Jupyter
from image_viewer_kit import viewer
Members of the EPFL community
If you want to start using IPLabViewer rightaway, without going through the process of installing Python and Jupyter, you can click here and start using right away from Noto, EPFL's Jupyter centralized platform.
Contributions
We appreciate contributions, feedback and bug reports from the community:
- If you encounter any bug, please open an issue and describe. We will try to fix it or give you a workaround as soon as possible.
- If you widh to contribute, fork the repository and then open a pull request.
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 interactive_kit-0.1rc3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 548f5361b55fa4d558eca5b38cd3629b86d89daec54ce32f51660997c610048e |
|
MD5 | 5760d7c61589e3a4413ad2de4eb41cae |
|
BLAKE2b-256 | abd967bf20c7d64be12e333b1a5c8bed4ce392a4de4280200d11f614c8c7801e |