thm.rectify

From DavinciWiki
Revision as of 13:11, 15 February 2006 by Cedwards (Talk | contribs)

Jump to: navigation, search


64-bit SafeYes

Description

Extracts rectangle of data from projected cubes

Located in "thm" module

Arguments and Return Values

Accepts geometrically projected cubes of at most 10 bands

Returns a rectangle cube in a davinci structure with an angle, leftedge and data

Usage

Syntax:  b = thm.rectify(obj,ignore,trust,force)

obj    - any projected cube
ignore - the value in non-data pixels of projected cube. Default is -3.402822655e+38.
trust  - where in the image the angle should be determined.
        0 = top, 1 = bottom, .25 = 25 percent down the image, etc.  Default is 0 (top).
force  - forces rectify() to use an ignore value even if it complains. Default is 0.

TROUBLESHOOTING
The ignore value will ALWAYS be set to -32768 when rectifying!
Rectify checks for appropriate ignore value before running.
You can override ignore value warning by setting force = 1

Examples

b = thm.rectify(obj=a)

b = thm.rectify(a)

b = thm.rectify(obj=a,ignore=0,trust=2,force=1)

Images

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: 01-16-2013

Personal tools