System object: vision.PSNR
Package: vision

Compute peak signal-to-noise ratio


Y = step(H,X1,X2)


Y = step(H,X1,X2) computes the peak signal-to-noise ratio, Y , between images X1 and X2. The two images X1 and X2 must have the same size.

    Note:   H specifies the System object™ on which to run this step method.

    The object performs an initialization the first time the step method is executed. This initialization locks nontunable properties and input specifications, such as dimensions, complexity, and data type of the input data. If you change a nontunable property or an input specification, the System object issues an error. To change nontunable properties or inputs, you must first call the release method to unlock the object.

Was this topic helpful?