Robust Online Matrix Factorization for Dynamic Background Subtraction