Buildimage: Difference between revisions
Jump to navigation
Jump to search
imported>Scott (New page: Unfolds image data into a DataSet Object. ===Synopsis=== :imgdso = buildimage(data, modes, target, name) ===Description=== Given a matrix of image data or a DataSet Object (DSO) with image...) |
imported>Scott |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
===Purpose=== | |||
Unfolds image data into a DataSet Object. | Unfolds image data into a DataSet Object. | ||
===Synopsis=== | ===Synopsis=== | ||
:imgdso = buildimage(data, modes, target, name) | :imgdso = buildimage(data, modes, target, name) | ||
===Description=== | ===Description=== | ||
Given a matrix of image data or a DataSet Object (DSO) with image data in the .data field, this function will attempt to unfold the data so toolbox functions can operate without needing image specific routines. | Given a matrix of image data or a DataSet Object (DSO) with image data in the .data field, this function will attempt to unfold the data so toolbox functions can operate without needing image specific routines. | ||
====INPUTS==== | ====INPUTS==== | ||
* '''idata''': matrix of image data or a DSO containing image data in''' '''the .data field. | * '''idata''': matrix of image data or a DSO containing image data in''' '''the .data field. | ||
* '''modes''': [1xN] vector of spatial modes, default [1 2]. | * '''modes''': [1xN] vector of spatial modes, default [1 2]. | ||
* '''target''': [scalar] target mode for unfolded spatial data, default [1]. | * '''target''': [scalar] target mode for unfolded spatial data, default [1]. | ||
* '''name''': name of new dataset, overrides idata name if DSO. | * '''name''': name of new dataset, overrides idata name if DSO. | ||
====OUTPUTS==== | ====OUTPUTS==== | ||
*'''''' | |||
* '''imgdso''' = DSO with unfolded image data in the .data field. | |||
===See Also=== | ===See Also=== | ||
[[cropimage]], [[imageload]], [[inheritimage]] | [[cropimage]], [[imageload]], [[inheritimage]] |
Latest revision as of 14:28, 30 September 2009
Purpose
Unfolds image data into a DataSet Object.
Synopsis
- imgdso = buildimage(data, modes, target, name)
Description
Given a matrix of image data or a DataSet Object (DSO) with image data in the .data field, this function will attempt to unfold the data so toolbox functions can operate without needing image specific routines.
INPUTS
- idata: matrix of image data or a DSO containing image data in the .data field.
- modes: [1xN] vector of spatial modes, default [1 2].
- target: [scalar] target mode for unfolded spatial data, default [1].
- name: name of new dataset, overrides idata name if DSO.
OUTPUTS
- imgdso = DSO with unfolded image data in the .data field.