compareFrames

Compares two frames of the same size, perceptually rather than byte for byte.

Return

The PSNR, SSIM and mean absolute difference between the two frames.

Throws

When the two frames differ in size.