3DSLICE

Section: User Commands (1)
Updated: December. 20, 1990
Index Return to Main Contents
 

NAME

3dslice - 3D image slice  

SYNOPSIS

3dslice [-d dhv [-p xyz]] [-a #] [-n #] [-c#] [-r#] [-f#]  

DESCRIPTION

3dslice slices a 3D image to form a 2D or sub-3D image for displaying and looking at the inside of one of HIPS and FITS type images. The output is a HIPS image.  

OPTIONS

-d
Direction to cut. -dh is the default which slices horizontally (Z-X surface). -dv specifies slicing vertically (Y-Z surface). -dd does slicing diagonally and becomes the default if -p is specified.
-p[x, y, z]
giving a choice to which axis the slice is parallel (for diagonally slicing)
-a
# gives the angle for a diagonal slice which ranges from -90 to +90 degrees. You can specify any angle, the program can convert it into this range.
-c
starting column for vertical and diagonal slices.
-r
starting row for horizontal ane diagonal slices.
-f
starting frame for diagonal slices.
-n
New image frames. If you have a 50x50x50 image and start at column 10 for a vertical slice, and specify -n 20, then you get a 50x50x20 output image which includes old images from column 10 to 30.
 

COORDINATES

The X axis is from left to right based on Y-Z surface. The Origin is upper-left corner.
The Y axis is top down based on Z-X surface. The Origin is same as X.
The Z axis faces away from front (not toward to face). 0 degree starts on X axis.

The result of slicing is always from bottom to top.
We explain by the following example:
     parallel Y axis slicing [-py]. coordinate is (x, y, z)
     (0, 0, 0 - 0, 1, 0) corner by using +angle -f options.
     (1, 0, 0 - 1, 1, 0) corner by using -angle -c options.
     (1, 0, 1 - 1, 1, 1) using +angle & -c options.
     (0, 0, 1 - 0, 1, 1) using -angle & -f options.
     For 1 & 3, the view-line is 1,0,1 - 1,1,1.
     For 2 & 4, the view-line is 1,0,0 - 1,1,0.
 

ANGLE

The positive angle is that any angle is between two axes, and negative angle is that any angle not between two axes.  

EXAMPLES

3dslice -px -a 30 -r 20 check_3d | xhips  

SEE ALSO

3drotate(1), 3drotate90(1), 3drotate180(1), powertool(1)  

AUTHOR

Jin Guojun - 11/15/90


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
COORDINATES
ANGLE
EXAMPLES
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 01:45:42 GMT, December 05, 2024