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

 

``complement'' -- complement a volume

 

purpose:
All voxels greater than or equal to 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.



 

Philip Americus
The Multidimensional Image Processing Lab
Fri Aug 30 10:26:42 EDT 1996