有没有人在OpenCV中使用MSER来检测区域? [英] Has anyone used MSER in OpenCV to detect regions?

查看:197
本文介绍了有没有人在OpenCV中使用MSER来检测区域?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

强健文本检测上讨论使用< a href =http://en.wikipedia.org/wiki/Maximally_stable_extremal_regions =nofollow> MSER (最大稳定的外部区域)来定位图像中的区域,因为它通常比通常更稳健到目前为止,我们一直在进行轮廓查找连通分量分析。

Going through this paper on Robust text detection which talks about using MSER (Maximally stable external regions) to locate regions in an image as it is typically more robust than the usual contour-finding connected component analysis we'd been doing so far.

MSER在文本检测论文的第2.1节中提到(如果你实际检查出来的话) :D)我无法弄清楚如何在OpenCV中应用/实现它。 文档没有任何示例,因此实际上有点难以实现得到任何代码运行。

The MSER is mentioned in section 2.1 of the text-detection paper (in case you actually checked it out :D) from where I can't figure out how to apply/implement this in OpenCV. The documentation doesn't have any examples so its a bit hard to actually get any code running.

有没有人尝试过这个?

实现的代码是那里然而有一些颜色转换和那些有点混乱的东西。有人可以帮我弄清楚在MSER中究竟做了什么以及如何将其用于OpenCV?在此先感谢。

The code from an implementation is there however there's some color conversions and stuff that's slightly confusing. Could someone help me figure out what exactly is done in MSER and how to put that in terms of OpenCV? Thanks in advance.

编辑:找到一个MATLAB实现这里

Found a MATLAB implementation here.

推荐答案

我坦率地推荐你发现的VLFeat MSER实现。我过去用过它效果很好。

I frankly recommend the VLFeat MSER implementation that you found. I've used it in the past to good effect.

请注意,VLFeat实现具有C / C ++,适用于具有C和Matlab API的核心数字。这允许您使用Matlab进行快速原型设计,然后轻松切换到C.

Note that VLFeat implementation has C/C++ for the core numerics with both a C and Matlab API. This allows you to do rapid prototyping with Matlab and later on switch to C easily.

为了试验特征检测/描述,我个人更喜欢将该库转换为OpenCV 。

For the purposes of experimenting with feature detection/description, I personally prefer that library to OpenCV.

这篇关于有没有人在OpenCV中使用MSER来检测区域?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆