NAME

HiSlither


SUMMARY

HiSlither uses the output of HiJitReg to perform the registration of color CCDs to red CCDs and output a color cube.


SYNOPSIS

HiSlither [-Verbose] [-Help] [-Catalog <name>] [-Configuration <filename>] [-Id <Conductor ID>] [-Next_Pipeline <name>]] PVL source file


OPTIONS

-Catalog <name>

The name of the database catalog to use if submitting a source to the next pipeline.

-Configuration <filename>

The Configuration file used color processing, contains default search box parameters, number of control columns, control lines, etc.

-Id <Conductor ID>

Provides the Conductor ID, to use in temporary files. If unset, the process ID of the script will be used.

-Next_Pipeline <name>

Name of the next pipeline. If blank, output source will not be submitted to a pipeline.

-Verbose

Show ISIS commands before they are run.

-Help

Prints the command usage help.


DESCRIPTION

Slithering consists of the following steps.

Slither

For each color CCD, run slither using the control net produced by HiJitReg. This uses a cubic spline interpolation to shift lines. The input is a "pre-color" cube and the output is a "slither" cube (and text file detailing results).

Handle missing IR color band

If the IR band is missing, it is filled with a "dummy" band consisting entirely of null pixels. This band is created by masking the red band with itself. The dummy band allows for RGB (synthetic B) to be created by HiBeautify even if the IR band is missing.

Stack left and right color halves

hicubeit is used to create the left (CCDs 10,4,12) and right (CCDs 11,5,13) color pairs

Trim the inside overlaps

The inside overlap is calculated with ceil( 5 / RED bin). That number of pixels is trimmed with the isis trim utility from the right of COLOR 4 and the left of COLOR 5.

Write source for next pipeline

The HiColorNorm source file is written and (if configured), passed on to the next pipeline.

Clean Up

Clean up intermediate products as configured


Exit Status

Zero on success, see HiColor.pm for definitions of the other exit codes.


Author

Guy McArthur, UA/HiROC


Copyright

Copyright (C) 2007 Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


Version

1.40 2011/01/31 20:12:36