pad Pad image or volume to larger dimensions
image format: SPIDER
USAGE: pad
.Input file: image001
[Enter input image name.]
.Output file: padded001
[Enter output image name. Directory will be created if needed.]
.Padding dimensions (x,y,z): 256,256
[Enter padding dimensions, 2 values for 2D or 3 values for a 3D.]
.Upper left corner (x,y,z): 29,29
[Enter the pixel coordinates of the upper left corner of the original
image inside the padded image. This coordinate will contain the
pixel value of the first point in the image (volume).]
Background option (E)xternal,(A)vg,(M)in,(C)ircumference :e
[Enter the value to be used for the background, i.e. the pixels/voxels
surrounding the original image. E - provide a value, A use the current
image/volume average, M use the minimum value, C use the average along
the boundary of the image.]
if E was specified:
.Background value: 1.0
[Enter the value to be used in the padding area]
Programs: patch.f
Programs extracted from SPIDER.
Author(s): M.Radermacher, others.