thm.reconstitute

From DavinciWiki
Jump to: navigation, search


64-bit SafeYes

Description

Reverses the rectify process. Unslants and unshears the data in a rectified structure.

Arguments and Return Values

Arguments: A structure produced from thm.rectify

Return Value: A numeric array the size of the originally projected cube

Usage

Syntax: thm.reconstitute(structure = STRUCT)

'structure' is the output from rectify()

The structure must contain the elements:

  • .data
  • .leftedge
  • .angle
  • .width

The output will have null data values set to -32768

Examples

dv> a
struct, 4 elements
    angle: 3.33555
    data: 345x7179x10 array of float, bsq format [99,070,200 bytes]
    leftedge: 1x7179x1 array of int, bsq format [28,716 bytes]
    width: 1356

dv> b = thm.reconstitute(a)
1356x7100x10 array of float, bsq format [385,104,000 bytes]

Images

rectify.png norectify.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: 01-16-2013

Personal tools