next up previous index
Next: ``3D_Shrink'' - generate a Up: Manipulation Previous: ``complement'' - complement a

``3D_Expand'' - generate an expanded (zoomed) version of an image

VFX name:
iExpand.
IMPROPTU name:
3D_Expand.
purpose:
Expands a 3D volume via voxel replication or linear interpolation.

``Replicate'' expands the input 3D volume by creating a new volume of size ``(mx*factor) x (my*factor) x (mx*factor)'' (where mx, my, and mz are the x, y, and z dimensions of the input volume, and factor is the expansion factor). The graylevel value of each voxel in the original image is copied into its corresponding ``factor''3 cube in the output image.

``Interpolate'' expands the input 3D volume via a four step process. First, a new volume is created of size ``(mx*factor) x (my*factor) x (mx*factor),'' just as in ``replicate.'' Then, the voxels are interpolated in the x, y, and z directions, in that order.

input:
An 8-bit 3D volume, from memory.
output:
An 8-bit 3D volume, written to disk.
parameters:
Default menu parameters are
expand_type = replicate
expand_factor = 2
output_filename = expand_vol
``type of expand'' can be set to either ``replicate'' or ``interpolate.'' ``expand factor'' must have a value between two and ten, inclusive. The filename of the output image should be entered in the appropriate slot.
comments:
1.
Quick and easy way to get a bigger version of a 3D image.
2.
A fast function.


next up previous index
Next: ``3D_Shrink'' - generate a Up: Manipulation Previous: ``complement'' - complement a
MultiDimensional Image Processing Lab, Penn State University