This document introduces the functions available in the VIPS image processing library. For detailed information on particular functions, refer to the UNIX on-line manual pages. Enter (for example):
example% man im_abs
for information on the function im_abs()
.
You can also use the vips program to get some information on functions, see figure 1.1.
Once you have found a function you need to use, you can call it from a C program (see the VIPS Application Programmers' Guide), you can call it from C++ (see the VIPS C++ Programmers' Guide), you can call it from the nip ((see the nip Users' Guide), or SIAM graphical user-interfaces, or you can run it from the UNIX command line with the vips program. For example:
john% vips im_vips2tiff cam.v t1.tif none john% vips im_tiff2vips t1.tif t2.v.v 0 john% vips im_equal cam.v t2.v t3.v john% vips im_min t3.v 255
VIPS may have been set up at your site with a set of links which call the vips program automatically. You may also be able to type:
john% im_vips2tiff cam.v t1.tif none john% im_tiff2vips t1.tif t2.v.v 0 john% im_equal cam.v t2.v t3.v john% im_min t3.v
There are a few VIPS functions which you cannot run with vips, either
because their arguments are a very strange, or
because they are complete mini-applications (like vips2dj
). These
programs are listed in table 1.1, see the man pages for full details.