Method

VipsImagerelational_const1

Declaration [src]

int
vips_relational_const1 (
  VipsImage* in,
  VipsImage** out,
  VipsOperationRelational relational,
  double c,
  ...
)

Description [src]

Perform various relational operations on an image and a constant. See vips_relational_const().

::: seealso vips_boolean(), vips_relational().

Parameters

out VipsImage
 

Output image.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
relational VipsOperationRelational
 

Relational operation to perform.

c double
 

Constant.

... none
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.