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
Metadata
Release files for imagin 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| imagin-2.1.1.tar.gz | 1.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| imagin-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / imagin-2.1.1.tar.gz
| Download URL | imagin-2.1.1.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fdcb9d0f8095a1f9d099cb270a01198fc873a84babe8a45a7f94035463f4e2ca
|
|
BLAKE2b-256 checksum How to use checksums |
f9b1345a5a16f8cdc80e2479b97583eac64e6aec111caaae1a3dd512fd4720f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / imagin-2.1.1-py3-none-any.whl
| Download URL | imagin-2.1.1-py3-none-any.whl |
|---|---|
| Size | 46.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1542117cdf13acb08f647d94fa2f4cc343f056fe77ddf0d8e6f19f457730f21a
|
|
BLAKE2b-256 checksum How to use checksums |
5b90302eab83e31d0762786b7322dcd5f871cd139b0025e313c857d7181fa326
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|