Method

VipsImagegaussblur

Declaration [src]

int
vips_gaussblur (
  VipsImage* in,
  VipsImage** out,
  double sigma,
  ...
)

Description [src]

Optional arguments:

  • precision: VipsPrecision, precision for blur, default int
  • min_ampl: minimum amplitude, default 0.2

This operator runs vips_gaussmat() and vips_convsep() for you on an image. Set min_ampl smaller to generate a larger, more accurate mask. Set sigma larger to make the blur more blurry.

See also: vips_gaussmat(), vips_convsep().

This method is not directly available to language bindings.

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.
sigma double
 

How large a mask to use.

...
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.