Community Profile

photo

Ichinissan


Last seen: 2 years ago Active since 2021

Followers: 0   Following: 0

Programming Languages:
C

Statistics

Feeds

View by

Question


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));

2 years ago | 1 answer | 0

1

answer