binarize


Purpose:

This program will convert an 8 or 16 bit file to binary format


Usage:

binarize input output [overwrite?(y/n)] [min] [max]

where the following definitions apply:

input
the name of the input file
output
the name of the binary file to be created
overwrite?(y/n)
'y' grants permission to overwrite existing file name output
min
pixels must be greater than or equal to this value in order to be set to a value of 1 in the output file.
max
pixels must be less than or equal to this value in order to be set to a value of 1 in the output file.


Examples:

binarize editedmri bineditedmri y


Comments:


Error messages: (alphabetical by case)

See also: Generic error messages

WARNING: Peculiar range: min=____ max=____
  • You have specified a minimum or maximum that are out of the possible range of voxel values. An output file based on your specifications has been generated.


See also:


Modified: December 11, 1996

© 1995-96 Roger P. Woods, M.D.(rwoods@ucla.edu)