Imageload: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Scott
(Created page with '===Purpose=== Unfolds image data into a DataSet Object. ===Synopsis=== :imgdso = buildimage(data, modes, target, name) ===Description=== Given a matrix of image data or a Dat…')
 
imported>Scott
No edit summary
Line 1: Line 1:
===Purpose===
===Purpose===


Unfolds image data into a DataSet Object.
GUI to select, build, then load a image DSO into the DataSet Editor.


===Synopsis===
===Synopsis===
:imgdso = buildimage(data, modes, target, name)
: imageDSO = imageload(data);
: imageDSO = imageload('other');
 


===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.
IMAGELOAD uses lddlgpls.m to find and select image data then calls buildimage.m. If data is omitted, IMAGELOAD will allow the user to load a valid image from the Matlab workspace. If data is the string 'other', it will allow the user to load a recognized standard image file (see imread).
 
====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.


===See Also===
===See Also===
[[buildimage]], [[cropimage]], [[inheritimage]]
[[buildimage]], [[cropimage]], [[inheritimage]]

Revision as of 14:34, 30 September 2009

Purpose

GUI to select, build, then load a image DSO into the DataSet Editor.

Synopsis

imageDSO = imageload(data);
imageDSO = imageload('other');


Description

IMAGELOAD uses lddlgpls.m to find and select image data then calls buildimage.m. If data is omitted, IMAGELOAD will allow the user to load a valid image from the Matlab workspace. If data is the string 'other', it will allow the user to load a recognized standard image file (see imread).

See Also

buildimage, cropimage, inheritimage