Skip to content

Benchmarking of algorithms

dushyantgoyal edited this page Aug 23, 2012 · 8 revisions

Benchmarking of similarity metrics algorithms -

  1. 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

  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

Clone this wiki locally