MATLAB Answers


Normalize by using zero mean and unit variance

Asked by Emerson Nithiyaraj on 17 Sep 2019
Latest activity Commented on by Adam
on 17 Sep 2019
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

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
 Accepted Answer

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


Sign in to comment.