Functions > Image Processing > Image Manipulation > Equalization
  
Equalization
equalize(M)—Returns matrix M with grayscale pixel intensities adjusted to form a linear cumulative histogram.
Arguments
M is an image matrix.