Method
VipsImagecompass
Declaration [src]
int
vips_compass (
VipsImage* in,
VipsImage** out,
VipsImage* mask,
...
)
Description [src]
Optional arguments:
times
: %gint, how many times to rotate and convolveangle
:VipsAngle45
, rotate mask by this much between colvolutionscombine
:VipsCombine
, combine results like thisprecision
:VipsPrecision
, precision for blur, default floatlayers
: %gint, number of layers for approximationcluster
: %gint, cluster lines closer than this distance
This convolves in
with mask
times
times, rotating mask
by angle
each time. By default, it comvolves twice, rotating by 90 degrees, taking
the maximum result.
See also: vips_conv().
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.