i need code in matlab
古いコメントを表示
find the correlation coefficient between i1=pout.tif and i2=pout.tif
2 件のコメント
Walter Roberson
2015 年 10 月 9 日
pout is not a standard MATLAB class, so pout.tif is not something we would expect to have defined.
ahmad saleh
2015 年 10 月 9 日
採用された回答
その他の回答 (2 件)
Image Analyst
2015 年 10 月 9 日
Try this:
grayImage1 = double(imread('pout.tif'));
grayImage2 = grayImage1;
cc = corrcoef(grayImage1, grayImage2)
message = sprintf('The correlation coefficients are \n%f %f\n%f %f', cc)
helpdlg(message);
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!