Normalize by using zero mean and unit variance

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.

 Accepted Answer

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

More Answers (0)

Products

Release

R2019a

Community Treasure Hunt

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

Start Hunting!