next up previous
Next: ``min.-bounding cuboid'' -- Up: Manipulation Previous: ``zero lo voxels''

``complement'' -- complement a volume

purpose:
All voxels greater than the threshold are set to 0. All others are set to 1. This is the gray-scale complement operation. For a binary-valued volume, if the threshold is set to 1, then all 1's are set to 0 and all 0's are set to 1.
input:
An 8-bit volume.
output:
The gray-scale complement of the input 8-bit volume.
parameters:
Default parameters menu is
threshold = 0
* input from vol # = 0
* copy output to vol # = 0
*
comments:

  1. A very fast function.



Updated: Fri May 19 14:39:07 CDT




Copyright 1994-99 Division of Physiologic Imaging, Dept. of Radiology, Univ. of Iowa


VIDA Directory | DPI Homepage | Contact Us | Search