Selection of threshold is a crucial step for binary process.
The value of threshold is changeable with frames of video,
and it will affect the efficiency of the whole proposed
algorithm if it is too large or small. In order to obtain an
adaptive threshold automatically from frames, many people
extract statistic characters (such as mean, standard deviation,
etc) [3, 4]