Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

How can i study the symmetry in color with matlab?

Asked by Tomas on 8 Nov 2012
Latest activity Commented on by Image Analyst on 22 Nov 2014 at 16:36


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




1 Answer

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.


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:

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

Image Analyst

Contact us