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


ISIS 2

Documentation
Tutorials
Technical Documents
USGS

ISIS Application Documentation


outline

Standard View | TOC | Home

Outlines contiguous regions in a cube

Description
Categories
Groups
Examples
History


Description

This program will draw boundaries or outline contigous regions in a cube. By contiguous regions we mean those which are all of the same pixel value.

Categories


Parameter Groups

Files

Name Description
FROM Input cube to outline
TO Output cube

Options

Name Description
BOUNDARYBoundary pixel value
CLEARClear pixels inside boundaries
EDGESSet pixels at edges of cube

Files: FROM

Description

Use this parameter to select the filename. All bands within the file will be outlined.

Type cube
File Mode input
Filter *.cub

Files: TO

Description

This file will contain the results of the outlined cube.

Type cube
File Mode output
Filter *.cub

Options: BOUNDARY

Description

This defines pixel value which will be placed at the boundary of contiguous regions. This value should not occur in the input cube.

Type double

Options: CLEAR

Description

Setting this option to true will case all pixels found inside the boundaries to be set to NULL. Otherwise the pixels will be left alone.

Type boolean
Default TRUE

Options: EDGES

Description

Setting this option to true will case all pixels around the edge of the cube to be set to the boundary pixel value. Otherwise they will be left alone or set to NULL.

Type boolean
Default TRUE

Examples


Example 1

Artificial Cube as input.

Description

This example shows how the Outline application draws boundaries around contiguous pixels.

Command Line

outline IN=in.cub OUT=out.cub BOUNDARY=255 CLEAR=False EDGES=True
This will set the borders around the contiguous pixels to 255 and will leave the pixels contained within the regions at their original value.

GUI Screenshot

Outline Gui

Example Gui

Screenshot of GUI for yhr Outline application.

Input Image

Input artificial cube.

Input image for outline

Parameter Name: FROM

This is the 800 by 800 input image for the outline example. This is an artificial cube for the sake of demonstration.

Output Image

Output image clearly demonstrating the boundaries created by Outline.

Output image for outline

Parameter Name: TO

This is the 800 by 800 output image demonstrating the results of Outline. White lines (DN = 255) mark the boundaries between contiguous pixels. This is with Clear=False, Edges=True and Boundary=255.


History

Kris Becker1986-11-04 Original version
Jeff Anderson2003-04-21 Ported to Isis 3.0
Stuart Sides2003-05-16 Modified schema location from astogeology... to isis.astrogeology..."
Stuart Sides2003-05-30 Added modifications to apptest by Kim
Stuart Sides2003-07-29 Modified filename parameters to be cube parameters where necessary
Steven Lambright2008-05-13 Removed references to CubeInfo
Kelvin Rodriguez2016-06-27 Added examples