如何标记二值化图像?

发布于 2024-08-15 17:10:48 字数 115 浏览 5 评论 0 原文

请帮我分割二进制图像中的图像... 更清楚地, 我从背景减法中得到了一张图像,它是二进制的......意味着,对象区域是白色的,非对象对象是黑色的......现在的问题是如何标记该白色区域? 我使用 c#.net。

please help me to segment a image in binary image...
more clearly,
i got a image from background subtraction, which is binary...means, the object area is of white color and non object object is black..now problem is how to label that white area?
i m using c#.net.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

江南烟雨〆相思醉 2024-08-22 17:10:48

如果“标记白色区域”只是指创建一个带有标签的存储桶(例如“TheObject”)并将所有连接的白色像素添加到其中,那么最直接的方法就是所谓的“顺序算法"。

此处描述的两遍算法也很容易实现。

If by "label the white area" you just mean create a bucket with a label (e.g., "TheObject") and add all the connected white pixels to it, then the most straightforward way is the so-called "sequential algorithm".

The two-pass algorithm described here is also easy to implement.

反目相谮 2024-08-22 17:10:48

使用 python,您可以在以下位置找到所需的工具:
http://luispedro.org/software/mahotas

在java下使用ImageJ 与 Landini 的形态学插件

using python, you will find the tools you need at:
http://luispedro.org/software/mahotas

under java use ImageJ with Landini's morphological plugins

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文