
NAMEmincmakescalar  convert vector minc files to scalarSYNOPSISmincmakescalar [<options>] <in>.mnc <out>.mncDESCRIPTIONMincmakescalar converts vector minc files to scalar minc files. A vector minc file is one that contains the dimension vector_dimension as the fastest varying dimension of the image data and represents vector data at each voxel such as RGB images or gradient volumes. A scalar minc file does not contain the vector dimension and represents grayscale or intensity data. A variety of conversion schemes are possible. The simplest is an average of the components of the vector. The magnitude of the vector at each voxel can also be computed. RGB volumes can be converted to greyscale by a standard linear combination. Finally, the user can supply a list of coefficients for a linear combination of vector components. Some options will require a specific number of components on the input vectors (RGB data should have 3 components and the number of coefficients supplied for the linear combination should match the number of components on the input vectors), but the program will also accept input scalar data and will copy it through without modification.OPTIONSNote that options can be specified in abbreviated form (as long as they are unique) and can be given anywhere on the command line.General options
Conversion options
Generic options for all commands:
EXAMPLESTo convert an RGB file to an grayscale file:mincmakescalar rgbtogrey rgb.mnc gray.mnc To compute the gradient magnitude from a gradient volume mincmakescalar magnitude gradient.mnc magnitude.mnc To convert an RGB file to a grayscale file using a different set of weighting factors for red, green and blue: mincmakescalar linear '0.2,0.5,0.3' rgb.mnc gray.mnc AUTHORPeter NeelinCOPYRIGHTSCopyright © 1997 by Peter Neelin
Visit the GSP FreeBSD Man Page Interface. 