halcon算子翻译——change_domain

名称

change_domain - 更改图像的定义域(ROI)。

用法

change_domain(Image, NewDomain : ImageNew : : )

描述

  算子change_domain使用指定的区域作为新的定义域。 与算子reduce_domain不同,图像的定义域不是前一个定义域和新的定义域的交集,即矩阵的大小没有改变。 这尤其意味着该区域不能超过图像矩阵,否则在随后的操作中使用这种不一致的图标对象可能会导致错误或系统崩溃。

注意

由于运行时间的原因,传输的区域没有检查一致性(即,它是否适合图像矩阵)。 在后续操作中,不正确的区域会导致系统挂起。

并行

●  支持计算设备上的对象。

●  多线程类型:可重入(与非独占算子并行运行)。
●  多线程范围:全局(可以从任何线程调用)。
●  在元组级别自动并行化处理。

参数

Image (input_object)   (multichannel-)image(-array) → object (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
  输入图像。


NewDomain   (input_object) region → object
  新的定义域。


ImageNew (output_object)    image(-array) → object (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
  含有新的定义域的图像。

Possible Predecessors

get_domain

Alternatives

reduce_domain

See also

full_domain, get_domain, intersection

模块

Foundation

HDevelop例程

binocular_disparity_comparison.hdev   比较不同的方法来计算极线图像对的差异

原文地址:https://www.cnblogs.com/xhiong/p/change_domain.html