Arguments : size of buffer, columns, rows, channel <-- output is a greyscale image addBackground binary_flag output_threshold frames height width channels variance mean greyscale image