Image folder load: Difference between revisions
Jump to navigation
Jump to search
imported>Scott (Created page with '===Purpose=== Load all image files in a selected directory as cell array of image DSOs. ===Synopsis=== :out = imageconcat(startdir,options) ===Description=== Input 'startdir…') |
imported>Scott |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
===Synopsis=== | ===Synopsis=== | ||
:out = | :out = image_folder_load(startdir,options) | ||
===Description=== | ===Description=== | ||
Line 21: | Line 21: | ||
options = a structure array with the following fields: | options = a structure array with the following fields: | ||
* '''image_type''': [ {''} | 'tif' | 'tiff' | 'png' | 'hdf' | 'bmp' | 'jpg' | 'jpeg' | 'jpe' | 'gif' ] specific image type to load, default (empty) looks for all images. | * '''image_type''': [ {<nowiki>''</nowiki>} | 'tif' | 'tiff' | 'png' | 'hdf' | 'bmp' | 'jpg' | 'jpeg' | 'jpe' | 'gif' ] specific image type to load, default (empty) looks for all images. | ||
===See Also=== | ===See Also=== | ||
[[buildimage]], [[imageload]] | [[buildimage]], [[imageload]] |
Latest revision as of 13:59, 14 March 2013
Purpose
Load all image files in a selected directory as cell array of image DSOs.
Synopsis
- out = image_folder_load(startdir,options)
Description
Input 'startdir' will open file selector for given directory. Otherwise, getdir will open in current directory.
Inputs
- startdir = folder to open.
Outputs
- out = cell array of image DSOs.
Options
options = a structure array with the following fields:
- image_type: [ {''} | 'tif' | 'tiff' | 'png' | 'hdf' | 'bmp' | 'jpg' | 'jpeg' | 'jpe' | 'gif' ] specific image type to load, default (empty) looks for all images.