Image folder load: Difference between revisions
Jump to navigation
Jump to search
imported>Scott |
imported>Scott |
||
Line 5: | Line 5: | ||
===Synopsis=== | ===Synopsis=== | ||
:out = | :out = image_folder_load(startdir,options) | ||
===Description=== | ===Description=== |
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.