{"id":34028838,"url":"https://github.com/ofgulban/iphigen","last_synced_at":"2026-03-17T20:39:07.252Z","repository":{"id":48559427,"uuid":"76043117","full_name":"ofgulban/iphigen","owner":"ofgulban","description":"A command-line program for n-dimensional image enhancement and color balancing.","archived":false,"fork":false,"pushed_at":"2021-07-20T13:14:48.000Z","size":3874,"stargazers_count":22,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-12-03T13:47:43.244Z","etag":null,"topics":["color-balance","image-processing","mri","nifti"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ofgulban.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":"2016-12-09T14:39:14.000Z","updated_at":"2025-07-02T06:57:16.000Z","dependencies_parsed_at":"2022-09-26T20:01:02.853Z","dependency_job_id":null,"html_url":"https://github.com/ofgulban/iphigen","commit_stats":null,"previous_names":["ofgulban/retinex_for_mri"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/ofgulban/iphigen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofgulban%2Fiphigen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofgulban%2Fiphigen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofgulban%2Fiphigen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofgulban%2Fiphigen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ofgulban","download_url":"https://codeload.github.com/ofgulban/iphigen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofgulban%2Fiphigen/sbom","scorecard":{"id":703044,"data":{"date":"2025-08-11","repo":{"name":"github.com/ofgulban/iphigen","commit":"47c972a5852677e01ab0b120f69d004abc57e478"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.1,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: GHSA-6p56-wp2h-9hxr","Warn: Project is vulnerable to: PYSEC-2019-108 / GHSA-9fq2-x9r6-wfmf","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2023-102","Warn: Project is vulnerable to: PYSEC-2023-114"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T05:40:35.999Z","repository_id":48559427,"created_at":"2025-08-22T05:40:35.999Z","updated_at":"2025-08-22T05:40:35.999Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30631404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["color-balance","image-processing","mri","nifti"],"created_at":"2025-12-13T17:20:41.006Z","updated_at":"2026-03-17T20:39:07.247Z","avatar_url":"https://github.com/ofgulban.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![DOI](https://zenodo.org/badge/76043117.svg)](https://zenodo.org/badge/latestdoi/76043117)\n[![PyPI version](https://badge.fury.io/py/iphigen.svg)](https://badge.fury.io/py/iphigen)\n\n\n# Iphigen (work in progress)\n\nA simple command-line interface for image enhancement and color balancing.\n\nThis application is being developed mainly to play with a few algorithms that I like. I am aiming at making the implementations work for 2D, 3D and 4D images. Currently implemented algorithms are:\n- __Multi-scale retinex__ [1, 3]\n- __Simplest color balance__ [2]\n- __Simplex color balance__ (based on [3, 4], not published)\n\n\u003cimg src=\"visuals/visual_00.png\"\u003e\n\n# Getting started\n\n## Dependencies\n\n**[Python 3](https://www.python.org/)** and the following packages:\n\n| Package                               | Tested version |\n|---------------------------------------|----------------|\n| [OpenCV](https://opencv.org/)         | 3.4.4          |\n| [SciPy](https://www.scipy.org/)       | 1.2.0          |\n| [NiBabel](http://nipy.org/nibabel/)   | 2.2.1          |\n| [NumPy](http://www.numpy.org/)        | 1.15.4         |\n\n## Installation\n\nClone this repository or download the latest release. In your command line, change directory to folder of this package and run the following:\n```\npython setup.py install\n```\nIf everything went fine, typing ```iphigen -h``` or ```iphigen_nifti -h``` in the command-line should show the help menu now.\n\n## Usage\n### Retinex with intensity balance\n```\niphigen /path/to/image.png --retinex --intensity_balance\n```\n\u003cimg src=\"visuals/visual_01.png\"\u003e\n\n### Color balance\n```\niphigen /path/to/image.png --simplest_color_balance\n```\n\u003cimg src=\"visuals/visual_02.png\"\u003e\n\n### Retinex with simplest color balance\n```\niphigen /path/to/image.png --retinex --simplest_color_balance\n```\n\u003cimg src=\"visuals/visual_03.png\"\u003e\n\n## Use with Nifti files\n\n```\niphigen_nifti /path/to/data.nii.gz --retinex\n```\n\n\u003cimg src=\"visuals/visual_mri_01.png\"\u003e\n\n## Use within python scripts\n\nSee script examples [here](script_examples/).\n\n# Support\n\nPlease use [github issues](https://github.com/ofgulban/iphigen/issues) to report bugs or make suggestions.\n\n# License\n\nThe project is licensed under [BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause).\n\n# References\n\nThis application is based on the following work:\n\n1.  Jobson, D. J., Rahman, Z. U., \u0026 Woodell, G. A. (1997). _A multiscale retinex for bridging the gap between color images and the human observation of scenes._ IEEE Transactions on Image Processing, 6(7), 965–976. \u003chttp://doi.org/10.1109/83.597272\u003e\n\n2.  Limare, N., Lisani, J., Morel, J., Petro, A. B., \u0026 Sbert, C. (2011). _Simplest Color Balance_. Image Processing On Line, 1(1), 125–133. \u003chttp://doi.org/10.5201/ipol.2011.llmps-scb\u003e\n\n3.  Petro, A. B., Sbert, C., \u0026 Morel, J. (2014). _Multiscale Retinex_. Image Processing On Line, 4, 71–88. \u003chttp://doi.org/10.5201/ipol.2014.107\u003e\n\n4.  Gulban, O. F. (2018). _The Relation between Color Spaces and Compositional Data Analysis Demonstrated with Magnetic Resonance Image Processing Applications._ Austrian Journal of Statistics, 47(5), 34–46. \u003chttp://doi.org/10.17713/ajs.v47i5.743\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofgulban%2Fiphigen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fofgulban%2Fiphigen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofgulban%2Fiphigen/lists"}