MATLAB Answers

0

Calculate the mean of nonzero pixels and set a threshold

Asked by Gina Carts on 4 Nov 2019
I previously asked how to calculate the mean of nonzero pixels using my binary mask.
The way I did that was m = mean(volume(mask)).
Now, I would also like to exclude the pixels within the mask with values <0.001.
Can someone help with that?

  0 Comments

Sign in to comment.

0 Answers