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
Post a Comment