How to input the image as input to the GUI.?
4 次查看(过去 30 天)
显示 更早的评论
How to input the image as input to the GUI.?
0 个评论
采纳的回答
Walter Roberson
2017-4-24
[filename, pathname] = uigetfile('*.png', 'Select an image?');
if ~ischar(filename); return; end %user cancelled
filepath = fullfile(pathname, filename);
Img = imread(filepath);
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!