MATLAB is used to find the statistical minimum and maximum
for contrast enhancement and also for the Mixture of
Gaussians method. Output of the previous methods is a file
with important statistical values used for the thresholding
and morphological reconstruction. These two mentioned
methods and the graph cut algorithm are implemented using
the C++ programming language and the OpenCv library
which includes all important methods of computer
vision.