blob 和连接的组件之间有什么区别吗?
在处理图像处理和计算机视觉时,这两个术语经常出现并且有时可以互换 - Blob 检测 和 连接组件标签。
我发现的主要区别是,处理视频抓取的人更多地谈论斑点,而且这涉及比周围环境更亮/更暗的特征。连接组件 (CC) 处理共享相同颜色的区域。
然而,从编码和实现的角度来看,它们可以互换使用吗?比如 cvFindContours() 可以用于检测“CC”和“blob”,本质上意味着相同的事情?或者就此而言,Blob 库可用于 CC 分析以及 Blob 检测。
When dealing with image processing and computer vision these two terms come up perennially and at times interchangeably - Blob detection and Connected Component labeling.
The main difference I found was that people dealing with video grabs talk more about blobs, also that this deals with features that are considerably lighter/darker than their surroundings. Connected components (CC) deal with areas that share the same color.
However from a coding and implementation point of view can these be used interchangeably - like cvFindContours()
be used for detecting "CCs" and "blobs", meaning the same thing essentially? Or for that matter the Blobs library be used for CC analysis as well as blob detection.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
据我了解,术语“连接组件标签”指“斑点检测”过程中的最后一步,通过该步骤识别二值图像(例如阈值背景差异图像)中的每个独立的连接像素组。
相反,术语“斑点检测”可以使用与“连接组件标签”含义相同或参考 生成二值图像和执行连通分量标记的两步过程
生成的连通像素组仍然可以互换地称为“斑点”或“连通分量”。
还值得一提的是“连通分量标记”。具有图论方面更一般的含义,其中“连通分量”是组存在连接该组的任意两个成员的路径的节点。因此,二值图像中连接的像素组对应于这种更广泛定义的特殊情况,其中像素可以被视为具有到其 4 或 8 像素邻域中共享相同值的那些像素的弧的节点。希望这有帮助!
As I understand it the term “connected component labelling” refers to the final step in the process of "blob detection”, whereby each separate group of connected pixels in a binary image (for example a thresholded background difference image) is identified.
In contrast, the term “blob detection” can either be used to mean the same thing as “connected component labelling” or to refer to the two step procedure of generating a binary image AND performing connected component labelling.
The resulting connected groups of pixels can nonetheless be called “blobs" or "connected components” interchangeably.
It is also worth mentioning that "connected components labelling” has a more general meaning in terms of graph theory where “connected components” are groups of nodes where there exists a path joining any two members of that group. Connected groups of pixels in a binary image thus correspond to a special case of this broader definition, where pixels can be regarded as nodes with arcs to those pixels in their 4- or 8- pixel neighbourhood that share the same value. Hope this helps!
这张图片是关于 2 个不同的连接组件
4 个连通分量有北、东、西、南邻居。但是,8 个连通分量拥有所有这些,即 N,NE,E,ES,S,SW,W,WN)。但是,BLOB 只是一组以任意方式连接的像素,中间没有任何中断......
This image is about 2 different connected components
A 4 connected component has north,east,west,south neighbors. but, 8 connected component has all of it ie, N,NE,E,ES,S,SW,W,WN). but, A BLOB is just a set of pixels connected either of the way without any break in the middle....