Feeds
질문
To calculate the mean vector, covariance matrix, and correlation coefficient matrix of a RGB image. I have trouble getting the mean, cannot use the mean for matlab.
img = imread('xxx.jpg') for i = l :length (img(:,:,1)) A = sum(sum(img(:,:,2)))/ (size((img,1)*size(img,2));
4년 초과 전 | 답변 수: 1 | 0