Learn R Programming

Rbgs (version 0.2)

guassianbgs: Gaussian background subtraction algorithm

Description

This functions creates a gaussian background model using the previous grayscale frames. gaussian parameters (i.e mean and variance) are updated after every new frame is encountered.

Usage

guassianbgs(b, thresh)

Arguments

b

3-D matrix containing grayscaled video frames.

thresh

threshold required to obtain foreground images. Its value can be set around 3.5 - 4.5 depending upon the accuracy.

Value

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