Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

ISIS Documentation

lrowac2isis

Import LRO WAC EDR images to ISIS cube format

This application, lrowac2isis, imports a PDS formated Lunar Reconnaissance Orbiter (LRO) Wide Angle Camera (WAC) EDR image file to ISIS cube file format. Users of lrowac2isis can adjust the filter heights and increase or decrease the image padding to help align the bands of the cube.

Categories


History

Steven Lambright2009-04-27 Original version
Steven Lambright2009-07-01 Updated to work with multiple summing modes in one image and added LUT capabilities.
Steven Lambright2009-07-08 Keywords are now being placed properly, moved all keyword calculations back to the TranslateLabels method.
Steven Lambright2009-09-09 Updated wavelengths
Steven Lambright2009-10-23 Color offsets for BW mode images are now always zero. Color offset does not make sense for single band cubes.
Steven Lambright2009-10-23 Removed flip, changed default of coloroffset to off.
Steven Lambright2010-01-19 Now propagating new keyword from labels v1.1 bandwidth
Marjorie Hahn2016-06-06 Added description of application and examples

Parameters

Files

Use this parameter to select an LRO WAC EDR image filename.
Type filename
File Mode input
Filter *.img *.IMG

Use this parameter to select the base output filename. The program creates four output cubes with the given filename: filename.uv.even.cub, filename.vis.even.cub, filename.uv.odd.cub, and filename.vis.odd.cub
Type cube
File Mode output
Filter *.cub

Settings

Use this parameter to correct image offset. The way in which MARCI takes pictures leaves a filter height offset in adjacent filters. This parameter setting will correct that offset by adding padding to the top of the image file, aligning color images correctly.
Type boolean
Default false
Inclusions
  • COLOROFFSETSIZE

Use this parameter to specify filter offset height. The filters are offset by one to two filter heights. One filter height can be explained by the method of taking pictures: the first filter on the first framelet is one higher than the second filter on the first framelet.
Type integer
Default 2
Minimum 0 (exclusive)

Use this parameter to stretch or remap pixel values. If the UNLUT parameter is set to true, a lookup table (LUT) will be used to stretch or remap pixel values to their original values. The default should be set to true when calibrating images.
Type boolean
Default true

Example 1

lrowac2isis Example

This is an example of lrowac2isis formatting an LRO WAC EDR image into an ISIS cube.

Command Line

Run the lrowac2isis application on the LRO WAC EDR image.
lrowac2isis f=../IN/wac0000a1c4.img t=../OUT/Outcub.cub

GUI Screenshot

lrowac2isis GUI

Example GUI

lrowac2isis GUI

Screen shot of the GUI with parameters filled in to format the LRO WAC EDR image as an ISIS cube using the default settings.

Output Image

Output image for lrowac2isis

Output image for lrowac2isis

Output image for lrowac2isis

Parameter Name: TO

These are the output cubes for the LRO WAC EDR image. Two of which show the UV images (odds and evens). The other two show the VIS images (odds and evens).