point2model(1) point2model(1)
NAME
point2model - Convert point listing to IMOD model file
SYNOPSIS
point2model [options] <point_file> <model_file>
DESCRIPTION
Point2model will convert a text file with a simple list of 3D point
coordinates, one per line, to an IMOD model. The file can be in one of
three forms: each line consisting of X, Y, and Z coordinates; each line
having a contour number followed by the coordinates; or each line hav-
ing an object number and a contour number followed by the coordinates.
The objects and contours can be numbered from either 1 or 0. These
forms correspond to the different forms that can be output by the com-
panion program, Model2point. When contour numbers are not contained
in the file, there are options to place points into different contours
based on the number of points or their Z values.
Options
Point2model uses the PIP package for input (see the manual page for
pip). Options can be specified either as command line arguments
(with the -) or one per line in a command file (without the -):
-input OR -InputFile File name
Input model file. If this option is not entered, the first non-
option argument will be used for the input file.
-output OR -OutputFile File name
Output text file for points. If this option is not entered, the
second non-option argument will be used for the output file.
-open OR -OpenContours
The default is to make all objects be closed contour type. This
option and -scat can be used to make all objects be open or
scattered, respectively.
-scat OR -ScatteredPoints
Make objects be scattered point type
-number OR -PointsPerContour
Maximum number of points per contour. The default is to put all
points into one contour. This option is not allowed if the
point file has contour numbers.
-planar OR -PlanarContours
Start a new contour at each new Z value encountered when reading
sequentially through the lines of input. This option is not
allowed if the point file has contour numbers.
-zero OR -NumberedFromZero
Objects and contours are numbered from 0 instead of 1
-StandardInput
Read parameter entries from standard input
AUTHOR
David Mastronarde
SEE ALSO
model2point
BL3DEMC 3.11.2 point2model(1)