如何计算C#中的对象? [英] How to count objects in C#?

查看:80
本文介绍了如何计算C#中的对象?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我只想知道,如何计算二进制图像包含的对象数?
我需要向应用程序中添加此功能.我的应用程序在执行时会加载图像.我想添加菜单项.当用户选择此菜单项时,程序应报告二进制图像中存在的对象数.
请让我知道,应该使用哪种功能或应该编写哪种方法.

谢谢.

Hi,
I just want to know , how to count number of objects that a binary image contains?
I need to add this functionality to an application.My application loads an image when executed.I jus want to add a menu item.When user selects this menu item, the program should report the number of objects present in a binary image.
Please let me know, which functionality I should use or which method I should write.

Thank you.

推荐答案

Google是您的朋友:很好,经常拜访他.与在这里发布问题相比,他可以更快地回答问题.

您所要求的并不简单,一点也不简单.实际上,仍有大量资金在运作中的项目正在研究之中.

Google可以提供帮助:它将带您获得一些研究结果,您需要对它们进行解释和实施.不过,不要指望它会很容易-有很多工作在等待着您,而失败却很多:
Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...

What you ask for is not simple, not simple at all. In fact there are very highly funded projects still running that are looking into it.

Google can help: it will get you to some of the research results, which you will have to interpret and possibly implement. Do not expect it to be an easy ride though - there is a lot of work, and a lot of failure waiting for you:
Google[^]


此处的关键字是斑点检测 [ ^ ].

也许 EmguCV [
The keyword here is Blob Detection[^].

Maybe EmguCV[^] or other image processing libraries can help you with this.


这篇关于如何计算C#中的对象?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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