{"id":18658238,"url":"https://github.com/ruofeidu/imagequalitycompare","last_synced_at":"2025-04-11T19:32:15.978Z","repository":{"id":67601951,"uuid":"132812185","full_name":"ruofeidu/ImageQualityCompare","owner":"ruofeidu","description":"Compare the quality between two images using RMSE, SSIM, and PSNR. (part of I3D 2018 Montage4D.com)","archived":false,"fork":false,"pushed_at":"2018-05-09T22:34:41.000Z","size":766,"stargazers_count":29,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T17:47:42.659Z","etag":null,"topics":["image","measurement","mse","opencv","psnr","quality","rmse","ssim","statistics"],"latest_commit_sha":null,"homepage":"http://www.montage4d.com","language":"C++","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/ruofeidu.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-09T20:58:44.000Z","updated_at":"2024-10-17T05:42:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"94a63ea8-e4e4-4f05-9bee-eb1cf2b39186","html_url":"https://github.com/ruofeidu/ImageQualityCompare","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruofeidu%2FImageQualityCompare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruofeidu%2FImageQualityCompare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruofeidu%2FImageQualityCompare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruofeidu%2FImageQualityCompare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruofeidu","download_url":"https://codeload.github.com/ruofeidu/ImageQualityCompare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248467022,"owners_count":21108586,"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":["image","measurement","mse","opencv","psnr","quality","rmse","ssim","statistics"],"created_at":"2024-11-07T07:32:06.308Z","updated_at":"2025-04-11T19:32:15.970Z","avatar_url":"https://github.com/ruofeidu.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C++ Implementation to Compare Pairs of Image Quality using RMSE, SSIM, and PSNR\nCompare the quality between two images using RMSE, SSIM, and PSNR.\nThe values of the PSNR can be predicted from the SSIM and vice-versa. The\nPSNR and the SSIM mainly differ on their degree of sensitivity to image degradations. \n\n## Usage\nThe executable file is under x64/Release/Compare.exe\n```bash\nCompare image_file_name_1 image_file_name_2 [--mask] [--block_size] 2\n```\n* The optional mask parameter will neglect the total white or black pixels in the image1.\n* The optional block_size parameter determines the window size of SSIM.\n* The smaller block_size is, the slower it runs.\n\n## Compilation\nIf the compilation fails, please fix the following environment variables:\n* OPENCV_INC: Directory to OpenCV include folder.\n* OPENCV_LIB: Directory to OpenCV libraries.\n* PATH: Add [the executable DLLs of OpenCV and GLUT](https://obj.umiacs.umd.edu/dll/DuEngineLibs.zip) into an arbitrary directory of PATH.\n\n# Details\n## RMSE: Root Mean Squared Error\nThe square root of the mean squared error. More sensitive than SSIM and PSNR in values. \nWiki: https://en.wikipedia.org/wiki/Root-mean-square_deviation\n\n## SSIM: Structural Similarity Index Measure\nThe SSIM index is calculated on various windows of an image. \nWiki: https://en.wikipedia.org/wiki/Structural_similarity\n\n## PSNR: Peak signal-to-noise ratio\nPSNR is most often defined via 10 multiplies the log10 of the normalized mean squared error (MSE).\nWiki: https://en.wikipedia.org/wiki/Peak_signal-to-noise_ratio\n\n# Free software!\n## Contact: Ruofei Du (http://www.duruofei.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruofeidu%2Fimagequalitycompare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruofeidu%2Fimagequalitycompare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruofeidu%2Fimagequalitycompare/lists"}