How to find average R value in an RGB image?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I am trying to split the RGB image into separate colors(like R,G,B) and find the average value for each colours. Please anyone can help me... I need this code for my project
0 comentarios
Respuestas (1)
Jan
el 2 de Feb. de 2018
RGB = rand(640, 480, 3);
avgRGB = mean(reshape(RGB, [], 3), 1)
0 comentarios
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!