next up previous
Next: ``Image_Masking'' -- masks Up: Manipulation Previous: ``umbra'' -- compute

 

``Zero_Padding'' -- pads an image with zeroes.

 

purpose:
This function adds 1 layer of zeroes all around an image, whether it is 2D or 3D. For a 2D image, the x and y dimensions are increased by two. For a 3D image, the x, y, and z dimensions are increased by two, with the first and last slices set to zeroes.

If an input image has regions that touch the border, then this function is useful to make a few of the Topology functions work better (segment generation, cavity deletion, homotopic thinning, etc.).

input:
A loaded 2D or 3D image.
output:
A file containing the padded image.
parameters:
Default parameters menu is
Output filename (no extension) = output
input from vol # = 0
comments:
 



 

Philip Americus
The Multidimensional Image Processing Lab
Fri Aug 30 10:26:42 EDT 1996