MULTI_MASK

Section: User Commands (1)
Updated: DECEMBER 10, 1990
Index Return to Main Contents
 

NAME

multi_mask - multiple-function binary mask  

SYNOPSIS

multi_mask [-mBit_Mask] [-xMask] [-BSFLIW] [-o^&o-x+] [-p] [-h] file_name  

DESCRIPTION

multi_mask applies 6 operations to the bit(s) of input images. They are: + plus, - minus, x multiply, ^ exclusive or, o inclusive or, & and. The bit-string is from 1 to 32 bits long.  

OPTIONS

-m
provides the binary mask. The user provides the low-order bits and the high-order bits are set to 1
(e.g., -m10110 -B = -m11110110 -B; and
-m010 -L = -m11111111111111111111111111111010 -L).
-x
input mask in hexadecimal (e.g., -x5C = -m011100)
-BWSILF
the mask will be applied in byte, short integer, integer, long integer or floating point.
-o
operations. The default is the and operation.
-p
output will be piped to another process or standard output. The default is a file which has input name + mask code extension.
-h
This is the hips image, do not apply the filter to the header.
 

NOTE

The input can be one of the following 7 type images:
       HIPS, FITS, GIF, ICC, RLE, PNM, SUN-Raster, and TIFF

The output is a HIPS image.  

SEE ALSO

3dmask(1), 3dog(1), bin_mask(1), hexdump(n), powertool(n)  

EXAMPLE

multi_mask -m000 bird   -- apply "and" operation and mask 11111000 on bird

multi_mask -x0 -o^ bird -- do neg on image bird
 

AUTHOR

Jin Guojun - 10/10/90


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
NOTE
SEE ALSO
EXAMPLE
AUTHOR

This document was created by man2html, using the manual pages.
Time: 01:45:53 GMT, December 05, 2024