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

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

0 Comments

Tomas

Tags

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.

19 Comments

Image Analyst on 22 Nov 2014

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

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

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

Image Analyst

Contact us