pbPsnr.description("Peak Signal-To-Noise Ratio. Is 'Infinity' if the images are identical, and much lower if the images are similar. Typical values for the PSNR in lossy image and video compression are between 30 and 50 dB, where higher is better. Acceptable values for wireless transmission quality loss are considered to be about 20 dB to 25 dB.");
pbPsnr.unit("dB");
// Also record equivalence.
Equivalence eq = Equivalence.DIFFERENT;
if( Double.isInfinite(psnr) ) eq = Equivalence.EQUAL;
return new PropertyComparison(pbPsnr.build(), eq );
}