Boulder Laboratory for 3-Dimensional Electron Microscopy of Cells

MODEL2POINT(1)							 MODEL2POINT(1)

NAME
  model2point - converts model file to point file

SYNOPSIS
  model2point [options] model_file  point_file

DESCRIPTION

  Model2point will convert an IMOD or WIMP model file to a list of
  points with integer or floating point coordinates.  Each point will be
  written on a separate line, and the coordinates may be written either
  with no information about which object or contour the point came from,
  or with contour numbers, or with object numbers.

  Model2point and the companion program, Point2model, provide a more
  simple, but less versatile, way of converting data from and to an IMOD model
  than the Ascii format that can be output by Imodinfo.

  Model2point uses the PIP package for input (see the manual page for pip).
  The following options can be specified either as command line arguments
  (with the -) or one per line in a command file or parameter 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.

 -float OR -FloatingPoint
    Output model coordinates as floating point; otherwise the nearest integer
    value is output.

 -scaled OR -ScaledCoordinates
    Output coordinates in model coordinate system, scaled by the pixel size
    and offset by origin values.  The default is to output index coordinates
    corresponding to the pixel coordinates in the image.

 -object OR -ObjectAndContour
    Output object and contour numbers for each point (numbered from 1)

 -contour OR -Contour
    Output contour number for each point (numbered from 1)

 -zero OR -NumberedFromZero
    Output object and contour numbers starting from 0 instead of 1

 -help OR -usage
    Print help output.

  -StandardInput
     Read parameter entries from standard input.


HISTORY
  Written by David Mastronarde, 4/23/95
  Converted to PIP, added output options