This application trims pixels outside of a user-specified
latitude/longitude range. Pixels that are outside of
the lat/lon range are set to NULL in the resulting
cube. By default, the lat/lon range is in the
universal coordinate system. This can be overridden using a map
projection template file.
Note: This application will not handle projected images (i.e.
Level2). This program is meant to work specifically on
Level1 images. To trim Level2 images, please refer to
Fixed problem with projection manager prematurely
destroying projection object
Modified schema location from astogeology... to isis.astrogeology..."
Added dependent multi-band capabilities
Modified filename parameters to be cube parameters where necessary
Depricated CubeProjection and ProjectionManager to ProjectionFactory
Removed references to CubeInfo
Mapping group parameters are now placed into the print file.
Updated documentation and testing with Ella Lee in preparation for the
3.4.0 release. Fixed various inconsistencies in the documentation and
rewrote some parts to make it clearer. Added two examples. Added a check
to ensure that projected cubes cannot be used with this application. Added
two new tests to test the processing of level 2 cubes and the use of a map
If a file is not provided, this program will use the planetocentric
latitude type, positive east longitude direction, and 360 longitude
domain. Otherwise, the labels (LatitudeType, LongitudeDomain, and
LongitudeDirection) in the map projection template file will determine
the lat/lon type, direction, and domain.
This is the trimmed cube. Notice the NULL pixels with
latitudes greater than 25 degrees.
Trimming Pixels Using a Map Projection Template File
This example illustrates how to trim a cube such that only pixels
between longitudes 134 and 136 are kept. All other pixels are set to
NULL. The map projection template file specifies planetographic
latitudes and -180 to 180 positive west longitudes, instead of using
planetocentric latitudes and 0 to 360 positive east longitudes (the
This is the map projection template file that is used to specify the
latitude type, longitude direction, and longitude domain. The three
keywords of interest in this file are LatitudeType,
LongitudeDirection, and LongitudeDomain.