Function av_metrics::video::ssim::calculate_video_msssim
source · pub fn calculate_video_msssim<D: Decoder, F: Fn(usize) + Send>(
decoder1: &mut D,
decoder2: &mut D,
frame_limit: Option<usize>,
progress_callback: F
) -> Result<PlanarMetrics, Box<dyn Error>>
Expand description
Calculates the MSSSIM score between two videos. 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.