imgetfile
Display Open Image dialog box to get filename of image file
Description
displays the Open Image dialog box. Use this dialog box to get the name of an
image file that you want to open. The Open Image dialog box includes only files that use
supported image file formats (listed in filename
= imgetfileimformats
) and DICOM files.
After you get the filename, you can read the image file by using functions such as
imread
.
Note
The Open Image dialog box blocks the MATLAB® command line until you click Open or cancel the operation.
uses name-value arguments that enable you to
specify the initial path or to select multiple image files.filename
= imgetfile(Name=Value
)
[
also returns a logical flag that indicates whether the
operation was canceled.filename
,user_canceled
]
= imgetfile(___)
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a
See Also
Image
Viewer | imread
| imformats
| imputfile
| uigetfile