Filter löschen
Filter löschen

Average of R,G,B channels

2 Ansichten (letzte 30 Tage)
Saad mohammad
Saad mohammad am 2 Feb. 2016
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

Antworten (1)

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

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by