1IM_STRETCH3(3) Library Functions Manual IM_STRETCH3(3)
2
3
4
6 im_stretch3 - stretch horizontally by 3%, displace sub-pixel mask
7
9 #include <vips/vips.h>
10
11 int im_stretch3( in, out, xdisp, ydisp )
12 IMAGE *in, *out;
13 double xdisp, ydisp;
14
15
17 im_stretch3() stretches the input image by 3% horizontally, and dis‐
18 places it by xdisp/ydisp. It uses bi-cubic interpolation, but runs
19 quickly. It works only for unsigned short images.
20
21 This function is part of the MARC acquisition software, but is gener‐
22 ally useful for squaring up the pixels in images from the Kontron Pro‐
23 gRes camera range.
24
25
27 The function returns 0 on success and -1 on error.
28
30 im_conv(3), im_shrink(3).
31
33 The National Gallery, 1997
34
35
36
37 Sep 18 1997 IM_STRETCH3(3)