Skip to main content

Interactive viewer and analyzer for streamed images

Project description

Imagin. (Beta release).

Imagin is an interactive viewer and analyzer for streamed images and image files, built with Python, pyqtgraph, and SciPy.

Features

  • Input sources:
    • file system
    • HTTP image URLs
    • EPICS Channel Access
    • EPICS PVAccess
    • USB cameras
  • PNG is the default image format; other formats are also supported.
  • Supports images with 16-bit or higher channel depth.
  • Image orientation control and arbitrary rotation.
  • Interactive zooming and panning.
  • Contrast and color-map control.
  • Region of interest (ROI) selection for image analysis.
  • ROI partitioning.
  • ROI projection plots.
  • Isocurves, with the isocurve level used as the threshold for object detection.
  • Fast, robust characterization of multiple objects using fitted ellipsoids.
  • Optional Gaussian fitting in 1D or 2D for improved precision.
  • De-speckling.
  • Automatic background elimination using prominence filtering (de-base).
  • Background subtraction using reference images.
  • Interactive calibration from pixels to millimeters.
  • Reference image slots for saving and restoring images.
  • Extensible through user-supplied add-ons.
  • Fast browsing and cleanup of image directories.
  • Interactive Python console with access to image data, graphics objects, and the shell.

Imagin screenshot

Presentation

Examples

python -m imagin -b file sample_images/*.jpg -t 100 -m 40
python -m imagin -b file ~/Pictures/*.png
python -m imagin -b pva image0:image

To start the image simulator for image0:image:

pip install epicsdev
python -m epicsdev.imagegen

The simulated EPICS camera can also be run from Docker:

https://hub.docker.com/r/klauer/simioc-docker

python3 setup_SimDetector.py
python3 -m imagin -b epics sim:det -m 16 -t 80

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

imagin-2.1.1.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

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

imagin-2.1.1-py3-none-any.whl (46.0 kB view details)

Uploaded Python 3

File details

Details for the file imagin-2.1.1.tar.gz.

File metadata

  • Download URL: imagin-2.1.1.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for imagin-2.1.1.tar.gz
Algorithm Hash digest
SHA256 fdcb9d0f8095a1f9d099cb270a01198fc873a84babe8a45a7f94035463f4e2ca
MD5 620f605e9ef1e28854929b15430775c2
BLAKE2b-256 f9b1345a5a16f8cdc80e2479b97583eac64e6aec111caaae1a3dd512fd4720f5

See more details on using hashes here.

File details

Details for the file imagin-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: imagin-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 46.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for imagin-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1542117cdf13acb08f647d94fa2f4cc343f056fe77ddf0d8e6f19f457730f21a
MD5 fc73a2a5027e0990982d0375a1dbca88
BLAKE2b-256 5b90302eab83e31d0762786b7322dcd5f871cd139b0025e313c857d7181fa326

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