halcon算子翻译——reduce_domain

名称

reduce_domain - 缩小图像的域(ROI)。

用法

reduce_domain(Image, Region : ImageReduced : : )

描述

  算子reduce_domain将给定图像的定义域缩小到指定的区域。 新的定义域被计算为旧的定义域与Region的交集。 因此,新的定义域可以是该Region的一个子集。 矩阵(图像)的大小没有改变。

并行

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

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

参数

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


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


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

Possible Predecessors

get_domain

Alternatives

change_domain, rectangle1_domain, add_channels

See also

full_domain, get_domain, intersection

模块

Foundation

HDevelop例程

 

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