Description Usage Arguments Value
This function uses previous frames to construct a background model in eigen space. This eigen background model is then subtracted from current frame to obtain the foreground images.
1 | eigenbgs(b, nf, thresh)
|
b |
3-D matrix containing grayscaled video frames. |
nf |
Number of previous frames to be considered. Its value has to be greater than 1. |
thresh |
threshold required to obtain foreground images.value of thresh can be set to 10 - 15 approximately. |
A 3-D matrix of frames containing foreground obtained after background subtraction is applied(binary images).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.