selecting the images

3 次查看(过去 30 天)
Pat
Pat 2011-12-29
I have 80 images ,i want to calculate mean of first 10 images and store it,and ten the next 10 ,till 80 images please help

回答(1 个)

Sean de Wolski
Sean de Wolski 2011-12-29
Build an image volume or cell using:
And then use a for-loop to traverse either the third dimension or the cell array vector taking the mean of each block. What do you mean by mean? Do you want the mean of the whole block of 10 images (scalar) mean at each pixel of the 10 images (2d image)?
  2 个评论
Pat
Pat 2011-12-29
i need individual mean of each image and then meann of 10 images and store in ,and process the same for all 80 images
Image Analyst
Image Analyst 2011-12-29
"meann of 10 images " is not an unambiguous answer to Sean - is that a scalar or a 2D image? It makes a difference. Is the mean of the 10 images a "mean image" or is it the mean of the 10 means you already calculated?

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by