Borrar filtros
Borrar filtros

Average of R,G,B channels

2 visualizaciones (últimos 30 días)
Saad mohammad
Saad mohammad el 2 de Feb. de 2016
Comentada: Tarunkishwor Yumnam el 20 de Ag. de 2019
I'm trying obtain the intensity image by finding the average of the R,G,B channels which are extracted from the original image is there any built in method that can do this

Respuestas (1)

Adam
Adam el 2 de Feb. de 2016
mean( rgbImage, 3 );
should work if your image is in n*m*3 RGB format.

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!

Translated by