简单的BLOB检测算法 [英] Simple BLOB detection algorithm

查看:125
本文介绍了简单的BLOB检测算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好.
我目前正在开发一种自动驾驶汽车,它将学习一条轨道并以最佳速度运行它.
我的问题是我需要使用摄像头来跟踪轨道并在其上引导车辆.轨道完全是白色的,中间有一条黑线作为参考.
相机是单色的,基本上返回一个128大小的数组,其中包含用于相机读取的值.

我需要一个可以检测到黑线的VB语言.这听起来很自私和懒惰,但是我在这个领域有0个经验,而且我的时间已经用完了.

请说明我该如何处理.欢迎任何准则或示例代码.

Hello.
I am currently developing a autonomous vehicle that will learn a track and run it at an optimised speed.
My issue is that I need to use a camera to follow the track and guide the vehicle on it. The track is completely white and has a black line in the middle as a reference.
The camera is monochromatic and basically returns a 128 sized array with values for the camera''s reads.

I would require a VB alogrithm that would detect that black line. This may sound selfish and lazy but I have 0 experience in this area and I am running out of time.

Please explain how I should approach this. Any guidelines or sample codes are welcome.

推荐答案

听起来像您承担了一个超出您能力的项目.我在有关图像处理的系列中(这里是Code Project)写了一些有关边缘检测的文章.他们可能会有所帮助.

使用C#和GDI +的傻瓜图像处理第3部分-边缘检测过滤器 [ ^ ]

Sounds like you took on a project that was beyond your means. I wrote some articles on edge detection in my series on image processing, here on Code Project. They may help.

Image Processing for Dummies with C# and GDI+ Part 3 - Edge Detection Filters[^]


首先要看的是AForge.NET,请参阅:

http://en.wikipedia.org/wiki/AForge.NET [ http ://www.aforgenet.com/ [ ^ ].

特别是,请参阅以下文章: http://www.aforgenet.com/articles/shape_checker/ [ ^ ].

另请参阅AForge.NET作者,CodeProject成员Andrew Kirillov的文章: http://www.codeproject.com/Members /Andrew-Kirillov [ ^ ].另一个要查看的CodeProject成员是Chesnokov Yuriy, http://www.codeproject.com/Members/Chesnokov-Yuriy [< ^ ].

(可选)查看以下库:

OpenCV, http://en.wikipedia.org/wiki/OpenCV [ http://opencv.willowgarage.com/wiki/ [ ^ ] ,

VXL, http://en.wikipedia.org/wiki/VXL [ http://vxl .sourceforge.net/ [ ^ ].

—SA
First to look at is AForge.NET, please see:

http://en.wikipedia.org/wiki/AForge.NET[^], http://www.aforgenet.com/[^].

In particular, please see this article: http://www.aforgenet.com/articles/shape_checker/[^].

See also the articles by the author of AForge.NET, CodeProject member Andrew Kirillov: http://www.codeproject.com/Members/Andrew-Kirillov[^]. Another CodeProject member to look at is Chesnokov Yuriy, http://www.codeproject.com/Members/Chesnokov-Yuriy[^].

Optionally, look at the following libraries:

OpenCV, http://en.wikipedia.org/wiki/OpenCV[^], http://opencv.willowgarage.com/wiki/[^],

VXL, http://en.wikipedia.org/wiki/VXL[^], http://vxl.sourceforge.net/[^].

—SA


这篇关于简单的BLOB检测算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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