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!