``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.
expand_type = replicate``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.
expand_factor = 2
output_filename = expand_vol