필터 지우기
필터 지우기

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 CenterFile Exchange에서 Get 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