Home

User Documentation

Getting Started
Learn More
Explore in Detail
Get Inspired

Contributor Documentation

Getting Started
Learn More
Explore in Detail
Get Inspired

Quick Links

Software Manual
AstroDiscuss
GitHub
API Reference

Documentation Versions

Latest Release
Dev
8.3.0
8.2.0
8.1.0
8.0.0
7.2.0
7.1.0
7.0.0
6.0.0
3.9.0
3.5.0

ISIS 2

Documentation
Tutorials
Technical Documents
USGS

ISIS Application Documentation


trim

Printer Friendly View | TOC | Home

Trim edges of input cube

Overview Parameters Example 1

Description

This program will trim (set to NULL) edge pixels of the input cube defined by the parameters TOP, BOTTOM, LEFT and RIGHT, which indicate the number of pixels to trim from edges of the cube. Note that this program does not change the dimensions of the cube. The program "crop" allows a section of a cube to be output.

Categories


Related Objects and Documents

Applications


History

Jim Mathews1994-02-14 Original version
Tracie Sucharski2002-07-01 Ported to Isis 3.0
K Teal Thompson2002-12-02 Add example.
K Teal Thompson2003-03-28 Make images smaller
Stuart Sides2003-04-04 Fixed problem with isiscvs not checking in the thumb and image directories.
Kim Sides2003-05-13 Added application test
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
Steven Lambright2008-05-13 Removed references to CubeInfo

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 02/21/2025 20:06:06
X

Files: FROM


Description

Use this parameter to select the filename. All bands 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 size: TOP


Description

This defines the number of lines that will be set to NULL at the top of the cube.

Type integer
Default 0
Minimum 0 (inclusive)
Close Window
X

Trim size: BOTTOM


Description

This defines the number of lines that will be set to NULL at the bottom of the cube.

Type integer
Default 0
Minimum 0 (inclusive)
Close Window
X

Trim size: LEFT


Description

This defines the number of samples that will be set to NULL at the left side of the cube.

Type integer
Default 0
Minimum 0 (inclusive)
Close Window
X

Trim size: RIGHT


Description

This defines the number of samples that will be set to NULL at the right side of the cube.

Type integer
Default 0
Minimum 0 (inclusive)
Close Window