Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
NAVEEN KUMAR
NAVEEN KUMAR am 24 Apr. 2017
Beantwortet: Walter Roberson am 24 Apr. 2017
How to input the image as input to the GUI.?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by