im_rotquad(3)

im_rotquad3

Rotates the four quadrants of an image

Usage

#include <vips/vips.h>

int im_rotquad(in, out)
IMAGE *in, *out;

Overview

im_rotquad rotates the four quadrants of the image held by the image descriptor in and writes the result on the image descriptor out.

The function is used primarily to rotate a fourier transform in such a way that the coordinate (0,0) is near the centre of the image, the so-called optical transform.

The function operates on any input; output has the same format, sizes and bands as input.

Return value

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

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

Author

N. Dessipris - 06/07/1990

From libvips-dev 7.20.7-1+b3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.