MATLAB Answers

ERROR From STD 'standard deviation'

8 views (last 30 days)
Soum
Soum on 10 Jul 2013
Hello every one; is anyone knows how can I extract the error between two images from their variance? knowing that I have the STD which equals = SQRT(Variance)
Thanks ;

Accepted Answer

Image Analyst
Image Analyst on 10 Jul 2013
If you define error as the standard deviation of the absolute value of the difference between the image intensities, then you can do
differenceImage = abs(double(image1) - double(image2));
theErros = std(differenceImage(:));
You might also look at other definitions, like MSE ( http://en.wikipedia.org/wiki/Mean_squared_error), PSNR ( http://en.wikipedia.org/wiki/PSNR), and SSIM ( http://en.wikipedia.org/wiki/SSIM).
  5 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!