min_image — 逐像素计算两个图像的最小值。
算子 min_image determines the minimum (pixel by
pixel) of the images Image1 and Image2. The
result is stored in the image ImageMin. The resulting
image has the same pixel type as the input image. If several (pairs
of) images are processed in one call, every i-th image from
Image1 is compared to the i-th image from
Image2. Thus the number of images in both input
parameters must be the same. An output image is generated for every
input pair.
min_image can be executed on an OpenCL device for byte, int1, int2,
uint2, int4, real, direction, and cyclic images.
Image1 (输入对象) (multichannel-)image(-array) → object (byte* / int1* / int2* / uint2* / int4* / int8 / real* / direction* / cyclic*) *允许用于计算设备
图像 1。
Image2 (输入对象) (multichannel-)image(-array) → object (byte* / int1* / int2* / uint2* / int4* / int8 / real* / direction* / cyclic*) *允许用于计算设备
图像 2。
ImageMin (输出对象) (multichannel-)image(-array) → object (byte / int1 / int2 / uint2 / int4 / int8 / real / direction / cyclic)
Result image(s) by the minimization.
如果参数值正确,算子 min_image 返回值 2 (H_MSG_TRUE)。当输入为空(无可用输入图像)时,可设置行为通过算子 set_system(::'no_object_result',<Result>:)。如有必要,则抛出异常。
基础