{"id":15359633,"url":"https://github.com/jhsmit/pymagej","last_synced_at":"2026-03-08T15:39:21.832Z","repository":{"id":35309614,"uuid":"39571067","full_name":"Jhsmit/PymageJ","owner":"Jhsmit","description":"Python tools for ImageJ","archived":false,"fork":false,"pushed_at":"2021-07-25T08:32:00.000Z","size":57,"stargazers_count":13,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-22T10:17:02.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jhsmit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-23T14:11:59.000Z","updated_at":"2021-11-03T20:20:11.000Z","dependencies_parsed_at":"2022-09-17T06:13:20.083Z","dependency_job_id":null,"html_url":"https://github.com/Jhsmit/PymageJ","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jhsmit%2FPymageJ","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jhsmit%2FPymageJ/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jhsmit%2FPymageJ/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jhsmit%2FPymageJ/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jhsmit","download_url":"https://codeload.github.com/Jhsmit/PymageJ/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249024436,"owners_count":21200121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-01T12:45:28.975Z","updated_at":"2025-10-08T01:29:16.346Z","avatar_url":"https://github.com/Jhsmit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/Jhsmit/PymageJ.svg?branch=master)](https://travis-ci.com/Jhsmit/PymageJ)\n\n# PymageJ\nPython tools for ImageJ. \nFeatures: read/write ImageJ ROIs.\n\n## How to use\n\n**Reading ROI files:**\n\n```python\n\nfrom pymagej.roi import ROIDecoder\n\nwith ROIDecoder('roi_filepath.roi') as roi:\n    roi_obj = roi.get_roi()\n  \n```\n\nThe returned ```roi_obj``` is an ROIObject depending on the type of ROI. Currently only reading rectangle and freehand are supported.\n\n**Writing ROI files:**\n\n```python\n\nfrom pymagej.roi import ROIEncoder, ROIRect\n\nroi_obj = ROIRect(20, 30, 40, 50) # Make ROIRect object specifing top, left, bottom, right\nwith ROIEncoder('roi_filepath.roi', roi_obj) as roi:\n    roi.write()\n  \n```\n\nRead/write is supported for the following ROI types:\n\n- Polygon\n- Rectangle\n- Oval\n- Line\n- Freeline\n- Polyline\n- Freehand\n\n\n\nSee also: https://github.com/hadim/read-roi\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhsmit%2Fpymagej","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhsmit%2Fpymagej","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhsmit%2Fpymagej/lists"}