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-2020 Arizona Board of Regents on behalf of the Lunar and Planetary Laboratory at the University of Arizona.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Version

1.43 2020/04/28 16:56:16