eigenbgs: Eigen background subtraction algorithm

Description Usage Arguments Value

Description

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.

Usage

1
eigenbgs(b, nf, thresh)

Arguments

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.

Value

A 3-D matrix of frames containing foreground obtained after background subtraction is applied(binary images).


Rbgs documentation built on May 1, 2019, 8:48 p.m.

Related to eigenbgs in Rbgs...