-
Notifications
You must be signed in to change notification settings - Fork 0
Benchmarking of algorithms
Benchmarking of similarity metrics algorithms -
Output Format-
Algorithm: valueR, valueG, valueB
Test Images
-
lena.bmp, lena_blur.bmp
-
differ_log.jpg, differ_logo.jpg
-
peppers.bmp, peppers_blur.bmp
-
barbara.bmp, barbara_blur.bmp
.
When images are same i.e. image1 and image2 are having exactly same values
**./metric --image1 test_images/lena.bmp --image2 test_images/lena.bmp --algorithm all --colorspace 1 **
MSE : 0 , 0 , 0
PSNR : inf , inf , inf
SSIM : 1 , 1 , 1
MSSSIM : 1 , 1 , 1
IQI : 1 , 1 , 1
./metric --image1 test_images/lena.bmp --image2 test_images/lena.bmp --algorithm all --colorspace 1 --opencl
MSE_openCl : 0 , 0 , 0
PSNR_openCl : inf , inf , inf
SSIM_opencl : 1 , 1 , 1
MSSSIM_opencl : 1 , 1 , 1
IQI_opencl : 1 , 1 , 1
.
When images are different i.e. image1 and image2 are having different values
**./metric --image1 test_images/lena.bmp --image2 test_images/lena_blur.bmp --algorithm all --colorspace 1 **
MSE : 109.655 , 93.517 , 135.879
PSNR : 27.7305 , 28.4219 , 26.7993
SSIM : 0.724117 , 0.750145 , 0.729107
MSSSIM : 0.802719 , 0.829345 , 0.818717
IQI : 0.396842 , 0.435903 , 0.492805
./metric --image1 test_images/lena.bmp --image2 test_images/lena_blur.bmp --algorithm all --colorspace 1 --opencl
MSE_openCl : 109.655 , 93.517 , 135.879
PSNR_openCl : 27.7305 , 28.4219 , 26.7993
SSIM_opencl : 0.727509 , 0.752082 , 0.727466
MSSSIM_opencl : 0.824797 , 0.846002 , 0.834983
IQI_opencl : 0.41316 , 0.451289 , 0.506655
**./metric --image1 test_images/barbara.bmp --image2 test_images/barbara_blur.bmp --algorithm all --colorspace 1 **
MSE : 295.221 , 295.221 , 295.221
PSNR : 23.4293 , 23.4293 , 23.4293
SSIM : 0.653471 , 0.653471 , 0.653471
MSSSIM : 0.761778 , 0.761778 , 0.761778
IQI : 0.525631 , 0.525631 , 0.525631
./metric --image1 test_images/barbara.bmp --image2 test_images/barbara_blur.bmp --algorithm all --colorspace 1 --opencl
MSE_openCl : 295.221 , 295.221 , 295.221
PSNR_openCl : 23.4293 , 23.4293 , 23.4293
SSIM_opencl : 0.644783 , 0.644783 , 0.644783
MSSSIM_opencl : 0.790249 , 0.790249 , 0.790249
IQI_opencl : 0.536684 , 0.536684 , 0.536684
./metric --image1 test_images/peppers.bmp --image2 test_images/peppers_blur.bmp --algorithm all --colorspace 0
MSE : 85.1021 , 0 , 0
PSNR : 28.8314 , inf , inf
SSIM : 0.821594 , 0 , 0
MSSSIM : 0.899322 , 0 , 0
IQI : 0.600403 , 0 , 0
./metric --image1 test_images/peppers.bmp --image2 test_images/peppers_blur.bmp --algorithm all --colorspace 0 --opencl
MSE_openCl : 85.1021 , 0 , 0
PSNR_openCl : 28.8314 , inf , inf
SSIM_opencl : 0.81316 , 0 , 0
MSSSIM_opencl : 0.913532 , 0 , 0
IQI_opencl : 0.610114 , 0 , 0