pub fn calculate_frame_msssim<T: Pixel>(
    frame1: &Frame<T>,
    frame2: &Frame<T>,
    bit_depth: usize,
    chroma_sampling: ChromaSampling
) -> Result<PlanarMetrics, Box<dyn Error>>
Expand description

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.