next up previous index
Next: Image Arithmetic Up: Marking Image Subsections or Previous: MASK/UNMASK: Ignore (Mask) Specified   Index

MASKTOIM: Create an Image Showing Masked Pixels


\begin{command}
\item[\textbf{Form:} MASKTOIM buf {[BOX=b]} {[SR=sr]} {[SC=sc]}...
...y the number of rows}
\item[NC=nc]{specify the number of columns}
\end{command}

MASKTOIM creates an image, showing which pixels are masked. Masked pixels are set to 0 in the image, while unmasked pixels are set to 1.

Use BOX=b to define the image size and location. This makes the new image have the size and location of box 'b'. See BOX for instructions for defining boxes.

You may also give the size and location of the new image with the keywords SR, SC, NR, and NC. NR and NC are required. If SR or SC are not given, they default to zero.

Any image already in the destination buffer is destroyed.

Examples:
\begin{example}
\item[MASKTOIM 1 BOX=5\hfill]{creates an image in buffer 1 havi...
...0 by 100 image in
buffer 1. The start row and column are both 0.}
\end{example}


Jon Holtzman 2002-02-13