- Category:
- Algorithm
- Tags:
-
[Text]
- File Size:
- 67kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- baunik
Description: find Avg RGB
s1=imread( 7 img blue.jpg )
vec=reshape(s1,prod(size(s1))/3,3)
R1=sum(vec(:,1))/length(vec(:,1))
G1=sum(vec(:,2))/length(vec(:,2))
B1=sum(vec(:,3))/length(vec(:,3))
RGB=[R1 G1 B1]
To Search:
File list (Check if you may need any files):
RGB.m.txt
ani.jpg