二十多种视频前景提取的算法

   这篇文章是我从自己的QQ(632846506)日志中移过来的。
https://user.qzone.qq.com/632846506/infocenter。

这里仅提供名称及相关论文名,需要的请自行搜查并下载。

Basic methods, mean and variance overtime:
(StaticFrameDifferenceBGS) Static FrameDifference
(FrameDifferenceBGS) FrameDifference
(WeightedMovingMeanBGS) WeightedMoving Mean
(WeightedMovingVarianceBGS) WeightedMoving Variance
(AdaptiveBackgroundLearning) AdaptiveBackground Learning
1 (DPMeanBGS) Temporal Mean
1 (DPAdaptiveMedianBGS) AdaptiveMedian of McFarlaneand Schofield (1995) paper link
1 (DPPratiMediodBGS) TemporalMedian of Cucchiaraet al (2003) and Calderara et al (2006) paper link1 paperlink2 paper link3
Fuzzy based methods:
2 (FuzzySugenoIntegral) Fuzzy SugenoIntegral (with Adaptive-SelectiveUpdate) of Hongxun Zhang and De Xu (2006) paper link
2 (FuzzyChoquetIntegral) Fuzzy ChoquetIntegral (withAdaptive-Selective Update) of Baf et al (2008) paper link
3 (LBFuzzyGaussian) FuzzyGaussian of Sigari etal (2008) paper link
Statistical methods using one gaussian:
1 (DPWrenGABGS) GaussianAverage of Wren(1997) paper link
3 (LBSimpleGaussian) SimpleGaussian of Benezethet al (2008) paper link
Statistical methods using multiplegaussians:
1 (DPGrimsonGMMBGS) GaussianMixture Model of Staufferand Grimson (1999) paper link
0 (MixtureOfGaussianV1BGS) GaussianMixture Model ofKadewTraKuPong and Bowden (2001)paper link
0 (MixtureOfGaussianV2BGS) GaussianMixture Model of Zivkovic(2004) paper link1 paper link2
1 (DPZivkovicAGMMBGS) GaussianMixture Model of Zivkovic(2004) paper link1 paper link2
3 (LBMixtureOfGaussians) GaussianMixture Model of Baf et al(2008) paper link
Type-2 Fuzzy based methods:
2 (T2FGMM_UM) Type-2 FuzzyGMM-UM of Baf et al(2008) paper link
2 (T2FGMM_UV) Type-2 FuzzyGMM-UV of Baf et al(2008) paper link
2 (T2FMRF_UM) Type-2 FuzzyGMM-UM with MRF of Zhao et al(2012) paper link1 paper link2
2 (T2FMRF_UV) Type-2 FuzzyGMM-UV with MRF of Zhao et al(2012) paper link1 paper link2
Statistical methods using color andtexture features:
1 (DPTextureBGS) Texture BGS of Heikkila et al.(2006) paper link
4 (MultiLayerBGS) Multi-LayerBGS of Jian Yaoand Jean-Marc Odobez (2007) paper link
Non-parametric methods:
5 (PixelBasedAdaptiveSegmenter) Pixel-BasedAdaptive Segmenter (PBAS) of Hofmann etal (2012) paperlink
0 (GMG) GMG of Godbehere et al(2012) paper link
6 (VuMeter) VuMeter of Goyat et al (2006) paper link
7 (KDE) KDE of Elgammal et al (2000) paper link
Methods based on eigen features:
1 (DPEigenbackgroundBGS) Eigenbackground/ SL-PCA of Oliver etal (2000) paper link
Neural and neuro-fuzzy methods:
3 (LBAdaptiveSOM) Adaptive SOM of Maddalena andPetrosino (2008) paper link
3 (LBFuzzyAdaptiveSOM) FuzzyAdaptive SOM of Maddalenaand Petrosino (2010) paper link
  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
视频运动前景目标提取算法是一种常见的计算机视觉技术,它可以从视频序列中提取出运动目标的轮廓或者运动前景。常见的实现方法包括基于背景建模、光流法和深度学习等多种技术。 这里以基于背景建模的算法为例,介绍如何使用Python实现视频运动前景目标提取算法。 1. 导入必要的库和模块 ```python import cv2 import numpy as np ``` 2. 读入视频序列并预处理 ```python cap = cv2.VideoCapture('video.mp4') fgbg = cv2.createBackgroundSubtractorMOG2() ``` 3. 循环读取视频帧,并进行前景目标提取 ```python while(1): ret, frame = cap.read() if not ret: break fgmask = fgbg.apply(frame) fgmask = cv2.morphologyEx(fgmask, cv2.MORPH_OPEN, kernel) fgmask = cv2.morphologyEx(fgmask, cv2.MORPH_CLOSE, kernel) contours, hierarchy = cv2.findContours(fgmask, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE) for c in contours: if cv2.contourArea(c) < 1000: continue (x, y, w, h) = cv2.boundingRect(c) cv2.rectangle(frame, (x, y), (x + w, y + h), (0, 255, 0), 2) cv2.imshow('frame', frame) cv2.imshow('fgmask', fgmask) k = cv2.waitKey(30) & 0xff if k == 27: break ``` 4. 释放资源 ```python cap.release() cv2.destroyAllWindows() ``` 在以上代码中,我们使用了`cv2.createBackgroundSubtractorMOG2()`函数创建了一个背景建模器,并使用`apply()`函数对每一帧图像进行背景建模,得到前景掩膜。 接着,我们对前景掩膜进行形态学处理,包括开运算和闭运算等操作,以去除噪声。 然后,使用`cv2.findContours()`函数对前景掩膜进行轮廓检测,得到所有的运动目标轮廓。如果轮廓的面积小于一定阈值,则将其过滤掉。最后,使用`cv2.rectangle()`函数将运动目标的外接矩形框出,并在原始视频帧上显示出来。 以上就是一个简单的基于背景建模的视频运动前景目标提取算法的Python实现方法。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值