MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today
Asked by Tomas on 8 Nov 2012

Hello,

how can I decide that an image is symmetric or asymmetric in color after dividing it into two parts vertically (the right part and the left part)? thanks

Answer by Image Analyst on 8 Nov 2012

You could chop the image in half, call fliplr() to flip one of the halves, then check similarity with SSIM (See wikipedia) or something similar like PSNR.

Show 16 older comments

Image Analyst on 22 Nov 2014 at 15:58

There is an ssim() function in the Image Processing Toolbox. Or you cuold look for published articles on it here: http://www.visionbib.com/bibliography/contents.html

Sidra Naeem on 22 Nov 2014 at 16:20

I haven't ssim() function in MATLAB 2013. Can you tell me some other method to implement this in Matlab

Image Analyst on 22 Nov 2014 at 16:36

**I did** , sort of - did you see the **link** I gave you? That will have the best methods by people who have studied it intensively. Maybe my *guess* of SSIM is not even the best way.

If you still want ssim(), upgrade to the latest version of MATLAB, or program it yourself with information from http://en.wikipedia.org/wiki/Structural_similarity

## 0 Comments