Image File Get/Put Dialog Boxes

Open and save image file dialog boxes
942 descargas
Actualizado 13 nov 2009

Ver licencia

Contains two functions: UIGETIMFILE and UIPUTIMFILE

As their name suggests, they wraps the standard UIGETFILE and UIPUTFILE functions; the FILTERSPEC parameter in the standard functions is automatically set to browse only MATLAB supported image files according to IMFORMATS function.

Also, the third output parameter is changed to IMFORMAT which is the IMFORMATS entry that corresponds to the selected file (extension). It gives a quick access to ISA/INFO/READ/WRITE functions specific to the selected image format.

Examples:

[filename,pathname,imformat] = uigetimfile('Pick an image file');
[filename,pathname,imformat] = uiputimfile('Save as');

% to use a subset of supported image format
[filename,pathname,imformat] = uigetimfile([1 4 8], 'Pick an image file');
[filename,pathname,imformat] = uiputimfile([1 4 8], 'Save as');
% [1 4 8] are the index to IMFORMATS returning structure.
% In R2009A Windows release, these indexes correspond to BMP, GIF, and JPEG formats.

Citar como

Kesh Ikuma (2024). Image File Get/Put Dialog Boxes (https://www.mathworks.com/matlabcentral/fileexchange/25814-image-file-get-put-dialog-boxes), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2009a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Dialog Boxes en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.3.0.0

Added a screenshot

1.0.0.0