Home
About Isis
Support
Download

Isis 3

Documentation
Tutorials
Technical Documents

Isis 2

Documentation
Tutorials
Technical Documents

Search

USGS

Isis 3 Application Documentation


maptrim

Printer Friendly View | TOC | Home

Trim edges of a map projected image

Overview Parameters

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:
  • trimsinu

History

Tracie Sucharski2003-02-28 Original version
Tracie Sucharski2003-04-03 Changed brief description, added error check for no values entered for slat,elat,slon,elon.
Stuart Sides2003-05-16 Modified schema location from astogeology... to isis.astrogeology..."
Stuart Sides2003-07-29 Modified filename parameters to be cube parameters where necessary
Brendan George2005-11-21 Added application test
Sean Crosby2007-03-16 Added cropping and crop+trim ability; modified apptest

Parameter Groups

Files

Name Description
FROM Input cube to trim
TO Output cube

Trim options

Name Description
MODEMaptrim options

Trim Parameters

Name Description
SLATStarting latitude
ELATEnding latitude
SLONStarting longitude
ELONEnding longitude
X

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
Close Window
X

Files: TO


Description

This file will contain the results of the trimmed cube.

Type cube
File Mode output
Filter *.cub
Close Window
X

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
TRIMNull all pixels outside lat/lon range The original dimensions of the map are preserved while all pixels outside the lat/lon range are nulled.
CROPCrop 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.
BOTHCrop 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.
Close Window
X

Trim Parameters: SLAT


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 ELAT
Close Window
X

Trim Parameters: ELAT


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
Close Window
X

Trim Parameters: SLON


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 ELON
Close Window
X

Trim Parameters: ELON


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
Close Window