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!