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