skvideo.measure
.psnr
skvideo.measure
.psnr¶skvideo.measure.
psnr
(referenceVideoData, distortedVideoData, bitdepth=8)[source]¶Computes Peak Signal to Noise Ratio (PSNR).
Both video inputs are compared frame-by-frame to obtain T PSNR measurements.
Parameters: | referenceVideoData : ndarray
distortedVideoData : ndarray
bitdepth : int
|
---|---|
Returns: | psnr_array : ndarray
|