Correlation coefficient for image pixels

12 ビュー (過去 30 日間)
sa za
sa za 2013 年 6 月 21 日
I want to calculate the correlation coefficient for my image pixel(binary)and after that for my encrypted image. I know corr2 is for calculating the correlation coefficient for two images.
But is there a function for calculating the correlation coefficient for one image in matlab?Actually I want a number not a matrix

回答 (2 件)

Nitin
Nitin 2013 年 6 月 22 日
Hello, I am pretty sure corr2 returns a value , http://www.mathworks.com.au/help/images/ref/corr2.html
You need to compare with something to get a correlation coefficient, either with other images or other parts of your image
  4 件のコメント
sa za
sa za 2013 年 6 月 25 日
hi.yes.correlation should be about 0.but how can I get this correlation ?
Image Analyst
Image Analyst 2013 年 6 月 25 日
I thought you were using corr2(). What's wrong with that?

サインインしてコメントする。


sa za
sa za 2013 年 6 月 27 日
I can not use corr2 because corr2 working for two image but I want to get correlation coefficient for one image could I divide my image in 2 parts and then use corr2?

Community Treasure Hunt

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

Start Hunting!

Translated by