Table of Contents ▸ List of Commands ▸ Features Extraction ▸ ssim | ◀ ssd_patch | ssim_matrix ▶ |
ssim
Arguments:
- [reference],_patch_size>0,_max_value>0
Description:
Compute the Structural Similarity Index Measure (SSIM) between selected images and specified reference image.This command does not modify the images, it just returns a value or a list of values in the status.
When downsampling_factor is specified with a ending %, its value is equal to 1+(patch_size-1)*spatial_factor%.
SSIM is a measure introduced int the following paper:
Wang, Zhou, et al., "Image quality assessment: from error visibility to structural similarity.",
in IEEE transactions on image processing 13.4 (2004): 600-612.
The implementation of this command is a direct translation of the reference code (in Matlab), found at :
https://ece.uwaterloo.ca/~z70wang/research/ssim/
Default values:
patch_size=11, and max_value=255.