im_disp_ps(3) - Linux man page
Name
im_disp_ps - creates a displayable power spectrum of an one band imageSynopsis
#include <vips/vips.h>int im_disp_ps(in, out)
IMAGE *in, *out;
Description
The function finds the fourier transform of the input (if in is not complex) and then the amplitude power spectrum is created (im_c2ps(3)). The power spectrum is passed through a non-linear transformation (im_scaleps(3)). The final image has the four quadrants rotated in such a way that the coordinate (0,0) is near the centre of the image (im_rotquad(3)).
Input should be a square image with size power of 2. The maximum size of the input image is dictated by the available RAM.