Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
NAVEEN KUMAR
NAVEEN KUMAR le 24 Avr 2017
How to input the image as input to the GUI.?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by