apply (cv.BackgroundSubtractorGMG) - MATLAB File Help
cv.BackgroundSubtractorGMG/apply

Updates the background model and computes the foreground mask

fgmask = bs.apply(im)
fgmask = bs.apply(im, 'OptionName', optionValue, ...)

Input

Output

Options

Performs single-frame background subtraction and builds up a statistical background image model.

See also
Method Details
Access public
Sealed false
Static false