uigetimage

版本 1.0.0.0 (1.9 KB) 作者: Peter Burns
Simple file selection for images supported by IMREAD. Example of how to tailor UIGETFILE for images
262.0 次下载
更新时间 2011/4/22

查看许可证

Use of UIGETFILE tailored for selection of image file(s) with formats supported by IMREAD. Handy, for me, because it saves frequent use of file selection, testing for no file, concatination of path and name, etc.

A dialog box is displayed for the user to fill in, and returns the filename and path strings. You can choose a single file, or several using the Shift and Ctrl keys in the usual way supported by the operating system.

[filename, fpath] = UIGETIMAGE(titl)

NEEDS: UIGETFILE

Example usage:
Returns full file path to selected file
> fn = uigetimage('Pick a picture file')

Returns names and path for file(s selected with default title
> [fn, fpath] = uigetimage;

引用格式

Peter Burns (2024). uigetimage (https://www.mathworks.com/matlabcentral/fileexchange/31162-uigetimage), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Images 的更多信息
致谢

启发作品: compress_calc

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0