MATLAB File Help: cv.BackgroundSubtractorGMG/apply Index
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

See also
Method Details
Access public
Sealed false
Static false