im_stretch3(3)

im_stretch33

Stretch horizontally by 3%, displace sub-pixel mask

Usage

#include <vips/vips.h>

int im_stretch3( in, out, xdisp, ydisp )
IMAGE *in, *out;
double xdisp, ydisp;

Overview

im_stretch3() stretches the input image by 3% horizontally, and displaces it by xdisp/ydisp. It uses bi-cubic interpolation, but runs quickly. It works only for unsigned short images.

This function is part of the MARC acquisition software, but is generally useful for squaring up the pixels in images from the Kontron ProgRes camera range.

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

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