Boulder Laboratory for 3-Dimensional Electron Microscopy of Cells

REDUCECONT(1)						 	 REDUCECONT(1)

NAME
	reducecont - to reduce the number of points in model contours

SYNOPSIS
	reducecont [options] input_file output_file

DESCRIPTION

  This program will reduce the number of points in model contours to
  the minimum consistent with a defined maximum change in the model,
  the tolerance value.  Each of the original points in the model, including
  the ones that are removed, will be within the tolerance distance of the line
  segments connecting the final, reduced set of points.  Some smoothing is
  also done, and a point will be replaced by a smoothed point if the smoothed
  point is within the tolerance distance from the original point.
  
  Reducecont 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.

 -output OR -OutputFile   File name
    Output model file.

 -objects OR -ObjectsToReduce   List of integer ranges
    A list of the objects to reduce (ranges are allowed, e.g. 1,2,5-7).  The
    default is to do all closed contour objects, and open contours that lie in
    one plane.

 -tolerance OR -Tolerance   Floating point
    Tolerance value, or maximum change in the model (default 0.25 pixels)

 -smoothing OR -SmoothingPointsAndOrder   Two integers
    Number of points, and polynomial order, for the smoothing step.  Enter 0,0
    to omit smoothing.  Defaults are 5 points and order 2.

 -help OR -usage
    Print help output.

  -StandardInput
     Read parameter entries from standard input.


HISTORY
  Written by David Mastronarde, 9/8/97
  Converted to use PIP and load objects separately, 5/24/05