HALCON - SetWindowParam

Signature

static void HOperatorSet.SetWindowParam(HTuple windowHandle, HTuple param, HTuple value)

void HWindow.SetWindowParam(string param, HTuple value)

void HWindow.SetWindowParam(string param, string value)

Description

The operator SetWindowParam allows to set different parameters of an open window.

General window parameters:

  • 'flush'(true/false)

在显示每一个对象之后是否刷新窗口。如果该值设置为false,必须调用FlushBuffer函数刷新窗口。如果需要与窗口进行交互(缩放与拖拽),则必须色设置该值为true

  • 'region_quality'(good/low)

影响区域对象的渲染质量。该值设置为good,区域对象显示更精确且友好;该值设置为low,区域对象显示有些不精确但速度快。如果区域的标间模式设置为margin,则部分边缘可能无法正常显示。

  • 'background_color'(black)

设置窗口的背景色,ClearWindow函数使用该颜色清除窗口内容

  • 'window_title'

允许修改窗口的标题,最高1023个字符

  • 'anti_aliasing'(true/false)

是否开启窗口显示区域与轮廓的反欠采样噪声功能

  • 'graphics_stack'(true/false

开启或关闭窗口的图形堆栈功能。在激活图形堆栈的窗口中调用SetPart改变窗口的显示区域将使用新的显示区域显示原先显示的对象。开启该功能能够实现窗口内容的移动与缩放。该参数对HDevelop 图形窗口无效

  • 'graphics_stack_max_element_num'(positive/number(50)/unlimited

Maximum number of elements in the graphics stack. This number corresponds to the number of display operations recorded. This parameter has no effect on the graphics stack of a HDevelop graphics window and is effective not before the next call to a display operator.

  • 'graphics_stack_max_memory_size'

Limits the memory consumption of the graphics stack. If this limit is exceeded, older display operations are removed from the graphics stack. This parameter has no effect on the graphics stack of a HDevelop graphics window and is effective not before the next call to a display operator.

possible values: memory limit in bytes or 'unlimited'

default value: 'unlimited'

Parameters concerning the "3d_plot" (see SetPaint):

  • 'angle_of_view'

Set the angle of view of the virtual camera used to display the 3D plot. The angle must be provided in radians and lie within the interval [0,PI). An angle of 0 radians implies orthogonal projection. Another way to choose orthogonal projection is to set "angle_of_view" to "orthogonal".

possible values: 'orthogonal' or an angle in radians

default value: 1.22173 (70 degrees)

  • 'axis_captions'

The axis captions for row, column, and height can be set by passing a tuple containing the strings for the captions in the specified order row, column, and height axis (e.g. ['row','col','height']). Pass empty strings to display no captions at all.

possible values: A tuple containing three strings. Each string can contain up to 31 characters.

default value: [' ',' ',' ']

  • 'caption_color'

The color of the axis captions for row, column, and height. You can either pass one color for all three axes or a tuple of three colors to set individual colors for each axis.

possible values: a string or tuple with three strings containing the color name (e.g. 'black', 'red')

default value: 'black'

  • 'plot_quality'

Influences the quality of the 3D plot. Depending on the capabilities of your graphics card better settings for the quality may reduce the frame rate of the 3D plot significantly.

possible values: 'low', 'medium', 'good', 'best'

default value: 'medium'

  • 'scale_plot'(true/false)

If set to 'true' the height values of an image are transformed into the interval [0,255] before display. If set to 'false' the aspect ratio between row/column and height is considered. Images of the type byte, cyclic, or direction are not scaled, i.e. in their cases this parameter is ignored.

  • 'display_grid'(true/false)

If set to 'true' a grid is displayed at height 0.

  • 'display_axes'(true/false)

是否显示坐标轴

### 回答1: Halcon-18.11是一个功能强大的机器视觉软件,其具有广泛的应用领域。您可以通过以下步骤下载Halcon-18.11: 1. 首先,打开您的浏览器并访问Halcon官方网站。 2. 在官方网站的主页上,找到产品下载的页面。 3. 点击产品下载页面上的Halcon-18.11版本。 4. 在下载页面上,您可能需要创建一个免费的账户以获得软件的许可证和下载权限。 5. 创建完账户后,选择适用于您的操作系统的Halcon-18.11版本下载。 6. 点击下载按钮,等待软件的压缩包下载完成。 7. 下载完成后,解压缩压缩包,并按照安装向导的指示进行安装。 8. 在安装过程中,您可能需要提供一些基本信息,如服务器地址和许可证密钥。 9. 完成安装后,您可以启动Halcon-18.11并开始使用它了。 请注意,Halcon-18.11软件是商业软件,可能需要购买许可证才能合法使用。在下载和安装过程中,请遵守官方网站的规定,并确保您是合法的软件用户。尽管Halcon-18.11是一个功能强大的软件,但在使用过程中可能会出现一些问题和困难。您可以参考官方网站上的文档和社区论坛,以获取关于Halcon-18.11的更多信息和帮助。 ### 回答2: Halcon-18.11是一款基于计算机视觉和图像处理的软件工具包。它是由MVTec公司开发的,用于工业自动化和机器视觉应用的高级软件工具包。 要下载Halcon-18.11,您可以执行以下步骤: 1. 首先,打开您常用的网络浏览器(如Google Chrome、Mozilla Firefox等)。 2. 输入“Halcon-18.11下载”或类似的关键词进行搜索。 3. 在搜索结果中,您可能会看到多个网站提供Halcon-18.11的下载。请注意选择可信赖和官方的下载来源,以确保软件的可靠性和安全性。 4. 进入您选择的下载页面后,您可能需要在网站上进行注册或登录。 5. 在注册或登录成功后,请按照页面上的指示,找到Halcon-18.11的下载链接。 6. 点击下载链接,您将可能被要求选择下载的版本(如Windows、Linux等)和相应的体系结构(如32位或64位)。 7. 选择适合您的操作系统和计算机架构的版本后,点击下载按钮。 8. 等待下载完成后,您可以找到下载的安装文件(通常以.exe或类似的扩展名)。 9. 双击运行安装文件,按照安装向导的指示逐步进行安装。 10. 安装完成后,您可以在计算机上找到Halcon-18.11的图标。双击该图标即可启动软件。 请注意,上述过程可能会因下载来源、计算机设置和网络条件而有所不同。在下载和安装过程中,请注意保护您的计算机免受恶意软件和病毒的侵害,确保从可靠和官方的来源获取Halcon-18.11。 ### 回答3: Halcon-18.11是由MVTec Software GmbH开发的一款图像处理软件。要下载Halcon-18.11,可以按照以下步骤进行操作: 首先,打开MVTec Software官方网站(www.mvtec.com)。 其次,在网站的导航栏中找到“Products(产品)”选项,并点击进入。 第三,在产品页面上,找到Halcon-18.11版本,并点击进入相关页面。 第四,查看Halcon-18.11的详细信息和系统要求,确保你的计算机满足安装要求。如果符合要求,继续进行。 第五,寻找并点击“下载”或类似的按钮,以开始下载Halcon-18.11软件。 第六,根据操作系统的要求选择相应的版本(32位或64位),并点击下载链接。 第七,等待下载完成。下载速度取决于你的网络连接速度。 最后,一旦下载完成,双击安装文件,按照安装向导的指示完成Halcon-18.11的安装过程。 请注意,以上步骤大致说明了如何下载Halcon-18.11软件,但具体细节可能因为MVTec Software官方网站的更新而有所改变。因此,建议在下载之前查阅官方网站上的相关文档或联系该公司的客户支持以获取准确的下载指南。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

zhy29563

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值