Gistlib Logo

gistlib

other matlab categories

color-channels 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

gistlibby LogSnag