equalize(M) Returns matrix M with grayscale pixel intensities adjusted to form a linear cumulative histogram.