SSIM: Structural similarity index (SSIM).

View source: R/graph_funcs.R

SSIMR Documentation

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)

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.

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.

Value

value of SSIM defined between 0 and 1.

Author(s)

Paolo Inglese p.inglese14@imperial.ac.uk

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.


paoloinglese/SPUTNIK documentation built on April 18, 2024, 8:56 p.m.