flipMy3D_1
Purpose:
This routine is used to flip the axes and/or invert the intensities of volumetric raw data.
You will need to customize this code to fit your particular type of images. Remember,
to recompile after each editing.
Usage:
flipMy3D_1
xDim
yDim
zDim
data_in.img
data_Flipped_out.img
- In the above the following definitions are used:
-
- xDim,
yDim and
zDim
- Contain the dimensions of the volumetric data
- data_in.img
- Contains the name of the raw data file that needs a flip
- data_Flipped_out.img
- Contains the name of the raw data file that will contain the flipped image
Examples:
./flipMy3D_1 256 256 128 mri1.img mri1_FnI.img
- This command will flip and invert (if needed) the image "mri1.img" of
size 256x256y 128z, and
the result will be saved in the file "mri1_FnI.img"
Note that the above example represents a single UNIX
command-line.
© 1997 Ivo D. Dinov,
( > )