BGSLibrary 和 Change Detection Workshop CDW-2014

本文介绍了BGS库及其包含的35种背景减除算法,并分享了使用过程中的两个注意事项。此外,还提到了CDW-2014网站上提供的评估工具,包括如何计算各种指标。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

这几天在准备这个workshop,做个简单记录。

1. bgslibrary

这个库目前包含了35个BGS算法。是个很好的起点。把其中有用的算法测完就要不少时间


1.1 吐槽1

enablePreProcessor is mandotary in FrameProcessor.xml !!! If set to 0, it won't pass (i.e. copy) the input image to each BGS module

from   void FrameProcessor::process(const cv::Mat &img_input):

preProcessor->process(img_input, img_prep);

ALL BGS functions acutally use img_prep as input image


1.2 吐槽2

enableShow in PreProcessor.xml just to open another window titled with "Pre Processor", but still display the original input image - no shadow detection is actually done!

2. CDW-2014

网站上有计算各种指标的工具。在UTILITIES下。提供了Matlab和Python的版本。

只需要给出原数据和结果数据的根目录即可:

python processFolder C:\dataset C:\results

2.1  吐槽1: 自带的Comparator不能用

这个其实不算吐槽。是我一开始在bgslibrary中保存结果时少算了第一帧图片,导致GT和RLTS图片数不一致,comparator.exe自然出错

用 long VideoCapture::frameNumber 作为保存文件名的vector的索引,而不是真正的帧序号。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值