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

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > windows >内容正文

windows

【机器视觉】 dev_update_window算子

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

00. 目錄

文章目錄

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

01. 概述

dev_update_window - 在程序運行過程中開啟或關閉自動將圖形輸出對象輸出到圖形窗口。

02. 簽名

dev_update_window( : : DisplayMode : )

03. 描述

dev_update_window指定是否在活動圖形窗口中顯示由算子調用返回的所有圖標對象(DisplayMode =‘on’ - 默認)或不顯示(DisplayMode =‘off’)。

此選項對單步模式下的對象輸出沒有影響。 執行單個算子之后,圖標輸出對象始終顯示在活動圖形窗口中。

如果只在圖形窗口中顯示選定的對象,則應該將此選項設置為’off’。 在這種情況下,對象應該由dev_display顯示。

為了測量一系列算子的運行時間,應關閉所有更新選項,以減少HDevelop中GUI更新的運行時間的影響。 為此,可以使用算子dev_update_pc,dev_update_time,dev_update_var和dev_update_window或者函數dev_update_on和dev_update_off。

這個選項也可以通過Preferences對話框進行控制:Edit - > Preferences - > Runtime Settings - > Update Variables。

原文描述:

dev_update_window specifies whether all iconic objects that are returned by an operator call have to be displayed in the active graphics window (DisplayMode = ‘on’—default) or not (DisplayMode = ‘off’).

This option has no influence on the object output in single step mode. After the execution of a single operator the iconic output objects are always displayed in the active graphics window.

This option should be set to ‘off’, if only selected objects should to be displayed in the graphics window. In this case the objects should be displayed by dev_display.

For measuring the execution time of a sequence of operators all update options should be switched off in order to reduce the influence of the runtime of GUI updates in HDevelop. For this the operators dev_update_pc, dev_update_time, dev_update_var, and dev_update_window or the procedures dev_update_on and dev_update_off can be used.

This option can also be controlled via the Preferences dialog: Edit -> Preferences -> Runtime Settings -> Update Window.

04. 注意

此算子不支持代碼導出。

05. 參數

DisplayMode (input_control) string → (string)
Mode for graphic output.

Default value: ‘off’
List of values: ‘off’, ‘on’

06. 結果

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

HDevelop例程

find_pads.hdev Find pads on a die
display_operators.hdev Visualize results
dev_clear_window.hdev Clear a graphics window in HDevelop
clip.hdev Determine the position and orientation of clips
affine_transform_image.hdev Apply affine transformations to an image

07. 附錄

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

總結

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

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