MATLAB File Help: cv.BackgroundSubtractorMOG2/getBackgroundImage Index
cv.BackgroundSubtractorMOG2/getBackgroundImage

Computes a foreground mask

bgImg = bs.getBackgroundImage()

Output

Note

Sometimes the background image can be very blurry, as it contain the average background statistics.

See also
Method Details
Access public
Sealed false
Static false