Computational and Mathematical Methods in Medicine / 2019 / Article / Alg 3

Research Article

Lung Cancer Detection Using Image Segmentation by means of Various Evolutionary Algorithms

Algorithm 3

Histogram equalization.
(1)Obtain the histogram for the input image and find the probability mass function.
(2)Find the cumulative distributive function; from that, find the CDF according to gray levels.
(3)Find the new gray levels by using the following equation:
CDFNew = CDF (number of gray levels − 1).
(4)Map the new gray levels into a total number of pixels and plot the modified histogram.

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.