---
name: "im_flt_imag_freq"
section: "3"
platform: "linux"
package: "libvips-dev"
version: "7.20.7-1+b3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/im_flt_imag_freq"
---

# im\_flt\_imag\_freq(3)

filter a square image in the frequency domain

## NAME

im\_flt\_imag\_freq - filter a square image in the frequency domain

## SYNOPSIS

\#include \<vips/vips.h\>

int \
 im\_flt\_imag\_freq( IMAGE \*in,  IMAGE \*out, int flag, double p1, ... )

## DESCRIPTION

im\_flt\_imag\_freq() filters an image in the frequency domain using a mask dictated by the flag and the parameters p1, ...  The mask is created by using the function [im\_create\_fmask(3)](/im_create_fmask/3.md).  After creating the mask the program filters the input image using the function [im\_freqflt(3)](/im_freqflt/3.md).

For details about the arguments refer to the function [im\_create\_fmask(3)](/im_create_fmask/3.md).

## RETURN VALUE

The function returns 0 on success and -1 on error.

## SEE ALSO

[im\_freqflt(3)](/im_freqflt/3.md).

## COPYRIGHT

N. Dessipris

## AUTHOR

N. Dessipris - 10/08/1991
