This program crops empty planes from all edges of an image
- where the following definitions apply:
- the name of the file to be cropped
- the number of voxels of padding to add back after cropping (more won't be
added than was cropped).
- the name of the output file
- 'y' grants permission to overwrite output
- the name of a .air file that will be
created to describe the crop with input as the reslice file and
output as the standard file.
crop editedmri 3 croppedmri y
- excess planes consisting solely of zeros will be cropped from all six edges
of editedmri. Three planes of zeros will be added back (unless less than three planes
were cropped along a given edge, in which case there will be no change at that edge).
The result will be saved as croppedmri.
- Cropping images can help derive better polynomial warps with
- It is a generally a good idea to take advantage of the option to save a .air file
describing the crop. This will allow you to link back to uncropped data using
- If the file is empty (i.e., if it consists entirely of zeros), it will be left unchanged
See also: Generic error messages
- pad must be a non-negative integer
- provide a non-negative integer value
Modified: August 8, 2002
© 2001-2002 Roger P. Woods, M.D.(email@example.com)