{"id":20161346,"url":"https://github.com/asukhanov/imagin","last_synced_at":"2026-06-08T17:31:38.480Z","repository":{"id":40955172,"uuid":"128202146","full_name":"ASukhanov/Imagin","owner":"ASukhanov","description":"Image analyzer based on python, pyqtgraph and scipy","archived":false,"fork":false,"pushed_at":"2026-04-11T23:03:17.000Z","size":1530,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-05-29T02:03:38.260Z","etag":null,"topics":["epics","epicsdev","image","p4p"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ASukhanov.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-04-05T12:21:18.000Z","updated_at":"2026-04-11T23:03:20.000Z","dependencies_parsed_at":"2023-01-25T11:46:12.573Z","dependency_job_id":null,"html_url":"https://github.com/ASukhanov/Imagin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ASukhanov/Imagin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASukhanov%2FImagin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASukhanov%2FImagin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASukhanov%2FImagin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASukhanov%2FImagin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ASukhanov","download_url":"https://codeload.github.com/ASukhanov/Imagin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASukhanov%2FImagin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34073693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["epics","epicsdev","image","p4p"],"created_at":"2024-11-14T00:18:32.806Z","updated_at":"2026-06-08T17:31:38.475Z","avatar_url":"https://github.com/ASukhanov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Imagin. (Beta release).\n\nImagin is an interactive viewer and analyzer for streamed images and image files, built with Python, pyqtgraph, and SciPy.\n\n## Features\n\n- Input sources:\n  - file system\n  - HTTP image URLs\n  - EPICS Channel Access\n  - EPICS PVAccess\n  - USB cameras\n- PNG is the default image format; other formats are also supported.\n- Supports images with 16-bit or higher channel depth.\n- Image orientation control and arbitrary rotation.\n- Interactive zooming and panning.\n- Contrast and color-map control.\n- Region of interest (ROI) selection for image analysis.\n- ROI partitioning.\n- ROI projection plots.\n- Isocurves, with the isocurve level used as the threshold for object detection.\n- Fast, robust characterization of multiple objects using fitted ellipsoids.\n- Optional Gaussian fitting in 1D or 2D for improved precision.\n- De-speckling.\n- Automatic background elimination using prominence filtering (de-base).\n- Background subtraction using reference images.\n- Interactive calibration from pixels to millimeters.\n- Reference image slots for saving and restoring images.\n- Extensible through user-supplied add-ons.\n- Fast browsing and cleanup of image directories.\n- Interactive Python console with access to image data, graphics objects, and the shell.\n\n![Imagin screenshot](docs/imagin_screenshot.png)\n\n[Presentation](docs/Slides_from_ICALEPCS-2019.pdf)\n\n## Examples\n\n```bash\npython -m imagin -b file sample_images/*.jpg -t 100 -m 40\npython -m imagin -b file ~/Pictures/*.png\n\n```\n### Testing with EPICS PVAccess image simulator epicsdev.imagegen:\n```bash\npip install epicsdev\npython -m epicsdev.imagegen -c\u0026\npython -m imagin -b pva -t 100 image0:image\n```\nAnimate by changing image parameters from a python script:\n```python\nimport time, numpy as np\nfrom p4p.client.thread import Context\niface = Context('pva')\n\noneTo0 = 1 - np.linspace(0,1,11)\nscales = np.append(oneTo0[:-1], np.flip(oneTo0)[2:])\nfor scale in scales:\n    iface.put('image0:gridScaleX',scale)\n    time.sleep(.1)\n```\n### Testing with EPICS Channel Access\nThe simulated EPICS camera can be run from Docker:\n\nhttps://hub.docker.com/r/klauer/simioc-docker\n\n```bash\npython3 setup_SimDetector.py\npython3 -m imagin -b epics sim:det -m 16 -t 80\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasukhanov%2Fimagin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasukhanov%2Fimagin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasukhanov%2Fimagin/lists"}