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.
::: tip “Optional arguments”
* scale: gdouble, scale by this factor
* angle: gdouble, rotate by this many degrees clockwise
* interpolate: VipsInterpolate, interpolate pixels with this
* background: VipsArrayDouble colour for new pixels
* idx: gdouble, input horizontal offset
* idy: gdouble, input vertical offset
* odx: gdouble, output horizontal offset
* ody: gdouble, output vertical offset
::: seealso
vips_affine(), VipsInterpolate.
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. | |
... |
none |
|