User Documentation

Getting Started
Learn More
Explore in Detail
Get Inspired

Contributor Documentation

Getting Started
Learn More
Explore in Detail
Get Inspired

Quick Links

Software Manual
API Reference

Documentation Versions

Public Release


Technical Documents

ISIS Application Documentation


Standard View | TOC | Home

Create a color mosaic of HiRISE cubes and update labels (required by hirdrgen).



This program, hicolormos, produces a mosaic and adds keywords to the "Mosaic" label group of an ISIS cube. You need only input a FROM1 parameter, a TO parameter, and select a PRIORITY. The FROM2 parameter is not required to run the hicolormos application. Although the new group called Mosaic is added, the OriginalLabel blob is also propagated from the FROM1 input file to the TO output file.

Here are a few points to keep in mind:

The CCDs of the HiRISE instrument are arranged such that color products can only be produced in two positions within the CCD array. The CCDs that overlap for a color product are RED4, IR10, and BG12 or RED5, IR11, and BG13. The data from two selected bands are input using the FROM1 and FROM2 parameters.

Here is a quick look at the Processing sequence for color products that will become RDRs
slither - match the blue-green and/or the infered to the red CCD.
hicubeit - stack the matching CCDs to make a three band cube.
cam2map - project the cube. hicolormos requiers a map projected cube.
hicolormos - mosaic files and add keywords to the mosaic group.
hirdrgen - produce a RDR product.


Parameter Groups


Name Description
FROM1 First input file
FROM2 Second input file (This file is not required)
TO The name of the output cube.
PRIORITYThe priority of pixel placement.

Files: FROM1


The first file that will be added to a color mosaic. This file is also used to propagate the OriginalLabel blob. This file must be the output file from hicubeit and must be map projected.

Type cube
File Mode input
Filter *.cub

Files: FROM2


This is the second cube that will be added to a color mosaic. This file should be the output from hicubeit and map-projected. (This input file is not required)

Type cube
File Mode input
Internal Default None
Filter *.cub

Files: TO


This is the name that will be given to the output cube. This cube is a mosaic of the two FROM files and has the new group "Mosaic" added.

Type cube
File Mode output
Filter *.cub



This parameter is used to select one of two ways to mosaic the pixels in areas of overlap.

Type string
Default ONTOP
Option List:
Option Brief Description
ONTOPInput cube will be placed on top of the mosaic. When the input pixel is not Null, the input pixel value will be written to the output cube.
BENEATHInput cube will be placed beneath the mosaic. When the mosaic pixel is not Null, it will be left unchanged.


Robert Sucharski2006-07-19 Original version.
Elizabeth Miller2007-02-20 Changed OriginalLabel name to IsisCube.
Robert Sucharski2007-04-12 Added keywords SubSolarAzimuth, NorthAzimuth, and SpecialProcessingFlag to mosaic group in output labels.
Robert Sucharski2007-06-26 Fixed a bug, needed to add traverse when looking for PVL group archive.
Robert Sucharski2007-10-18 Added code to get the avg. line and sample for gathering camera infomation if using the avg latitude and longitude fails. We continue to use the latitude and longitude so that we are backwards compatible. We added this new code because the camera could not find an intersect for some images (polar) if we used projection latitude and longitude to "setGround".
Debbie A. Cook2012-07-06 Updated Spice members to be more compliant with Isis coding standards. References #972.
Tracie Sucharski2012-12-06 Changed to use TProjection instead of Projection. References #775.
Adam Paquette2016-06-21 Minor spelling/capitalization corrections in the documentation. Fixes #4019.