AirResize
AirResize is a Java gui wrapper for the AIR 5.2.1 (Roger Woods, UCLA) resize program.
Resize alters the matrix size of a file (larger or smaller) and/or shifts the file's
origin by an integer number of voxels.
For more information about the AIR package see the
AIR 5 homepage.
AIR documentation for the
resize program.
Invocation
java AirResize
This starts up the java interpreter and runs the AirResize
application. You need to have
set up your environment for java
in order for this to work.
AirResize is also available in the AirToolChest, GlobalWorkbench and GlobalDesktop computing environments.
java AirToolChest
java GlobalWorkbench
java GlobalDesktop
AirResize window
Information to be entered
- Input file/directory
An image to resize, a directory full of
such images, or a textfile listing images to resize. Header/image suffixes are
optional.
- Output directory
Where to save the resulting resized image.
The image will be given the same name as the input image plus a suffix
to indicate the new number of slices (see Options).
- New matrix dim (voxels) XYZ
Input new x, y, and z dimensions in voxels.
- Origin shift (voxels) XYZ
Shift image from the origin in voxels.
- Options...
Additional options.
- Create output air file(s)
Check this option if you would like
to create air file(s) which can regenerate the output image(s).
- Permission to overwrite output image(s)
Check this box
if you would like to overwrite existing output image(s). If this box
is not checked and there are images in the output directory, a
confirmatory prompt will be issued at runtime, and if the response is
in the affirmative, this option will be checked and any existing
output images will be overwritten.
- Add number of slices as suffix to output image filename
If this option is checked (which it is by default), then to each
output image filename a suffix will be appended indicating the number
of slices in the new image. For example, if the input image name is
alt9_strip and the output image is to have 24 slices, then the output
name will be alt9_strip_24. Uncheck this option if you'd like the
output images to have the same names as the input images.
Last updated Wed Sep 27 19:37:03 EDT 2000