Image folder load

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search

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.

See Also

buildimage, imageload