Borrar filtros
Borrar filtros

How to input the image as input to the GUI.?

1 visualización (últimos 30 días)
NAVEEN KUMAR
NAVEEN KUMAR el 24 de Abr. de 2017
Respondida: Walter Roberson el 24 de Abr. de 2017
How to input the image as input to the GUI.?

Respuesta aceptada

Walter Roberson
Walter Roberson el 24 de Abr. de 2017
[filename, pathname] = uigetfile('*.png', 'Select an image?');
if ~ischar(filename); return; end %user cancelled
filepath = fullfile(pathname, filename);
Img = imread(filepath);

Más respuestas (0)

Categorías

Más información sobre Images en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by