简体   繁体   English

如何使用连接的组件标签?

[英]How to use connected component labeling?

I am using OpenCV 3.2 Android Java and I need to use Imgproc.connectedcomponent method which is implemented in this version of OpenCV, but the problem is I am not finding the way to get the labels of the labeled image returned. 我正在使用OpenCV 3.2 Android Java,并且需要使用在此版本的OpenCV中实现的Imgproc.connectedcomponent方法,但是问题是我没有找到获取返回标签图像标签的方法。 Does anyone know how to do that? 有谁知道这是怎么做到的吗?

I found this opencv 3.1 documentation with function descriptions. 我找到了带有功能说明的opencv 3.1文档 It should be similiar the the 3.3 version. 它应该与3.3版本相似。 In addition you can find an example how to use the connectedComponents (its in C++). 另外,您可以找到一个示例如何使用connectedComponents (在C ++中)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Java中的连接组件标签 - Connected Component Labeling in Java 如何在连接的组件标签中合并标签 - How do I merge the labels in connected component labeling 是否可以通过标记从 Vaadin 的布局中获取组件? - Is it possible to get a component from layout in Vaadin by labeling it? 在Firebase图像标签中如何将TFLite模型与uint8的输入和输出数据类型一起使用 - How to use TFLite model with input and output datatype of uint8 in Firebase image labeling 如何在多个活动中使用连接线程 - How to use Connected Thread in multiple activites Java中的连接组件标签 - Connected Component Labelling in Java 网络中最大的连接组件 - Biggest connected component in network 在使用多线程的同时如何将接收到的数据从连接的客户端分发到其他连接的客户端? - How to distribute received data from a connected client to other connected clients while making use of mulithreading? 连接其他用途后,如何在RDP中启动soapui? - How start soapui in RDP when another use is connected? 如何在Inteliij IDEA中使用通过“数据库”实用程序连接的数据库? - How to use database connected by 'Database' utility in Inteliij IDEA?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM