intvips_boolean(VipsImage*left,VipsImage*right,VipsImage**out,VipsOperationBooleanboolean,...)
Perform various boolean operations on pairs of images.
The output image is the same format as the upcast input images for integertypes. Float types are cast to int before processing. Complex types are not supported.
If the images differ in size, the smaller image is enlarged to match thelarger by adding zero pixels along the bottom and right.
If the number of bands differs, one of the imagesmust have one band. In this case, an n-band image is formed from theone-band image by joining n copies of the one-band image together, and thenthe two n-band images are operated upon.
The two input images are cast up to the smallest common format (see tableSmallest common format inarithmetic).
See also
This method is not directly available to language bindings.
right
Type: VipsImage
Right-hand inputVipsImage
.
The data is owned by the caller of the method. |
out
Type: VipsImage
OutputVipsImage
.
The argument will be set by the function. |
The caller of the method takes ownership of the returned data, and is responsible for freeing it. |
boolean
Type: VipsOperationBoolean
Boolean operation to perform.
...
Type:
NULL
-terminated list of optional named arguments.