{"id":26395308,"url":"https://github.com/juliaimages/imagequalityindexes.jl","last_synced_at":"2025-03-17T11:17:03.003Z","repository":{"id":45745527,"uuid":"187340625","full_name":"JuliaImages/ImageQualityIndexes.jl","owner":"JuliaImages","description":"Indexes for image quality assessment","archived":false,"fork":false,"pushed_at":"2023-07-20T19:28:23.000Z","size":111,"stargazers_count":9,"open_issues_count":9,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-17T11:16:57.471Z","etag":null,"topics":["hacktoberfest","image-processing","julia","quality-assessment"],"latest_commit_sha":null,"homepage":"","language":"Julia","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/JuliaImages.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2019-05-18T09:46:33.000Z","updated_at":"2023-02-13T14:35:40.000Z","dependencies_parsed_at":"2022-09-12T18:42:23.676Z","dependency_job_id":"297ee6a6-205e-4b98-a76d-be3e10a35152","html_url":"https://github.com/JuliaImages/ImageQualityIndexes.jl","commit_stats":{"total_commits":62,"total_committers":9,"mean_commits":6.888888888888889,"dds":"0.12903225806451613","last_synced_commit":"e7c5c669944f98806664345ea052b6b5e66dd35e"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaImages%2FImageQualityIndexes.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaImages%2FImageQualityIndexes.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaImages%2FImageQualityIndexes.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaImages%2FImageQualityIndexes.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuliaImages","download_url":"https://codeload.github.com/JuliaImages/ImageQualityIndexes.jl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244022725,"owners_count":20385134,"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":["hacktoberfest","image-processing","julia","quality-assessment"],"created_at":"2025-03-17T11:17:02.231Z","updated_at":"2025-03-17T11:17:02.990Z","avatar_url":"https://github.com/JuliaImages.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ImageQualityIndexes\n\n[![][action-img]][action-url]\n[![][pkgeval-img]][pkgeval-url]\n[![][codecov-img]][codecov-url]\n\nImageQualityIndexes provides the basic image quality assessment methods. Check the reasoning behind the code design [here](https://nextjournal.com/johnnychen94/the-principles-of-imagesjl-part-i) if you're interested in.\n\n## Supported indexes\n\n### Full reference indexes\n\n* `PSNR`/`assess_psnr` -- Peak signal-to-noise ratio\n* `SSIM`/`assess_ssim` -- Structural similarity\n* `MSSSIM`/`assess_msssim` -- Multi-scale SSIM\n\n### No-reference indexes\n\n* `HASLER_AND_SUSSTRUNK_M3`/`hasler_and_susstrunk_m3` -- Colorfulness\n\n## Basic usage\n\nThe root type is `ImageQualityIndex`, each concrete index is supposed to be one of `FullReferenceIQI`, `ReducedReferenceIQI` and `NoReferenceIQI`.\n\nThere are three ways to assess the image quality:\n\n* use the general protocol, e.g., `assess(PSNR(), x, ref)`. This reads as \"**assess** the image quality of **x** using method **PSNR** with information **ref**\"\n* each index instance is itself a function, e.g., `PSNR()(x, ref)`\n* for well-known indexes, there are also convenient name for it for benchmark purpose.\n\nFor detailed usage of particular index, please check the docstring (e.g., `?PSNR`)\n\n## Examples\n\n```julia\nusing Images, TestImages\nusing ImageQualityIndexes\n\nimg = testimage(\"cameraman\") .|\u003e float64\nnoisy_img = img .+ 0.1 .* randn(size(img))\nassess_ssim(noisy_img, img) # 0.24112\nassess_psnr(noisy_img, img) # 19.9697\n\nkernel = ones(3, 3)./9 # mean filter\ndenoised_img = imfilter(noisy_img, kernel)\nassess_psnr(denoised_img, img) # 28.4249\nassess_ssim(denoised_img, img) # 0.6390\nassess_msssim(denoised_img, img) # 0.8460\n\nimg = testimage(\"fabio\");\ncolorfulness(img) # 68.5530\n\n```\n\n\u003c!-- URLS --\u003e\n\n[pkgeval-img]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/I/ImageQualityIndexes.svg\n[pkgeval-url]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/report.html\n[action-img]: https://github.com/JuliaImages/ImageQualityIndexes.jl/workflows/Unit%20test/badge.svg\n[action-url]: https://github.com/JuliaImages/ImageQualityIndexes.jl/actions\n[codecov-img]: https://codecov.io/github/JuliaImages/ImageQualityIndexes.jl/coverage.svg?branch=master\n[codecov-url]: https://codecov.io/github/JuliaImages/ImageQualityIndexes.jl?branch=master\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliaimages%2Fimagequalityindexes.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliaimages%2Fimagequalityindexes.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliaimages%2Fimagequalityindexes.jl/lists"}