The intensity distributions of objects and background in an image may be assumed to have Gaussian distributions with distinct means and standard deviations. The properly normalized multi-modal histogram of a given image I is fitted to a mixture Gaussian probability density function (pdf). Mathematical formulation is as follows: