imod2patch(1) imod2patch(1)
NAME
imod2patch - converts a model to a patch displacement file
SYNOPSIS
imod2patch <IMOD model file> <new patch file>
DESCRIPTION
imod2patch converts an IMOD model originally produced by patch2imod
back into a list of patch positions and displacements. Specifically,
for every contour in the model consisting of at least two points, it
outputs a line listing a 3-D position and a displacement. The position
is that of the first point. The displacement is the vector from the
first to the second point, divided by the scaling factor that was
stored as the pixel size in the model header. The resulting file can
then be analyzed by findwarp or refinematch.
If the original patch file contained correlation coefficients (from
corrsearch3d) or residual values (from refinematch or find-
warp(1)), and these were stored as values in the model file by
patch2imod, then imod2patch will add these values to each line, or a
0 if there is no value for a particular point.
FILES
If the output file already exists, it becomes a backup file with ~
added to its name.
AUTHOR
David Mastronarde
SEE ALSO
patch2imod, corrsearch3d, findwarp, refinematch
BUGS
Email bug reports to mast at colorado dot edu.
BL3DEMC 3.13.2 imod2patch(1)