フィルターのクリア

hii sir i accepted the answer but its showing error in second line ?how we could find mean for image in dat line?

1 回表示 (過去 30 日間)
can yu say wt will be the error in dat line M = mean2(A)
  1 件のコメント
Geoff Hayes
Geoff Hayes 2016 年 2 月 15 日
venmal - is that related to your previous question http://www.mathworks.com/matlabcentral/answers/268135-hi-sir-how-to-find-the-mean-for-color-image? Please clarify what you mean by the error in the second line. If you are observing an error message, please copy and paste the full message to this question.

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 2 月 15 日
mean2() is part of the Image Processing Toolbox. If you do not have that toolbox then,
M = mean(A(:));

カテゴリ

Help Center および File ExchangeGet Started with Image Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by