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

1 view (last 30 days)
How to input the image as input to the GUI.?

Accepted Answer

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

More Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!