MATLAB Answers

Normalize by using zero mean and unit variance

61 views (last 30 days)
Emerson Nithiyaraj
Emerson Nithiyaraj on 17 Sep 2019
Commented: 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

Adam
Adam on 17 Sep 2019
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.

Accepted Answer

Star Strider
Star Strider on 17 Sep 2019
If you have R2018a or later, use the normalize function. Another option is zscore.

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by