gistlib
other matlab categories
matlab-image-processing-toolbox code snippets in matlab
sum up all color channels pixel by pixel and divide the result by the number of channels. be sure to round the values and make sure that the values are of the data type uint8. in matlab
gistlib
by LogSnag