# ImageQualityAssessment **Repository Path**: midi1/image-quality-assessment ## Basic Information - **Project Name**: ImageQualityAssessment - **Description**: A Python toolset for evaluating image quality metrics including PSNR, SSIM, MS-SSIM, WS-PSNR, and S-PSNR. - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-09-12 - **Last Updated**: 2023-09-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ImageQualityAssessment ## Description A Python toolset for evaluating image quality metrics including PSNR, SSIM, MS-SSIM, WS-PSNR, and S-PSNR. ## Usage Run the script via command line and pass the path of the source image as an argument. ```python python main.py ./imgs_test/BaboonRGB_512x512.bmp ``` ![image-20230912223722065](./static/1694529437017.jpg) ## Naming Convention For the script to correctly identify source and target images, they should be named following a specific convention: - Source Image: `sourceName.bmp` - Target Images: `sourceName_targetDetails.bmp` Both source and target images should be separated by an underscore `_`. Example: - Source Image: `BaboonRGB_512x512.bmp` - Target Images: `BaboonRGB_512x512_compressed.bmp`, `BaboonRGB_512x512_filtered.bmp` ## Supported Image Formats The script uses OpenCV for image reading, and therefore supports a variety of formats, including but not limited to: - BMP - JPEG - JPG - PNG - TIFF Make sure the source and target images are in one of these supported formats.