slant

From DavinciWiki
Jump to: navigation, search


Description

Removes the maximum amount of black space from the left and right of valid data within a data cube

Arguments and Return Values

Arguments: A numeric array and an ignore value

Return Value: An structure containing the elements:

  • data
  • leftedge
  • width

Usage

Syntax: slant(object = VAL [, ignore = VAL])

'object' - A data cube with black space on the left side

'ignore' - An optional ignore value reset.

Examples

dv> a   
857x1000x1 array of byte, bsq format [857,000 bytes]

dv> b=slant(a,ignore=0)
struct, 3 elements
    data: 328x1000x1 array of float, bsq format [1,312,000 bytes]
    leftedge: 1x1000x1 array of int, bsq format [4,000 bytes]
    width: 857

Images

slant1.png slant2.png

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 05-14-2013

Personal tools