【机器视觉】 dev_set_paint算子
00. 目錄
文章目錄
- 00. 目錄
- 01. 概述
- 02. 簽名
- 03. 描述
- 04. 注意
- 05. 參數
- 06. 結果
- 07. 附錄
01. 概述
dev_set_paint - 定義灰度值輸出模式。
02. 簽名
dev_set_paint( : : Mode : )
03. 描述
dev_set_paint定義了用于在圖形窗口中顯示圖形對象的輸出模式。
有關所有可能選項的詳細說明,請參閱set_paint。 但是,與算子set_paint相反,該算子設置的顯示模式也作用于之后打開的所有新圖形窗口。
原文描述:
dev_set_paint defines the output mode that is used for displaying image objects in the graphics window.
For a detailed description of all possible options see set_paint. However, in contrast to that operator the display mode is also used for all new graphics windows that are opened afterwards.
04. 注意
使用HDevelop的代碼導出功能,為該算子生成的代碼可能與相關的HALCON算子具有不同的行為。 有關將HDevelop圖形算子導出為不同編程語言的代碼的詳細說明,請參閱“HDevelop User’s Guide”中的 Code Export -> General Aspects of Code Generation -> Graphics Windows一章。
05. 參數
Mode (input_control) string-array → (string / integer)
Grayvalue output name. Additional parameters possible.
Default value: ‘default’
Suggested values: ‘default’, ‘histogram’, ‘row’, ‘column’, ‘contourline’, ‘3d_plot’, ‘3d_plot_lines’, ‘3d_plot_hidden_lines’, ‘3d_plot_point’
HDevelop例程
display_operators.hdev Visualize results
depth_from_focus.hdev Extract depth using multiple focus levels
dem.hdev Extract high objects from a digital elevation model
程序示例
read_image(Image,'fabrik') dev_set_paint('3d_plot') dev_display(Image)06. 結果
如果指定參數的值正確,則dev_set_paint返回2(H_MSG_TRUE)。 否則會引發異常并返回錯誤代碼。
07. 附錄
7.1 機器視覺博客匯總
網址:https://dengjin.blog.csdn.net/article/details/116837497
總結
以上是生活随笔為你收集整理的【机器视觉】 dev_set_paint算子的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【机器视觉】 dev_set_lut算子
- 下一篇: 【机器视觉】 dev_set_part算