ClassesClassesClassesClasses | | | | Operators

min_imagemin_imageMinImagemin_imageMinImageMinImage (Operator)


min_imagemin_imageMinImagemin_imageMinImageMinImage — Calculate the minimum of two images pixel by pixel.


min_image(Image1, Image2 : ImageMin : : )

Herror min_image(const Hobject Image1, const Hobject Image2, Hobject* ImageMin)

Herror T_min_image(const Hobject Image1, const Hobject Image2, Hobject* ImageMin)

Herror min_image(Hobject Image1, Hobject Image2, Hobject* ImageMin)

HImage HImage::MinImage(const HImage& Image2) const

HImageArray HImageArray::MinImage(const HImageArray& Image2) const

void MinImage(const HObject& Image1, const HObject& Image2, HObject* ImageMin)

HImage HImage::MinImage(const HImage& Image2) const

void HOperatorSetX.MinImage(
[in] IHUntypedObjectX* Image1, [in] IHUntypedObjectX* Image2, [out] IHUntypedObjectX*ImageMin)

IHImageX* HImageX.MinImage([in] IHImageX* Image2)

static void HOperatorSet.MinImage(HObject image1, HObject image2, out HObject imageMin)

HImage HImage.MinImage(HImage image2)


The operator min_imagemin_imageMinImagemin_imageMinImageMinImage determines the minimum (pixel by pixel) of the images Image1Image1Image1Image1Image1image1 and Image2Image2Image2Image2Image2image2. The result is stored in the image ImageMinImageMinImageMinImageMinImageMinimageMin. 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 Image1Image1Image1Image1Image1image1 is compared to the i-th image from Image2Image2Image2Image2Image2image2. Thus the number of images in both input parameters must be the same. An output image is generated for every input pair.

min_imagemin_imageMinImagemin_imageMinImageMinImage can be executed on an OpenCL device for byte, int1, int2, uint2, int4, real, direction, and cyclic images.



Image1Image1Image1Image1Image1image1 (input_object)  (multichannel-)image(-array) objectHImageHImageHImageHImageXHobject (byte* / int1* / int2* / uint2* / int4* / int8 / real* / direction* / cyclic*) *allowed for compute devices

Image(s) 1.

Image2Image2Image2Image2Image2image2 (input_object)  (multichannel-)image(-array) objectHImageHImageHImageHImageXHobject (byte* / int1* / int2* / uint2* / int4* / int8 / real* / direction* / cyclic*) *allowed for compute devices

Image(s) 2.

ImageMinImageMinImageMinImageMinImageMinimageMin (output_object)  (multichannel-)image(-array) objectHImageHImageHImageHImageXHobject * (byte / int1 / int2 / uint2 / int4 / int8 / real / direction / cyclic)

Result image(s) by the minimization.


If the parameter values are correct the operator min_imagemin_imageMinImagemin_imageMinImageMinImage returns the value 2 (H_MSG_TRUE). The behavior in case of empty input (no input images available) is set via the operator set_system(::'no_object_result',<Result>:)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>) If necessary an exception is raised.



See also




ClassesClassesClassesClasses | | | | Operators