Average of R,G,B channels

49 ビュー (過去 30 日間)
Saad mohammad
Saad mohammad 2016 年 2 月 2 日
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

回答 (1 件)

Adam 2016 年 2 月 2 日
mean( rgbImage, 3 );
should work if your image is in n*m*3 RGB format.
  1 件のコメント
Tarunkishwor Yumnam
Tarunkishwor Yumnam 2019 年 8 月 20 日


Community Treasure Hunt

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

Start Hunting!

Translated by