2

如何使用 Emgu CV 实现背景减法?

4

3 回答 3

3

Yes this is quite possible take a look at the "MotionDetection" example provided with EMGU this should get you started.

Effectively the code that removes the foreground is effectively named "_forgroundDetector" it is the "_motionHistory" that presents stores what movement has occurred.

The example has everything you need if you have trouble running it let me know,

Cheer

Chris

See:Removing background from _capture.QueryFrame()

于 2011-09-27T18:38:28.243 回答
0

检查这个: http ://www.oliveragustin.com/background-subtraction-in-c

于 2009-12-19T08:05:51.813 回答
0

这个问题很老,但万一有人正在寻找一个简单的答案。

我遇到了同样的问题,但是在 EmguCV 3.1.0 上使用类命名BackgroundSubtractor链接到类)为我完成了工作。

希望它可以帮助某人

于 2017-04-14T11:22:42.773 回答