Learn R Programming

SPUTNIK (version 1.4.2)

SSIM: Structural similarity index (SSIM).

Description

ssim returns the value of SSIM between two vectors representing the color intensities of two images.

Usage

SSIM(x, y, numBreaks = 256)

Value

value of SSIM defined between 0 and 1.

Arguments

x

numeric array. Image 1 color intensity array.

y

numeric array. Image 2 color intensity array.

numBreaks

numeric. Number of bins for the color histogram.

Author

Paolo Inglese p.inglese14@imperial.ac.uk

Details

SSIM is an image quality measure, given a reference considered as noise-less image. It can be also used as a perceived similarity measure between images. The images are converted by default in 8bit.

References

Wang, Z., Bovik, A. C., Sheikh, H. R., & Simoncelli, E. P. (2004). Image quality assessment: from error visibility to structural similarity. IEEE transactions on image processing, 13(4), 600-612.