Skip to main content

Qt-based GUI to visualize image-like data.

Project description

iminspect

A python utility package for image/matrix visualization.

Dependencies

  • numpy, obviously
  • PyQt5 for the graphical user interface
  • qimage2ndarray 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)

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

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

iminspect-0.1.0.tar.gz (36.8 kB view hashes)

Uploaded Source

Built Distribution

iminspect-0.1.0-py3-none-any.whl (39.7 kB view hashes)

Uploaded Python 3

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