junkie is a JUpyter NotebooK Image Explorer
Project description
JuNkIE (a JUpyter NotebooK Image Explorer)
Installing JuNkIE
To install JuNkIE, type:
$ python3 -m pip install --no-cache-dir -U junkie-rfglab
A note on the Python interpreter
JuNkIE requires that you have Python 3.10 or above installed.
Using JuNkIE
JuNkIE uses matplotlib and ipywidgets, so there is some boiler plate code that you need before importing JuNkIE:
import matplotlib
%matplotlib widgets
from junkie import junkie
There are a couple of ways to open an image with JuNkIE:
- You can open an image with some other package (e.g. scikit-image, opencv, PIL, etc.) and invoke JuNkIE with a numpy ndarray as the parameter:
- You can also specifiy the path to the image that you want to open:
- Or you can indicate a folder that contains an image sequence:
- If there are image channels split into different files, you can also specify a tuple of strings to distinguish which files in the folder belong to which channel:
JuNkIE has a couple of additional parameters:
- cmap (str) indicates the color map used to display the image. It defaults to 'gray'. Check here for a list of color maps.
- figsize (Tuple[int, int]) specifies the image panel size. The image aspect ratio is maintained. It defaults to (4, 4).
Citing JuNkIE
If you use JuNkIE, please cite this repository. We are working on the paper!
Sponsors
We are grateful for the generous support from the following agencies and institutions, which contribute to the development and maintenance of JuNkIE:
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file junkie-rfglab-2023.6.3.tar.gz.
File metadata
- Download URL: junkie-rfglab-2023.6.3.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7de79ff394684602e5470a13434c6f005318b27fca160499c416f3d7a9e4101
|
|
| MD5 |
d3ea17f9f7c4b8ac61971748126497c9
|
|
| BLAKE2b-256 |
156377d18671e466f992d8867c00a334ed52441507d8acb94fddbb6e356e74af
|
File details
Details for the file junkie_rfglab-2023.6.3-py3-none-any.whl.
File metadata
- Download URL: junkie_rfglab-2023.6.3-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a43a6e0f366f67b70fb45ba8aba10cbc5a09db6ad7d67483e3c15c8b29236fd
|
|
| MD5 |
da8602662a2921c71931d32dc8e5ad44
|
|
| BLAKE2b-256 |
6936c0bffd00b95ea646f87635540b00dcf46fd732ca2054b17757d4ada33115
|