Ask Your Question
0

Stauffer & Grimson algorithm

asked 2016-12-30 15:40:55 -0600

simozz gravatar image

updated 2016-12-30 16:01:08 -0600

Looking at the original paper (http://www.ai.mit.edu/projects/vsam/P...), and at this page http://docs.opencv.org/trunk/db/d5c/t..., the question is:

There is already an implementation of the Stauffer & Grimson algorithm in opencv ?

edit retag flag offensive close merge delete

Comments

I don't understand your link to python do. Was it this link?

LBerger gravatar imageLBerger ( 2016-12-30 16:15:37 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-12-30 15:48:34 -0600

Tetragramm gravatar image

No that exact algorithm, I don't think. Very similar though.

The algorithms in OpenCV are much more modern, and likely more accurate and faster. They should function just fine for whatever you were using the Stauffer & Grimson algorithm for.

edit flag offensive delete link more

Comments

Hello Tetragram, could you suggest me a more detailed link / documentation for background subreaction algorithms used in opencv ? I always only read about BackgroundSubstractorMOG, BackgroundSubtractorMOG2 and BackgroundSubtractorGMG.

simozz gravatar imagesimozz ( 2017-01-02 03:04:51 -0600 )edit
1

I might be completely wrong here, but as far as I scrolled through the mentioned paper, I do not see it do anything else than building an adaptive gaussian mixture model and updating it accordingly. This is exactly what the BackgroundSubtractorGMG does...

StevenPuttemans gravatar imageStevenPuttemans ( 2017-01-02 06:15:15 -0600 )edit
1

The papers for the algorithms used in OpenCV are

GMG: Andrew B Godbehere, Akihiro Matsukawa, and Ken Goldberg. Visual tracking of human visitors under variable-lighting conditions for a responsive audio art installation. In American Control Conference (ACC), 2012, pages 4305โ€“4312. IEEE, 2012.

MOG: Pakorn KaewTraKulPong and Richard Bowden. An improved adaptive background mixture model for real-time tracking with shadow detection. In Video-Based Surveillance Systems, pages 135โ€“144. Springer, 2002.

MOG2: Pakorn KaewTraKulPong and Richard Bowden. An improved adaptive background mixture model for real-time tracking with shadow detection. In Video-Based Surveillance Systems, pages 135โ€“144. Springer, 2002.

Tetragramm gravatar imageTetragramm ( 2017-01-02 13:31:47 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-12-30 15:40:55 -0600

Seen: 670 times

Last updated: Dec 30 '16