How to calculate a weighted mean for a selected area in an image?

Hi, I would like to calculate a weighted mean for a group of pixels in an image. Thanks, HM

1 Comment

I also have similar questions. I want to get the man value of all pixels for a globle raster data. Considering the different area of the pixels across the world, how can I assign each pixel a weight according to how large they are?

Sign in to comment.

Answers (0)

Asked:

on 29 Mar 2015

Commented:

on 17 Jan 2024

Community Treasure Hunt

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

Start Hunting!