Changed the arguments for the background subtraction function.