299 views (last 30 days)

i wanna know if there is a way to calculate degree of similarity between two images?

Image Analyst
on 3 Feb 2016

ssimval = ssim(A,ref) computes the Structural Similarity Index (SSIM) value for image A using ref as the reference image.

peaksnr = psnr(A,ref) calculates the peak signal-to-noise ratio for the image A, with the image ref as the reference. A and ref must be of the same size and class.

err = immse(X,Y) calculates the mean-squared error (MSE) between the arrays X and Y. X and Y can be arrays of any dimension, but must be of the same size and class.

Peter Kamfor
on 17 Jan 2019

nor azam
on 10 Sep 2019

can you explain this part:

err = immse(X,Y)

is it use for image A or both A & Ref image?

Sign in to comment.

Sign in to answer this question.

Opportunities for recent engineering grads.

Apply Today
## 0 Comments

Sign in to comment.