skvideo.measure.ssim
skvideo.measure.ssim¶skvideo.measure.ssim(referenceVideoData, distortedVideoData, K_1=0.01, K_2=0.03, bitdepth=8, scaleFix=True, avg_window=None)[source]¶Computes Structural Similarity (SSIM) Index. [1]
Both video inputs are compared frame-by-frame to obtain T SSIM measurements on the luminance channel.
| Parameters: | referenceVideoData : ndarray
distortedVideoData : ndarray
K_1 : float
K_2 : float
bitdepth : int
scaleFix : bool
avg_window : ndarray
|
|---|---|
| Returns: | ssim_array : ndarray
|
References
| [1] |
|