VOLarith(1)

NAME
volarith - performs operations between two .vol files.

SYNOPSIS
volarith [operand1] operator operand2 operands are .vol files. The result is stdout. operator is one of -o, -a or -m. if operand1 is ommited, then the volume is read from stdin.

DESCRIPTION
volarith performs some operations between two volumes.
operator can be one of these :
	OR (-o)   : every voxel in one or both file is in the result.
	AND (-a)  : only voxels that are in both files are in the result
	MINUS (-m): only voxels that are in operand1 and not in operand2 remain in the result. This operator is not commutative.

RETURN VALUE
0 : No error 1 : Bad command line 2 : Couldn't read input file 3 : Couldn't write output file

EXAMPLES
volarith 1.vol -o 2.vol | volarith -m 3.vol > 4.vol
Every voxel in 4.vol is in 1.vol or 2.vol but NOT in 3.vol
volarith 1.vol -a 2.vol | volarith -o 1.vol > 4.vol
4.vol will be the union of 1.vol and the intersection between 1.vol and 2.vol

COPYRIGHT
Copyright 2002/2003 "Laboratoire LIRIS", Universite Lyon II. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSO
vol(7), vol2geom(1), volboundary(1)

VERSION
This is version __VERSION__.

BUGS
No bugs known yet. If you think you have found one, please send an email at the adress below.

AUTHORS

Written by Alexis Guillaume, <aguillau@liris.univ-lyon2.fr>.