next up previous contents
Next: 2.6 Matricies Up: 2. VIPS packages Previous: 2.4 Colour   Contents

2.5 Conversion

See figure 2.6.

These functions may be split into three broad groups: functions which convert between the VIPS numeric formats (im_clip2fmt(), for example, converts an image of any type to the specified IM_BANDFMT), functions supporting complex arithmetic (im_c2amph(), for example, converts a complex image from rectangular to polar co ordinates) and functions which perform some simple geometric conversion (im_extract() forms a sub-image).

gbandjoin and the C function im_gbandjoin() will do a bandwise join of many images at the same time. See the manual pages.

Figure 2.6: Conversion functions
\begin{figure}\begin{quote}
\begin{verbatim}example% vips -help conversion
fun...
...ice - slice an image using two thresholds\end{verbatim}
\end{quote}
\end{figure}

Figure 2.7: Conversion functions (cont.)
\begin{figure}\begin{quote}
\begin{verbatim}im_subsample - subsample image by ...
...simple zoom of an image by integer factors\end{verbatim}
\end{quote}\end{figure}



John Cupitt 2004-11-02