deconstruct

From DavinciWiki
Jump to: navigation, search

Description

Rearranges an 3 dimensional image cube into a 2 dimensional array. All xy (m by n) elements are rearranged into a m x n length y-axis. All z elements are translated into the x-axis of the cube. This is similar to resize, but is less flexible. The reason to use this function rather than resize is because the input is very simple.

Arguments and Return Values

Arguments: Input array (m x n x k).

Return Value: Output array (k x mn x 1).

Usage

Syntax: deconstruct(in_array)

in_array: array of any size


Examples

dv> a = create(10,1000,20,start = 1,step = 1,format = float)
10x1000x20 array of float, bsq format [800,000 bytes]
dv> b = deconstruct(a)
20x10000x1 array of float, bsq format [800,000 bytes]

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

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

All other topics

  • See navigation on the left

Major Sub-Functions

Related Functions

Recent Library Changes

Created On: 12-31-2007
Modified On: 01-17-2008

Personal tools