Vips.Image.compass (original) (raw)

Method

VipsImagecompass

Declaration [src]


int
vips_compass (
  VipsImage* in,
  VipsImage** out,
  VipsImage* mask,
  ...
)

Description [src]

This convolves in with mask times times, rotating mask by angleeach time. By default, it comvolves twice, rotating by 90 degrees, taking the maximum result.

Optional arguments

This method is not directly available to language bindings.

Parameters

out

Type: VipsImage

Output image.

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.

mask

Type: VipsImage

Convolve with this mask.

The data is owned by the caller of the method.

...

Type: ``

NULL-terminated list of optional named arguments.

Return value

Type: int

0 on success, -1 on error.