meanbgs: Mean background subtraction algorithm

Description Usage Arguments Value

Description

This function calculates the mean of all previous frames and obtains the #'foreground by subtracting the mean from the current frame. All n-1 frames are #'taken into consideration at nth iteration.

Usage

1
meanbgs(b, thresh)

Arguments

b

3-D matrix containing grayscaled video frames.

thresh

threshold required to obtain foreground images.Its value can lie between 30 40 or more depending upon accuracy of results.

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 meanbgs in Rbgs...