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

歡迎訪問 生活随笔!

生活随笔

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

windows

【机器视觉】 dev_close_window算子

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

00. 目錄

文章目錄

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

01. 概述

dev_close_window - 關閉活動圖形窗口。

02. 簽名

dev_close_window( : : : )

03. 描述

dev_close_window關閉由dev_open_window(一個合適的菜單條目a suitable menu entry)打開的活動圖形窗口,或者關閉程序啟動或加載新程序后自動由HDevelop創建的窗口(默認窗口)。

算子相當于在活動窗口的標題欄中按關閉按鈕或從可視化菜單中選擇適當的菜單項關閉。

圖形窗口可以通過調用dev_set_window或通過按下所選圖形窗口的工具欄中的激活按鈕來激活。

原文描述

dev_close_window closes the active graphics window which has been opened by dev_open_window, a suitable menu entry, or automatically by HDevelop itself at program start or after loading a new program (default window).

The operator is equivalent to pressing the Close button in the title bar of the active window or selecting the appropriate menu entry from the visualization menu.

A graphics window can be activated by calling dev_set_window or by pressing the Activate button in the tool bar of the selected graphics window.

04. 注意

使用HDevelop的代碼導出功能,為該算子生成的代碼可能與相關的HALCON算子具有不同的行為。 有關將HDevelop圖形算子導出為不同編程語言的代碼的詳細說明,請參閱“HDevelop User’s Guide” 中的Code Export -> General Aspects of Code Generation -> Graphics Windows一章。

05. 參數

06. 結果

dev_close_window總是返回2(H_MSG_TRUE)。

HDevelop例程

measure_screw.hdev Measure several features of a screw
find_pads.hdev Find pads on a die
display_operators.hdev Visualize results
dev_open_window.hdev Open graphics windows in HDevelop
dev_close_window.hdev Close graphics windows in HDevelop
clip_contours_xld.hdev Clip an XLD contour
advanced_visualization_settings.hdev Improve the visualization with transparency, anti-aliasing, and more

程序示例

* close all windows for i := 1 to 10 by 1dev_close_window () endfor read_image (For5, 'for5') get_image_size (For5, Width, Height) dev_open_window (0, 0, Width, Height, 'black', WindowHandle) dev_display (For5)

07. 附錄

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

總結

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

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