Skip to main content

junkie is a JUpyter NotebooK Image Explorer

Project description

Logo GPLv3 License

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

Importing 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:

Opening an ndarray

  • You can also specifiy the path to the image that you want to open:

Opening a file path

  • Or you can indicate a folder that contains an image sequence:

Opening a folder

  • 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:

Opening mutiple channels from a folder

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.

Color maps

  • figsize (Tuple[int, int]) specifies the image panel size. The image aspect ratio is maintained. It defaults to (4, 4).

Figure size

JuNkIE provides access to the standard matplotlib toolbar, and also includes a new one with additional functionality:

Toolbar

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:

Sponsors

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

junkie-rfglab-2023.7.0.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

junkie_rfglab-2023.7.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file junkie-rfglab-2023.7.0.tar.gz.

File metadata

  • Download URL: junkie-rfglab-2023.7.0.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for junkie-rfglab-2023.7.0.tar.gz
Algorithm Hash digest
SHA256 f4226709b5d0e0fbf72c9dd59326cf48da1732689f90e4c1ce3b0a83dff38b05
MD5 2c3a3bfa087806b43c92b47c2d869374
BLAKE2b-256 0fb3b77cb684dd0991b22e6349f036552b8a5910c76d40ad1959d90cc392ae47

See more details on using hashes here.

File details

Details for the file junkie_rfglab-2023.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for junkie_rfglab-2023.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9b6390d5acd2f8faa84aae6a04089e9c7f318062149d33741cde50fe34e895d
MD5 5b16cdb59ffcaa05a4b2988f94acae16
BLAKE2b-256 d0cd26e60de4d221bddc3b24893514842a127a21f6baea2478517e70f5be8c60

See more details on using hashes here.

Supported by

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