Function av_metrics::video::ssim::calculate_frame_ssim
source · [−]pub fn calculate_frame_ssim<T: Pixel>(
frame1: &FrameInfo<T>,
frame2: &FrameInfo<T>
) -> Result<PlanarMetrics, Box<dyn Error>>
Expand description
Calculates the SSIM score between two video frames. Higher is better.