next up previous contents
Next: 2.4 Colour Up: 2. VIPS packages Previous: 2.2 Relational   Contents

2.3 Boolean

See figure 2.3.

The boolean functions perform boolean arithmetic on pairs of IM_BANDFMT_UCHAR images. They are useful for combining the results of the relational and morphological functions. You can use im_eorconst() with 255 as im_not().

Figure 2.3: Boolean functions
\begin{figure}\begin{quote}
\begin{verbatim}john% vips -help boolean
functions...
...ght - shift integer image n bits to right\end{verbatim}
\end{quote}
\end{figure}



John Cupitt 2004-11-02