pub fn calculate_frame_ssim<T: Pixel>(
frame1: &Frame<T>,
frame2: &Frame<T>,
bit_depth: usize,
chroma_sampling: ChromaSampling,
) -> Result<PlanarMetrics, Box<dyn Error>>
Expand description
Calculates the SSIM score between two video frames. Higher is better.