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.
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdcb9d0f8095a1f9d099cb270a01198fc873a84babe8a45a7f94035463f4e2ca
|
|
| MD5 |
620f605e9ef1e28854929b15430775c2
|
|
| BLAKE2b-256 |
f9b1345a5a16f8cdc80e2479b97583eac64e6aec111caaae1a3dd512fd4720f5
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1542117cdf13acb08f647d94fa2f4cc343f056fe77ddf0d8e6f19f457730f21a
|
|
| MD5 |
fc73a2a5027e0990982d0375a1dbca88
|
|
| BLAKE2b-256 |
5b90302eab83e31d0762786b7322dcd5f871cd139b0025e313c857d7181fa326
|