uigetimage
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;
Citar como
Peter Burns (2024). uigetimage (https://www.mathworks.com/matlabcentral/fileexchange/31162-uigetimage), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Agradecimientos
Inspiración para: compress_calc
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |