av_metrics::video

Module psnr_hvs

Source
Expand description

Peak Signal-to-Noise Ratio metric accounting for the Human Visual System.

Humans perceive larger differences from certain factors of an image compared to other factors. This metric attempts to take the human perception factor into account.

See https://en.wikipedia.org/wiki/Peak_signal-to-noise_ratio for more details.

Functionsยง

calculate_frame_psnr_hvs
Calculates the PSNR-HVS score between two video frames. Higher is better.
calculate_video_psnr_hvs
Calculates the PSNR-HVS score between two videos. Higher is better.