mincwindow(1) limit voxel values to a given range


mincwindow [options] in.mnc out.mnc min max [newvalue]


mincwindow copies in.mnc to out.mnc. Each voxel value that lies within the window [min,max] is copied unmodified. If the voxel value is outside that window and newvalue is specified, then that voxel is set to newvalue. Otherwise, the voxel value is set to min if it is less than min, and to max if it is higher than max.


Create MINC 2.0 format output files.
Overwrite an existing file.
Don't overwrite an existing file (default).
Print out log messages (default).
Do not print log messages.
Print summary of command-line options and exit.
Print the program's version number and exit.