cv2.connectedComponentsWithStats stats
时间: 2024-04-23 19:28:37 浏览: 141
cv2.connectedComponentsWithStats函数返回的stats参数是一个包含每个连通区域的外接矩形的x、y、width、height和面积的矩阵。每一行对应一个连通区域的外接矩形信息。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* [cv2.connectedComponentsWithStats()](https://blog.csdn.net/swift_life/article/details/129474017)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [python图像处理 — cv2.connectedComponentsWithStats](https://blog.csdn.net/weixin_44599604/article/details/111687531)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [cv2.connectedComponentsWithStats进行连通域检测的详细记录](https://blog.csdn.net/m0_56698268/article/details/124554719)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文