If you use the following source code please cite this journal article:
V. Reddy, C. Sanderson, B.C. Lovell.
Improved Foreground Detection via Block-based Classifier Cascade with Probabilistic Decision Integration.
IEEE Transactions on Circuits and Systems for Video Technology, Vol. 23, No. 1, pp. 83-93, 2013.