Method
VipsImagesimilarity
Declaration [src]
int
vips_similarity (
VipsImage* in,
VipsImage** out,
...
)
Description [src]
This operator calls vips_affine()
for you, calculating the matrix
for the affine transform from scale
and angle
. Other parameters are
passed on to vips_affine()
unaltered.
Optional arguments
scale
:gdouble
, scale by this factorangle
:gdouble
, rotate by this many degrees clockwiseinterpolate
:VipsInterpolate
, interpolate pixels with thisbackground
:VipsArrayDouble
colour for new pixelsidx
:gdouble
, input horizontal offsetidy
:gdouble
, input vertical offsetodx
:gdouble
, output horizontal offsetody
:gdouble
, output vertical offset
See also
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. ...
-
Type:
NULL
-terminated list of optional named arguments.