Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

ISIS Documentation

outline

Outlines contiguous regions in a cube

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


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

Parameters

Files

Use this parameter to select the filename. All bands within the file will be outlined.
Type cube
File Mode input
Filter *.cub

This file will contain the results of the outlined cube.
Type cube
File Mode output
Filter *.cub

Options

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

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

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

Example 1

Artificial Cube as input.

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

Command Line

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

GUI Screenshot

Outline Gui

Example Gui

Outline Gui

Screenshot of GUI for yhr Outline application.

Input Image

Input artificial cube.

Input image for outline

Input artificial cube.

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

Output image clearly demonstrating the boundaries created by 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.