Constructor
VipsImagemask_butterworth
Declaration [src]
int
vips_mask_butterworth (
VipsImage** out,
int width,
int height,
double order,
double frequency_cutoff,
double amplitude_cutoff,
...
)
Description [src]
Make an butterworth high- or low-pass filter, that is, one with a variable,
smooth transition
positioned at frequency_cutoff, where frequency_cutoff is in
range 0 - 1.
The shape of the curve is controlled by
order — higher values give a sharper transition. See Gonzalez and Wintz,
Digital Image Processing, 1987.
Optional arguments
nodc:gboolean, don’t set the DC pixelreject:gboolean, invert the filter senseoptical:gboolean, coordinates in optical spaceuchar:gboolean, output a uchar image
See also
This constructor is not directly available to language bindings.
Parameters
out-
Type:
VipsImageOutput image.
The argument will be set by the function. The caller of the function takes ownership of the returned data, and is responsible for freeing it. width-
Type:
intImage size.
height-
Type:
intImage size.
order-
Type:
doubleFilter order.
frequency_cutoff-
Type:
doubleFrequency threshold.
amplitude_cutoff-
Type:
doubleAmplitude threshold.
...-
Type:
NULL-terminated list of optional named arguments.