ISIS Application Documentation
camtrim | Standard View | TOC | Home |
Trims pixels outside of lat/lon range
Description
Categories
Groups
Examples
History
Name | Description |
---|---|
FROM | Input cube to trim |
TO | Output cube |
MAP | Map projection template file |
Name | Description |
---|---|
MINLAT | Minimum Latitude |
MAXLAT | Maximum Latitude |
MINLON | Minimum Longitude |
MAXLON | Maximum Longitude |
Use this parameter to select the input cube filename. All bands within the cube will be trimmed.
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
This file will contain the trimmed cube.
Type | cube |
---|---|
File Mode | output |
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.
Type | filename |
---|---|
File Mode | input |
Default | None |
Pixels that have a latitude less than this value will be trimmed.
Type | double |
---|---|
Minimum | -90 (inclusive) |
Maximum | 90 (inclusive) |
Less Than |
|
Pixels that have a latitude greater than this value will be trimmed.
Type | double |
---|---|
Minimum | -90 (inclusive) |
Maximum | 90 (inclusive) |
Greater Than |
|
Pixels that have a longitude less than this value will be trimmed.
Type | double |
---|---|
Minimum | -360 (inclusive) |
Maximum | 360 (inclusive) |
Less Than |
|
Pixels that have a longitude greater than this value will be trimmed.
Type | double |
---|---|
Minimum | -360 (inclusive) |
Maximum | 360 (inclusive) |
Greater Than |
|
Trimming Pixels
Input cube
Parameter Name:
FROM This is the input cube to trim. |
Trimmed cube
Parameter Name:
TO This is the trimmed cube. Notice the NULL pixels with latitudes greater than 25 degrees. |
Trimming Pixels Using a Map Projection Template File
Input cube
Parameter Name:
FROM This is the input cube to trim. |
Map projection template file | 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. |
---|
Trimmed cube
Parameter Name:
TO This is the trimmed cube. |
Jeff Anderson | 2003-04-28 | Original version |
Jeff Anderson | 2003-04-28 | Added program to the Cameras category |
Jeff Anderson | 2003-04-29 | Fixed bug in the Xml file |
Jeff Anderson | 2003-04-30 | Fixed problem with projection manager prematurely destroying projection object |
Stuart Sides | 2003-05-16 | Modified schema location from astogeology... to isis.astrogeology..." |
Jeff Anderson | 2003-06-04 | Added dependent multi-band capabilities |
Stuart Sides | 2003-07-29 | Modified filename parameters to be cube parameters where necessary |
Jacob Danton | 2005-12-02 | Added appTest |
Elizabeth Miller | 2006-05-18 | Depricated CubeProjection and ProjectionManager to ProjectionFactory |
Steven Lambright | 2008-05-12 | Removed references to CubeInfo |
Travis Addair | 2009-08-10 | Mapping group parameters are now placed into the print file. |
Jai Rideout | 2012-01-11 | 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 template file. |
Tracie Sucharski | 2012-12-06 | Changed to use TProjection instead of Projection. References #775 |