C++ background substraction library