How do I calculate mean N x M in 2d pictures?
Is it same is I use mean2() function?

답변 (1개)

Aiswarya
Aiswarya 2022년 7월 6일

0 개 추천

According to my understanding you want to calculate mean of all pixels in the image and it's a greyscale image.
So if your image is given by img you can use the function mean in the manner given below:
meanIntensity = mean(img(:));

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2019년 5월 14일

답변:

2022년 7월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by