matlab - Mean and variance of gray level for an image set per pixel -


i have 10 gray images of same size. obtain mean gray value , standard deviation per pixel in image set. how can this?

let's images stored in xxyxn uint16 array called imgs:

x = 300; y = 400; n = 10; imgs = randi(2^16,y,x,n,'uint16'); 

all need pass matrix mean , std, while specifying want operate along 3rd dimension:

meanmap = mean(imgs,3,'double'); stdmap = std(double(imgs),0,3); 

Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -