layout
Purpose:
This program will create a 2D layout using images sampled at
regular intervals from a 3D data set. This is especially useful for
creating illustrations.
Usage:
layout input
orient(t/c/s)
width
height
z-start
z-step
output
[overwrite?(y/n)]
- where the following definitions apply:
- input
- the name of the input file
- orient(t/c/s)
- t=transverse sections of the input file
- c=coronal sections of the input file
- s=sagittal sections of the input file
- width
- the width (in images) of desired output file
- height
- the height (in images) of desired output file
- z-start
- the number of the first transverse, coronal or sagittal
section that you want displayed (section numbering starts at 1,
not zero)
- z-step
- the number of sections to increment to find the next
section of interest (negative numbers are allowed)
- output
- the name of the output file
- overwrite?(y/n)
- 'y' grants permission of overwrite existing files
output
Examples:
layout pet1 t 3 4 14 -1 petlayout y
- A 3 image by 4 image petlayout.img will be created showing
planes 14 through 3 of pet1.img (in descending order).
Comments:
- If you run out of planes, the remaining spaces in the layout
are filled with zeros.
- Coronal or sagittal sections are not
interpolated to cubic voxels. Use zoomer
first if your voxels are cubic and you want properly proportioned
coronal or sagittal layouts.
Error messages: (alphabetical by
case)
See also: Generic error messages
- layout must have positive dimensions, i.e. not ____ by
____
- the width and height must be positive
- unable to allocate memory to create layout
- the computer doesn't have enough RAM, try asking for a
smaller layout (remember width and height are in images, not
pixels)
- unable to create layout due to flip_y failure
- most likely a RAM problem, try asking for a smaller layout
See also:
Modified: December 11, 1996
© 1995-6 Roger P. Woods,
M.D.(rwoods@ucla.edu)