org

From DavinciWiki
Jump to: navigation, search


64-bit SafeYes

Description

Show or change an objects data organization. Identical to order.

Arguments and Return Values

Arguments: a numeric array

Return Value: string containing organization type

Usage

Syntax: org(object = VAL [, org = BIL/BIP/BSQ])

The org() function reports or changes the data organization of an object. If used with only one argument, the data organization of the object specified is reported as a string. The return values are one of:

"bil" - Band interleaved by line (XZY)
"bip" - Band interleaved by pixel (ZXY)
"bsq" - Band sequential (XYZ)

If the second, optional, argument is included, the object specified by the first argument is duplicated and converted to the specified organization.

Examples

dv> a
3x1x1 array of float, bsq format [12 bytes]
64.0470 52.8969 28.7229

dv> org(a)
"bsq"

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: 07-06-2009

Personal tools