[][src]Function av_metrics::video::ssim::calculate_frame_msssim

pub fn calculate_frame_msssim<T: Pixel>(
    frame1: &FrameInfo<T>,
    frame2: &FrameInfo<T>
) -> Result<PlanarMetrics, Box<dyn Error>>

Calculates the MSSSIM score between two video frames. Higher is better.

MSSSIM is a variant of SSIM computed over subsampled versions of an image. It is designed to be a more accurate metric than SSIM.