MATLAB Answers

0

Normalize by using zero mean and unit variance

Asked by Emerson Nithiyaraj on 17 Sep 2019 at 11:13
Latest activity Commented on by Adam
on 17 Sep 2019 at 12:59
I am working with Medical CT image and i came across a pre-processing step in an article ,"contrast enhancement of images by using histogram equalization and normalized by using zero mean and unit variance". Histogram equalization can be done using histeq function and how to normalize it to zero mean and unit variance and whats the need to normalize like that?

  1 Comment

Adam
on 17 Sep 2019 at 12:59
Mathematically just find the mean and subtract it, then take the variance and divide by that. But if you want a ready-made function then Star Strider's answer should cover that.

Sign in to comment.

1 Answer

Answer by Star Strider
on 17 Sep 2019 at 11:22
 Accepted Answer

If you have R2018a or later, use the normalize function. Another option is zscore.

  0 Comments

Sign in to comment.