{"id":20647479,"url":"https://github.com/jmbhughes/solarannotator","last_synced_at":"2025-04-16T03:06:02.851Z","repository":{"id":65674285,"uuid":"286337290","full_name":"jmbhughes/solarannotator","owner":"jmbhughes","description":"A tool to annotate solar images for machine learning","archived":false,"fork":false,"pushed_at":"2024-01-17T13:14:30.000Z","size":1266,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-09-22T03:18:36.176Z","etag":null,"topics":["annotation","annotation-tool","labelling","labelling-images","solar","solar-physics"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmbhughes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-08-10T00:00:44.000Z","updated_at":"2024-06-15T21:02:01.000Z","dependencies_parsed_at":"2024-01-17T15:23:46.533Z","dependency_job_id":null,"html_url":"https://github.com/jmbhughes/solarannotator","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmbhughes%2Fsolarannotator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmbhughes%2Fsolarannotator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmbhughes%2Fsolarannotator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmbhughes%2Fsolarannotator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmbhughes","download_url":"https://codeload.github.com/jmbhughes/solarannotator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224941765,"owners_count":17395971,"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":["annotation","annotation-tool","labelling","labelling-images","solar","solar-physics"],"created_at":"2024-11-16T16:32:56.864Z","updated_at":"2024-11-16T16:32:57.508Z","avatar_url":"https://github.com/jmbhughes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solar Annotator\n[![CodeFactor](https://www.codefactor.io/repository/github/jmbhughes/solarannotator/badge)](https://www.codefactor.io/repository/github/jmbhughes/solarannotator)\n[![PyPI version](https://badge.fury.io/py/solarannotator.svg)](https://badge.fury.io/py/solarannotator)\n[![DOI](https://zenodo.org/badge/286337290.svg)](https://zenodo.org/badge/latestdoi/286337290)\n[![CI](https://github.com/jmbhughes/solarannotator/actions/workflows/ci.yaml/badge.svg?event=pull_request)](https://github.com/jmbhughes/solarannotator/actions/workflows/ci.yaml)\n[![codecov](https://codecov.io/gh/jmbhughes/solarannotator/graph/badge.svg?token=3YGLITGX6L)](https://codecov.io/gh/jmbhughes/solarannotator)\n\nA tool for annotating solar images with themes. \n![](screenshot.png)\n\n## Install\nIt's best to install in a clean virtual environment to avoid package conflicts or incorrect versions. \n\nOn a Mac or Linux machine:\n```\npython -m venv venv\nsource venv/bin/activate\npip install solarannotator\n```\n\nOn a Windows machine:\n```\npy -m venv venv\n.\\venv\\Scripts\\activate\npy -m pip install solarannotator\n```\n\nFor more details [visit the Packaging guide](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment).\n\n## Running and usage\nExecute from the terminal after installing by running inside your virtual environment.\n```SolarAnnotator```\n\nOn the left hand side, you will see a preview that can be maniuplated with the controls below. \nIt allows for viewing different SUVI channels with different configurations, e.g. one color versus three color. \nThe preview controls allow you to select the minimum and maximum percentile shown as well as scale\nthe image by raising all pixels to the selected power.\n\nYou interact by drawing on the preview image to create new regions in the thematic map. You can also\nrelabel those patches by left-clicking in the thematic map with a new theme selected. Finally, you can see\nboundaries of regions from the thematic map back in the preview image by right clicking the thematic map. \n\n## Future\nThis tool is still under development. There are many features coming. \n- [x] Ability to scale a single color image\n- [x] Ability to scale in a three color image   \n- [x] Right click on a region in the thematic map and see its boundary in the preview\n- [x] Left click on a region in the thematic map to re-annotate all the contiguous pixels\n- [x] Undo annotations\n- [x] Differentiate save and save as\n- [x] Add color legend to radio buttons\n- [ ] Redo annotations, after ctrl-z\n- [ ] Overlay HEK and other pre-determined annotations\n- [ ] Multiple normalization options\n- [ ] Robustify the thematic map io for better metadata passing, also use SunPy maps\n- [ ] Add a help guide\n- [x] Add an ability to load a template when you create a new date\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmbhughes%2Fsolarannotator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmbhughes%2Fsolarannotator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmbhughes%2Fsolarannotator/lists"}