日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

【机器视觉】 convert_vector_to_tuple算子

發布時間:2024/4/24 编程问答 24 豆豆
生活随笔 收集整理的這篇文章主要介紹了 【机器视觉】 convert_vector_to_tuple算子 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

00. 目錄

文章目錄

    • 00. 目錄
    • 01. 概述
    • 02. 簽名
    • 03. 描述
    • 04. 注意
    • 05. 參數
    • 06. 結果
    • 07. 附錄

01. 概述

convert_vector_to_tuple - 將容器的元素連接到單個元組。

02. 簽名

convert_vector_to_tuple( : : InputVector : ResultTuple)

03. 描述

convert_vector_to_tuple將一個容器轉換成一個元組。 輸入容器InputVector的元素被連接并存儲在輸出元組ResultTuple中。 如果InputVector具有2或更大的維度,則其元素將在深度優先搜索中收集。 例如,輸入容器{{{1},{2}},{{3},{4}}}'將被轉換為結果元組[1,2,3,4]。

原文描述

convert_vector_to_tuple transforms a vector into a tuple. The elements of the input vector InputVector get concatenated and stored in the output tuple ResultTuple. If InputVector has a dimension of 2 or greater its elements are collected in a depth-first search. E.g., the input vector ‘{{{1},{2}},{{3},{4}}}’ will be turned into the result tuple [1,2,3,4].

04. 注意

05. 參數

InputVector (input_control)   number-vector → (real / integer / string)
輸入容器

ResultTuple (output_control) real(-array) → (real / integer / string)
輸出元組

06. 結果

如果指定參數的值正確,則convert_vector_to_tuple返回2(H_MSG_TRUE)。 否則會引發異常并返回錯誤代碼。

HDevelop例程
vector_variables.hdev Use vector variables
pipeline_multiple_threads_per_stage.hdev Show how to implement a pipeline with multiple threads per stage
message_queue_producer_consumer.hdev Use a message queue to exchange data between threads running in parallel (producer consumer)

程序示例

07. 附錄

7.1 機器視覺博客匯總
網址:https://dengjin.blog.csdn.net/article/details/116837497

總結

以上是生活随笔為你收集整理的【机器视觉】 convert_vector_to_tuple算子的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。