Qt-based GUI to visualize image-like data.
Project description
iminspect
A python utility package for image/matrix visualization.
Dependencies
numpy
, obviouslyPyQt5
for the graphical user interfaceqimage2ndarray
to convert numpy ndarrays to Qt images
Example usage:
from iminspect.inspector import inspect
import numpy as np
# Show random noise image:
inspect(np.random.rand(4096,4096) - 0.5)
# Show as class labels:
inspect((np.random.rand(16,16) * 1e2 % 5).astype(np.int16), is_categoric=True)
Exemplary screenshot (visualizing categoric data, i.e. labels):
UI Documentation
- To inspect a data point/pixel, just move the mouse above it.
- Zooming
Ctrl+Wheel
to zoom in/out- Additionally holding
Shift
speeds up zooming
- Scrolling
- Move the scroll bars
Wheel
up/down- Additionally holding
Shift
speeds up scrolling
Changelog
0.1.1
- Additional features:
- ImageCanvas supports ROI selection (useful for custom input widgets)
- Refactoring:
- Clean up imports
- Make pylint/flake8 happier
- Fixes:
- Adjust scrollbars when zooming multiple linked ImageCanvas
- Additional features:
0.1.0
- Initial public release
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
iminspect-0.1.1.tar.gz
(38.7 kB
view details)
Built Distribution
iminspect-0.1.1-py3-none-any.whl
(39.8 kB
view details)
File details
Details for the file iminspect-0.1.1.tar.gz
.
File metadata
- Download URL: iminspect-0.1.1.tar.gz
- Upload date:
- Size: 38.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e7321364c3981801e3f34bffbcf06f1b329db34b0d030f1bfb6e8417d6285e6 |
|
MD5 | 70d9ee01b92c221d76a691aa53e66740 |
|
BLAKE2b-256 | e9f89cf424a1e4f37cb76b112533ed84005c4642c572dc7d9c36739671afb9b9 |
File details
Details for the file iminspect-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: iminspect-0.1.1-py3-none-any.whl
- Upload date:
- Size: 39.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5691082bc139f7172125ebe86b7a4f4da43657f50de0450daa9fcc32fc3b4fb0 |
|
MD5 | 18853621f21bee009de6ccc6eefbf11b |
|
BLAKE2b-256 | dfe11f1a1c793037132a9815173193460bccbbcb72071f3d9e15e18f1b614d10 |