Isis 3 Application Documentation
Trim edges of a map projected image
Description
Trim the edges of a map projected image to the exact latitude and longitude
boundaries given in the user parameters or by default the lat/lon range
in the labels. Any pixels outside this lat/lon range will be set to
the Null value.
Categories
Related Applications in Previous Versions of Isis
This application replaces the following
application existing in previous versions of Isis, which has been deprecated
from the current version of Isis:
History
| Tracie Sucharski | 2003-02-28 |
Original version
|
| Tracie Sucharski | 2003-04-03 |
Changed brief description, added error check for no values
entered for slat,elat,slon,elon.
|
| Stuart Sides | 2003-05-16 |
Modified schema location from astogeology... to isis.astrogeology..."
|
| Stuart Sides | 2003-07-29 |
Modified filename parameters to be cube parameters where necessary
|
| Brendan George | 2005-11-21 |
Added application test
|
| Sean Crosby | 2007-03-16 |
Added cropping and crop+trim ability; modified apptest
|
| Christopher Austin | 2009-01-27 |
Fixed parameter names
|
| Travis Addair | 2009-08-10 |
Mapping group parameters are now placed into the print file.
|
| Mackenzie Boyd | 2009-08-12 |
Modified call to crop to handle from and to parameters with spaces in
directories.
|
|
Parameter Groups
Files
|
Name
|
Description
|
| FROM |
Input cube to trim
|
| TO |
Output cube
|
Trim options
|
Name
|
Description
|
| MODE | Maptrim options |
Trim Parameters
|
Files:
FROM
Description
Use this parameter to select the filename. All band within the file
will be trimmed.
|
Type
| cube |
|
File Mode
| input |
|
Filter
|
*.cub
|
Files:
TO
Description
This file will contain the results of the trimmed cube.
|
Type
| cube |
|
File Mode
| output |
|
Filter
|
*.cub
|
Trim options:
MODE
Description
This allows the user to decide which trimming options to use. Normally,
all pixels outside the lat/lon ranges are nulled. There is now a choice
to crop out a part of a map with or without nulled pixels outside the
lat/lon range.
|
Type
| string |
|
Default
| TRIM |
|
Option List:
|
|
Option |
Brief |
Description |
| TRIM | Null all pixels outside lat/lon range |
The original dimensions of the map are preserved while all pixels
outside the lat/lon range are nulled.
|
| CROP | Crop the area defined by the lat/lon range |
The dimensions of the output file will be just large enough to
fit the cropped area. No pixels are nulled here.
|
| BOTH | Crop map and null all pixels outside lat/lon range |
The dimensions of the output file will be just large enough to
fit the cropped area and all pixels outside the lat/lon range
are nulled.
|
|
Trim Parameters:
MINLAT
Description
Starting latitude of range to exclude from trim. Any pixels less than
this latitude will be set to Null.
|
Type
| double |
|
Internal Default
|
Minimum latitude in labels
|
|
Less Than
| MAXLAT
|
Trim Parameters:
MAXLAT
Description
Ending latitude of range exclude from trim. Any pixels greater than
this latitude will be set to Null.
|
Type
| double |
|
Internal Default
|
Maximum latitude in labels
|
Trim Parameters:
MINLON
Description
Starting longitude of range to exclude from trim. Any pixels less than
this longitude will be set to Null.
|
Type
| double |
|
Internal Default
|
Minimum longitude in labels
|
|
Less Than
| MAXLON
|
Trim Parameters:
MAXLON
Description
Ending longitude of range exclude from trim. Any pixels greater than
this longitude will be set to Null.
|
Type
| double |
|
Internal Default
|
Maximum longitude in labels
|