Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
can yu say wt will be the error in dat line M = mean2(A)
  1 comentario
Geoff Hayes
Geoff Hayes el 15 de Feb. de 2016
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.

Iniciar sesión para comentar.

Respuestas (1)

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

Categorías

Más información sobre Get Started with Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by