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

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

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